From 9fc45744610b04c1cd1482f109cef8fa1c699dc1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 10 Oct 2026 09:40:22 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Commands/DefaultApiGroupCommand.g.cs | 130 ++++++++-------- ...HarnessApiPathPost2CommandApiCommand.g.cs} | 6 +- ...HarnessApiPathPost3CommandApiCommand.g.cs} | 6 +- ...HarnessApiPathPost4CommandApiCommand.g.cs} | 6 +- ...iHarnessApiPathPost5CommandApiCommand.g.cs | 66 ++++++++ ...iHarnessApiPathPostCommandApiCommand.g.cs} | 6 +- ...ApiHarnessApiPathPutCommandApiCommand.g.cs | 66 -------- ...wayOffV1PathOptions6CommandApiCommand.g.cs | 76 ---------- ...tewayOffV1PathPost2CommandApiCommand.g.cs} | 6 +- ...tewayOffV1PathPost3CommandApiCommand.g.cs} | 6 +- ...tewayOffV1PathPost4CommandApiCommand.g.cs} | 6 +- ...atewayOffV1PathPost5CommandApiCommand.g.cs | 76 ++++++++++ ...atewayOffV1PathPost6CommandApiCommand.g.cs | 76 ++++++++++ ...GatewayOffV1PathPostCommandApiCommand.g.cs | 76 ++++++++++ ...iseOffV1PathOptions2CommandApiCommand.g.cs | 76 ---------- ...iseOffV1PathOptions3CommandApiCommand.g.cs | 76 ---------- ...iseOffV1PathOptions4CommandApiCommand.g.cs | 76 ---------- ...iseOffV1PathOptions5CommandApiCommand.g.cs | 76 ---------- ...iseOffV1PathOptions6CommandApiCommand.g.cs | 76 ---------- ...wiseOffV1PathOptionsCommandApiCommand.g.cs | 76 ---------- ...nwiseOffV1PathPost2CommandApiCommand.g.cs} | 6 +- ...enwiseOffV1PathPost3CommandApiCommand.g.cs | 76 ++++++++++ ...enwiseOffV1PathPost4CommandApiCommand.g.cs | 76 ++++++++++ ...enwiseOffV1PathPost5CommandApiCommand.g.cs | 76 ++++++++++ ...enwiseOffV1PathPost6CommandApiCommand.g.cs | 76 ++++++++++ ...enwiseOffV1PathPostCommandApiCommand.g.cs} | 6 +- ...ewayOnV1PathOptions5CommandApiCommand.g.cs | 76 ---------- ...ewayOnV1PathOptions6CommandApiCommand.g.cs | 76 ---------- ...atewayOnV1PathPost2CommandApiCommand.g.cs} | 6 +- ...atewayOnV1PathPost3CommandApiCommand.g.cs} | 6 +- ...atewayOnV1PathPost4CommandApiCommand.g.cs} | 6 +- ...atewayOnV1PathPost5CommandApiCommand.g.cs} | 6 +- ...GatewayOnV1PathPost6CommandApiCommand.g.cs | 76 ++++++++++ ...1GatewayOnV1PathPostCommandApiCommand.g.cs | 76 ++++++++++ ...wiseOnV1PathOptions5CommandApiCommand.g.cs | 76 ---------- ...wiseOnV1PathOptions6CommandApiCommand.g.cs | 76 ---------- ...enwiseOnV1PathPost2CommandApiCommand.g.cs} | 6 +- ...enwiseOnV1PathPost3CommandApiCommand.g.cs} | 6 +- ...enwiseOnV1PathPost4CommandApiCommand.g.cs} | 6 +- ...enwiseOnV1PathPost5CommandApiCommand.g.cs} | 6 +- ...kenwiseOnV1PathPost6CommandApiCommand.g.cs | 76 ++++++++++ ...okenwiseOnV1PathPostCommandApiCommand.g.cs | 76 ++++++++++ ...atewayV1PathOptions6CommandApiCommand.g.cs | 79 ---------- ...1GatewayV1PathPost2CommandApiCommand.g.cs} | 6 +- ...1GatewayV1PathPost3CommandApiCommand.g.cs} | 6 +- ...1GatewayV1PathPost4CommandApiCommand.g.cs} | 6 +- ...1GatewayV1PathPost5CommandApiCommand.g.cs} | 6 +- ...1GatewayV1PathPost6CommandApiCommand.g.cs} | 6 +- ...yV1GatewayV1PathPostCommandApiCommand.g.cs | 79 ++++++++++ ...enwiseV1PathOptions5CommandApiCommand.g.cs | 79 ---------- ...enwiseV1PathOptions6CommandApiCommand.g.cs | 79 ---------- ...okenwiseV1PathPost2CommandApiCommand.g.cs} | 6 +- ...okenwiseV1PathPost3CommandApiCommand.g.cs} | 6 +- ...okenwiseV1PathPost4CommandApiCommand.g.cs} | 6 +- ...okenwiseV1PathPost5CommandApiCommand.g.cs} | 6 +- ...TokenwiseV1PathPost6CommandApiCommand.g.cs | 79 ++++++++++ ...1TokenwiseV1PathPostCommandApiCommand.g.cs | 79 ++++++++++ ...ayV1betaPathOptions6CommandApiCommand.g.cs | 76 ---------- ...ewayV1betaPathPost2CommandApiCommand.g.cs} | 6 +- ...ewayV1betaPathPost3CommandApiCommand.g.cs} | 6 +- ...ewayV1betaPathPost4CommandApiCommand.g.cs} | 6 +- ...ewayV1betaPathPost5CommandApiCommand.g.cs} | 6 +- ...tewayV1betaPathPost6CommandApiCommand.g.cs | 76 ++++++++++ ...tewayV1betaPathPostCommandApiCommand.g.cs} | 6 +- ...seV1betaPathOptions2CommandApiCommand.g.cs | 76 ---------- ...seV1betaPathOptions3CommandApiCommand.g.cs | 76 ---------- ...seV1betaPathOptions4CommandApiCommand.g.cs | 76 ---------- ...seV1betaPathOptions5CommandApiCommand.g.cs | 76 ---------- ...seV1betaPathOptions6CommandApiCommand.g.cs | 76 ---------- ...iseV1betaPathOptionsCommandApiCommand.g.cs | 76 ---------- ...nwiseV1betaPathPost2CommandApiCommand.g.cs | 76 ++++++++++ ...nwiseV1betaPathPost3CommandApiCommand.g.cs | 76 ++++++++++ ...nwiseV1betaPathPost4CommandApiCommand.g.cs | 76 ++++++++++ ...nwiseV1betaPathPost5CommandApiCommand.g.cs | 76 ++++++++++ ...nwiseV1betaPathPost6CommandApiCommand.g.cs | 76 ++++++++++ ...enwiseV1betaPathPostCommandApiCommand.g.cs | 76 ++++++++++ ...internalPathOptions2CommandApiCommand.g.cs | 76 ---------- ...internalPathOptions6CommandApiCommand.g.cs | 76 ---------- ...V1internalPathPost2CommandApiCommand.g.cs} | 6 +- ...V1internalPathPost3CommandApiCommand.g.cs} | 6 +- ...V1internalPathPost4CommandApiCommand.g.cs} | 6 +- ...V1internalPathPost5CommandApiCommand.g.cs} | 6 +- ...yV1internalPathPost6CommandApiCommand.g.cs | 76 ++++++++++ ...ayV1internalPathPostCommandApiCommand.g.cs | 76 ++++++++++ ...internalPathOptions5CommandApiCommand.g.cs | 76 ---------- ...internalPathOptions6CommandApiCommand.g.cs | 76 ---------- ...V1internalPathPost2CommandApiCommand.g.cs} | 6 +- ...V1internalPathPost3CommandApiCommand.g.cs} | 6 +- ...V1internalPathPost4CommandApiCommand.g.cs} | 6 +- ...V1internalPathPost5CommandApiCommand.g.cs} | 6 +- ...eV1internalPathPost6CommandApiCommand.g.cs | 76 ++++++++++ ...seV1internalPathPostCommandApiCommand.g.cs | 76 ++++++++++ ...nt.ProxyHarnessApiHarnessApiPathPost.g.cs} | 52 +++---- ...t.ProxyHarnessApiHarnessApiPathPost2.g.cs} | 52 +++---- ...t.ProxyHarnessApiHarnessApiPathPost3.g.cs} | 52 +++---- ...t.ProxyHarnessApiHarnessApiPathPost4.g.cs} | 52 +++---- ...t.ProxyHarnessApiHarnessApiPathPost5.g.cs} | 52 +++---- ...lient.ProxyOffV1GatewayOffV1PathPost.g.cs} | 52 +++---- ...ient.ProxyOffV1GatewayOffV1PathPost2.g.cs} | 52 +++---- ...ient.ProxyOffV1GatewayOffV1PathPost3.g.cs} | 52 +++---- ...ient.ProxyOffV1GatewayOffV1PathPost4.g.cs} | 52 +++---- ...ient.ProxyOffV1GatewayOffV1PathPost5.g.cs} | 52 +++---- ...ient.ProxyOffV1GatewayOffV1PathPost6.g.cs} | 52 +++---- ...ent.ProxyOffV1TokenwiseOffV1PathPost.g.cs} | 52 +++---- ...nt.ProxyOffV1TokenwiseOffV1PathPost2.g.cs} | 52 +++---- ...nt.ProxyOffV1TokenwiseOffV1PathPost3.g.cs} | 52 +++---- ...nt.ProxyOffV1TokenwiseOffV1PathPost4.g.cs} | 52 +++---- ...nt.ProxyOffV1TokenwiseOffV1PathPost5.g.cs} | 52 +++---- ...nt.ProxyOffV1TokenwiseOffV1PathPost6.g.cs} | 52 +++---- ...1Client.ProxyOnV1GatewayOnV1PathPost.g.cs} | 52 +++---- ...Client.ProxyOnV1GatewayOnV1PathPost2.g.cs} | 52 +++---- ...Client.ProxyOnV1GatewayOnV1PathPost3.g.cs} | 52 +++---- ...Client.ProxyOnV1GatewayOnV1PathPost4.g.cs} | 52 +++---- ...Client.ProxyOnV1GatewayOnV1PathPost5.g.cs} | 52 +++---- ...Client.ProxyOnV1GatewayOnV1PathPost6.g.cs} | 52 +++---- ...lient.ProxyOnV1TokenwiseOnV1PathPost.g.cs} | 52 +++---- ...ient.ProxyOnV1TokenwiseOnV1PathPost2.g.cs} | 52 +++---- ...ient.ProxyOnV1TokenwiseOnV1PathPost3.g.cs} | 52 +++---- ...ient.ProxyOnV1TokenwiseOnV1PathPost4.g.cs} | 52 +++---- ...ient.ProxyOnV1TokenwiseOnV1PathPost5.g.cs} | 52 +++---- ...ient.ProxyOnV1TokenwiseOnV1PathPost6.g.cs} | 52 +++---- ....Ai21Client.ProxyV1GatewayV1PathPost.g.cs} | 52 +++---- ...Ai21Client.ProxyV1GatewayV1PathPost2.g.cs} | 52 +++---- ...Ai21Client.ProxyV1GatewayV1PathPost3.g.cs} | 52 +++---- ...Ai21Client.ProxyV1GatewayV1PathPost4.g.cs} | 52 +++---- ...Ai21Client.ProxyV1GatewayV1PathPost5.g.cs} | 52 +++---- ...Ai21Client.ProxyV1GatewayV1PathPost6.g.cs} | 52 +++---- ...i21Client.ProxyV1TokenwiseV1PathPost.g.cs} | 52 +++---- ...21Client.ProxyV1TokenwiseV1PathPost2.g.cs} | 52 +++---- ...21Client.ProxyV1TokenwiseV1PathPost3.g.cs} | 52 +++---- ...21Client.ProxyV1TokenwiseV1PathPost4.g.cs} | 52 +++---- ...21Client.ProxyV1TokenwiseV1PathPost5.g.cs} | 52 +++---- ...21Client.ProxyV1TokenwiseV1PathPost6.g.cs} | 52 +++---- ...ent.ProxyV1betaGatewayV1betaPathPost.g.cs} | 52 +++---- ...nt.ProxyV1betaGatewayV1betaPathPost2.g.cs} | 52 +++---- ...nt.ProxyV1betaGatewayV1betaPathPost3.g.cs} | 52 +++---- ...nt.ProxyV1betaGatewayV1betaPathPost4.g.cs} | 52 +++---- ...nt.ProxyV1betaGatewayV1betaPathPost5.g.cs} | 52 +++---- ...nt.ProxyV1betaGatewayV1betaPathPost6.g.cs} | 52 +++---- ...t.ProxyV1betaTokenwiseV1betaPathPost.g.cs} | 52 +++---- ....ProxyV1betaTokenwiseV1betaPathPost2.g.cs} | 52 +++---- ....ProxyV1betaTokenwiseV1betaPathPost3.g.cs} | 52 +++---- ....ProxyV1betaTokenwiseV1betaPathPost4.g.cs} | 52 +++---- ....ProxyV1betaTokenwiseV1betaPathPost5.g.cs} | 52 +++---- ....ProxyV1betaTokenwiseV1betaPathPost6.g.cs} | 52 +++---- ...yV1internalGatewayV1internalPathPost.g.cs} | 52 +++---- ...V1internalGatewayV1internalPathPost2.g.cs} | 52 +++---- ...V1internalGatewayV1internalPathPost3.g.cs} | 52 +++---- ...V1internalGatewayV1internalPathPost4.g.cs} | 52 +++---- ...V1internalGatewayV1internalPathPost5.g.cs} | 52 +++---- ...V1internalGatewayV1internalPathPost6.g.cs} | 52 +++---- ...1internalTokenwiseV1internalPathPost.g.cs} | 52 +++---- ...internalTokenwiseV1internalPathPost2.g.cs} | 52 +++---- ...internalTokenwiseV1internalPathPost3.g.cs} | 52 +++---- ...internalTokenwiseV1internalPathPost4.g.cs} | 52 +++---- ...internalTokenwiseV1internalPathPost5.g.cs} | 52 +++---- ...internalTokenwiseV1internalPathPost6.g.cs} | 52 +++---- ...nt.ProxyHarnessApiHarnessApiPathPost.g.cs} | 4 +- ...t.ProxyHarnessApiHarnessApiPathPost2.g.cs} | 4 +- ...t.ProxyHarnessApiHarnessApiPathPost3.g.cs} | 4 +- ...t.ProxyHarnessApiHarnessApiPathPost4.g.cs} | 4 +- ...t.ProxyHarnessApiHarnessApiPathPost5.g.cs} | 4 +- ...nt.ProxyOffV1GatewayOffV1PathOptions5.g.cs | 36 ----- ...nt.ProxyOffV1GatewayOffV1PathOptions6.g.cs | 36 ----- ...lient.ProxyOffV1GatewayOffV1PathPost.g.cs} | 4 +- ...ient.ProxyOffV1GatewayOffV1PathPost2.g.cs} | 4 +- ...ient.ProxyOffV1GatewayOffV1PathPost3.g.cs} | 4 +- ...ient.ProxyOffV1GatewayOffV1PathPost4.g.cs} | 4 +- ...lient.ProxyOffV1GatewayOffV1PathPost5.g.cs | 36 +++++ ...lient.ProxyOffV1GatewayOffV1PathPost6.g.cs | 36 +++++ ....ProxyOffV1TokenwiseOffV1PathOptions5.g.cs | 36 ----- ....ProxyOffV1TokenwiseOffV1PathOptions6.g.cs | 36 ----- ...ent.ProxyOffV1TokenwiseOffV1PathPost.g.cs} | 4 +- ...nt.ProxyOffV1TokenwiseOffV1PathPost2.g.cs} | 4 +- ...nt.ProxyOffV1TokenwiseOffV1PathPost3.g.cs} | 4 +- ...nt.ProxyOffV1TokenwiseOffV1PathPost4.g.cs} | 4 +- ...ent.ProxyOffV1TokenwiseOffV1PathPost5.g.cs | 36 +++++ ...ent.ProxyOffV1TokenwiseOffV1PathPost6.g.cs | 36 +++++ ...ient.ProxyOnV1GatewayOnV1PathOptions5.g.cs | 36 ----- ...ient.ProxyOnV1GatewayOnV1PathOptions6.g.cs | 36 ----- ...1Client.ProxyOnV1GatewayOnV1PathPost.g.cs} | 4 +- ...Client.ProxyOnV1GatewayOnV1PathPost2.g.cs} | 4 +- ...Client.ProxyOnV1GatewayOnV1PathPost3.g.cs} | 4 +- ...Client.ProxyOnV1GatewayOnV1PathPost4.g.cs} | 4 +- ...1Client.ProxyOnV1GatewayOnV1PathPost5.g.cs | 36 +++++ ...1Client.ProxyOnV1GatewayOnV1PathPost6.g.cs | 36 +++++ ...nt.ProxyOnV1TokenwiseOnV1PathOptions5.g.cs | 36 ----- ...nt.ProxyOnV1TokenwiseOnV1PathOptions6.g.cs | 36 ----- ...lient.ProxyOnV1TokenwiseOnV1PathPost.g.cs} | 4 +- ...ient.ProxyOnV1TokenwiseOnV1PathPost2.g.cs} | 4 +- ...ient.ProxyOnV1TokenwiseOnV1PathPost3.g.cs} | 4 +- ...ient.ProxyOnV1TokenwiseOnV1PathPost4.g.cs} | 4 +- ...lient.ProxyOnV1TokenwiseOnV1PathPost5.g.cs | 36 +++++ ...lient.ProxyOnV1TokenwiseOnV1PathPost6.g.cs | 36 +++++ ...21Client.ProxyV1GatewayV1PathOptions5.g.cs | 40 ----- ...21Client.ProxyV1GatewayV1PathOptions6.g.cs | 40 ----- ...IAi21Client.ProxyV1GatewayV1PathPost.g.cs} | 4 +- ...Ai21Client.ProxyV1GatewayV1PathPost2.g.cs} | 4 +- ...Ai21Client.ProxyV1GatewayV1PathPost3.g.cs} | 4 +- ...Ai21Client.ProxyV1GatewayV1PathPost4.g.cs} | 4 +- ...IAi21Client.ProxyV1GatewayV1PathPost5.g.cs | 40 +++++ ...IAi21Client.ProxyV1GatewayV1PathPost6.g.cs | 40 +++++ ...Client.ProxyV1TokenwiseV1PathOptions5.g.cs | 40 ----- ...Client.ProxyV1TokenwiseV1PathOptions6.g.cs | 40 ----- ...i21Client.ProxyV1TokenwiseV1PathPost.g.cs} | 4 +- ...21Client.ProxyV1TokenwiseV1PathPost2.g.cs} | 4 +- ...21Client.ProxyV1TokenwiseV1PathPost3.g.cs} | 4 +- ...21Client.ProxyV1TokenwiseV1PathPost4.g.cs} | 4 +- ...i21Client.ProxyV1TokenwiseV1PathPost5.g.cs | 40 +++++ ...i21Client.ProxyV1TokenwiseV1PathPost6.g.cs | 40 +++++ ....ProxyV1betaGatewayV1betaPathOptions5.g.cs | 36 ----- ....ProxyV1betaGatewayV1betaPathOptions6.g.cs | 36 ----- ...ent.ProxyV1betaGatewayV1betaPathPost.g.cs} | 4 +- ...nt.ProxyV1betaGatewayV1betaPathPost2.g.cs} | 4 +- ...nt.ProxyV1betaGatewayV1betaPathPost3.g.cs} | 4 +- ...nt.ProxyV1betaGatewayV1betaPathPost4.g.cs} | 4 +- ...ent.ProxyV1betaGatewayV1betaPathPost5.g.cs | 36 +++++ ...ent.ProxyV1betaGatewayV1betaPathPost6.g.cs | 36 +++++ ...roxyV1betaTokenwiseV1betaPathOptions5.g.cs | 36 ----- ...roxyV1betaTokenwiseV1betaPathOptions6.g.cs | 36 ----- ...t.ProxyV1betaTokenwiseV1betaPathPost.g.cs} | 4 +- ....ProxyV1betaTokenwiseV1betaPathPost2.g.cs} | 4 +- ....ProxyV1betaTokenwiseV1betaPathPost3.g.cs} | 4 +- ....ProxyV1betaTokenwiseV1betaPathPost4.g.cs} | 4 +- ...t.ProxyV1betaTokenwiseV1betaPathPost5.g.cs | 36 +++++ ...t.ProxyV1betaTokenwiseV1betaPathPost6.g.cs | 36 +++++ ...internalGatewayV1internalPathOptions5.g.cs | 36 ----- ...internalGatewayV1internalPathOptions6.g.cs | 36 ----- ...yV1internalGatewayV1internalPathPost.g.cs} | 4 +- ...V1internalGatewayV1internalPathPost2.g.cs} | 4 +- ...V1internalGatewayV1internalPathPost3.g.cs} | 4 +- ...V1internalGatewayV1internalPathPost4.g.cs} | 4 +- ...yV1internalGatewayV1internalPathPost5.g.cs | 36 +++++ ...yV1internalGatewayV1internalPathPost6.g.cs | 36 +++++ ...nternalTokenwiseV1internalPathOptions.g.cs | 36 ----- ...ternalTokenwiseV1internalPathOptions2.g.cs | 36 ----- ...ternalTokenwiseV1internalPathOptions3.g.cs | 36 ----- ...ternalTokenwiseV1internalPathOptions4.g.cs | 36 ----- ...ternalTokenwiseV1internalPathOptions5.g.cs | 36 ----- ...ternalTokenwiseV1internalPathOptions6.g.cs | 36 ----- ...V1internalTokenwiseV1internalPathPost.g.cs | 36 +++++ ...1internalTokenwiseV1internalPathPost2.g.cs | 36 +++++ ...1internalTokenwiseV1internalPathPost3.g.cs | 36 +++++ ...1internalTokenwiseV1internalPathPost4.g.cs | 36 +++++ ...1internalTokenwiseV1internalPathPost5.g.cs | 36 +++++ ...1internalTokenwiseV1internalPathPost6.g.cs | 36 +++++ ...ssApiHarnessApiPathPostResponse.Json.g.cs} | 26 ++-- ...yHarnessApiHarnessApiPathPostResponse.g.cs | 19 +++ ...sApiHarnessApiPathPostResponse2.Json.g.cs} | 26 ++-- ...HarnessApiHarnessApiPathPostResponse2.g.cs | 19 +++ ...sApiHarnessApiPathPostResponse3.Json.g.cs} | 26 ++-- ...HarnessApiHarnessApiPathPostResponse3.g.cs | 19 +++ ...sApiHarnessApiPathPostResponse4.Json.g.cs} | 26 ++-- ...HarnessApiHarnessApiPathPostResponse4.g.cs | 19 +++ ...sApiHarnessApiPathPostResponse5.Json.g.cs} | 26 ++-- ...HarnessApiHarnessApiPathPostResponse5.g.cs | 19 +++ ...yOffV1GatewayOffV1PathOptionsResponse.g.cs | 19 --- ...OffV1GatewayOffV1PathOptionsResponse2.g.cs | 19 --- ...OffV1GatewayOffV1PathOptionsResponse3.g.cs | 19 --- ...GatewayOffV1PathOptionsResponse4.Json.g.cs | 141 ------------------ ...OffV1GatewayOffV1PathOptionsResponse4.g.cs | 19 --- ...GatewayOffV1PathOptionsResponse5.Json.g.cs | 141 ------------------ ...OffV1GatewayOffV1PathOptionsResponse5.g.cs | 19 --- ...GatewayOffV1PathOptionsResponse6.Json.g.cs | 141 ------------------ ...OffV1GatewayOffV1PathOptionsResponse6.g.cs | 19 --- ...fV1GatewayOffV1PathPostResponse.Json.g.cs} | 26 ++-- ...roxyOffV1GatewayOffV1PathPostResponse.g.cs | 19 +++ ...V1GatewayOffV1PathPostResponse2.Json.g.cs} | 26 ++-- ...xyOffV1GatewayOffV1PathPostResponse2.g.cs} | 2 +- ...V1GatewayOffV1PathPostResponse3.Json.g.cs} | 26 ++-- ...oxyOffV1GatewayOffV1PathPostResponse3.g.cs | 19 +++ ...V1GatewayOffV1PathPostResponse4.Json.g.cs} | 26 ++-- ...oxyOffV1GatewayOffV1PathPostResponse4.g.cs | 19 +++ ...fV1GatewayOffV1PathPostResponse5.Json.g.cs | 141 ++++++++++++++++++ ...oxyOffV1GatewayOffV1PathPostResponse5.g.cs | 19 +++ ...fV1GatewayOffV1PathPostResponse6.Json.g.cs | 141 ++++++++++++++++++ ...oxyOffV1GatewayOffV1PathPostResponse6.g.cs | 19 +++ ...ffV1TokenwiseOffV1PathOptionsResponse.g.cs | 19 --- ...fV1TokenwiseOffV1PathOptionsResponse2.g.cs | 19 --- ...fV1TokenwiseOffV1PathOptionsResponse3.g.cs | 19 --- ...fV1TokenwiseOffV1PathOptionsResponse4.g.cs | 19 --- ...kenwiseOffV1PathOptionsResponse5.Json.g.cs | 141 ------------------ ...fV1TokenwiseOffV1PathOptionsResponse5.g.cs | 19 --- ...kenwiseOffV1PathOptionsResponse6.Json.g.cs | 141 ------------------ ...fV1TokenwiseOffV1PathOptionsResponse6.g.cs | 19 --- ...1TokenwiseOffV1PathPostResponse.Json.g.cs} | 26 ++-- ...yOffV1TokenwiseOffV1PathPostResponse.g.cs} | 2 +- ...TokenwiseOffV1PathPostResponse2.Json.g.cs} | 26 ++-- ...OffV1TokenwiseOffV1PathPostResponse2.g.cs} | 2 +- ...TokenwiseOffV1PathPostResponse3.Json.g.cs} | 26 ++-- ...OffV1TokenwiseOffV1PathPostResponse3.g.cs} | 2 +- ...TokenwiseOffV1PathPostResponse4.Json.g.cs} | 26 ++-- ...OffV1TokenwiseOffV1PathPostResponse4.g.cs} | 2 +- ...1TokenwiseOffV1PathPostResponse5.Json.g.cs | 141 ++++++++++++++++++ ...OffV1TokenwiseOffV1PathPostResponse5.g.cs} | 2 +- ...1TokenwiseOffV1PathPostResponse6.Json.g.cs | 141 ++++++++++++++++++ ...yOffV1TokenwiseOffV1PathPostResponse6.g.cs | 19 +++ ...xyOnV1GatewayOnV1PathOptionsResponse3.g.cs | 19 --- ...xyOnV1GatewayOnV1PathOptionsResponse4.g.cs | 19 --- ...1GatewayOnV1PathOptionsResponse5.Json.g.cs | 141 ------------------ ...xyOnV1GatewayOnV1PathOptionsResponse5.g.cs | 19 --- ...1GatewayOnV1PathOptionsResponse6.Json.g.cs | 141 ------------------ ...xyOnV1GatewayOnV1PathOptionsResponse6.g.cs | 19 --- ...OnV1GatewayOnV1PathPostResponse.Json.g.cs} | 26 ++-- ...ProxyOnV1GatewayOnV1PathPostResponse.g.cs} | 2 +- ...nV1GatewayOnV1PathPostResponse2.Json.g.cs} | 26 ++-- ...ProxyOnV1GatewayOnV1PathPostResponse2.g.cs | 19 +++ ...nV1GatewayOnV1PathPostResponse3.Json.g.cs} | 26 ++-- ...ProxyOnV1GatewayOnV1PathPostResponse3.g.cs | 19 +++ ...OnV1GatewayOnV1PathPostResponse4.Json.g.cs | 141 ++++++++++++++++++ ...ProxyOnV1GatewayOnV1PathPostResponse4.g.cs | 19 +++ ...OnV1GatewayOnV1PathPostResponse5.Json.g.cs | 141 ++++++++++++++++++ ...ProxyOnV1GatewayOnV1PathPostResponse5.g.cs | 19 +++ ...OnV1GatewayOnV1PathPostResponse6.Json.g.cs | 141 ++++++++++++++++++ ...ProxyOnV1GatewayOnV1PathPostResponse6.g.cs | 19 +++ ...TokenwiseOnV1PathOptionsResponse.Json.g.cs | 141 ------------------ ...yOnV1TokenwiseOnV1PathOptionsResponse.g.cs | 19 --- ...okenwiseOnV1PathOptionsResponse2.Json.g.cs | 141 ------------------ ...OnV1TokenwiseOnV1PathOptionsResponse2.g.cs | 19 --- ...okenwiseOnV1PathOptionsResponse3.Json.g.cs | 141 ------------------ ...OnV1TokenwiseOnV1PathOptionsResponse3.g.cs | 19 --- ...okenwiseOnV1PathOptionsResponse4.Json.g.cs | 141 ------------------ ...OnV1TokenwiseOnV1PathOptionsResponse4.g.cs | 19 --- ...okenwiseOnV1PathOptionsResponse5.Json.g.cs | 141 ------------------ ...OnV1TokenwiseOnV1PathOptionsResponse5.g.cs | 19 --- ...okenwiseOnV1PathOptionsResponse6.Json.g.cs | 141 ------------------ ...OnV1TokenwiseOnV1PathOptionsResponse6.g.cs | 19 --- ...V1TokenwiseOnV1PathPostResponse.Json.g.cs} | 26 ++-- ...roxyOnV1TokenwiseOnV1PathPostResponse.g.cs | 19 +++ ...1TokenwiseOnV1PathPostResponse2.Json.g.cs} | 26 ++-- ...oxyOnV1TokenwiseOnV1PathPostResponse2.g.cs | 19 +++ ...V1TokenwiseOnV1PathPostResponse3.Json.g.cs | 141 ++++++++++++++++++ ...oxyOnV1TokenwiseOnV1PathPostResponse3.g.cs | 19 +++ ...V1TokenwiseOnV1PathPostResponse4.Json.g.cs | 141 ++++++++++++++++++ ...oxyOnV1TokenwiseOnV1PathPostResponse4.g.cs | 19 +++ ...V1TokenwiseOnV1PathPostResponse5.Json.g.cs | 141 ++++++++++++++++++ ...oxyOnV1TokenwiseOnV1PathPostResponse5.g.cs | 19 +++ ...V1TokenwiseOnV1PathPostResponse6.Json.g.cs | 141 ++++++++++++++++++ ...oxyOnV1TokenwiseOnV1PathPostResponse6.g.cs | 19 +++ ....ProxyV1GatewayV1PathOptionsResponse5.g.cs | 19 --- ...yV1GatewayV1PathOptionsResponse6.Json.g.cs | 141 ------------------ ....ProxyV1GatewayV1PathOptionsResponse6.g.cs | 19 --- ...roxyV1GatewayV1PathPostResponse.Json.g.cs} | 26 ++-- ...els.ProxyV1GatewayV1PathPostResponse.g.cs} | 2 +- ...oxyV1GatewayV1PathPostResponse2.Json.g.cs} | 26 ++-- ...ls.ProxyV1GatewayV1PathPostResponse2.g.cs} | 2 +- ...oxyV1GatewayV1PathPostResponse3.Json.g.cs} | 26 ++-- ...ls.ProxyV1GatewayV1PathPostResponse3.g.cs} | 2 +- ...oxyV1GatewayV1PathPostResponse4.Json.g.cs} | 26 ++-- ...els.ProxyV1GatewayV1PathPostResponse4.g.cs | 19 +++ ...roxyV1GatewayV1PathPostResponse5.Json.g.cs | 141 ++++++++++++++++++ ...els.ProxyV1GatewayV1PathPostResponse5.g.cs | 19 +++ ...roxyV1GatewayV1PathPostResponse6.Json.g.cs | 141 ++++++++++++++++++ ...els.ProxyV1GatewayV1PathPostResponse6.g.cs | 19 +++ ...ProxyV1TokenwiseV1PathOptionsResponse.g.cs | 19 --- ...roxyV1TokenwiseV1PathOptionsResponse2.g.cs | 19 --- ...roxyV1TokenwiseV1PathOptionsResponse3.g.cs | 19 --- ...roxyV1TokenwiseV1PathOptionsResponse4.g.cs | 19 --- ...roxyV1TokenwiseV1PathOptionsResponse5.g.cs | 19 --- ...1TokenwiseV1PathOptionsResponse6.Json.g.cs | 141 ------------------ ...roxyV1TokenwiseV1PathOptionsResponse6.g.cs | 19 --- ...xyV1TokenwiseV1PathPostResponse.Json.g.cs} | 26 ++-- ...ls.ProxyV1TokenwiseV1PathPostResponse.g.cs | 19 +++ ...yV1TokenwiseV1PathPostResponse2.Json.g.cs} | 26 ++-- ...s.ProxyV1TokenwiseV1PathPostResponse2.g.cs | 19 +++ ...yV1TokenwiseV1PathPostResponse3.Json.g.cs} | 26 ++-- ...s.ProxyV1TokenwiseV1PathPostResponse3.g.cs | 19 +++ ...yV1TokenwiseV1PathPostResponse4.Json.g.cs} | 26 ++-- ...s.ProxyV1TokenwiseV1PathPostResponse4.g.cs | 19 +++ ...xyV1TokenwiseV1PathPostResponse5.Json.g.cs | 141 ++++++++++++++++++ ...s.ProxyV1TokenwiseV1PathPostResponse5.g.cs | 19 +++ ...xyV1TokenwiseV1PathPostResponse6.Json.g.cs | 141 ++++++++++++++++++ ...s.ProxyV1TokenwiseV1PathPostResponse6.g.cs | 19 +++ ...1betaGatewayV1betaPathOptionsResponse.g.cs | 19 --- ...betaGatewayV1betaPathOptionsResponse2.g.cs | 19 --- ...betaGatewayV1betaPathOptionsResponse3.g.cs | 19 --- ...betaGatewayV1betaPathOptionsResponse4.g.cs | 19 --- ...atewayV1betaPathOptionsResponse5.Json.g.cs | 141 ------------------ ...betaGatewayV1betaPathOptionsResponse5.g.cs | 19 --- ...atewayV1betaPathOptionsResponse6.Json.g.cs | 141 ------------------ ...betaGatewayV1betaPathOptionsResponse6.g.cs | 19 --- ...taGatewayV1betaPathPostResponse.Json.g.cs} | 26 ++-- ...yV1betaGatewayV1betaPathPostResponse.g.cs} | 2 +- ...aGatewayV1betaPathPostResponse2.Json.g.cs} | 26 ++-- ...yV1betaGatewayV1betaPathPostResponse2.g.cs | 19 +++ ...aGatewayV1betaPathPostResponse3.Json.g.cs} | 26 ++-- ...yV1betaGatewayV1betaPathPostResponse3.g.cs | 19 +++ ...aGatewayV1betaPathPostResponse4.Json.g.cs} | 26 ++-- ...yV1betaGatewayV1betaPathPostResponse4.g.cs | 19 +++ ...taGatewayV1betaPathPostResponse5.Json.g.cs | 141 ++++++++++++++++++ ...yV1betaGatewayV1betaPathPostResponse5.g.cs | 19 +++ ...taGatewayV1betaPathPostResponse6.Json.g.cs | 141 ++++++++++++++++++ ...yV1betaGatewayV1betaPathPostResponse6.g.cs | 19 +++ ...etaTokenwiseV1betaPathOptionsResponse.g.cs | 19 --- ...taTokenwiseV1betaPathOptionsResponse2.g.cs | 19 --- ...taTokenwiseV1betaPathOptionsResponse3.g.cs | 19 --- ...taTokenwiseV1betaPathOptionsResponse4.g.cs | 19 --- ...enwiseV1betaPathOptionsResponse5.Json.g.cs | 141 ------------------ ...taTokenwiseV1betaPathOptionsResponse5.g.cs | 19 --- ...enwiseV1betaPathOptionsResponse6.Json.g.cs | 141 ------------------ ...taTokenwiseV1betaPathOptionsResponse6.g.cs | 19 --- ...TokenwiseV1betaPathPostResponse.Json.g.cs} | 26 ++-- ...V1betaTokenwiseV1betaPathPostResponse.g.cs | 19 +++ ...okenwiseV1betaPathPostResponse2.Json.g.cs} | 26 ++-- ...1betaTokenwiseV1betaPathPostResponse2.g.cs | 19 +++ ...okenwiseV1betaPathPostResponse3.Json.g.cs} | 26 ++-- ...1betaTokenwiseV1betaPathPostResponse3.g.cs | 19 +++ ...okenwiseV1betaPathPostResponse4.Json.g.cs} | 26 ++-- ...1betaTokenwiseV1betaPathPostResponse4.g.cs | 19 +++ ...TokenwiseV1betaPathPostResponse5.Json.g.cs | 141 ++++++++++++++++++ ...1betaTokenwiseV1betaPathPostResponse5.g.cs | 19 +++ ...TokenwiseV1betaPathPostResponse6.Json.g.cs | 141 ++++++++++++++++++ ...1betaTokenwiseV1betaPathPostResponse6.g.cs | 19 +++ ...ayV1internalPathOptionsResponse5.Json.g.cs | 141 ------------------ ...GatewayV1internalPathOptionsResponse5.g.cs | 19 --- ...ayV1internalPathOptionsResponse6.Json.g.cs | 141 ------------------ ...GatewayV1internalPathOptionsResponse6.g.cs | 19 --- ...tewayV1internalPathPostResponse.Json.g.cs} | 26 ++-- ...nalGatewayV1internalPathPostResponse.g.cs} | 2 +- ...ewayV1internalPathPostResponse2.Json.g.cs} | 26 ++-- ...alGatewayV1internalPathPostResponse2.g.cs} | 2 +- ...ewayV1internalPathPostResponse3.Json.g.cs} | 26 ++-- ...alGatewayV1internalPathPostResponse3.g.cs} | 2 +- ...ewayV1internalPathPostResponse4.Json.g.cs} | 26 ++-- ...alGatewayV1internalPathPostResponse4.g.cs} | 2 +- ...tewayV1internalPathPostResponse5.Json.g.cs | 141 ++++++++++++++++++ ...nalGatewayV1internalPathPostResponse5.g.cs | 19 +++ ...tewayV1internalPathPostResponse6.Json.g.cs | 141 ++++++++++++++++++ ...nalGatewayV1internalPathPostResponse6.g.cs | 19 +++ ...seV1internalPathOptionsResponse5.Json.g.cs | 141 ------------------ ...kenwiseV1internalPathOptionsResponse5.g.cs | 19 --- ...seV1internalPathOptionsResponse6.Json.g.cs | 141 ------------------ ...kenwiseV1internalPathOptionsResponse6.g.cs | 19 --- ...nwiseV1internalPathPostResponse.Json.g.cs} | 26 ++-- ...lTokenwiseV1internalPathPostResponse.g.cs} | 2 +- ...wiseV1internalPathPostResponse2.Json.g.cs} | 26 ++-- ...TokenwiseV1internalPathPostResponse2.g.cs} | 2 +- ...wiseV1internalPathPostResponse3.Json.g.cs} | 26 ++-- ...TokenwiseV1internalPathPostResponse3.g.cs} | 2 +- ...wiseV1internalPathPostResponse4.Json.g.cs} | 26 ++-- ...TokenwiseV1internalPathPostResponse4.g.cs} | 2 +- ...nwiseV1internalPathPostResponse5.Json.g.cs | 141 ++++++++++++++++++ ...lTokenwiseV1internalPathPostResponse5.g.cs | 19 +++ ...nwiseV1internalPathPostResponse6.Json.g.cs | 141 ++++++++++++++++++ ...lTokenwiseV1internalPathPostResponse6.g.cs | 19 +++ src/libs/AI21/openapi.json | 2 +- 446 files changed, 9492 insertions(+), 9492 deletions(-) rename src/cli/AI21.CLI/Commands/{ProxyHarnessApiHarnessApiPathPut3CommandApiCommand.g.cs => ProxyHarnessApiHarnessApiPathPost2CommandApiCommand.g.cs} (93%) rename src/cli/AI21.CLI/Commands/{ProxyHarnessApiHarnessApiPathPut4CommandApiCommand.g.cs => ProxyHarnessApiHarnessApiPathPost3CommandApiCommand.g.cs} (93%) rename src/cli/AI21.CLI/Commands/{ProxyHarnessApiHarnessApiPathPut5CommandApiCommand.g.cs => ProxyHarnessApiHarnessApiPathPost4CommandApiCommand.g.cs} (93%) create mode 100644 src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPost5CommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyHarnessApiHarnessApiPathPut2CommandApiCommand.g.cs => ProxyHarnessApiHarnessApiPathPostCommandApiCommand.g.cs} (94%) delete mode 100644 src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPutCommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions6CommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyOffV1GatewayOffV1PathOptions3CommandApiCommand.g.cs => ProxyOffV1GatewayOffV1PathPost2CommandApiCommand.g.cs} (94%) rename src/cli/AI21.CLI/Commands/{ProxyOffV1GatewayOffV1PathOptions4CommandApiCommand.g.cs => ProxyOffV1GatewayOffV1PathPost3CommandApiCommand.g.cs} (94%) rename src/cli/AI21.CLI/Commands/{ProxyOffV1GatewayOffV1PathOptions5CommandApiCommand.g.cs => ProxyOffV1GatewayOffV1PathPost4CommandApiCommand.g.cs} (94%) create mode 100644 src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPost5CommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPost6CommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPostCommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions2CommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions3CommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions4CommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions5CommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions6CommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptionsCommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyOffV1GatewayOffV1PathOptionsCommandApiCommand.g.cs => ProxyOffV1TokenwiseOffV1PathPost2CommandApiCommand.g.cs} (95%) create mode 100644 src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPost3CommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPost4CommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPost5CommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPost6CommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyOffV1GatewayOffV1PathOptions2CommandApiCommand.g.cs => ProxyOffV1TokenwiseOffV1PathPostCommandApiCommand.g.cs} (94%) delete mode 100644 src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions5CommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions6CommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyOnV1GatewayOnV1PathOptionsCommandApiCommand.g.cs => ProxyOnV1GatewayOnV1PathPost2CommandApiCommand.g.cs} (95%) rename src/cli/AI21.CLI/Commands/{ProxyOnV1GatewayOnV1PathOptions2CommandApiCommand.g.cs => ProxyOnV1GatewayOnV1PathPost3CommandApiCommand.g.cs} (95%) rename src/cli/AI21.CLI/Commands/{ProxyOnV1GatewayOnV1PathOptions3CommandApiCommand.g.cs => ProxyOnV1GatewayOnV1PathPost4CommandApiCommand.g.cs} (95%) rename src/cli/AI21.CLI/Commands/{ProxyOnV1GatewayOnV1PathOptions4CommandApiCommand.g.cs => ProxyOnV1GatewayOnV1PathPost5CommandApiCommand.g.cs} (95%) create mode 100644 src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPost6CommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPostCommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions5CommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions6CommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyOnV1TokenwiseOnV1PathOptionsCommandApiCommand.g.cs => ProxyOnV1TokenwiseOnV1PathPost2CommandApiCommand.g.cs} (94%) rename src/cli/AI21.CLI/Commands/{ProxyOnV1TokenwiseOnV1PathOptions2CommandApiCommand.g.cs => ProxyOnV1TokenwiseOnV1PathPost3CommandApiCommand.g.cs} (94%) rename src/cli/AI21.CLI/Commands/{ProxyOnV1TokenwiseOnV1PathOptions3CommandApiCommand.g.cs => ProxyOnV1TokenwiseOnV1PathPost4CommandApiCommand.g.cs} (94%) rename src/cli/AI21.CLI/Commands/{ProxyOnV1TokenwiseOnV1PathOptions4CommandApiCommand.g.cs => ProxyOnV1TokenwiseOnV1PathPost5CommandApiCommand.g.cs} (94%) create mode 100644 src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPost6CommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPostCommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions6CommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyV1GatewayV1PathOptionsCommandApiCommand.g.cs => ProxyV1GatewayV1PathPost2CommandApiCommand.g.cs} (95%) rename src/cli/AI21.CLI/Commands/{ProxyV1GatewayV1PathOptions3CommandApiCommand.g.cs => ProxyV1GatewayV1PathPost3CommandApiCommand.g.cs} (95%) rename src/cli/AI21.CLI/Commands/{ProxyV1GatewayV1PathOptions4CommandApiCommand.g.cs => ProxyV1GatewayV1PathPost4CommandApiCommand.g.cs} (95%) rename src/cli/AI21.CLI/Commands/{ProxyV1GatewayV1PathOptions2CommandApiCommand.g.cs => ProxyV1GatewayV1PathPost5CommandApiCommand.g.cs} (95%) rename src/cli/AI21.CLI/Commands/{ProxyV1GatewayV1PathOptions5CommandApiCommand.g.cs => ProxyV1GatewayV1PathPost6CommandApiCommand.g.cs} (95%) create mode 100644 src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPostCommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions5CommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions6CommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyV1TokenwiseV1PathOptionsCommandApiCommand.g.cs => ProxyV1TokenwiseV1PathPost2CommandApiCommand.g.cs} (95%) rename src/cli/AI21.CLI/Commands/{ProxyV1TokenwiseV1PathOptions2CommandApiCommand.g.cs => ProxyV1TokenwiseV1PathPost3CommandApiCommand.g.cs} (95%) rename src/cli/AI21.CLI/Commands/{ProxyV1TokenwiseV1PathOptions3CommandApiCommand.g.cs => ProxyV1TokenwiseV1PathPost4CommandApiCommand.g.cs} (95%) rename src/cli/AI21.CLI/Commands/{ProxyV1TokenwiseV1PathOptions4CommandApiCommand.g.cs => ProxyV1TokenwiseV1PathPost5CommandApiCommand.g.cs} (95%) create mode 100644 src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPost6CommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPostCommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions6CommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyV1betaGatewayV1betaPathOptionsCommandApiCommand.g.cs => ProxyV1betaGatewayV1betaPathPost2CommandApiCommand.g.cs} (94%) rename src/cli/AI21.CLI/Commands/{ProxyV1betaGatewayV1betaPathOptions3CommandApiCommand.g.cs => ProxyV1betaGatewayV1betaPathPost3CommandApiCommand.g.cs} (94%) rename src/cli/AI21.CLI/Commands/{ProxyV1betaGatewayV1betaPathOptions5CommandApiCommand.g.cs => ProxyV1betaGatewayV1betaPathPost4CommandApiCommand.g.cs} (94%) rename src/cli/AI21.CLI/Commands/{ProxyV1betaGatewayV1betaPathOptions2CommandApiCommand.g.cs => ProxyV1betaGatewayV1betaPathPost5CommandApiCommand.g.cs} (94%) create mode 100644 src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPost6CommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyV1betaGatewayV1betaPathOptions4CommandApiCommand.g.cs => ProxyV1betaGatewayV1betaPathPostCommandApiCommand.g.cs} (94%) delete mode 100644 src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions2CommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions3CommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions4CommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions5CommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions6CommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptionsCommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPost2CommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPost3CommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPost4CommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPost5CommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPost6CommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPostCommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions2CommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions6CommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyV1internalGatewayV1internalPathOptionsCommandApiCommand.g.cs => ProxyV1internalGatewayV1internalPathPost2CommandApiCommand.g.cs} (95%) rename src/cli/AI21.CLI/Commands/{ProxyV1internalGatewayV1internalPathOptions3CommandApiCommand.g.cs => ProxyV1internalGatewayV1internalPathPost3CommandApiCommand.g.cs} (95%) rename src/cli/AI21.CLI/Commands/{ProxyV1internalGatewayV1internalPathOptions4CommandApiCommand.g.cs => ProxyV1internalGatewayV1internalPathPost4CommandApiCommand.g.cs} (95%) rename src/cli/AI21.CLI/Commands/{ProxyV1internalGatewayV1internalPathOptions5CommandApiCommand.g.cs => ProxyV1internalGatewayV1internalPathPost5CommandApiCommand.g.cs} (95%) create mode 100644 src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPost6CommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPostCommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions5CommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions6CommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyV1internalTokenwiseV1internalPathOptionsCommandApiCommand.g.cs => ProxyV1internalTokenwiseV1internalPathPost2CommandApiCommand.g.cs} (95%) rename src/cli/AI21.CLI/Commands/{ProxyV1internalTokenwiseV1internalPathOptions2CommandApiCommand.g.cs => ProxyV1internalTokenwiseV1internalPathPost3CommandApiCommand.g.cs} (95%) rename src/cli/AI21.CLI/Commands/{ProxyV1internalTokenwiseV1internalPathOptions3CommandApiCommand.g.cs => ProxyV1internalTokenwiseV1internalPathPost4CommandApiCommand.g.cs} (95%) rename src/cli/AI21.CLI/Commands/{ProxyV1internalTokenwiseV1internalPathOptions4CommandApiCommand.g.cs => ProxyV1internalTokenwiseV1internalPathPost5CommandApiCommand.g.cs} (95%) create mode 100644 src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPost6CommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPostCommandApiCommand.g.cs rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut.g.cs => AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPost.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut2.g.cs => AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPost2.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut3.g.cs => AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPost3.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut4.g.cs => AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPost4.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut5.g.cs => AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPost5.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions.g.cs => AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPost.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions2.g.cs => AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPost2.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions3.g.cs => AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPost3.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions4.g.cs => AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPost4.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions5.g.cs => AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPost5.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions6.g.cs => AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPost6.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions.g.cs => AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPost.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions2.g.cs => AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPost2.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions3.g.cs => AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPost3.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions4.g.cs => AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPost4.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions5.g.cs => AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPost5.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions6.g.cs => AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPost6.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions.g.cs => AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPost.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions2.g.cs => AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPost2.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions3.g.cs => AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPost3.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions4.g.cs => AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPost4.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions5.g.cs => AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPost5.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions6.g.cs => AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPost6.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions.g.cs => AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPost.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions2.g.cs => AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPost2.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions3.g.cs => AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPost3.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions4.g.cs => AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPost4.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions5.g.cs => AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPost5.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions6.g.cs => AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPost6.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1GatewayV1PathOptions.g.cs => AI21.Ai21Client.ProxyV1GatewayV1PathPost.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1GatewayV1PathOptions2.g.cs => AI21.Ai21Client.ProxyV1GatewayV1PathPost2.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1GatewayV1PathOptions3.g.cs => AI21.Ai21Client.ProxyV1GatewayV1PathPost3.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1GatewayV1PathOptions4.g.cs => AI21.Ai21Client.ProxyV1GatewayV1PathPost4.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1GatewayV1PathOptions5.g.cs => AI21.Ai21Client.ProxyV1GatewayV1PathPost5.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1GatewayV1PathOptions6.g.cs => AI21.Ai21Client.ProxyV1GatewayV1PathPost6.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions.g.cs => AI21.Ai21Client.ProxyV1TokenwiseV1PathPost.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions2.g.cs => AI21.Ai21Client.ProxyV1TokenwiseV1PathPost2.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions3.g.cs => AI21.Ai21Client.ProxyV1TokenwiseV1PathPost3.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions4.g.cs => AI21.Ai21Client.ProxyV1TokenwiseV1PathPost4.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions5.g.cs => AI21.Ai21Client.ProxyV1TokenwiseV1PathPost5.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions6.g.cs => AI21.Ai21Client.ProxyV1TokenwiseV1PathPost6.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions.g.cs => AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPost.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions2.g.cs => AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPost2.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions3.g.cs => AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPost3.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions4.g.cs => AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPost4.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions5.g.cs => AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPost5.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions6.g.cs => AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPost6.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions.g.cs => AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPost.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions2.g.cs => AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPost2.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions3.g.cs => AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPost3.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions4.g.cs => AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPost4.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions5.g.cs => AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPost5.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions6.g.cs => AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPost6.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions.g.cs => AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPost.g.cs} (96%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions2.g.cs => AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPost2.g.cs} (96%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions3.g.cs => AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPost3.g.cs} (96%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions4.g.cs => AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPost4.g.cs} (96%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions5.g.cs => AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPost5.g.cs} (96%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions6.g.cs => AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPost6.g.cs} (96%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions.g.cs => AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPost.g.cs} (96%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions2.g.cs => AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPost2.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions3.g.cs => AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPost3.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions4.g.cs => AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPost4.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions5.g.cs => AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPost5.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions6.g.cs => AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPost6.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut5.g.cs => AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPost.g.cs} (93%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut.g.cs => AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPost2.g.cs} (93%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut2.g.cs => AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPost3.g.cs} (93%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut3.g.cs => AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPost4.g.cs} (93%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut4.g.cs => AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPost5.g.cs} (93%) delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions6.g.cs rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions.g.cs => AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPost.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions2.g.cs => AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPost2.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions3.g.cs => AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPost3.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions4.g.cs => AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPost4.g.cs} (94%) create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPost5.g.cs create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPost6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions6.g.cs rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions.g.cs => AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPost.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions4.g.cs => AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPost2.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions2.g.cs => AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPost3.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions3.g.cs => AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPost4.g.cs} (94%) create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPost5.g.cs create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPost6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions6.g.cs rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions.g.cs => AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPost.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions4.g.cs => AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPost2.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions2.g.cs => AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPost3.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions3.g.cs => AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPost4.g.cs} (94%) create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPost5.g.cs create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPost6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions6.g.cs rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions.g.cs => AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPost.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions4.g.cs => AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPost2.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions2.g.cs => AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPost3.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions3.g.cs => AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPost4.g.cs} (94%) create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPost5.g.cs create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPost6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions6.g.cs rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1GatewayV1PathOptions.g.cs => AI21.IAi21Client.ProxyV1GatewayV1PathPost.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1GatewayV1PathOptions2.g.cs => AI21.IAi21Client.ProxyV1GatewayV1PathPost2.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1GatewayV1PathOptions3.g.cs => AI21.IAi21Client.ProxyV1GatewayV1PathPost3.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1GatewayV1PathOptions4.g.cs => AI21.IAi21Client.ProxyV1GatewayV1PathPost4.g.cs} (95%) create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPost5.g.cs create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPost6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions6.g.cs rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions.g.cs => AI21.IAi21Client.ProxyV1TokenwiseV1PathPost.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions4.g.cs => AI21.IAi21Client.ProxyV1TokenwiseV1PathPost2.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions2.g.cs => AI21.IAi21Client.ProxyV1TokenwiseV1PathPost3.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions3.g.cs => AI21.IAi21Client.ProxyV1TokenwiseV1PathPost4.g.cs} (95%) create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPost5.g.cs create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPost6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions6.g.cs rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions.g.cs => AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPost.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions3.g.cs => AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPost2.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions2.g.cs => AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPost3.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions4.g.cs => AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPost4.g.cs} (94%) create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPost5.g.cs create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPost6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions6.g.cs rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions.g.cs => AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPost.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions4.g.cs => AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPost2.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions2.g.cs => AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPost3.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions3.g.cs => AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPost4.g.cs} (94%) create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPost5.g.cs create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPost6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions6.g.cs rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions.g.cs => AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPost.g.cs} (93%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions2.g.cs => AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPost2.g.cs} (93%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions3.g.cs => AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPost3.g.cs} (93%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions4.g.cs => AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPost4.g.cs} (93%) create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPost5.g.cs create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPost6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions2.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions3.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions4.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions6.g.cs create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPost.g.cs create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPost2.g.cs create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPost3.g.cs create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPost4.g.cs create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPost5.g.cs create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPost6.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse5.Json.g.cs => AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse.Json.g.cs} (91%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse.Json.g.cs => AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse2.Json.g.cs} (90%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse2.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse2.Json.g.cs => AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse3.Json.g.cs} (90%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse3.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse3.Json.g.cs => AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse4.Json.g.cs} (90%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse4.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse4.Json.g.cs => AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse5.Json.g.cs} (90%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse2.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse3.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse4.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse4.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse5.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse6.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse6.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse5.Json.g.cs => AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse.Json.g.cs} (86%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse.Json.g.cs => AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse2.Json.g.cs} (86%) rename src/libs/AI21/Generated/{AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse.g.cs => AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse2.g.cs} (86%) rename src/libs/AI21/Generated/{AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse2.Json.g.cs => AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse3.Json.g.cs} (86%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse3.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse3.Json.g.cs => AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse4.Json.g.cs} (86%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse4.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse5.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse5.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse6.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse2.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse3.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse4.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse5.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse6.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse6.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse.Json.g.cs => AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse.Json.g.cs} (87%) rename src/libs/AI21/Generated/{AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse.g.cs => AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse.g.cs} (88%) rename src/libs/AI21/Generated/{AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse4.Json.g.cs => AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse2.Json.g.cs} (87%) rename src/libs/AI21/Generated/{AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse2.g.cs => AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse2.g.cs} (88%) rename src/libs/AI21/Generated/{AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse3.Json.g.cs => AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse3.Json.g.cs} (87%) rename src/libs/AI21/Generated/{AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse3.g.cs => AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse3.g.cs} (88%) rename src/libs/AI21/Generated/{AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse2.Json.g.cs => AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse4.Json.g.cs} (87%) rename src/libs/AI21/Generated/{AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse4.g.cs => AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse4.g.cs} (88%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse5.Json.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse5.g.cs => AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse5.g.cs} (88%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse6.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse3.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse4.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse5.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse6.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse6.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyV1GatewayV1PathOptionsResponse5.Json.g.cs => AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse.Json.g.cs} (86%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1GatewayV1PathOptionsResponse4.g.cs => AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse.g.cs} (87%) rename src/libs/AI21/Generated/{AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse2.Json.g.cs => AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse2.Json.g.cs} (86%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse2.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse3.Json.g.cs => AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse3.Json.g.cs} (86%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse3.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse4.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse4.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse5.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse5.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse6.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse2.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse2.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse3.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse3.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse4.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse4.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse5.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse6.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse6.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse4.Json.g.cs => AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse.Json.g.cs} (86%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse.Json.g.cs => AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse2.Json.g.cs} (87%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse2.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse3.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse3.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse4.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse4.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse5.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse5.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse6.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse6.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse6.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyV1GatewayV1PathOptionsResponse.Json.g.cs => AI21.Models.ProxyV1GatewayV1PathPostResponse.Json.g.cs} (87%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1GatewayV1PathOptionsResponse.g.cs => AI21.Models.ProxyV1GatewayV1PathPostResponse.g.cs} (87%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1GatewayV1PathOptionsResponse4.Json.g.cs => AI21.Models.ProxyV1GatewayV1PathPostResponse2.Json.g.cs} (87%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1GatewayV1PathOptionsResponse2.g.cs => AI21.Models.ProxyV1GatewayV1PathPostResponse2.g.cs} (87%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1GatewayV1PathOptionsResponse2.Json.g.cs => AI21.Models.ProxyV1GatewayV1PathPostResponse3.Json.g.cs} (87%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1GatewayV1PathOptionsResponse3.g.cs => AI21.Models.ProxyV1GatewayV1PathPostResponse3.g.cs} (87%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1GatewayV1PathOptionsResponse3.Json.g.cs => AI21.Models.ProxyV1GatewayV1PathPostResponse4.Json.g.cs} (87%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse4.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse5.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse5.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse6.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse2.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse3.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse4.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse6.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse6.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse.Json.g.cs => AI21.Models.ProxyV1TokenwiseV1PathPostResponse.Json.g.cs} (87%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse4.Json.g.cs => AI21.Models.ProxyV1TokenwiseV1PathPostResponse2.Json.g.cs} (86%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse2.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse2.Json.g.cs => AI21.Models.ProxyV1TokenwiseV1PathPostResponse3.Json.g.cs} (86%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse3.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse3.Json.g.cs => AI21.Models.ProxyV1TokenwiseV1PathPostResponse4.Json.g.cs} (86%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse4.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse5.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse5.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse6.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse2.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse3.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse4.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse5.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse6.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse6.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse.Json.g.cs => AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse.Json.g.cs} (87%) rename src/libs/AI21/Generated/{AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse2.g.cs => AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse.g.cs} (86%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse4.Json.g.cs => AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse2.Json.g.cs} (87%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse2.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse2.Json.g.cs => AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse3.Json.g.cs} (87%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse3.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse3.Json.g.cs => AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse4.Json.g.cs} (87%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse4.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse5.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse5.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse6.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse2.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse3.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse4.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse5.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse6.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse6.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse.Json.g.cs => AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse.Json.g.cs} (90%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse3.Json.g.cs => AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse2.Json.g.cs} (90%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse2.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse4.Json.g.cs => AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse3.Json.g.cs} (90%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse3.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse2.Json.g.cs => AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse4.Json.g.cs} (90%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse4.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse5.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse5.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse6.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse5.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse6.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse6.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse.Json.g.cs => AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse.Json.g.cs} (90%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse.g.cs => AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse.g.cs} (96%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse3.Json.g.cs => AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse2.Json.g.cs} (90%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse2.g.cs => AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse2.g.cs} (96%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse4.Json.g.cs => AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse3.Json.g.cs} (90%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse3.g.cs => AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse3.g.cs} (96%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse2.Json.g.cs => AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse4.Json.g.cs} (90%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse4.g.cs => AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse4.g.cs} (96%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse5.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse5.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse6.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse5.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse6.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse6.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse.Json.g.cs => AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse.Json.g.cs} (89%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse.g.cs => AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse.g.cs} (96%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse4.Json.g.cs => AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse2.Json.g.cs} (89%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse2.g.cs => AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse2.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse2.Json.g.cs => AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse3.Json.g.cs} (89%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse3.g.cs => AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse3.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse3.Json.g.cs => AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse4.Json.g.cs} (89%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse4.g.cs => AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse4.g.cs} (95%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse5.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse5.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse6.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse6.g.cs diff --git a/src/cli/AI21.CLI/Commands/DefaultApiGroupCommand.g.cs b/src/cli/AI21.CLI/Commands/DefaultApiGroupCommand.g.cs index 2ccc8f11..be418e5b 100644 --- a/src/cli/AI21.CLI/Commands/DefaultApiGroupCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/DefaultApiGroupCommand.g.cs @@ -104,71 +104,71 @@ public static Command Create() command.Subcommands.Add(ParsePdfStudioV1DemosDocumentModifierParsePdfPostCommandApiCommand.Create()); command.Subcommands.Add(ProcessRfiDocumentStudioV1DemosRfiProcessRfiPostCommandApiCommand.Create()); command.Subcommands.Add(ProxyCliConfigHarnessApiAuthCliConfigGetCommandApiCommand.Create()); - command.Subcommands.Add(ProxyHarnessApiHarnessApiPathPutCommandApiCommand.Create()); - command.Subcommands.Add(ProxyHarnessApiHarnessApiPathPut2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyHarnessApiHarnessApiPathPut3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyHarnessApiHarnessApiPathPut4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyHarnessApiHarnessApiPathPut5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1GatewayOffV1PathOptionsCommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1GatewayOffV1PathOptions2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1GatewayOffV1PathOptions3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1GatewayOffV1PathOptions4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1GatewayOffV1PathOptions5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1GatewayOffV1PathOptions6CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathOptionsCommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathOptions2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathOptions3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathOptions4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathOptions5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathOptions6CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1GatewayOnV1PathOptionsCommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1GatewayOnV1PathOptions2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1GatewayOnV1PathOptions3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1GatewayOnV1PathOptions4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1GatewayOnV1PathOptions5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1GatewayOnV1PathOptions6CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathOptionsCommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathOptions2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathOptions3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathOptions4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathOptions5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathOptions6CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1GatewayV1PathOptionsCommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1GatewayV1PathOptions2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1GatewayV1PathOptions3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1GatewayV1PathOptions4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1GatewayV1PathOptions5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1GatewayV1PathOptions6CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1TokenwiseV1PathOptionsCommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1TokenwiseV1PathOptions2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1TokenwiseV1PathOptions3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1TokenwiseV1PathOptions4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1TokenwiseV1PathOptions5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1TokenwiseV1PathOptions6CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaGatewayV1betaPathOptionsCommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaGatewayV1betaPathOptions2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaGatewayV1betaPathOptions3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaGatewayV1betaPathOptions4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaGatewayV1betaPathOptions5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaGatewayV1betaPathOptions6CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathOptionsCommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathOptions2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathOptions3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathOptions4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathOptions5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathOptions6CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalGatewayV1internalPathOptionsCommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalGatewayV1internalPathOptions2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalGatewayV1internalPathOptions3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalGatewayV1internalPathOptions4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalGatewayV1internalPathOptions5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalGatewayV1internalPathOptions6CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathOptionsCommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathOptions2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathOptions3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathOptions4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathOptions5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathOptions6CommandApiCommand.Create()); + command.Subcommands.Add(ProxyHarnessApiHarnessApiPathPostCommandApiCommand.Create()); + command.Subcommands.Add(ProxyHarnessApiHarnessApiPathPost2CommandApiCommand.Create()); + command.Subcommands.Add(ProxyHarnessApiHarnessApiPathPost3CommandApiCommand.Create()); + command.Subcommands.Add(ProxyHarnessApiHarnessApiPathPost4CommandApiCommand.Create()); + command.Subcommands.Add(ProxyHarnessApiHarnessApiPathPost5CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOffV1GatewayOffV1PathPostCommandApiCommand.Create()); + command.Subcommands.Add(ProxyOffV1GatewayOffV1PathPost2CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOffV1GatewayOffV1PathPost3CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOffV1GatewayOffV1PathPost4CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOffV1GatewayOffV1PathPost5CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOffV1GatewayOffV1PathPost6CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathPostCommandApiCommand.Create()); + command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathPost2CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathPost3CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathPost4CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathPost5CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathPost6CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOnV1GatewayOnV1PathPostCommandApiCommand.Create()); + command.Subcommands.Add(ProxyOnV1GatewayOnV1PathPost2CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOnV1GatewayOnV1PathPost3CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOnV1GatewayOnV1PathPost4CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOnV1GatewayOnV1PathPost5CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOnV1GatewayOnV1PathPost6CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathPostCommandApiCommand.Create()); + command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathPost2CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathPost3CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathPost4CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathPost5CommandApiCommand.Create()); + command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathPost6CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1GatewayV1PathPostCommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1GatewayV1PathPost2CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1GatewayV1PathPost3CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1GatewayV1PathPost4CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1GatewayV1PathPost5CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1GatewayV1PathPost6CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1TokenwiseV1PathPostCommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1TokenwiseV1PathPost2CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1TokenwiseV1PathPost3CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1TokenwiseV1PathPost4CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1TokenwiseV1PathPost5CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1TokenwiseV1PathPost6CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1betaGatewayV1betaPathPostCommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1betaGatewayV1betaPathPost2CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1betaGatewayV1betaPathPost3CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1betaGatewayV1betaPathPost4CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1betaGatewayV1betaPathPost5CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1betaGatewayV1betaPathPost6CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathPostCommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathPost2CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathPost3CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathPost4CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathPost5CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathPost6CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1internalGatewayV1internalPathPostCommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1internalGatewayV1internalPathPost2CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1internalGatewayV1internalPathPost3CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1internalGatewayV1internalPathPost4CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1internalGatewayV1internalPathPost5CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1internalGatewayV1internalPathPost6CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathPostCommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathPost2CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathPost3CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathPost4CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathPost5CommandApiCommand.Create()); + command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathPost6CommandApiCommand.Create()); command.Subcommands.Add(SubmitInsightFeedbackGatewayInsightsInsightIdFeedbackPostCommandApiCommand.Create()); command.Subcommands.Add(SubmitInsightFeedbackTokenwiseInsightsInsightIdFeedbackPostCommandApiCommand.Create()); command.Subcommands.Add(UpdateAgentGatewaySettingsAgentsAgentIdPutCommandApiCommand.Create()); diff --git a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPut3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPost2CommandApiCommand.g.cs similarity index 93% rename from src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPut3CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPost2CommandApiCommand.g.cs index 2d725d30..1f477eae 100644 --- a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPut3CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPost2CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyHarnessApiHarnessApiPathPut3CommandApiCommand +internal static partial class ProxyHarnessApiHarnessApiPathPost2CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -37,7 +37,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-harness-api-harness-api-path-put3", @"Proxy Harness Api"); + var command = new Command(commandName ?? @"proxy-harness-api-harness-api-path-post2", @"Proxy Harness Api"); command.Arguments.Add(Path); @@ -48,7 +48,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyHarnessApiHarnessApiPathPut3Async( + var response = await client.ProxyHarnessApiHarnessApiPathPost2Async( path: path, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPut4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPost3CommandApiCommand.g.cs similarity index 93% rename from src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPut4CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPost3CommandApiCommand.g.cs index 8b060d79..24cb10a2 100644 --- a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPut4CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPost3CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyHarnessApiHarnessApiPathPut4CommandApiCommand +internal static partial class ProxyHarnessApiHarnessApiPathPost3CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -37,7 +37,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-harness-api-harness-api-path-put4", @"Proxy Harness Api"); + var command = new Command(commandName ?? @"proxy-harness-api-harness-api-path-post3", @"Proxy Harness Api"); command.Arguments.Add(Path); @@ -48,7 +48,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyHarnessApiHarnessApiPathPut4Async( + var response = await client.ProxyHarnessApiHarnessApiPathPost3Async( path: path, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPut5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPost4CommandApiCommand.g.cs similarity index 93% rename from src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPut5CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPost4CommandApiCommand.g.cs index e2d9856f..dcd23234 100644 --- a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPut5CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPost4CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyHarnessApiHarnessApiPathPut5CommandApiCommand +internal static partial class ProxyHarnessApiHarnessApiPathPost4CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -37,7 +37,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-harness-api-harness-api-path-put5", @"Proxy Harness Api"); + var command = new Command(commandName ?? @"proxy-harness-api-harness-api-path-post4", @"Proxy Harness Api"); command.Arguments.Add(Path); @@ -48,7 +48,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyHarnessApiHarnessApiPathPut5Async( + var response = await client.ProxyHarnessApiHarnessApiPathPost4Async( path: path, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPost5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPost5CommandApiCommand.g.cs new file mode 100644 index 00000000..99fa4875 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPost5CommandApiCommand.g.cs @@ -0,0 +1,66 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyHarnessApiHarnessApiPathPost5CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + static partial void CustomizeCommand(ref Command command); + + public static Command Create(string? commandName = null) + { + var command = new Command(commandName ?? @"proxy-harness-api-harness-api-path-post5", @"Proxy Harness Api"); + command.Arguments.Add(Path); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyHarnessApiHarnessApiPathPost5Async( + path: path, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + CustomizeCommand(ref command); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPut2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPostCommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPut2CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPostCommandApiCommand.g.cs index 542527d3..252a76cf 100644 --- a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPut2CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPostCommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyHarnessApiHarnessApiPathPut2CommandApiCommand +internal static partial class ProxyHarnessApiHarnessApiPathPostCommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -37,7 +37,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-harness-api-harness-api-path-put2", @"Proxy Harness Api"); + var command = new Command(commandName ?? @"proxy-harness-api-harness-api-path-post", @"Proxy Harness Api"); command.Arguments.Add(Path); @@ -48,7 +48,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyHarnessApiHarnessApiPathPut2Async( + var response = await client.ProxyHarnessApiHarnessApiPathPostAsync( path: path, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPutCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPutCommandApiCommand.g.cs deleted file mode 100644 index 5c99880a..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPutCommandApiCommand.g.cs +++ /dev/null @@ -1,66 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyHarnessApiHarnessApiPathPutCommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - static partial void CustomizeCommand(ref Command command); - - public static Command Create(string? commandName = null) - { - var command = new Command(commandName ?? @"proxy-harness-api-harness-api-path-put", @"Proxy Harness Api"); - command.Arguments.Add(Path); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyHarnessApiHarnessApiPathPutAsync( - path: path, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - CustomizeCommand(ref command); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions6CommandApiCommand.g.cs deleted file mode 100644 index b6830490..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions6CommandApiCommand.g.cs +++ /dev/null @@ -1,76 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyOffV1GatewayOffV1PathOptions6CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - static partial void CustomizeCommand(ref Command command); - - public static Command Create(string? commandName = null) - { - var command = new Command(commandName ?? @"proxy-off-v1-gateway-off-v1-path-options6", @"Proxy Off V1 -A/B off-arm — forces gateway transformers off for this request only."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyOffV1GatewayOffV1PathOptions6Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - CustomizeCommand(ref command); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPost2CommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions3CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPost2CommandApiCommand.g.cs index 392a25b1..db1b73ce 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions3CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPost2CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOffV1GatewayOffV1PathOptions3CommandApiCommand +internal static partial class ProxyOffV1GatewayOffV1PathPost2CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-off-v1-gateway-off-v1-path-options3", @"Proxy Off V1 + var command = new Command(commandName ?? @"proxy-off-v1-gateway-off-v1-path-post2", @"Proxy Off V1 A/B off-arm — forces gateway transformers off for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOffV1GatewayOffV1PathOptions3Async( + var response = await client.ProxyOffV1GatewayOffV1PathPost2Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPost3CommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions4CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPost3CommandApiCommand.g.cs index aefd3eb3..436e82c9 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions4CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPost3CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOffV1GatewayOffV1PathOptions4CommandApiCommand +internal static partial class ProxyOffV1GatewayOffV1PathPost3CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-off-v1-gateway-off-v1-path-options4", @"Proxy Off V1 + var command = new Command(commandName ?? @"proxy-off-v1-gateway-off-v1-path-post3", @"Proxy Off V1 A/B off-arm — forces gateway transformers off for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOffV1GatewayOffV1PathOptions4Async( + var response = await client.ProxyOffV1GatewayOffV1PathPost3Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPost4CommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions5CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPost4CommandApiCommand.g.cs index 734532f0..e8bd6fc1 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions5CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPost4CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOffV1GatewayOffV1PathOptions5CommandApiCommand +internal static partial class ProxyOffV1GatewayOffV1PathPost4CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-off-v1-gateway-off-v1-path-options5", @"Proxy Off V1 + var command = new Command(commandName ?? @"proxy-off-v1-gateway-off-v1-path-post4", @"Proxy Off V1 A/B off-arm — forces gateway transformers off for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOffV1GatewayOffV1PathOptions5Async( + var response = await client.ProxyOffV1GatewayOffV1PathPost4Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPost5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPost5CommandApiCommand.g.cs new file mode 100644 index 00000000..93b3bea8 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPost5CommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyOffV1GatewayOffV1PathPost5CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + static partial void CustomizeCommand(ref Command command); + + public static Command Create(string? commandName = null) + { + var command = new Command(commandName ?? @"proxy-off-v1-gateway-off-v1-path-post5", @"Proxy Off V1 +A/B off-arm — forces gateway transformers off for this request only."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyOffV1GatewayOffV1PathPost5Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + CustomizeCommand(ref command); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPost6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPost6CommandApiCommand.g.cs new file mode 100644 index 00000000..850919d2 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPost6CommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyOffV1GatewayOffV1PathPost6CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + static partial void CustomizeCommand(ref Command command); + + public static Command Create(string? commandName = null) + { + var command = new Command(commandName ?? @"proxy-off-v1-gateway-off-v1-path-post6", @"Proxy Off V1 +A/B off-arm — forces gateway transformers off for this request only."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyOffV1GatewayOffV1PathPost6Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + CustomizeCommand(ref command); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPostCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPostCommandApiCommand.g.cs new file mode 100644 index 00000000..51d8ac0b --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathPostCommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyOffV1GatewayOffV1PathPostCommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + static partial void CustomizeCommand(ref Command command); + + public static Command Create(string? commandName = null) + { + var command = new Command(commandName ?? @"proxy-off-v1-gateway-off-v1-path-post", @"Proxy Off V1 +A/B off-arm — forces gateway transformers off for this request only."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyOffV1GatewayOffV1PathPostAsync( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + CustomizeCommand(ref command); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions2CommandApiCommand.g.cs deleted file mode 100644 index 3e243461..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions2CommandApiCommand.g.cs +++ /dev/null @@ -1,76 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyOffV1TokenwiseOffV1PathOptions2CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - static partial void CustomizeCommand(ref Command command); - - public static Command Create(string? commandName = null) - { - var command = new Command(commandName ?? @"proxy-off-v1-tokenwise-off-v1-path-options2", @"Proxy Off V1 -A/B off-arm — forces gateway transformers off for this request only."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyOffV1TokenwiseOffV1PathOptions2Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - CustomizeCommand(ref command); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions3CommandApiCommand.g.cs deleted file mode 100644 index 561261c2..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions3CommandApiCommand.g.cs +++ /dev/null @@ -1,76 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyOffV1TokenwiseOffV1PathOptions3CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - static partial void CustomizeCommand(ref Command command); - - public static Command Create(string? commandName = null) - { - var command = new Command(commandName ?? @"proxy-off-v1-tokenwise-off-v1-path-options3", @"Proxy Off V1 -A/B off-arm — forces gateway transformers off for this request only."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyOffV1TokenwiseOffV1PathOptions3Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - CustomizeCommand(ref command); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions4CommandApiCommand.g.cs deleted file mode 100644 index ab84facb..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions4CommandApiCommand.g.cs +++ /dev/null @@ -1,76 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyOffV1TokenwiseOffV1PathOptions4CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - static partial void CustomizeCommand(ref Command command); - - public static Command Create(string? commandName = null) - { - var command = new Command(commandName ?? @"proxy-off-v1-tokenwise-off-v1-path-options4", @"Proxy Off V1 -A/B off-arm — forces gateway transformers off for this request only."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyOffV1TokenwiseOffV1PathOptions4Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - CustomizeCommand(ref command); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions5CommandApiCommand.g.cs deleted file mode 100644 index 118a5583..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions5CommandApiCommand.g.cs +++ /dev/null @@ -1,76 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyOffV1TokenwiseOffV1PathOptions5CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - static partial void CustomizeCommand(ref Command command); - - public static Command Create(string? commandName = null) - { - var command = new Command(commandName ?? @"proxy-off-v1-tokenwise-off-v1-path-options5", @"Proxy Off V1 -A/B off-arm — forces gateway transformers off for this request only."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyOffV1TokenwiseOffV1PathOptions5Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - CustomizeCommand(ref command); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions6CommandApiCommand.g.cs deleted file mode 100644 index ab683ecb..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions6CommandApiCommand.g.cs +++ /dev/null @@ -1,76 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyOffV1TokenwiseOffV1PathOptions6CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - static partial void CustomizeCommand(ref Command command); - - public static Command Create(string? commandName = null) - { - var command = new Command(commandName ?? @"proxy-off-v1-tokenwise-off-v1-path-options6", @"Proxy Off V1 -A/B off-arm — forces gateway transformers off for this request only."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyOffV1TokenwiseOffV1PathOptions6Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - CustomizeCommand(ref command); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptionsCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptionsCommandApiCommand.g.cs deleted file mode 100644 index c9bd7d11..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptionsCommandApiCommand.g.cs +++ /dev/null @@ -1,76 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyOffV1TokenwiseOffV1PathOptionsCommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - static partial void CustomizeCommand(ref Command command); - - public static Command Create(string? commandName = null) - { - var command = new Command(commandName ?? @"proxy-off-v1-tokenwise-off-v1-path-options", @"Proxy Off V1 -A/B off-arm — forces gateway transformers off for this request only."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyOffV1TokenwiseOffV1PathOptionsAsync( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - CustomizeCommand(ref command); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptionsCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPost2CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptionsCommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPost2CommandApiCommand.g.cs index 8271d9e6..2269a74c 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptionsCommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPost2CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOffV1GatewayOffV1PathOptionsCommandApiCommand +internal static partial class ProxyOffV1TokenwiseOffV1PathPost2CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-off-v1-gateway-off-v1-path-options", @"Proxy Off V1 + var command = new Command(commandName ?? @"proxy-off-v1-tokenwise-off-v1-path-post2", @"Proxy Off V1 A/B off-arm — forces gateway transformers off for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOffV1GatewayOffV1PathOptionsAsync( + var response = await client.ProxyOffV1TokenwiseOffV1PathPost2Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPost3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPost3CommandApiCommand.g.cs new file mode 100644 index 00000000..e02ccc21 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPost3CommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyOffV1TokenwiseOffV1PathPost3CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + static partial void CustomizeCommand(ref Command command); + + public static Command Create(string? commandName = null) + { + var command = new Command(commandName ?? @"proxy-off-v1-tokenwise-off-v1-path-post3", @"Proxy Off V1 +A/B off-arm — forces gateway transformers off for this request only."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyOffV1TokenwiseOffV1PathPost3Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + CustomizeCommand(ref command); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPost4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPost4CommandApiCommand.g.cs new file mode 100644 index 00000000..220c9f26 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPost4CommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyOffV1TokenwiseOffV1PathPost4CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + static partial void CustomizeCommand(ref Command command); + + public static Command Create(string? commandName = null) + { + var command = new Command(commandName ?? @"proxy-off-v1-tokenwise-off-v1-path-post4", @"Proxy Off V1 +A/B off-arm — forces gateway transformers off for this request only."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyOffV1TokenwiseOffV1PathPost4Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + CustomizeCommand(ref command); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPost5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPost5CommandApiCommand.g.cs new file mode 100644 index 00000000..8aaf70de --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPost5CommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyOffV1TokenwiseOffV1PathPost5CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + static partial void CustomizeCommand(ref Command command); + + public static Command Create(string? commandName = null) + { + var command = new Command(commandName ?? @"proxy-off-v1-tokenwise-off-v1-path-post5", @"Proxy Off V1 +A/B off-arm — forces gateway transformers off for this request only."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyOffV1TokenwiseOffV1PathPost5Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + CustomizeCommand(ref command); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPost6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPost6CommandApiCommand.g.cs new file mode 100644 index 00000000..d8a6c35d --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPost6CommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyOffV1TokenwiseOffV1PathPost6CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + static partial void CustomizeCommand(ref Command command); + + public static Command Create(string? commandName = null) + { + var command = new Command(commandName ?? @"proxy-off-v1-tokenwise-off-v1-path-post6", @"Proxy Off V1 +A/B off-arm — forces gateway transformers off for this request only."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyOffV1TokenwiseOffV1PathPost6Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + CustomizeCommand(ref command); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPostCommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions2CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPostCommandApiCommand.g.cs index ea489d0a..fad767e2 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions2CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathPostCommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOffV1GatewayOffV1PathOptions2CommandApiCommand +internal static partial class ProxyOffV1TokenwiseOffV1PathPostCommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-off-v1-gateway-off-v1-path-options2", @"Proxy Off V1 + var command = new Command(commandName ?? @"proxy-off-v1-tokenwise-off-v1-path-post", @"Proxy Off V1 A/B off-arm — forces gateway transformers off for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOffV1GatewayOffV1PathOptions2Async( + var response = await client.ProxyOffV1TokenwiseOffV1PathPostAsync( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions5CommandApiCommand.g.cs deleted file mode 100644 index 22b5a98c..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions5CommandApiCommand.g.cs +++ /dev/null @@ -1,76 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyOnV1GatewayOnV1PathOptions5CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - static partial void CustomizeCommand(ref Command command); - - public static Command Create(string? commandName = null) - { - var command = new Command(commandName ?? @"proxy-on-v1-gateway-on-v1-path-options5", @"Proxy On V1 -A/B on-arm — forces gateway transformers on for this request only."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyOnV1GatewayOnV1PathOptions5Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - CustomizeCommand(ref command); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions6CommandApiCommand.g.cs deleted file mode 100644 index e8d41fe2..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions6CommandApiCommand.g.cs +++ /dev/null @@ -1,76 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyOnV1GatewayOnV1PathOptions6CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - static partial void CustomizeCommand(ref Command command); - - public static Command Create(string? commandName = null) - { - var command = new Command(commandName ?? @"proxy-on-v1-gateway-on-v1-path-options6", @"Proxy On V1 -A/B on-arm — forces gateway transformers on for this request only."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyOnV1GatewayOnV1PathOptions6Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - CustomizeCommand(ref command); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptionsCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPost2CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptionsCommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPost2CommandApiCommand.g.cs index 2da26311..cad95b30 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptionsCommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPost2CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOnV1GatewayOnV1PathOptionsCommandApiCommand +internal static partial class ProxyOnV1GatewayOnV1PathPost2CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-on-v1-gateway-on-v1-path-options", @"Proxy On V1 + var command = new Command(commandName ?? @"proxy-on-v1-gateway-on-v1-path-post2", @"Proxy On V1 A/B on-arm — forces gateway transformers on for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOnV1GatewayOnV1PathOptionsAsync( + var response = await client.ProxyOnV1GatewayOnV1PathPost2Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPost3CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions2CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPost3CommandApiCommand.g.cs index 2ad10dbf..a5b19bb2 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions2CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPost3CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOnV1GatewayOnV1PathOptions2CommandApiCommand +internal static partial class ProxyOnV1GatewayOnV1PathPost3CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-on-v1-gateway-on-v1-path-options2", @"Proxy On V1 + var command = new Command(commandName ?? @"proxy-on-v1-gateway-on-v1-path-post3", @"Proxy On V1 A/B on-arm — forces gateway transformers on for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOnV1GatewayOnV1PathOptions2Async( + var response = await client.ProxyOnV1GatewayOnV1PathPost3Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPost4CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions3CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPost4CommandApiCommand.g.cs index e9622243..2c4c1a55 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions3CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPost4CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOnV1GatewayOnV1PathOptions3CommandApiCommand +internal static partial class ProxyOnV1GatewayOnV1PathPost4CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-on-v1-gateway-on-v1-path-options3", @"Proxy On V1 + var command = new Command(commandName ?? @"proxy-on-v1-gateway-on-v1-path-post4", @"Proxy On V1 A/B on-arm — forces gateway transformers on for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOnV1GatewayOnV1PathOptions3Async( + var response = await client.ProxyOnV1GatewayOnV1PathPost4Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPost5CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions4CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPost5CommandApiCommand.g.cs index c0c1207c..a92fd86a 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions4CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPost5CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOnV1GatewayOnV1PathOptions4CommandApiCommand +internal static partial class ProxyOnV1GatewayOnV1PathPost5CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-on-v1-gateway-on-v1-path-options4", @"Proxy On V1 + var command = new Command(commandName ?? @"proxy-on-v1-gateway-on-v1-path-post5", @"Proxy On V1 A/B on-arm — forces gateway transformers on for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOnV1GatewayOnV1PathOptions4Async( + var response = await client.ProxyOnV1GatewayOnV1PathPost5Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPost6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPost6CommandApiCommand.g.cs new file mode 100644 index 00000000..ace352c3 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPost6CommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyOnV1GatewayOnV1PathPost6CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + static partial void CustomizeCommand(ref Command command); + + public static Command Create(string? commandName = null) + { + var command = new Command(commandName ?? @"proxy-on-v1-gateway-on-v1-path-post6", @"Proxy On V1 +A/B on-arm — forces gateway transformers on for this request only."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyOnV1GatewayOnV1PathPost6Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + CustomizeCommand(ref command); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPostCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPostCommandApiCommand.g.cs new file mode 100644 index 00000000..82c51842 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathPostCommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyOnV1GatewayOnV1PathPostCommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + static partial void CustomizeCommand(ref Command command); + + public static Command Create(string? commandName = null) + { + var command = new Command(commandName ?? @"proxy-on-v1-gateway-on-v1-path-post", @"Proxy On V1 +A/B on-arm — forces gateway transformers on for this request only."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyOnV1GatewayOnV1PathPostAsync( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + CustomizeCommand(ref command); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions5CommandApiCommand.g.cs deleted file mode 100644 index 3ff0a676..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions5CommandApiCommand.g.cs +++ /dev/null @@ -1,76 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyOnV1TokenwiseOnV1PathOptions5CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - static partial void CustomizeCommand(ref Command command); - - public static Command Create(string? commandName = null) - { - var command = new Command(commandName ?? @"proxy-on-v1-tokenwise-on-v1-path-options5", @"Proxy On V1 -A/B on-arm — forces gateway transformers on for this request only."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyOnV1TokenwiseOnV1PathOptions5Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - CustomizeCommand(ref command); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions6CommandApiCommand.g.cs deleted file mode 100644 index e7cc4697..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions6CommandApiCommand.g.cs +++ /dev/null @@ -1,76 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyOnV1TokenwiseOnV1PathOptions6CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - static partial void CustomizeCommand(ref Command command); - - public static Command Create(string? commandName = null) - { - var command = new Command(commandName ?? @"proxy-on-v1-tokenwise-on-v1-path-options6", @"Proxy On V1 -A/B on-arm — forces gateway transformers on for this request only."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyOnV1TokenwiseOnV1PathOptions6Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - CustomizeCommand(ref command); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptionsCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPost2CommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptionsCommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPost2CommandApiCommand.g.cs index de15d0bd..3716a05b 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptionsCommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPost2CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOnV1TokenwiseOnV1PathOptionsCommandApiCommand +internal static partial class ProxyOnV1TokenwiseOnV1PathPost2CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-on-v1-tokenwise-on-v1-path-options", @"Proxy On V1 + var command = new Command(commandName ?? @"proxy-on-v1-tokenwise-on-v1-path-post2", @"Proxy On V1 A/B on-arm — forces gateway transformers on for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOnV1TokenwiseOnV1PathOptionsAsync( + var response = await client.ProxyOnV1TokenwiseOnV1PathPost2Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPost3CommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions2CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPost3CommandApiCommand.g.cs index 57cc9f69..37e93df5 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions2CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPost3CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOnV1TokenwiseOnV1PathOptions2CommandApiCommand +internal static partial class ProxyOnV1TokenwiseOnV1PathPost3CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-on-v1-tokenwise-on-v1-path-options2", @"Proxy On V1 + var command = new Command(commandName ?? @"proxy-on-v1-tokenwise-on-v1-path-post3", @"Proxy On V1 A/B on-arm — forces gateway transformers on for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOnV1TokenwiseOnV1PathOptions2Async( + var response = await client.ProxyOnV1TokenwiseOnV1PathPost3Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPost4CommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions3CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPost4CommandApiCommand.g.cs index 42b31a2f..ccbc62db 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions3CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPost4CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOnV1TokenwiseOnV1PathOptions3CommandApiCommand +internal static partial class ProxyOnV1TokenwiseOnV1PathPost4CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-on-v1-tokenwise-on-v1-path-options3", @"Proxy On V1 + var command = new Command(commandName ?? @"proxy-on-v1-tokenwise-on-v1-path-post4", @"Proxy On V1 A/B on-arm — forces gateway transformers on for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOnV1TokenwiseOnV1PathOptions3Async( + var response = await client.ProxyOnV1TokenwiseOnV1PathPost4Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPost5CommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions4CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPost5CommandApiCommand.g.cs index 99a9bf9b..b70ad712 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions4CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPost5CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOnV1TokenwiseOnV1PathOptions4CommandApiCommand +internal static partial class ProxyOnV1TokenwiseOnV1PathPost5CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-on-v1-tokenwise-on-v1-path-options4", @"Proxy On V1 + var command = new Command(commandName ?? @"proxy-on-v1-tokenwise-on-v1-path-post5", @"Proxy On V1 A/B on-arm — forces gateway transformers on for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOnV1TokenwiseOnV1PathOptions4Async( + var response = await client.ProxyOnV1TokenwiseOnV1PathPost5Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPost6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPost6CommandApiCommand.g.cs new file mode 100644 index 00000000..9031bee2 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPost6CommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyOnV1TokenwiseOnV1PathPost6CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + static partial void CustomizeCommand(ref Command command); + + public static Command Create(string? commandName = null) + { + var command = new Command(commandName ?? @"proxy-on-v1-tokenwise-on-v1-path-post6", @"Proxy On V1 +A/B on-arm — forces gateway transformers on for this request only."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyOnV1TokenwiseOnV1PathPost6Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + CustomizeCommand(ref command); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPostCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPostCommandApiCommand.g.cs new file mode 100644 index 00000000..b0c3034c --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathPostCommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyOnV1TokenwiseOnV1PathPostCommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + static partial void CustomizeCommand(ref Command command); + + public static Command Create(string? commandName = null) + { + var command = new Command(commandName ?? @"proxy-on-v1-tokenwise-on-v1-path-post", @"Proxy On V1 +A/B on-arm — forces gateway transformers on for this request only."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyOnV1TokenwiseOnV1PathPostAsync( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + CustomizeCommand(ref command); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions6CommandApiCommand.g.cs deleted file mode 100644 index 05a3cee5..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions6CommandApiCommand.g.cs +++ /dev/null @@ -1,79 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1GatewayV1PathOptions6CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - static partial void CustomizeCommand(ref Command command); - - public static Command Create(string? commandName = null) - { - var command = new Command(commandName ?? @"proxy-v1-gateway-v1-path-options6", @"Proxy V1 -Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). - -Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are -intentionally left ungated."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyV1GatewayV1PathOptions6Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - CustomizeCommand(ref command); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptionsCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPost2CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptionsCommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPost2CommandApiCommand.g.cs index ebca2d0b..686136e5 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptionsCommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPost2CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1GatewayV1PathOptionsCommandApiCommand +internal static partial class ProxyV1GatewayV1PathPost2CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-v1-gateway-v1-path-options", @"Proxy V1 + var command = new Command(commandName ?? @"proxy-v1-gateway-v1-path-post2", @"Proxy V1 Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are @@ -60,7 +60,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1GatewayV1PathOptionsAsync( + var response = await client.ProxyV1GatewayV1PathPost2Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPost3CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions3CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPost3CommandApiCommand.g.cs index b36f9396..559d2677 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions3CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPost3CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1GatewayV1PathOptions3CommandApiCommand +internal static partial class ProxyV1GatewayV1PathPost3CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-v1-gateway-v1-path-options3", @"Proxy V1 + var command = new Command(commandName ?? @"proxy-v1-gateway-v1-path-post3", @"Proxy V1 Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are @@ -60,7 +60,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1GatewayV1PathOptions3Async( + var response = await client.ProxyV1GatewayV1PathPost3Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPost4CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions4CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPost4CommandApiCommand.g.cs index ac801948..7d5971b8 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions4CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPost4CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1GatewayV1PathOptions4CommandApiCommand +internal static partial class ProxyV1GatewayV1PathPost4CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-v1-gateway-v1-path-options4", @"Proxy V1 + var command = new Command(commandName ?? @"proxy-v1-gateway-v1-path-post4", @"Proxy V1 Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are @@ -60,7 +60,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1GatewayV1PathOptions4Async( + var response = await client.ProxyV1GatewayV1PathPost4Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPost5CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions2CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPost5CommandApiCommand.g.cs index cdbeb470..ceb4dea4 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions2CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPost5CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1GatewayV1PathOptions2CommandApiCommand +internal static partial class ProxyV1GatewayV1PathPost5CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-v1-gateway-v1-path-options2", @"Proxy V1 + var command = new Command(commandName ?? @"proxy-v1-gateway-v1-path-post5", @"Proxy V1 Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are @@ -60,7 +60,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1GatewayV1PathOptions2Async( + var response = await client.ProxyV1GatewayV1PathPost5Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPost6CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions5CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPost6CommandApiCommand.g.cs index e9095357..54f7bf19 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions5CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPost6CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1GatewayV1PathOptions5CommandApiCommand +internal static partial class ProxyV1GatewayV1PathPost6CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-v1-gateway-v1-path-options5", @"Proxy V1 + var command = new Command(commandName ?? @"proxy-v1-gateway-v1-path-post6", @"Proxy V1 Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are @@ -60,7 +60,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1GatewayV1PathOptions5Async( + var response = await client.ProxyV1GatewayV1PathPost6Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPostCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPostCommandApiCommand.g.cs new file mode 100644 index 00000000..606628e2 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathPostCommandApiCommand.g.cs @@ -0,0 +1,79 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyV1GatewayV1PathPostCommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + static partial void CustomizeCommand(ref Command command); + + public static Command Create(string? commandName = null) + { + var command = new Command(commandName ?? @"proxy-v1-gateway-v1-path-post", @"Proxy V1 +Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). + +Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are +intentionally left ungated."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyV1GatewayV1PathPostAsync( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + CustomizeCommand(ref command); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions5CommandApiCommand.g.cs deleted file mode 100644 index 84a9b27d..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions5CommandApiCommand.g.cs +++ /dev/null @@ -1,79 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1TokenwiseV1PathOptions5CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - static partial void CustomizeCommand(ref Command command); - - public static Command Create(string? commandName = null) - { - var command = new Command(commandName ?? @"proxy-v1-tokenwise-v1-path-options5", @"Proxy V1 -Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). - -Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are -intentionally left ungated."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyV1TokenwiseV1PathOptions5Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - CustomizeCommand(ref command); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions6CommandApiCommand.g.cs deleted file mode 100644 index a6bd9fbd..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions6CommandApiCommand.g.cs +++ /dev/null @@ -1,79 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1TokenwiseV1PathOptions6CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - static partial void CustomizeCommand(ref Command command); - - public static Command Create(string? commandName = null) - { - var command = new Command(commandName ?? @"proxy-v1-tokenwise-v1-path-options6", @"Proxy V1 -Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). - -Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are -intentionally left ungated."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyV1TokenwiseV1PathOptions6Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - CustomizeCommand(ref command); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptionsCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPost2CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptionsCommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPost2CommandApiCommand.g.cs index 8e580367..b17214e8 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptionsCommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPost2CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1TokenwiseV1PathOptionsCommandApiCommand +internal static partial class ProxyV1TokenwiseV1PathPost2CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-v1-tokenwise-v1-path-options", @"Proxy V1 + var command = new Command(commandName ?? @"proxy-v1-tokenwise-v1-path-post2", @"Proxy V1 Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are @@ -60,7 +60,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1TokenwiseV1PathOptionsAsync( + var response = await client.ProxyV1TokenwiseV1PathPost2Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPost3CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions2CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPost3CommandApiCommand.g.cs index acf35ba3..2f98df49 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions2CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPost3CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1TokenwiseV1PathOptions2CommandApiCommand +internal static partial class ProxyV1TokenwiseV1PathPost3CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-v1-tokenwise-v1-path-options2", @"Proxy V1 + var command = new Command(commandName ?? @"proxy-v1-tokenwise-v1-path-post3", @"Proxy V1 Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are @@ -60,7 +60,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1TokenwiseV1PathOptions2Async( + var response = await client.ProxyV1TokenwiseV1PathPost3Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPost4CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions3CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPost4CommandApiCommand.g.cs index ec9d0e38..033f9b51 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions3CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPost4CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1TokenwiseV1PathOptions3CommandApiCommand +internal static partial class ProxyV1TokenwiseV1PathPost4CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-v1-tokenwise-v1-path-options3", @"Proxy V1 + var command = new Command(commandName ?? @"proxy-v1-tokenwise-v1-path-post4", @"Proxy V1 Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are @@ -60,7 +60,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1TokenwiseV1PathOptions3Async( + var response = await client.ProxyV1TokenwiseV1PathPost4Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPost5CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions4CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPost5CommandApiCommand.g.cs index 116d622d..036dd199 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions4CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPost5CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1TokenwiseV1PathOptions4CommandApiCommand +internal static partial class ProxyV1TokenwiseV1PathPost5CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-v1-tokenwise-v1-path-options4", @"Proxy V1 + var command = new Command(commandName ?? @"proxy-v1-tokenwise-v1-path-post5", @"Proxy V1 Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are @@ -60,7 +60,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1TokenwiseV1PathOptions4Async( + var response = await client.ProxyV1TokenwiseV1PathPost5Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPost6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPost6CommandApiCommand.g.cs new file mode 100644 index 00000000..6d2b07a9 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPost6CommandApiCommand.g.cs @@ -0,0 +1,79 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyV1TokenwiseV1PathPost6CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + static partial void CustomizeCommand(ref Command command); + + public static Command Create(string? commandName = null) + { + var command = new Command(commandName ?? @"proxy-v1-tokenwise-v1-path-post6", @"Proxy V1 +Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). + +Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are +intentionally left ungated."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyV1TokenwiseV1PathPost6Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + CustomizeCommand(ref command); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPostCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPostCommandApiCommand.g.cs new file mode 100644 index 00000000..feaf1b39 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathPostCommandApiCommand.g.cs @@ -0,0 +1,79 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyV1TokenwiseV1PathPostCommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + static partial void CustomizeCommand(ref Command command); + + public static Command Create(string? commandName = null) + { + var command = new Command(commandName ?? @"proxy-v1-tokenwise-v1-path-post", @"Proxy V1 +Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.). + +Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are +intentionally left ungated."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyV1TokenwiseV1PathPostAsync( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + CustomizeCommand(ref command); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions6CommandApiCommand.g.cs deleted file mode 100644 index 9c1563be..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions6CommandApiCommand.g.cs +++ /dev/null @@ -1,76 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1betaGatewayV1betaPathOptions6CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - static partial void CustomizeCommand(ref Command command); - - public static Command Create(string? commandName = null) - { - var command = new Command(commandName ?? @"proxy-v1beta-gateway-v1beta-path-options6", @"Proxy V1Beta -Native Gemini API surface (``/v1beta/models/*:generateContent``)."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyV1betaGatewayV1betaPathOptions6Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - CustomizeCommand(ref command); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptionsCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPost2CommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptionsCommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPost2CommandApiCommand.g.cs index c5c6c775..33725997 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptionsCommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPost2CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1betaGatewayV1betaPathOptionsCommandApiCommand +internal static partial class ProxyV1betaGatewayV1betaPathPost2CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-v1beta-gateway-v1beta-path-options", @"Proxy V1Beta + var command = new Command(commandName ?? @"proxy-v1beta-gateway-v1beta-path-post2", @"Proxy V1Beta Native Gemini API surface (``/v1beta/models/*:generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1betaGatewayV1betaPathOptionsAsync( + var response = await client.ProxyV1betaGatewayV1betaPathPost2Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPost3CommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions3CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPost3CommandApiCommand.g.cs index 62a17e22..3a2901e9 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions3CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPost3CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1betaGatewayV1betaPathOptions3CommandApiCommand +internal static partial class ProxyV1betaGatewayV1betaPathPost3CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-v1beta-gateway-v1beta-path-options3", @"Proxy V1Beta + var command = new Command(commandName ?? @"proxy-v1beta-gateway-v1beta-path-post3", @"Proxy V1Beta Native Gemini API surface (``/v1beta/models/*:generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1betaGatewayV1betaPathOptions3Async( + var response = await client.ProxyV1betaGatewayV1betaPathPost3Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPost4CommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions5CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPost4CommandApiCommand.g.cs index 21bbd32b..6d83d704 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions5CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPost4CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1betaGatewayV1betaPathOptions5CommandApiCommand +internal static partial class ProxyV1betaGatewayV1betaPathPost4CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-v1beta-gateway-v1beta-path-options5", @"Proxy V1Beta + var command = new Command(commandName ?? @"proxy-v1beta-gateway-v1beta-path-post4", @"Proxy V1Beta Native Gemini API surface (``/v1beta/models/*:generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1betaGatewayV1betaPathOptions5Async( + var response = await client.ProxyV1betaGatewayV1betaPathPost4Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPost5CommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions2CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPost5CommandApiCommand.g.cs index 9ac63163..a0444933 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions2CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPost5CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1betaGatewayV1betaPathOptions2CommandApiCommand +internal static partial class ProxyV1betaGatewayV1betaPathPost5CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-v1beta-gateway-v1beta-path-options2", @"Proxy V1Beta + var command = new Command(commandName ?? @"proxy-v1beta-gateway-v1beta-path-post5", @"Proxy V1Beta Native Gemini API surface (``/v1beta/models/*:generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1betaGatewayV1betaPathOptions2Async( + var response = await client.ProxyV1betaGatewayV1betaPathPost5Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPost6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPost6CommandApiCommand.g.cs new file mode 100644 index 00000000..0836f255 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPost6CommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyV1betaGatewayV1betaPathPost6CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + static partial void CustomizeCommand(ref Command command); + + public static Command Create(string? commandName = null) + { + var command = new Command(commandName ?? @"proxy-v1beta-gateway-v1beta-path-post6", @"Proxy V1Beta +Native Gemini API surface (``/v1beta/models/*:generateContent``)."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyV1betaGatewayV1betaPathPost6Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + CustomizeCommand(ref command); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPostCommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions4CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPostCommandApiCommand.g.cs index bf8858a8..25da6b63 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions4CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathPostCommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1betaGatewayV1betaPathOptions4CommandApiCommand +internal static partial class ProxyV1betaGatewayV1betaPathPostCommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-v1beta-gateway-v1beta-path-options4", @"Proxy V1Beta + var command = new Command(commandName ?? @"proxy-v1beta-gateway-v1beta-path-post", @"Proxy V1Beta Native Gemini API surface (``/v1beta/models/*:generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1betaGatewayV1betaPathOptions4Async( + var response = await client.ProxyV1betaGatewayV1betaPathPostAsync( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions2CommandApiCommand.g.cs deleted file mode 100644 index e5a90881..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions2CommandApiCommand.g.cs +++ /dev/null @@ -1,76 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1betaTokenwiseV1betaPathOptions2CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - static partial void CustomizeCommand(ref Command command); - - public static Command Create(string? commandName = null) - { - var command = new Command(commandName ?? @"proxy-v1beta-tokenwise-v1beta-path-options2", @"Proxy V1Beta -Native Gemini API surface (``/v1beta/models/*:generateContent``)."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyV1betaTokenwiseV1betaPathOptions2Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - CustomizeCommand(ref command); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions3CommandApiCommand.g.cs deleted file mode 100644 index 51be63bf..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions3CommandApiCommand.g.cs +++ /dev/null @@ -1,76 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1betaTokenwiseV1betaPathOptions3CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - static partial void CustomizeCommand(ref Command command); - - public static Command Create(string? commandName = null) - { - var command = new Command(commandName ?? @"proxy-v1beta-tokenwise-v1beta-path-options3", @"Proxy V1Beta -Native Gemini API surface (``/v1beta/models/*:generateContent``)."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyV1betaTokenwiseV1betaPathOptions3Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - CustomizeCommand(ref command); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions4CommandApiCommand.g.cs deleted file mode 100644 index 88ab5a52..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions4CommandApiCommand.g.cs +++ /dev/null @@ -1,76 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1betaTokenwiseV1betaPathOptions4CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - static partial void CustomizeCommand(ref Command command); - - public static Command Create(string? commandName = null) - { - var command = new Command(commandName ?? @"proxy-v1beta-tokenwise-v1beta-path-options4", @"Proxy V1Beta -Native Gemini API surface (``/v1beta/models/*:generateContent``)."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyV1betaTokenwiseV1betaPathOptions4Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - CustomizeCommand(ref command); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions5CommandApiCommand.g.cs deleted file mode 100644 index 50fecb3f..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions5CommandApiCommand.g.cs +++ /dev/null @@ -1,76 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1betaTokenwiseV1betaPathOptions5CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - static partial void CustomizeCommand(ref Command command); - - public static Command Create(string? commandName = null) - { - var command = new Command(commandName ?? @"proxy-v1beta-tokenwise-v1beta-path-options5", @"Proxy V1Beta -Native Gemini API surface (``/v1beta/models/*:generateContent``)."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyV1betaTokenwiseV1betaPathOptions5Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - CustomizeCommand(ref command); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions6CommandApiCommand.g.cs deleted file mode 100644 index 16887d32..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions6CommandApiCommand.g.cs +++ /dev/null @@ -1,76 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1betaTokenwiseV1betaPathOptions6CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - static partial void CustomizeCommand(ref Command command); - - public static Command Create(string? commandName = null) - { - var command = new Command(commandName ?? @"proxy-v1beta-tokenwise-v1beta-path-options6", @"Proxy V1Beta -Native Gemini API surface (``/v1beta/models/*:generateContent``)."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyV1betaTokenwiseV1betaPathOptions6Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - CustomizeCommand(ref command); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptionsCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptionsCommandApiCommand.g.cs deleted file mode 100644 index ea96b28d..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptionsCommandApiCommand.g.cs +++ /dev/null @@ -1,76 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1betaTokenwiseV1betaPathOptionsCommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - static partial void CustomizeCommand(ref Command command); - - public static Command Create(string? commandName = null) - { - var command = new Command(commandName ?? @"proxy-v1beta-tokenwise-v1beta-path-options", @"Proxy V1Beta -Native Gemini API surface (``/v1beta/models/*:generateContent``)."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyV1betaTokenwiseV1betaPathOptionsAsync( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - CustomizeCommand(ref command); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPost2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPost2CommandApiCommand.g.cs new file mode 100644 index 00000000..0b0afdcd --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPost2CommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyV1betaTokenwiseV1betaPathPost2CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + static partial void CustomizeCommand(ref Command command); + + public static Command Create(string? commandName = null) + { + var command = new Command(commandName ?? @"proxy-v1beta-tokenwise-v1beta-path-post2", @"Proxy V1Beta +Native Gemini API surface (``/v1beta/models/*:generateContent``)."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyV1betaTokenwiseV1betaPathPost2Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + CustomizeCommand(ref command); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPost3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPost3CommandApiCommand.g.cs new file mode 100644 index 00000000..5fbf3e8d --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPost3CommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyV1betaTokenwiseV1betaPathPost3CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + static partial void CustomizeCommand(ref Command command); + + public static Command Create(string? commandName = null) + { + var command = new Command(commandName ?? @"proxy-v1beta-tokenwise-v1beta-path-post3", @"Proxy V1Beta +Native Gemini API surface (``/v1beta/models/*:generateContent``)."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyV1betaTokenwiseV1betaPathPost3Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + CustomizeCommand(ref command); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPost4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPost4CommandApiCommand.g.cs new file mode 100644 index 00000000..6e6e59ed --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPost4CommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyV1betaTokenwiseV1betaPathPost4CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + static partial void CustomizeCommand(ref Command command); + + public static Command Create(string? commandName = null) + { + var command = new Command(commandName ?? @"proxy-v1beta-tokenwise-v1beta-path-post4", @"Proxy V1Beta +Native Gemini API surface (``/v1beta/models/*:generateContent``)."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyV1betaTokenwiseV1betaPathPost4Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + CustomizeCommand(ref command); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPost5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPost5CommandApiCommand.g.cs new file mode 100644 index 00000000..e23fd012 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPost5CommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyV1betaTokenwiseV1betaPathPost5CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + static partial void CustomizeCommand(ref Command command); + + public static Command Create(string? commandName = null) + { + var command = new Command(commandName ?? @"proxy-v1beta-tokenwise-v1beta-path-post5", @"Proxy V1Beta +Native Gemini API surface (``/v1beta/models/*:generateContent``)."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyV1betaTokenwiseV1betaPathPost5Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + CustomizeCommand(ref command); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPost6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPost6CommandApiCommand.g.cs new file mode 100644 index 00000000..1b32901a --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPost6CommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyV1betaTokenwiseV1betaPathPost6CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + static partial void CustomizeCommand(ref Command command); + + public static Command Create(string? commandName = null) + { + var command = new Command(commandName ?? @"proxy-v1beta-tokenwise-v1beta-path-post6", @"Proxy V1Beta +Native Gemini API surface (``/v1beta/models/*:generateContent``)."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyV1betaTokenwiseV1betaPathPost6Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + CustomizeCommand(ref command); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPostCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPostCommandApiCommand.g.cs new file mode 100644 index 00000000..57f46aa6 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathPostCommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyV1betaTokenwiseV1betaPathPostCommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + static partial void CustomizeCommand(ref Command command); + + public static Command Create(string? commandName = null) + { + var command = new Command(commandName ?? @"proxy-v1beta-tokenwise-v1beta-path-post", @"Proxy V1Beta +Native Gemini API surface (``/v1beta/models/*:generateContent``)."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyV1betaTokenwiseV1betaPathPostAsync( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + CustomizeCommand(ref command); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions2CommandApiCommand.g.cs deleted file mode 100644 index afab0493..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions2CommandApiCommand.g.cs +++ /dev/null @@ -1,76 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1internalGatewayV1internalPathOptions2CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - static partial void CustomizeCommand(ref Command command); - - public static Command Create(string? commandName = null) - { - var command = new Command(commandName ?? @"proxy-v1internal-gateway-v1internal-path-options2", @"Proxy V1Internal -Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyV1internalGatewayV1internalPathOptions2Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - CustomizeCommand(ref command); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions6CommandApiCommand.g.cs deleted file mode 100644 index 7fb89a11..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions6CommandApiCommand.g.cs +++ /dev/null @@ -1,76 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1internalGatewayV1internalPathOptions6CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - static partial void CustomizeCommand(ref Command command); - - public static Command Create(string? commandName = null) - { - var command = new Command(commandName ?? @"proxy-v1internal-gateway-v1internal-path-options6", @"Proxy V1Internal -Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyV1internalGatewayV1internalPathOptions6Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - CustomizeCommand(ref command); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptionsCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPost2CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptionsCommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPost2CommandApiCommand.g.cs index bbf78e67..d5a9acf2 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptionsCommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPost2CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1internalGatewayV1internalPathOptionsCommandApiCommand +internal static partial class ProxyV1internalGatewayV1internalPathPost2CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-v1internal-gateway-v1internal-path-options", @"Proxy V1Internal + var command = new Command(commandName ?? @"proxy-v1internal-gateway-v1internal-path-post2", @"Proxy V1Internal Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1internalGatewayV1internalPathOptionsAsync( + var response = await client.ProxyV1internalGatewayV1internalPathPost2Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPost3CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions3CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPost3CommandApiCommand.g.cs index 45f49ab5..78ea0874 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions3CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPost3CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1internalGatewayV1internalPathOptions3CommandApiCommand +internal static partial class ProxyV1internalGatewayV1internalPathPost3CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-v1internal-gateway-v1internal-path-options3", @"Proxy V1Internal + var command = new Command(commandName ?? @"proxy-v1internal-gateway-v1internal-path-post3", @"Proxy V1Internal Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1internalGatewayV1internalPathOptions3Async( + var response = await client.ProxyV1internalGatewayV1internalPathPost3Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPost4CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions4CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPost4CommandApiCommand.g.cs index eb17d602..011439c1 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions4CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPost4CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1internalGatewayV1internalPathOptions4CommandApiCommand +internal static partial class ProxyV1internalGatewayV1internalPathPost4CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-v1internal-gateway-v1internal-path-options4", @"Proxy V1Internal + var command = new Command(commandName ?? @"proxy-v1internal-gateway-v1internal-path-post4", @"Proxy V1Internal Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1internalGatewayV1internalPathOptions4Async( + var response = await client.ProxyV1internalGatewayV1internalPathPost4Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPost5CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions5CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPost5CommandApiCommand.g.cs index 660b90c7..64b9304b 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions5CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPost5CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1internalGatewayV1internalPathOptions5CommandApiCommand +internal static partial class ProxyV1internalGatewayV1internalPathPost5CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-v1internal-gateway-v1internal-path-options5", @"Proxy V1Internal + var command = new Command(commandName ?? @"proxy-v1internal-gateway-v1internal-path-post5", @"Proxy V1Internal Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1internalGatewayV1internalPathOptions5Async( + var response = await client.ProxyV1internalGatewayV1internalPathPost5Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPost6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPost6CommandApiCommand.g.cs new file mode 100644 index 00000000..ce8dac8e --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPost6CommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyV1internalGatewayV1internalPathPost6CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + static partial void CustomizeCommand(ref Command command); + + public static Command Create(string? commandName = null) + { + var command = new Command(commandName ?? @"proxy-v1internal-gateway-v1internal-path-post6", @"Proxy V1Internal +Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyV1internalGatewayV1internalPathPost6Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + CustomizeCommand(ref command); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPostCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPostCommandApiCommand.g.cs new file mode 100644 index 00000000..0e79dec8 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathPostCommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyV1internalGatewayV1internalPathPostCommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + static partial void CustomizeCommand(ref Command command); + + public static Command Create(string? commandName = null) + { + var command = new Command(commandName ?? @"proxy-v1internal-gateway-v1internal-path-post", @"Proxy V1Internal +Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyV1internalGatewayV1internalPathPostAsync( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + CustomizeCommand(ref command); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions5CommandApiCommand.g.cs deleted file mode 100644 index 4c1caa33..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions5CommandApiCommand.g.cs +++ /dev/null @@ -1,76 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1internalTokenwiseV1internalPathOptions5CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - static partial void CustomizeCommand(ref Command command); - - public static Command Create(string? commandName = null) - { - var command = new Command(commandName ?? @"proxy-v1internal-tokenwise-v1internal-path-options5", @"Proxy V1Internal -Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyV1internalTokenwiseV1internalPathOptions5Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - CustomizeCommand(ref command); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions6CommandApiCommand.g.cs deleted file mode 100644 index 453b7039..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions6CommandApiCommand.g.cs +++ /dev/null @@ -1,76 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1internalTokenwiseV1internalPathOptions6CommandApiCommand -{ - private static Argument Path { get; } = new( - name: @"path") - { - Description = @"", - }; - - private static Option XAi21Key { get; } = new( - name: @"--x-ai21-key") - { - Description = @"", - }; - - private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) - { - string? text = null; - CustomizeResponseText(parseResult, value, ref text); - if (!string.IsNullOrWhiteSpace(text)) - { - return text; - } - - var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) - { - }; - CustomizeResponseFormatHints(hints); - return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); - } - - static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); - static partial void CustomizeResponseFormatHints(Dictionary hints); - - - static partial void CustomizeCommand(ref Command command); - - public static Command Create(string? commandName = null) - { - var command = new Command(commandName ?? @"proxy-v1internal-tokenwise-v1internal-path-options6", @"Proxy V1Internal -Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); - command.Arguments.Add(Path); - command.Options.Add(XAi21Key); - - - command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => - await CliRuntime.RunAsync(async () => - { - var path = parseResult.GetRequiredValue(Path); - var xAi21Key = parseResult.GetValue(XAi21Key); - using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - - - var response = await client.ProxyV1internalTokenwiseV1internalPathOptions6Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - CustomizeCommand(ref command); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptionsCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPost2CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptionsCommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPost2CommandApiCommand.g.cs index 09dc597a..3585f5a5 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptionsCommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPost2CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1internalTokenwiseV1internalPathOptionsCommandApiCommand +internal static partial class ProxyV1internalTokenwiseV1internalPathPost2CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-v1internal-tokenwise-v1internal-path-options", @"Proxy V1Internal + var command = new Command(commandName ?? @"proxy-v1internal-tokenwise-v1internal-path-post2", @"Proxy V1Internal Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1internalTokenwiseV1internalPathOptionsAsync( + var response = await client.ProxyV1internalTokenwiseV1internalPathPost2Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPost3CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions2CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPost3CommandApiCommand.g.cs index 210f9445..ff2709c0 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions2CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPost3CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1internalTokenwiseV1internalPathOptions2CommandApiCommand +internal static partial class ProxyV1internalTokenwiseV1internalPathPost3CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-v1internal-tokenwise-v1internal-path-options2", @"Proxy V1Internal + var command = new Command(commandName ?? @"proxy-v1internal-tokenwise-v1internal-path-post3", @"Proxy V1Internal Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1internalTokenwiseV1internalPathOptions2Async( + var response = await client.ProxyV1internalTokenwiseV1internalPathPost3Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPost4CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions3CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPost4CommandApiCommand.g.cs index 7b04716d..be9f54cb 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions3CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPost4CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1internalTokenwiseV1internalPathOptions3CommandApiCommand +internal static partial class ProxyV1internalTokenwiseV1internalPathPost4CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-v1internal-tokenwise-v1internal-path-options3", @"Proxy V1Internal + var command = new Command(commandName ?? @"proxy-v1internal-tokenwise-v1internal-path-post4", @"Proxy V1Internal Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1internalTokenwiseV1internalPathOptions3Async( + var response = await client.ProxyV1internalTokenwiseV1internalPathPost4Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPost5CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions4CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPost5CommandApiCommand.g.cs index 8e5061e6..934726ce 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions4CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPost5CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1internalTokenwiseV1internalPathOptions4CommandApiCommand +internal static partial class ProxyV1internalTokenwiseV1internalPathPost5CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -43,7 +43,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create(string? commandName = null) { - var command = new Command(commandName ?? @"proxy-v1internal-tokenwise-v1internal-path-options4", @"Proxy V1Internal + var command = new Command(commandName ?? @"proxy-v1internal-tokenwise-v1internal-path-post5", @"Proxy V1Internal Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -57,7 +57,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1internalTokenwiseV1internalPathOptions4Async( + var response = await client.ProxyV1internalTokenwiseV1internalPathPost5Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPost6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPost6CommandApiCommand.g.cs new file mode 100644 index 00000000..a7ae0c54 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPost6CommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyV1internalTokenwiseV1internalPathPost6CommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + static partial void CustomizeCommand(ref Command command); + + public static Command Create(string? commandName = null) + { + var command = new Command(commandName ?? @"proxy-v1internal-tokenwise-v1internal-path-post6", @"Proxy V1Internal +Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyV1internalTokenwiseV1internalPathPost6Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + CustomizeCommand(ref command); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPostCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPostCommandApiCommand.g.cs new file mode 100644 index 00000000..f826dbba --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathPostCommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyV1internalTokenwiseV1internalPathPostCommandApiCommand +{ + private static Argument Path { get; } = new( + name: @"path") + { + Description = @"", + }; + + private static Option XAi21Key { get; } = new( + name: @"--x-ai21-key") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, string value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, string value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + static partial void CustomizeCommand(ref Command command); + + public static Command Create(string? commandName = null) + { + var command = new Command(commandName ?? @"proxy-v1internal-tokenwise-v1internal-path-post", @"Proxy V1Internal +Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); + command.Arguments.Add(Path); + command.Options.Add(XAi21Key); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var path = parseResult.GetRequiredValue(Path); + var xAi21Key = parseResult.GetValue(XAi21Key); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ProxyV1internalTokenwiseV1internalPathPostAsync( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + CustomizeCommand(ref command); + return command; + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPost.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPost.g.cs index 1bfd9476..636dc4a7 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPost.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyHarnessApiHarnessApiPathPutSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyHarnessApiHarnessApiPathPostSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,22 +21,22 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyHarnessApiHarnessApiPathPutSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyHarnessApiHarnessApiPathPostSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyHarnessApiHarnessApiPathPutSecurityRequirement0, + { s_ProxyHarnessApiHarnessApiPathPostSecurityRequirement0, }; - partial void PrepareProxyHarnessApiHarnessApiPathPutArguments( + partial void PrepareProxyHarnessApiHarnessApiPathPostArguments( global::System.Net.Http.HttpClient httpClient, ref string path); - partial void PrepareProxyHarnessApiHarnessApiPathPutRequest( + partial void PrepareProxyHarnessApiHarnessApiPathPostRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path); - partial void ProcessProxyHarnessApiHarnessApiPathPutResponse( + partial void ProcessProxyHarnessApiHarnessApiPathPostResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyHarnessApiHarnessApiPathPutResponseContent( + partial void ProcessProxyHarnessApiHarnessApiPathPostResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -48,12 +48,12 @@ partial void ProcessProxyHarnessApiHarnessApiPathPutResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPutAsync( + public async global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPostAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyHarnessApiHarnessApiPathPutAsResponseAsync( + var __response = await ProxyHarnessApiHarnessApiPathPostAsResponseAsync( path: path, requestOptions: requestOptions, cancellationToken: cancellationToken @@ -68,22 +68,22 @@ partial void ProcessProxyHarnessApiHarnessApiPathPutResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPutAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPostAsResponseAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareProxyHarnessApiHarnessApiPathPutArguments( + PrepareProxyHarnessApiHarnessApiPathPostArguments( httpClient: HttpClient, path: ref path); var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyHarnessApiHarnessApiPathPutSecurityRequirements, - operationName: "ProxyHarnessApiHarnessApiPathPutAsync"); + securityRequirements: s_ProxyHarnessApiHarnessApiPathPostSecurityRequirements, + operationName: "ProxyHarnessApiHarnessApiPathPostAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -142,7 +142,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathPutResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyHarnessApiHarnessApiPathPutRequest( + PrepareProxyHarnessApiHarnessApiPathPostRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path); @@ -162,8 +162,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPutResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPut", - methodName: "ProxyHarnessApiHarnessApiPathPutAsync", + operationId: "ProxyHarnessApiHarnessApiPathPost", + methodName: "ProxyHarnessApiHarnessApiPathPostAsync", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -196,8 +196,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPutResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPut", - methodName: "ProxyHarnessApiHarnessApiPathPutAsync", + operationId: "ProxyHarnessApiHarnessApiPathPost", + methodName: "ProxyHarnessApiHarnessApiPathPostAsync", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -237,8 +237,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPutResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPut", - methodName: "ProxyHarnessApiHarnessApiPathPutAsync", + operationId: "ProxyHarnessApiHarnessApiPathPost", + methodName: "ProxyHarnessApiHarnessApiPathPostAsync", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -277,7 +277,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathPutResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyHarnessApiHarnessApiPathPutResponse( + ProcessProxyHarnessApiHarnessApiPathPostResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -285,8 +285,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPutResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPut", - methodName: "ProxyHarnessApiHarnessApiPathPutAsync", + operationId: "ProxyHarnessApiHarnessApiPathPost", + methodName: "ProxyHarnessApiHarnessApiPathPostAsync", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -307,8 +307,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPutResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPut", - methodName: "ProxyHarnessApiHarnessApiPathPutAsync", + operationId: "ProxyHarnessApiHarnessApiPathPost", + methodName: "ProxyHarnessApiHarnessApiPathPostAsync", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -374,7 +374,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathPutResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyHarnessApiHarnessApiPathPutResponseContent( + ProcessProxyHarnessApiHarnessApiPathPostResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPost2.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPost2.g.cs index 240181ad..ffde7363 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPost2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyHarnessApiHarnessApiPathPut2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyHarnessApiHarnessApiPathPost2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,22 +21,22 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyHarnessApiHarnessApiPathPut2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyHarnessApiHarnessApiPathPost2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyHarnessApiHarnessApiPathPut2SecurityRequirement0, + { s_ProxyHarnessApiHarnessApiPathPost2SecurityRequirement0, }; - partial void PrepareProxyHarnessApiHarnessApiPathPut2Arguments( + partial void PrepareProxyHarnessApiHarnessApiPathPost2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path); - partial void PrepareProxyHarnessApiHarnessApiPathPut2Request( + partial void PrepareProxyHarnessApiHarnessApiPathPost2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path); - partial void ProcessProxyHarnessApiHarnessApiPathPut2Response( + partial void ProcessProxyHarnessApiHarnessApiPathPost2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyHarnessApiHarnessApiPathPut2ResponseContent( + partial void ProcessProxyHarnessApiHarnessApiPathPost2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -48,12 +48,12 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPut2Async( + public async global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPost2Async( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyHarnessApiHarnessApiPathPut2AsResponseAsync( + var __response = await ProxyHarnessApiHarnessApiPathPost2AsResponseAsync( path: path, requestOptions: requestOptions, cancellationToken: cancellationToken @@ -68,22 +68,22 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPut2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPost2AsResponseAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareProxyHarnessApiHarnessApiPathPut2Arguments( + PrepareProxyHarnessApiHarnessApiPathPost2Arguments( httpClient: HttpClient, path: ref path); var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyHarnessApiHarnessApiPathPut2SecurityRequirements, - operationName: "ProxyHarnessApiHarnessApiPathPut2Async"); + securityRequirements: s_ProxyHarnessApiHarnessApiPathPost2SecurityRequirements, + operationName: "ProxyHarnessApiHarnessApiPathPost2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -142,7 +142,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyHarnessApiHarnessApiPathPut2Request( + PrepareProxyHarnessApiHarnessApiPathPost2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path); @@ -162,8 +162,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPut2", - methodName: "ProxyHarnessApiHarnessApiPathPut2Async", + operationId: "ProxyHarnessApiHarnessApiPathPost2", + methodName: "ProxyHarnessApiHarnessApiPathPost2Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -196,8 +196,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPut2", - methodName: "ProxyHarnessApiHarnessApiPathPut2Async", + operationId: "ProxyHarnessApiHarnessApiPathPost2", + methodName: "ProxyHarnessApiHarnessApiPathPost2Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -237,8 +237,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPut2", - methodName: "ProxyHarnessApiHarnessApiPathPut2Async", + operationId: "ProxyHarnessApiHarnessApiPathPost2", + methodName: "ProxyHarnessApiHarnessApiPathPost2Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -277,7 +277,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyHarnessApiHarnessApiPathPut2Response( + ProcessProxyHarnessApiHarnessApiPathPost2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -285,8 +285,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPut2", - methodName: "ProxyHarnessApiHarnessApiPathPut2Async", + operationId: "ProxyHarnessApiHarnessApiPathPost2", + methodName: "ProxyHarnessApiHarnessApiPathPost2Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -307,8 +307,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPut2", - methodName: "ProxyHarnessApiHarnessApiPathPut2Async", + operationId: "ProxyHarnessApiHarnessApiPathPost2", + methodName: "ProxyHarnessApiHarnessApiPathPost2Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -374,7 +374,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyHarnessApiHarnessApiPathPut2ResponseContent( + ProcessProxyHarnessApiHarnessApiPathPost2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPost3.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPost3.g.cs index bc8b37c9..a46428af 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPost3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyHarnessApiHarnessApiPathPut3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyHarnessApiHarnessApiPathPost3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,22 +21,22 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyHarnessApiHarnessApiPathPut3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyHarnessApiHarnessApiPathPost3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyHarnessApiHarnessApiPathPut3SecurityRequirement0, + { s_ProxyHarnessApiHarnessApiPathPost3SecurityRequirement0, }; - partial void PrepareProxyHarnessApiHarnessApiPathPut3Arguments( + partial void PrepareProxyHarnessApiHarnessApiPathPost3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path); - partial void PrepareProxyHarnessApiHarnessApiPathPut3Request( + partial void PrepareProxyHarnessApiHarnessApiPathPost3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path); - partial void ProcessProxyHarnessApiHarnessApiPathPut3Response( + partial void ProcessProxyHarnessApiHarnessApiPathPost3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyHarnessApiHarnessApiPathPut3ResponseContent( + partial void ProcessProxyHarnessApiHarnessApiPathPost3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -48,12 +48,12 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPut3Async( + public async global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPost3Async( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyHarnessApiHarnessApiPathPut3AsResponseAsync( + var __response = await ProxyHarnessApiHarnessApiPathPost3AsResponseAsync( path: path, requestOptions: requestOptions, cancellationToken: cancellationToken @@ -68,22 +68,22 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPut3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPost3AsResponseAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareProxyHarnessApiHarnessApiPathPut3Arguments( + PrepareProxyHarnessApiHarnessApiPathPost3Arguments( httpClient: HttpClient, path: ref path); var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyHarnessApiHarnessApiPathPut3SecurityRequirements, - operationName: "ProxyHarnessApiHarnessApiPathPut3Async"); + securityRequirements: s_ProxyHarnessApiHarnessApiPathPost3SecurityRequirements, + operationName: "ProxyHarnessApiHarnessApiPathPost3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -142,7 +142,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyHarnessApiHarnessApiPathPut3Request( + PrepareProxyHarnessApiHarnessApiPathPost3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path); @@ -162,8 +162,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPut3", - methodName: "ProxyHarnessApiHarnessApiPathPut3Async", + operationId: "ProxyHarnessApiHarnessApiPathPost3", + methodName: "ProxyHarnessApiHarnessApiPathPost3Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -196,8 +196,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPut3", - methodName: "ProxyHarnessApiHarnessApiPathPut3Async", + operationId: "ProxyHarnessApiHarnessApiPathPost3", + methodName: "ProxyHarnessApiHarnessApiPathPost3Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -237,8 +237,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPut3", - methodName: "ProxyHarnessApiHarnessApiPathPut3Async", + operationId: "ProxyHarnessApiHarnessApiPathPost3", + methodName: "ProxyHarnessApiHarnessApiPathPost3Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -277,7 +277,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyHarnessApiHarnessApiPathPut3Response( + ProcessProxyHarnessApiHarnessApiPathPost3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -285,8 +285,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPut3", - methodName: "ProxyHarnessApiHarnessApiPathPut3Async", + operationId: "ProxyHarnessApiHarnessApiPathPost3", + methodName: "ProxyHarnessApiHarnessApiPathPost3Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -307,8 +307,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPut3", - methodName: "ProxyHarnessApiHarnessApiPathPut3Async", + operationId: "ProxyHarnessApiHarnessApiPathPost3", + methodName: "ProxyHarnessApiHarnessApiPathPost3Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -374,7 +374,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyHarnessApiHarnessApiPathPut3ResponseContent( + ProcessProxyHarnessApiHarnessApiPathPost3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPost4.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPost4.g.cs index bf367639..9332e825 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPost4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyHarnessApiHarnessApiPathPut4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyHarnessApiHarnessApiPathPost4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,22 +21,22 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyHarnessApiHarnessApiPathPut4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyHarnessApiHarnessApiPathPost4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyHarnessApiHarnessApiPathPut4SecurityRequirement0, + { s_ProxyHarnessApiHarnessApiPathPost4SecurityRequirement0, }; - partial void PrepareProxyHarnessApiHarnessApiPathPut4Arguments( + partial void PrepareProxyHarnessApiHarnessApiPathPost4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path); - partial void PrepareProxyHarnessApiHarnessApiPathPut4Request( + partial void PrepareProxyHarnessApiHarnessApiPathPost4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path); - partial void ProcessProxyHarnessApiHarnessApiPathPut4Response( + partial void ProcessProxyHarnessApiHarnessApiPathPost4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyHarnessApiHarnessApiPathPut4ResponseContent( + partial void ProcessProxyHarnessApiHarnessApiPathPost4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -48,12 +48,12 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPut4Async( + public async global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPost4Async( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyHarnessApiHarnessApiPathPut4AsResponseAsync( + var __response = await ProxyHarnessApiHarnessApiPathPost4AsResponseAsync( path: path, requestOptions: requestOptions, cancellationToken: cancellationToken @@ -68,22 +68,22 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPut4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPost4AsResponseAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareProxyHarnessApiHarnessApiPathPut4Arguments( + PrepareProxyHarnessApiHarnessApiPathPost4Arguments( httpClient: HttpClient, path: ref path); var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyHarnessApiHarnessApiPathPut4SecurityRequirements, - operationName: "ProxyHarnessApiHarnessApiPathPut4Async"); + securityRequirements: s_ProxyHarnessApiHarnessApiPathPost4SecurityRequirements, + operationName: "ProxyHarnessApiHarnessApiPathPost4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -142,7 +142,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyHarnessApiHarnessApiPathPut4Request( + PrepareProxyHarnessApiHarnessApiPathPost4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path); @@ -162,8 +162,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPut4", - methodName: "ProxyHarnessApiHarnessApiPathPut4Async", + operationId: "ProxyHarnessApiHarnessApiPathPost4", + methodName: "ProxyHarnessApiHarnessApiPathPost4Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -196,8 +196,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPut4", - methodName: "ProxyHarnessApiHarnessApiPathPut4Async", + operationId: "ProxyHarnessApiHarnessApiPathPost4", + methodName: "ProxyHarnessApiHarnessApiPathPost4Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -237,8 +237,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPut4", - methodName: "ProxyHarnessApiHarnessApiPathPut4Async", + operationId: "ProxyHarnessApiHarnessApiPathPost4", + methodName: "ProxyHarnessApiHarnessApiPathPost4Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -277,7 +277,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyHarnessApiHarnessApiPathPut4Response( + ProcessProxyHarnessApiHarnessApiPathPost4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -285,8 +285,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPut4", - methodName: "ProxyHarnessApiHarnessApiPathPut4Async", + operationId: "ProxyHarnessApiHarnessApiPathPost4", + methodName: "ProxyHarnessApiHarnessApiPathPost4Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -307,8 +307,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPut4", - methodName: "ProxyHarnessApiHarnessApiPathPut4Async", + operationId: "ProxyHarnessApiHarnessApiPathPost4", + methodName: "ProxyHarnessApiHarnessApiPathPost4Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -374,7 +374,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyHarnessApiHarnessApiPathPut4ResponseContent( + ProcessProxyHarnessApiHarnessApiPathPost4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPost5.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPost5.g.cs index ab0ff7ac..eaf7f780 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPost5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyHarnessApiHarnessApiPathPut5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyHarnessApiHarnessApiPathPost5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,22 +21,22 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyHarnessApiHarnessApiPathPut5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyHarnessApiHarnessApiPathPost5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyHarnessApiHarnessApiPathPut5SecurityRequirement0, + { s_ProxyHarnessApiHarnessApiPathPost5SecurityRequirement0, }; - partial void PrepareProxyHarnessApiHarnessApiPathPut5Arguments( + partial void PrepareProxyHarnessApiHarnessApiPathPost5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path); - partial void PrepareProxyHarnessApiHarnessApiPathPut5Request( + partial void PrepareProxyHarnessApiHarnessApiPathPost5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path); - partial void ProcessProxyHarnessApiHarnessApiPathPut5Response( + partial void ProcessProxyHarnessApiHarnessApiPathPost5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyHarnessApiHarnessApiPathPut5ResponseContent( + partial void ProcessProxyHarnessApiHarnessApiPathPost5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -48,12 +48,12 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPut5Async( + public async global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPost5Async( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyHarnessApiHarnessApiPathPut5AsResponseAsync( + var __response = await ProxyHarnessApiHarnessApiPathPost5AsResponseAsync( path: path, requestOptions: requestOptions, cancellationToken: cancellationToken @@ -68,22 +68,22 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPut5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPost5AsResponseAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareProxyHarnessApiHarnessApiPathPut5Arguments( + PrepareProxyHarnessApiHarnessApiPathPost5Arguments( httpClient: HttpClient, path: ref path); var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyHarnessApiHarnessApiPathPut5SecurityRequirements, - operationName: "ProxyHarnessApiHarnessApiPathPut5Async"); + securityRequirements: s_ProxyHarnessApiHarnessApiPathPost5SecurityRequirements, + operationName: "ProxyHarnessApiHarnessApiPathPost5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -142,7 +142,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyHarnessApiHarnessApiPathPut5Request( + PrepareProxyHarnessApiHarnessApiPathPost5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path); @@ -162,8 +162,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPut5", - methodName: "ProxyHarnessApiHarnessApiPathPut5Async", + operationId: "ProxyHarnessApiHarnessApiPathPost5", + methodName: "ProxyHarnessApiHarnessApiPathPost5Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -196,8 +196,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPut5", - methodName: "ProxyHarnessApiHarnessApiPathPut5Async", + operationId: "ProxyHarnessApiHarnessApiPathPost5", + methodName: "ProxyHarnessApiHarnessApiPathPost5Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -237,8 +237,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPut5", - methodName: "ProxyHarnessApiHarnessApiPathPut5Async", + operationId: "ProxyHarnessApiHarnessApiPathPost5", + methodName: "ProxyHarnessApiHarnessApiPathPost5Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -277,7 +277,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyHarnessApiHarnessApiPathPut5Response( + ProcessProxyHarnessApiHarnessApiPathPost5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -285,8 +285,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPut5", - methodName: "ProxyHarnessApiHarnessApiPathPut5Async", + operationId: "ProxyHarnessApiHarnessApiPathPost5", + methodName: "ProxyHarnessApiHarnessApiPathPost5Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -307,8 +307,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathPut5", - methodName: "ProxyHarnessApiHarnessApiPathPut5Async", + operationId: "ProxyHarnessApiHarnessApiPathPost5", + methodName: "ProxyHarnessApiHarnessApiPathPost5Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -374,7 +374,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathPut5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyHarnessApiHarnessApiPathPut5ResponseContent( + ProcessProxyHarnessApiHarnessApiPathPost5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPost.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPost.g.cs index e9da5b0c..6e25f41a 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPost.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathOptionsSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathPostSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathOptionsSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathPostSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1GatewayOffV1PathOptionsSecurityRequirement0, + { s_ProxyOffV1GatewayOffV1PathPostSecurityRequirement0, }; - partial void PrepareProxyOffV1GatewayOffV1PathOptionsArguments( + partial void PrepareProxyOffV1GatewayOffV1PathPostArguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1GatewayOffV1PathOptionsRequest( + partial void PrepareProxyOffV1GatewayOffV1PathPostRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1GatewayOffV1PathOptionsResponse( + partial void ProcessProxyOffV1GatewayOffV1PathPostResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1GatewayOffV1PathOptionsResponseContent( + partial void ProcessProxyOffV1GatewayOffV1PathPostResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptionsResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathOptionsAsync( + public async global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathPostAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1GatewayOffV1PathOptionsAsResponseAsync( + var __response = await ProxyOffV1GatewayOffV1PathPostAsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptionsResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathOptionsAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathPostAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptionsResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1GatewayOffV1PathOptionsArguments( + PrepareProxyOffV1GatewayOffV1PathPostArguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptionsResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1GatewayOffV1PathOptionsSecurityRequirements, - operationName: "ProxyOffV1GatewayOffV1PathOptionsAsync"); + securityRequirements: s_ProxyOffV1GatewayOffV1PathPostSecurityRequirements, + operationName: "ProxyOffV1GatewayOffV1PathPostAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptionsResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1GatewayOffV1PathOptionsRequest( + PrepareProxyOffV1GatewayOffV1PathPostRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathOptions", - methodName: "ProxyOffV1GatewayOffV1PathOptionsAsync", + operationId: "ProxyOffV1GatewayOffV1PathPost", + methodName: "ProxyOffV1GatewayOffV1PathPostAsync", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathOptions", - methodName: "ProxyOffV1GatewayOffV1PathOptionsAsync", + operationId: "ProxyOffV1GatewayOffV1PathPost", + methodName: "ProxyOffV1GatewayOffV1PathPostAsync", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathOptions", - methodName: "ProxyOffV1GatewayOffV1PathOptionsAsync", + operationId: "ProxyOffV1GatewayOffV1PathPost", + methodName: "ProxyOffV1GatewayOffV1PathPostAsync", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptionsResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1GatewayOffV1PathOptionsResponse( + ProcessProxyOffV1GatewayOffV1PathPostResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathOptions", - methodName: "ProxyOffV1GatewayOffV1PathOptionsAsync", + operationId: "ProxyOffV1GatewayOffV1PathPost", + methodName: "ProxyOffV1GatewayOffV1PathPostAsync", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathOptions", - methodName: "ProxyOffV1GatewayOffV1PathOptionsAsync", + operationId: "ProxyOffV1GatewayOffV1PathPost", + methodName: "ProxyOffV1GatewayOffV1PathPostAsync", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptionsResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1GatewayOffV1PathOptionsResponseContent( + ProcessProxyOffV1GatewayOffV1PathPostResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPost2.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPost2.g.cs index a68581d3..19f0710a 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPost2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathOptions2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathPost2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathOptions2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathPost2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1GatewayOffV1PathOptions2SecurityRequirement0, + { s_ProxyOffV1GatewayOffV1PathPost2SecurityRequirement0, }; - partial void PrepareProxyOffV1GatewayOffV1PathOptions2Arguments( + partial void PrepareProxyOffV1GatewayOffV1PathPost2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1GatewayOffV1PathOptions2Request( + partial void PrepareProxyOffV1GatewayOffV1PathPost2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1GatewayOffV1PathOptions2Response( + partial void ProcessProxyOffV1GatewayOffV1PathPost2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1GatewayOffV1PathOptions2ResponseContent( + partial void ProcessProxyOffV1GatewayOffV1PathPost2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathOptions2Async( + public async global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathPost2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1GatewayOffV1PathOptions2AsResponseAsync( + var __response = await ProxyOffV1GatewayOffV1PathPost2AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathOptions2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathPost2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions2ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1GatewayOffV1PathOptions2Arguments( + PrepareProxyOffV1GatewayOffV1PathPost2Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions2ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1GatewayOffV1PathOptions2SecurityRequirements, - operationName: "ProxyOffV1GatewayOffV1PathOptions2Async"); + securityRequirements: s_ProxyOffV1GatewayOffV1PathPost2SecurityRequirements, + operationName: "ProxyOffV1GatewayOffV1PathPost2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1GatewayOffV1PathOptions2Request( + PrepareProxyOffV1GatewayOffV1PathPost2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathOptions2", - methodName: "ProxyOffV1GatewayOffV1PathOptions2Async", + operationId: "ProxyOffV1GatewayOffV1PathPost2", + methodName: "ProxyOffV1GatewayOffV1PathPost2Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathOptions2", - methodName: "ProxyOffV1GatewayOffV1PathOptions2Async", + operationId: "ProxyOffV1GatewayOffV1PathPost2", + methodName: "ProxyOffV1GatewayOffV1PathPost2Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathOptions2", - methodName: "ProxyOffV1GatewayOffV1PathOptions2Async", + operationId: "ProxyOffV1GatewayOffV1PathPost2", + methodName: "ProxyOffV1GatewayOffV1PathPost2Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1GatewayOffV1PathOptions2Response( + ProcessProxyOffV1GatewayOffV1PathPost2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathOptions2", - methodName: "ProxyOffV1GatewayOffV1PathOptions2Async", + operationId: "ProxyOffV1GatewayOffV1PathPost2", + methodName: "ProxyOffV1GatewayOffV1PathPost2Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathOptions2", - methodName: "ProxyOffV1GatewayOffV1PathOptions2Async", + operationId: "ProxyOffV1GatewayOffV1PathPost2", + methodName: "ProxyOffV1GatewayOffV1PathPost2Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1GatewayOffV1PathOptions2ResponseContent( + ProcessProxyOffV1GatewayOffV1PathPost2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPost3.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPost3.g.cs index 079ceb23..6c1322c5 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPost3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathOptions3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathPost3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathOptions3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathPost3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1GatewayOffV1PathOptions3SecurityRequirement0, + { s_ProxyOffV1GatewayOffV1PathPost3SecurityRequirement0, }; - partial void PrepareProxyOffV1GatewayOffV1PathOptions3Arguments( + partial void PrepareProxyOffV1GatewayOffV1PathPost3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1GatewayOffV1PathOptions3Request( + partial void PrepareProxyOffV1GatewayOffV1PathPost3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1GatewayOffV1PathOptions3Response( + partial void ProcessProxyOffV1GatewayOffV1PathPost3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1GatewayOffV1PathOptions3ResponseContent( + partial void ProcessProxyOffV1GatewayOffV1PathPost3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathOptions3Async( + public async global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathPost3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1GatewayOffV1PathOptions3AsResponseAsync( + var __response = await ProxyOffV1GatewayOffV1PathPost3AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathOptions3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathPost3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions3ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1GatewayOffV1PathOptions3Arguments( + PrepareProxyOffV1GatewayOffV1PathPost3Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions3ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1GatewayOffV1PathOptions3SecurityRequirements, - operationName: "ProxyOffV1GatewayOffV1PathOptions3Async"); + securityRequirements: s_ProxyOffV1GatewayOffV1PathPost3SecurityRequirements, + operationName: "ProxyOffV1GatewayOffV1PathPost3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1GatewayOffV1PathOptions3Request( + PrepareProxyOffV1GatewayOffV1PathPost3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathOptions3", - methodName: "ProxyOffV1GatewayOffV1PathOptions3Async", + operationId: "ProxyOffV1GatewayOffV1PathPost3", + methodName: "ProxyOffV1GatewayOffV1PathPost3Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathOptions3", - methodName: "ProxyOffV1GatewayOffV1PathOptions3Async", + operationId: "ProxyOffV1GatewayOffV1PathPost3", + methodName: "ProxyOffV1GatewayOffV1PathPost3Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathOptions3", - methodName: "ProxyOffV1GatewayOffV1PathOptions3Async", + operationId: "ProxyOffV1GatewayOffV1PathPost3", + methodName: "ProxyOffV1GatewayOffV1PathPost3Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1GatewayOffV1PathOptions3Response( + ProcessProxyOffV1GatewayOffV1PathPost3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathOptions3", - methodName: "ProxyOffV1GatewayOffV1PathOptions3Async", + operationId: "ProxyOffV1GatewayOffV1PathPost3", + methodName: "ProxyOffV1GatewayOffV1PathPost3Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathOptions3", - methodName: "ProxyOffV1GatewayOffV1PathOptions3Async", + operationId: "ProxyOffV1GatewayOffV1PathPost3", + methodName: "ProxyOffV1GatewayOffV1PathPost3Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1GatewayOffV1PathOptions3ResponseContent( + ProcessProxyOffV1GatewayOffV1PathPost3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPost4.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPost4.g.cs index 9beb8d77..a7a1486e 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPost4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathOptions4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathPost4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathOptions4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathPost4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1GatewayOffV1PathOptions4SecurityRequirement0, + { s_ProxyOffV1GatewayOffV1PathPost4SecurityRequirement0, }; - partial void PrepareProxyOffV1GatewayOffV1PathOptions4Arguments( + partial void PrepareProxyOffV1GatewayOffV1PathPost4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1GatewayOffV1PathOptions4Request( + partial void PrepareProxyOffV1GatewayOffV1PathPost4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1GatewayOffV1PathOptions4Response( + partial void ProcessProxyOffV1GatewayOffV1PathPost4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1GatewayOffV1PathOptions4ResponseContent( + partial void ProcessProxyOffV1GatewayOffV1PathPost4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathOptions4Async( + public async global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathPost4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1GatewayOffV1PathOptions4AsResponseAsync( + var __response = await ProxyOffV1GatewayOffV1PathPost4AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathOptions4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathPost4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions4ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1GatewayOffV1PathOptions4Arguments( + PrepareProxyOffV1GatewayOffV1PathPost4Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions4ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1GatewayOffV1PathOptions4SecurityRequirements, - operationName: "ProxyOffV1GatewayOffV1PathOptions4Async"); + securityRequirements: s_ProxyOffV1GatewayOffV1PathPost4SecurityRequirements, + operationName: "ProxyOffV1GatewayOffV1PathPost4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1GatewayOffV1PathOptions4Request( + PrepareProxyOffV1GatewayOffV1PathPost4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathOptions4", - methodName: "ProxyOffV1GatewayOffV1PathOptions4Async", + operationId: "ProxyOffV1GatewayOffV1PathPost4", + methodName: "ProxyOffV1GatewayOffV1PathPost4Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathOptions4", - methodName: "ProxyOffV1GatewayOffV1PathOptions4Async", + operationId: "ProxyOffV1GatewayOffV1PathPost4", + methodName: "ProxyOffV1GatewayOffV1PathPost4Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathOptions4", - methodName: "ProxyOffV1GatewayOffV1PathOptions4Async", + operationId: "ProxyOffV1GatewayOffV1PathPost4", + methodName: "ProxyOffV1GatewayOffV1PathPost4Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1GatewayOffV1PathOptions4Response( + ProcessProxyOffV1GatewayOffV1PathPost4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathOptions4", - methodName: "ProxyOffV1GatewayOffV1PathOptions4Async", + operationId: "ProxyOffV1GatewayOffV1PathPost4", + methodName: "ProxyOffV1GatewayOffV1PathPost4Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathOptions4", - methodName: "ProxyOffV1GatewayOffV1PathOptions4Async", + operationId: "ProxyOffV1GatewayOffV1PathPost4", + methodName: "ProxyOffV1GatewayOffV1PathPost4Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1GatewayOffV1PathOptions4ResponseContent( + ProcessProxyOffV1GatewayOffV1PathPost4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPost5.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPost5.g.cs index e9f20ce9..21e08bb8 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPost5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathOptions5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathPost5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathOptions5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathPost5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1GatewayOffV1PathOptions5SecurityRequirement0, + { s_ProxyOffV1GatewayOffV1PathPost5SecurityRequirement0, }; - partial void PrepareProxyOffV1GatewayOffV1PathOptions5Arguments( + partial void PrepareProxyOffV1GatewayOffV1PathPost5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1GatewayOffV1PathOptions5Request( + partial void PrepareProxyOffV1GatewayOffV1PathPost5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1GatewayOffV1PathOptions5Response( + partial void ProcessProxyOffV1GatewayOffV1PathPost5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1GatewayOffV1PathOptions5ResponseContent( + partial void ProcessProxyOffV1GatewayOffV1PathPost5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathOptions5Async( + public async global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathPost5Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1GatewayOffV1PathOptions5AsResponseAsync( + var __response = await ProxyOffV1GatewayOffV1PathPost5AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathOptions5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathPost5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions5ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1GatewayOffV1PathOptions5Arguments( + PrepareProxyOffV1GatewayOffV1PathPost5Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions5ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1GatewayOffV1PathOptions5SecurityRequirements, - operationName: "ProxyOffV1GatewayOffV1PathOptions5Async"); + securityRequirements: s_ProxyOffV1GatewayOffV1PathPost5SecurityRequirements, + operationName: "ProxyOffV1GatewayOffV1PathPost5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1GatewayOffV1PathOptions5Request( + PrepareProxyOffV1GatewayOffV1PathPost5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathOptions5", - methodName: "ProxyOffV1GatewayOffV1PathOptions5Async", + operationId: "ProxyOffV1GatewayOffV1PathPost5", + methodName: "ProxyOffV1GatewayOffV1PathPost5Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathOptions5", - methodName: "ProxyOffV1GatewayOffV1PathOptions5Async", + operationId: "ProxyOffV1GatewayOffV1PathPost5", + methodName: "ProxyOffV1GatewayOffV1PathPost5Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathOptions5", - methodName: "ProxyOffV1GatewayOffV1PathOptions5Async", + operationId: "ProxyOffV1GatewayOffV1PathPost5", + methodName: "ProxyOffV1GatewayOffV1PathPost5Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1GatewayOffV1PathOptions5Response( + ProcessProxyOffV1GatewayOffV1PathPost5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathOptions5", - methodName: "ProxyOffV1GatewayOffV1PathOptions5Async", + operationId: "ProxyOffV1GatewayOffV1PathPost5", + methodName: "ProxyOffV1GatewayOffV1PathPost5Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathOptions5", - methodName: "ProxyOffV1GatewayOffV1PathOptions5Async", + operationId: "ProxyOffV1GatewayOffV1PathPost5", + methodName: "ProxyOffV1GatewayOffV1PathPost5Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1GatewayOffV1PathOptions5ResponseContent( + ProcessProxyOffV1GatewayOffV1PathPost5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions6.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPost6.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions6.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPost6.g.cs index ee742848..e51dadc2 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions6.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathPost6.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathOptions6SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathPost6SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathOptions6SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathPost6SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1GatewayOffV1PathOptions6SecurityRequirement0, + { s_ProxyOffV1GatewayOffV1PathPost6SecurityRequirement0, }; - partial void PrepareProxyOffV1GatewayOffV1PathOptions6Arguments( + partial void PrepareProxyOffV1GatewayOffV1PathPost6Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1GatewayOffV1PathOptions6Request( + partial void PrepareProxyOffV1GatewayOffV1PathPost6Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1GatewayOffV1PathOptions6Response( + partial void ProcessProxyOffV1GatewayOffV1PathPost6Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1GatewayOffV1PathOptions6ResponseContent( + partial void ProcessProxyOffV1GatewayOffV1PathPost6ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathOptions6Async( + public async global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathPost6Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1GatewayOffV1PathOptions6AsResponseAsync( + var __response = await ProxyOffV1GatewayOffV1PathPost6AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathOptions6AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathPost6AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions6ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1GatewayOffV1PathOptions6Arguments( + PrepareProxyOffV1GatewayOffV1PathPost6Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions6ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1GatewayOffV1PathOptions6SecurityRequirements, - operationName: "ProxyOffV1GatewayOffV1PathOptions6Async"); + securityRequirements: s_ProxyOffV1GatewayOffV1PathPost6SecurityRequirements, + operationName: "ProxyOffV1GatewayOffV1PathPost6Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions6ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1GatewayOffV1PathOptions6Request( + PrepareProxyOffV1GatewayOffV1PathPost6Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathOptions6", - methodName: "ProxyOffV1GatewayOffV1PathOptions6Async", + operationId: "ProxyOffV1GatewayOffV1PathPost6", + methodName: "ProxyOffV1GatewayOffV1PathPost6Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathOptions6", - methodName: "ProxyOffV1GatewayOffV1PathOptions6Async", + operationId: "ProxyOffV1GatewayOffV1PathPost6", + methodName: "ProxyOffV1GatewayOffV1PathPost6Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathOptions6", - methodName: "ProxyOffV1GatewayOffV1PathOptions6Async", + operationId: "ProxyOffV1GatewayOffV1PathPost6", + methodName: "ProxyOffV1GatewayOffV1PathPost6Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions6ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1GatewayOffV1PathOptions6Response( + ProcessProxyOffV1GatewayOffV1PathPost6Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathOptions6", - methodName: "ProxyOffV1GatewayOffV1PathOptions6Async", + operationId: "ProxyOffV1GatewayOffV1PathPost6", + methodName: "ProxyOffV1GatewayOffV1PathPost6Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathOptions6", - methodName: "ProxyOffV1GatewayOffV1PathOptions6Async", + operationId: "ProxyOffV1GatewayOffV1PathPost6", + methodName: "ProxyOffV1GatewayOffV1PathPost6Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathOptions6ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1GatewayOffV1PathOptions6ResponseContent( + ProcessProxyOffV1GatewayOffV1PathPost6ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPost.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPost.g.cs index ec5673ac..24285cf4 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPost.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathOptionsSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathPostSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathOptionsSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathPostSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1TokenwiseOffV1PathOptionsSecurityRequirement0, + { s_ProxyOffV1TokenwiseOffV1PathPostSecurityRequirement0, }; - partial void PrepareProxyOffV1TokenwiseOffV1PathOptionsArguments( + partial void PrepareProxyOffV1TokenwiseOffV1PathPostArguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1TokenwiseOffV1PathOptionsRequest( + partial void PrepareProxyOffV1TokenwiseOffV1PathPostRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1TokenwiseOffV1PathOptionsResponse( + partial void ProcessProxyOffV1TokenwiseOffV1PathPostResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1TokenwiseOffV1PathOptionsResponseContent( + partial void ProcessProxyOffV1TokenwiseOffV1PathPostResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptionsResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathOptionsAsync( + public async global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathPostAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1TokenwiseOffV1PathOptionsAsResponseAsync( + var __response = await ProxyOffV1TokenwiseOffV1PathPostAsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptionsResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathOptionsAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathPostAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptionsResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1TokenwiseOffV1PathOptionsArguments( + PrepareProxyOffV1TokenwiseOffV1PathPostArguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptionsResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1TokenwiseOffV1PathOptionsSecurityRequirements, - operationName: "ProxyOffV1TokenwiseOffV1PathOptionsAsync"); + securityRequirements: s_ProxyOffV1TokenwiseOffV1PathPostSecurityRequirements, + operationName: "ProxyOffV1TokenwiseOffV1PathPostAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptionsResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1TokenwiseOffV1PathOptionsRequest( + PrepareProxyOffV1TokenwiseOffV1PathPostRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathOptions", - methodName: "ProxyOffV1TokenwiseOffV1PathOptionsAsync", + operationId: "ProxyOffV1TokenwiseOffV1PathPost", + methodName: "ProxyOffV1TokenwiseOffV1PathPostAsync", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathOptions", - methodName: "ProxyOffV1TokenwiseOffV1PathOptionsAsync", + operationId: "ProxyOffV1TokenwiseOffV1PathPost", + methodName: "ProxyOffV1TokenwiseOffV1PathPostAsync", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathOptions", - methodName: "ProxyOffV1TokenwiseOffV1PathOptionsAsync", + operationId: "ProxyOffV1TokenwiseOffV1PathPost", + methodName: "ProxyOffV1TokenwiseOffV1PathPostAsync", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptionsResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1TokenwiseOffV1PathOptionsResponse( + ProcessProxyOffV1TokenwiseOffV1PathPostResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathOptions", - methodName: "ProxyOffV1TokenwiseOffV1PathOptionsAsync", + operationId: "ProxyOffV1TokenwiseOffV1PathPost", + methodName: "ProxyOffV1TokenwiseOffV1PathPostAsync", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathOptions", - methodName: "ProxyOffV1TokenwiseOffV1PathOptionsAsync", + operationId: "ProxyOffV1TokenwiseOffV1PathPost", + methodName: "ProxyOffV1TokenwiseOffV1PathPostAsync", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptionsResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1TokenwiseOffV1PathOptionsResponseContent( + ProcessProxyOffV1TokenwiseOffV1PathPostResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPost2.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPost2.g.cs index 00dc1055..0a8b700a 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPost2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathOptions2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathPost2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathOptions2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathPost2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1TokenwiseOffV1PathOptions2SecurityRequirement0, + { s_ProxyOffV1TokenwiseOffV1PathPost2SecurityRequirement0, }; - partial void PrepareProxyOffV1TokenwiseOffV1PathOptions2Arguments( + partial void PrepareProxyOffV1TokenwiseOffV1PathPost2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1TokenwiseOffV1PathOptions2Request( + partial void PrepareProxyOffV1TokenwiseOffV1PathPost2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1TokenwiseOffV1PathOptions2Response( + partial void ProcessProxyOffV1TokenwiseOffV1PathPost2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1TokenwiseOffV1PathOptions2ResponseContent( + partial void ProcessProxyOffV1TokenwiseOffV1PathPost2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathOptions2Async( + public async global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathPost2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1TokenwiseOffV1PathOptions2AsResponseAsync( + var __response = await ProxyOffV1TokenwiseOffV1PathPost2AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathOptions2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathPost2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions2ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1TokenwiseOffV1PathOptions2Arguments( + PrepareProxyOffV1TokenwiseOffV1PathPost2Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions2ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1TokenwiseOffV1PathOptions2SecurityRequirements, - operationName: "ProxyOffV1TokenwiseOffV1PathOptions2Async"); + securityRequirements: s_ProxyOffV1TokenwiseOffV1PathPost2SecurityRequirements, + operationName: "ProxyOffV1TokenwiseOffV1PathPost2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1TokenwiseOffV1PathOptions2Request( + PrepareProxyOffV1TokenwiseOffV1PathPost2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathOptions2", - methodName: "ProxyOffV1TokenwiseOffV1PathOptions2Async", + operationId: "ProxyOffV1TokenwiseOffV1PathPost2", + methodName: "ProxyOffV1TokenwiseOffV1PathPost2Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathOptions2", - methodName: "ProxyOffV1TokenwiseOffV1PathOptions2Async", + operationId: "ProxyOffV1TokenwiseOffV1PathPost2", + methodName: "ProxyOffV1TokenwiseOffV1PathPost2Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathOptions2", - methodName: "ProxyOffV1TokenwiseOffV1PathOptions2Async", + operationId: "ProxyOffV1TokenwiseOffV1PathPost2", + methodName: "ProxyOffV1TokenwiseOffV1PathPost2Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1TokenwiseOffV1PathOptions2Response( + ProcessProxyOffV1TokenwiseOffV1PathPost2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathOptions2", - methodName: "ProxyOffV1TokenwiseOffV1PathOptions2Async", + operationId: "ProxyOffV1TokenwiseOffV1PathPost2", + methodName: "ProxyOffV1TokenwiseOffV1PathPost2Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathOptions2", - methodName: "ProxyOffV1TokenwiseOffV1PathOptions2Async", + operationId: "ProxyOffV1TokenwiseOffV1PathPost2", + methodName: "ProxyOffV1TokenwiseOffV1PathPost2Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1TokenwiseOffV1PathOptions2ResponseContent( + ProcessProxyOffV1TokenwiseOffV1PathPost2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPost3.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPost3.g.cs index 05ceb871..c19ac10c 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPost3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathOptions3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathPost3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathOptions3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathPost3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1TokenwiseOffV1PathOptions3SecurityRequirement0, + { s_ProxyOffV1TokenwiseOffV1PathPost3SecurityRequirement0, }; - partial void PrepareProxyOffV1TokenwiseOffV1PathOptions3Arguments( + partial void PrepareProxyOffV1TokenwiseOffV1PathPost3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1TokenwiseOffV1PathOptions3Request( + partial void PrepareProxyOffV1TokenwiseOffV1PathPost3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1TokenwiseOffV1PathOptions3Response( + partial void ProcessProxyOffV1TokenwiseOffV1PathPost3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1TokenwiseOffV1PathOptions3ResponseContent( + partial void ProcessProxyOffV1TokenwiseOffV1PathPost3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathOptions3Async( + public async global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathPost3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1TokenwiseOffV1PathOptions3AsResponseAsync( + var __response = await ProxyOffV1TokenwiseOffV1PathPost3AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathOptions3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathPost3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions3ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1TokenwiseOffV1PathOptions3Arguments( + PrepareProxyOffV1TokenwiseOffV1PathPost3Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions3ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1TokenwiseOffV1PathOptions3SecurityRequirements, - operationName: "ProxyOffV1TokenwiseOffV1PathOptions3Async"); + securityRequirements: s_ProxyOffV1TokenwiseOffV1PathPost3SecurityRequirements, + operationName: "ProxyOffV1TokenwiseOffV1PathPost3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1TokenwiseOffV1PathOptions3Request( + PrepareProxyOffV1TokenwiseOffV1PathPost3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathOptions3", - methodName: "ProxyOffV1TokenwiseOffV1PathOptions3Async", + operationId: "ProxyOffV1TokenwiseOffV1PathPost3", + methodName: "ProxyOffV1TokenwiseOffV1PathPost3Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathOptions3", - methodName: "ProxyOffV1TokenwiseOffV1PathOptions3Async", + operationId: "ProxyOffV1TokenwiseOffV1PathPost3", + methodName: "ProxyOffV1TokenwiseOffV1PathPost3Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathOptions3", - methodName: "ProxyOffV1TokenwiseOffV1PathOptions3Async", + operationId: "ProxyOffV1TokenwiseOffV1PathPost3", + methodName: "ProxyOffV1TokenwiseOffV1PathPost3Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1TokenwiseOffV1PathOptions3Response( + ProcessProxyOffV1TokenwiseOffV1PathPost3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathOptions3", - methodName: "ProxyOffV1TokenwiseOffV1PathOptions3Async", + operationId: "ProxyOffV1TokenwiseOffV1PathPost3", + methodName: "ProxyOffV1TokenwiseOffV1PathPost3Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathOptions3", - methodName: "ProxyOffV1TokenwiseOffV1PathOptions3Async", + operationId: "ProxyOffV1TokenwiseOffV1PathPost3", + methodName: "ProxyOffV1TokenwiseOffV1PathPost3Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1TokenwiseOffV1PathOptions3ResponseContent( + ProcessProxyOffV1TokenwiseOffV1PathPost3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPost4.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPost4.g.cs index 964e58b5..370e2c44 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPost4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathOptions4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathPost4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathOptions4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathPost4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1TokenwiseOffV1PathOptions4SecurityRequirement0, + { s_ProxyOffV1TokenwiseOffV1PathPost4SecurityRequirement0, }; - partial void PrepareProxyOffV1TokenwiseOffV1PathOptions4Arguments( + partial void PrepareProxyOffV1TokenwiseOffV1PathPost4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1TokenwiseOffV1PathOptions4Request( + partial void PrepareProxyOffV1TokenwiseOffV1PathPost4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1TokenwiseOffV1PathOptions4Response( + partial void ProcessProxyOffV1TokenwiseOffV1PathPost4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1TokenwiseOffV1PathOptions4ResponseContent( + partial void ProcessProxyOffV1TokenwiseOffV1PathPost4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathOptions4Async( + public async global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathPost4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1TokenwiseOffV1PathOptions4AsResponseAsync( + var __response = await ProxyOffV1TokenwiseOffV1PathPost4AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathOptions4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathPost4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions4ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1TokenwiseOffV1PathOptions4Arguments( + PrepareProxyOffV1TokenwiseOffV1PathPost4Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions4ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1TokenwiseOffV1PathOptions4SecurityRequirements, - operationName: "ProxyOffV1TokenwiseOffV1PathOptions4Async"); + securityRequirements: s_ProxyOffV1TokenwiseOffV1PathPost4SecurityRequirements, + operationName: "ProxyOffV1TokenwiseOffV1PathPost4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1TokenwiseOffV1PathOptions4Request( + PrepareProxyOffV1TokenwiseOffV1PathPost4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathOptions4", - methodName: "ProxyOffV1TokenwiseOffV1PathOptions4Async", + operationId: "ProxyOffV1TokenwiseOffV1PathPost4", + methodName: "ProxyOffV1TokenwiseOffV1PathPost4Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathOptions4", - methodName: "ProxyOffV1TokenwiseOffV1PathOptions4Async", + operationId: "ProxyOffV1TokenwiseOffV1PathPost4", + methodName: "ProxyOffV1TokenwiseOffV1PathPost4Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathOptions4", - methodName: "ProxyOffV1TokenwiseOffV1PathOptions4Async", + operationId: "ProxyOffV1TokenwiseOffV1PathPost4", + methodName: "ProxyOffV1TokenwiseOffV1PathPost4Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1TokenwiseOffV1PathOptions4Response( + ProcessProxyOffV1TokenwiseOffV1PathPost4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathOptions4", - methodName: "ProxyOffV1TokenwiseOffV1PathOptions4Async", + operationId: "ProxyOffV1TokenwiseOffV1PathPost4", + methodName: "ProxyOffV1TokenwiseOffV1PathPost4Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathOptions4", - methodName: "ProxyOffV1TokenwiseOffV1PathOptions4Async", + operationId: "ProxyOffV1TokenwiseOffV1PathPost4", + methodName: "ProxyOffV1TokenwiseOffV1PathPost4Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1TokenwiseOffV1PathOptions4ResponseContent( + ProcessProxyOffV1TokenwiseOffV1PathPost4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPost5.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPost5.g.cs index 1fd95adf..209933a7 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPost5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathOptions5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathPost5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathOptions5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathPost5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1TokenwiseOffV1PathOptions5SecurityRequirement0, + { s_ProxyOffV1TokenwiseOffV1PathPost5SecurityRequirement0, }; - partial void PrepareProxyOffV1TokenwiseOffV1PathOptions5Arguments( + partial void PrepareProxyOffV1TokenwiseOffV1PathPost5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1TokenwiseOffV1PathOptions5Request( + partial void PrepareProxyOffV1TokenwiseOffV1PathPost5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1TokenwiseOffV1PathOptions5Response( + partial void ProcessProxyOffV1TokenwiseOffV1PathPost5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1TokenwiseOffV1PathOptions5ResponseContent( + partial void ProcessProxyOffV1TokenwiseOffV1PathPost5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathOptions5Async( + public async global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathPost5Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1TokenwiseOffV1PathOptions5AsResponseAsync( + var __response = await ProxyOffV1TokenwiseOffV1PathPost5AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathOptions5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathPost5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions5ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1TokenwiseOffV1PathOptions5Arguments( + PrepareProxyOffV1TokenwiseOffV1PathPost5Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions5ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1TokenwiseOffV1PathOptions5SecurityRequirements, - operationName: "ProxyOffV1TokenwiseOffV1PathOptions5Async"); + securityRequirements: s_ProxyOffV1TokenwiseOffV1PathPost5SecurityRequirements, + operationName: "ProxyOffV1TokenwiseOffV1PathPost5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1TokenwiseOffV1PathOptions5Request( + PrepareProxyOffV1TokenwiseOffV1PathPost5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathOptions5", - methodName: "ProxyOffV1TokenwiseOffV1PathOptions5Async", + operationId: "ProxyOffV1TokenwiseOffV1PathPost5", + methodName: "ProxyOffV1TokenwiseOffV1PathPost5Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathOptions5", - methodName: "ProxyOffV1TokenwiseOffV1PathOptions5Async", + operationId: "ProxyOffV1TokenwiseOffV1PathPost5", + methodName: "ProxyOffV1TokenwiseOffV1PathPost5Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathOptions5", - methodName: "ProxyOffV1TokenwiseOffV1PathOptions5Async", + operationId: "ProxyOffV1TokenwiseOffV1PathPost5", + methodName: "ProxyOffV1TokenwiseOffV1PathPost5Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1TokenwiseOffV1PathOptions5Response( + ProcessProxyOffV1TokenwiseOffV1PathPost5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathOptions5", - methodName: "ProxyOffV1TokenwiseOffV1PathOptions5Async", + operationId: "ProxyOffV1TokenwiseOffV1PathPost5", + methodName: "ProxyOffV1TokenwiseOffV1PathPost5Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathOptions5", - methodName: "ProxyOffV1TokenwiseOffV1PathOptions5Async", + operationId: "ProxyOffV1TokenwiseOffV1PathPost5", + methodName: "ProxyOffV1TokenwiseOffV1PathPost5Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1TokenwiseOffV1PathOptions5ResponseContent( + ProcessProxyOffV1TokenwiseOffV1PathPost5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions6.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPost6.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions6.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPost6.g.cs index a80d52ae..7d713e7e 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions6.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathPost6.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathOptions6SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathPost6SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathOptions6SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathPost6SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1TokenwiseOffV1PathOptions6SecurityRequirement0, + { s_ProxyOffV1TokenwiseOffV1PathPost6SecurityRequirement0, }; - partial void PrepareProxyOffV1TokenwiseOffV1PathOptions6Arguments( + partial void PrepareProxyOffV1TokenwiseOffV1PathPost6Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1TokenwiseOffV1PathOptions6Request( + partial void PrepareProxyOffV1TokenwiseOffV1PathPost6Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1TokenwiseOffV1PathOptions6Response( + partial void ProcessProxyOffV1TokenwiseOffV1PathPost6Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1TokenwiseOffV1PathOptions6ResponseContent( + partial void ProcessProxyOffV1TokenwiseOffV1PathPost6ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathOptions6Async( + public async global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathPost6Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1TokenwiseOffV1PathOptions6AsResponseAsync( + var __response = await ProxyOffV1TokenwiseOffV1PathPost6AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathOptions6AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathPost6AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions6ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1TokenwiseOffV1PathOptions6Arguments( + PrepareProxyOffV1TokenwiseOffV1PathPost6Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions6ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1TokenwiseOffV1PathOptions6SecurityRequirements, - operationName: "ProxyOffV1TokenwiseOffV1PathOptions6Async"); + securityRequirements: s_ProxyOffV1TokenwiseOffV1PathPost6SecurityRequirements, + operationName: "ProxyOffV1TokenwiseOffV1PathPost6Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions6ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1TokenwiseOffV1PathOptions6Request( + PrepareProxyOffV1TokenwiseOffV1PathPost6Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathOptions6", - methodName: "ProxyOffV1TokenwiseOffV1PathOptions6Async", + operationId: "ProxyOffV1TokenwiseOffV1PathPost6", + methodName: "ProxyOffV1TokenwiseOffV1PathPost6Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathOptions6", - methodName: "ProxyOffV1TokenwiseOffV1PathOptions6Async", + operationId: "ProxyOffV1TokenwiseOffV1PathPost6", + methodName: "ProxyOffV1TokenwiseOffV1PathPost6Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathOptions6", - methodName: "ProxyOffV1TokenwiseOffV1PathOptions6Async", + operationId: "ProxyOffV1TokenwiseOffV1PathPost6", + methodName: "ProxyOffV1TokenwiseOffV1PathPost6Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions6ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1TokenwiseOffV1PathOptions6Response( + ProcessProxyOffV1TokenwiseOffV1PathPost6Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathOptions6", - methodName: "ProxyOffV1TokenwiseOffV1PathOptions6Async", + operationId: "ProxyOffV1TokenwiseOffV1PathPost6", + methodName: "ProxyOffV1TokenwiseOffV1PathPost6Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathOptions6", - methodName: "ProxyOffV1TokenwiseOffV1PathOptions6Async", + operationId: "ProxyOffV1TokenwiseOffV1PathPost6", + methodName: "ProxyOffV1TokenwiseOffV1PathPost6Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathOptions6ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1TokenwiseOffV1PathOptions6ResponseContent( + ProcessProxyOffV1TokenwiseOffV1PathPost6ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPost.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPost.g.cs index b998067a..0a4ab484 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPost.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathOptionsSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathPostSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathOptionsSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathPostSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1GatewayOnV1PathOptionsSecurityRequirement0, + { s_ProxyOnV1GatewayOnV1PathPostSecurityRequirement0, }; - partial void PrepareProxyOnV1GatewayOnV1PathOptionsArguments( + partial void PrepareProxyOnV1GatewayOnV1PathPostArguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1GatewayOnV1PathOptionsRequest( + partial void PrepareProxyOnV1GatewayOnV1PathPostRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1GatewayOnV1PathOptionsResponse( + partial void ProcessProxyOnV1GatewayOnV1PathPostResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1GatewayOnV1PathOptionsResponseContent( + partial void ProcessProxyOnV1GatewayOnV1PathPostResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptionsResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathOptionsAsync( + public async global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathPostAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1GatewayOnV1PathOptionsAsResponseAsync( + var __response = await ProxyOnV1GatewayOnV1PathPostAsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptionsResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathOptionsAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathPostAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptionsResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1GatewayOnV1PathOptionsArguments( + PrepareProxyOnV1GatewayOnV1PathPostArguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptionsResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1GatewayOnV1PathOptionsSecurityRequirements, - operationName: "ProxyOnV1GatewayOnV1PathOptionsAsync"); + securityRequirements: s_ProxyOnV1GatewayOnV1PathPostSecurityRequirements, + operationName: "ProxyOnV1GatewayOnV1PathPostAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptionsResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1GatewayOnV1PathOptionsRequest( + PrepareProxyOnV1GatewayOnV1PathPostRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathOptions", - methodName: "ProxyOnV1GatewayOnV1PathOptionsAsync", + operationId: "ProxyOnV1GatewayOnV1PathPost", + methodName: "ProxyOnV1GatewayOnV1PathPostAsync", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathOptions", - methodName: "ProxyOnV1GatewayOnV1PathOptionsAsync", + operationId: "ProxyOnV1GatewayOnV1PathPost", + methodName: "ProxyOnV1GatewayOnV1PathPostAsync", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathOptions", - methodName: "ProxyOnV1GatewayOnV1PathOptionsAsync", + operationId: "ProxyOnV1GatewayOnV1PathPost", + methodName: "ProxyOnV1GatewayOnV1PathPostAsync", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptionsResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1GatewayOnV1PathOptionsResponse( + ProcessProxyOnV1GatewayOnV1PathPostResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathOptions", - methodName: "ProxyOnV1GatewayOnV1PathOptionsAsync", + operationId: "ProxyOnV1GatewayOnV1PathPost", + methodName: "ProxyOnV1GatewayOnV1PathPostAsync", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathOptions", - methodName: "ProxyOnV1GatewayOnV1PathOptionsAsync", + operationId: "ProxyOnV1GatewayOnV1PathPost", + methodName: "ProxyOnV1GatewayOnV1PathPostAsync", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptionsResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1GatewayOnV1PathOptionsResponseContent( + ProcessProxyOnV1GatewayOnV1PathPostResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPost2.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPost2.g.cs index 193524b2..afcb505f 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPost2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathOptions2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathPost2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathOptions2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathPost2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1GatewayOnV1PathOptions2SecurityRequirement0, + { s_ProxyOnV1GatewayOnV1PathPost2SecurityRequirement0, }; - partial void PrepareProxyOnV1GatewayOnV1PathOptions2Arguments( + partial void PrepareProxyOnV1GatewayOnV1PathPost2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1GatewayOnV1PathOptions2Request( + partial void PrepareProxyOnV1GatewayOnV1PathPost2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1GatewayOnV1PathOptions2Response( + partial void ProcessProxyOnV1GatewayOnV1PathPost2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1GatewayOnV1PathOptions2ResponseContent( + partial void ProcessProxyOnV1GatewayOnV1PathPost2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathOptions2Async( + public async global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathPost2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1GatewayOnV1PathOptions2AsResponseAsync( + var __response = await ProxyOnV1GatewayOnV1PathPost2AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathOptions2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathPost2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions2ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1GatewayOnV1PathOptions2Arguments( + PrepareProxyOnV1GatewayOnV1PathPost2Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions2ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1GatewayOnV1PathOptions2SecurityRequirements, - operationName: "ProxyOnV1GatewayOnV1PathOptions2Async"); + securityRequirements: s_ProxyOnV1GatewayOnV1PathPost2SecurityRequirements, + operationName: "ProxyOnV1GatewayOnV1PathPost2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1GatewayOnV1PathOptions2Request( + PrepareProxyOnV1GatewayOnV1PathPost2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathOptions2", - methodName: "ProxyOnV1GatewayOnV1PathOptions2Async", + operationId: "ProxyOnV1GatewayOnV1PathPost2", + methodName: "ProxyOnV1GatewayOnV1PathPost2Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathOptions2", - methodName: "ProxyOnV1GatewayOnV1PathOptions2Async", + operationId: "ProxyOnV1GatewayOnV1PathPost2", + methodName: "ProxyOnV1GatewayOnV1PathPost2Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathOptions2", - methodName: "ProxyOnV1GatewayOnV1PathOptions2Async", + operationId: "ProxyOnV1GatewayOnV1PathPost2", + methodName: "ProxyOnV1GatewayOnV1PathPost2Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1GatewayOnV1PathOptions2Response( + ProcessProxyOnV1GatewayOnV1PathPost2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathOptions2", - methodName: "ProxyOnV1GatewayOnV1PathOptions2Async", + operationId: "ProxyOnV1GatewayOnV1PathPost2", + methodName: "ProxyOnV1GatewayOnV1PathPost2Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathOptions2", - methodName: "ProxyOnV1GatewayOnV1PathOptions2Async", + operationId: "ProxyOnV1GatewayOnV1PathPost2", + methodName: "ProxyOnV1GatewayOnV1PathPost2Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1GatewayOnV1PathOptions2ResponseContent( + ProcessProxyOnV1GatewayOnV1PathPost2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPost3.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPost3.g.cs index d4583ddb..f17577a7 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPost3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathOptions3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathPost3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathOptions3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathPost3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1GatewayOnV1PathOptions3SecurityRequirement0, + { s_ProxyOnV1GatewayOnV1PathPost3SecurityRequirement0, }; - partial void PrepareProxyOnV1GatewayOnV1PathOptions3Arguments( + partial void PrepareProxyOnV1GatewayOnV1PathPost3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1GatewayOnV1PathOptions3Request( + partial void PrepareProxyOnV1GatewayOnV1PathPost3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1GatewayOnV1PathOptions3Response( + partial void ProcessProxyOnV1GatewayOnV1PathPost3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1GatewayOnV1PathOptions3ResponseContent( + partial void ProcessProxyOnV1GatewayOnV1PathPost3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathOptions3Async( + public async global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathPost3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1GatewayOnV1PathOptions3AsResponseAsync( + var __response = await ProxyOnV1GatewayOnV1PathPost3AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathOptions3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathPost3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions3ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1GatewayOnV1PathOptions3Arguments( + PrepareProxyOnV1GatewayOnV1PathPost3Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions3ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1GatewayOnV1PathOptions3SecurityRequirements, - operationName: "ProxyOnV1GatewayOnV1PathOptions3Async"); + securityRequirements: s_ProxyOnV1GatewayOnV1PathPost3SecurityRequirements, + operationName: "ProxyOnV1GatewayOnV1PathPost3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1GatewayOnV1PathOptions3Request( + PrepareProxyOnV1GatewayOnV1PathPost3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathOptions3", - methodName: "ProxyOnV1GatewayOnV1PathOptions3Async", + operationId: "ProxyOnV1GatewayOnV1PathPost3", + methodName: "ProxyOnV1GatewayOnV1PathPost3Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathOptions3", - methodName: "ProxyOnV1GatewayOnV1PathOptions3Async", + operationId: "ProxyOnV1GatewayOnV1PathPost3", + methodName: "ProxyOnV1GatewayOnV1PathPost3Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathOptions3", - methodName: "ProxyOnV1GatewayOnV1PathOptions3Async", + operationId: "ProxyOnV1GatewayOnV1PathPost3", + methodName: "ProxyOnV1GatewayOnV1PathPost3Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1GatewayOnV1PathOptions3Response( + ProcessProxyOnV1GatewayOnV1PathPost3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathOptions3", - methodName: "ProxyOnV1GatewayOnV1PathOptions3Async", + operationId: "ProxyOnV1GatewayOnV1PathPost3", + methodName: "ProxyOnV1GatewayOnV1PathPost3Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathOptions3", - methodName: "ProxyOnV1GatewayOnV1PathOptions3Async", + operationId: "ProxyOnV1GatewayOnV1PathPost3", + methodName: "ProxyOnV1GatewayOnV1PathPost3Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1GatewayOnV1PathOptions3ResponseContent( + ProcessProxyOnV1GatewayOnV1PathPost3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPost4.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPost4.g.cs index 70445c3e..c3ef81e4 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPost4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathOptions4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathPost4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathOptions4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathPost4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1GatewayOnV1PathOptions4SecurityRequirement0, + { s_ProxyOnV1GatewayOnV1PathPost4SecurityRequirement0, }; - partial void PrepareProxyOnV1GatewayOnV1PathOptions4Arguments( + partial void PrepareProxyOnV1GatewayOnV1PathPost4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1GatewayOnV1PathOptions4Request( + partial void PrepareProxyOnV1GatewayOnV1PathPost4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1GatewayOnV1PathOptions4Response( + partial void ProcessProxyOnV1GatewayOnV1PathPost4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1GatewayOnV1PathOptions4ResponseContent( + partial void ProcessProxyOnV1GatewayOnV1PathPost4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathOptions4Async( + public async global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathPost4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1GatewayOnV1PathOptions4AsResponseAsync( + var __response = await ProxyOnV1GatewayOnV1PathPost4AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathOptions4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathPost4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions4ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1GatewayOnV1PathOptions4Arguments( + PrepareProxyOnV1GatewayOnV1PathPost4Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions4ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1GatewayOnV1PathOptions4SecurityRequirements, - operationName: "ProxyOnV1GatewayOnV1PathOptions4Async"); + securityRequirements: s_ProxyOnV1GatewayOnV1PathPost4SecurityRequirements, + operationName: "ProxyOnV1GatewayOnV1PathPost4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1GatewayOnV1PathOptions4Request( + PrepareProxyOnV1GatewayOnV1PathPost4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathOptions4", - methodName: "ProxyOnV1GatewayOnV1PathOptions4Async", + operationId: "ProxyOnV1GatewayOnV1PathPost4", + methodName: "ProxyOnV1GatewayOnV1PathPost4Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathOptions4", - methodName: "ProxyOnV1GatewayOnV1PathOptions4Async", + operationId: "ProxyOnV1GatewayOnV1PathPost4", + methodName: "ProxyOnV1GatewayOnV1PathPost4Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathOptions4", - methodName: "ProxyOnV1GatewayOnV1PathOptions4Async", + operationId: "ProxyOnV1GatewayOnV1PathPost4", + methodName: "ProxyOnV1GatewayOnV1PathPost4Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1GatewayOnV1PathOptions4Response( + ProcessProxyOnV1GatewayOnV1PathPost4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathOptions4", - methodName: "ProxyOnV1GatewayOnV1PathOptions4Async", + operationId: "ProxyOnV1GatewayOnV1PathPost4", + methodName: "ProxyOnV1GatewayOnV1PathPost4Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathOptions4", - methodName: "ProxyOnV1GatewayOnV1PathOptions4Async", + operationId: "ProxyOnV1GatewayOnV1PathPost4", + methodName: "ProxyOnV1GatewayOnV1PathPost4Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1GatewayOnV1PathOptions4ResponseContent( + ProcessProxyOnV1GatewayOnV1PathPost4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPost5.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPost5.g.cs index 643634d6..a69bd38d 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPost5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathOptions5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathPost5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathOptions5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathPost5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1GatewayOnV1PathOptions5SecurityRequirement0, + { s_ProxyOnV1GatewayOnV1PathPost5SecurityRequirement0, }; - partial void PrepareProxyOnV1GatewayOnV1PathOptions5Arguments( + partial void PrepareProxyOnV1GatewayOnV1PathPost5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1GatewayOnV1PathOptions5Request( + partial void PrepareProxyOnV1GatewayOnV1PathPost5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1GatewayOnV1PathOptions5Response( + partial void ProcessProxyOnV1GatewayOnV1PathPost5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1GatewayOnV1PathOptions5ResponseContent( + partial void ProcessProxyOnV1GatewayOnV1PathPost5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathOptions5Async( + public async global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathPost5Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1GatewayOnV1PathOptions5AsResponseAsync( + var __response = await ProxyOnV1GatewayOnV1PathPost5AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathOptions5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathPost5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions5ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1GatewayOnV1PathOptions5Arguments( + PrepareProxyOnV1GatewayOnV1PathPost5Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions5ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1GatewayOnV1PathOptions5SecurityRequirements, - operationName: "ProxyOnV1GatewayOnV1PathOptions5Async"); + securityRequirements: s_ProxyOnV1GatewayOnV1PathPost5SecurityRequirements, + operationName: "ProxyOnV1GatewayOnV1PathPost5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1GatewayOnV1PathOptions5Request( + PrepareProxyOnV1GatewayOnV1PathPost5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathOptions5", - methodName: "ProxyOnV1GatewayOnV1PathOptions5Async", + operationId: "ProxyOnV1GatewayOnV1PathPost5", + methodName: "ProxyOnV1GatewayOnV1PathPost5Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathOptions5", - methodName: "ProxyOnV1GatewayOnV1PathOptions5Async", + operationId: "ProxyOnV1GatewayOnV1PathPost5", + methodName: "ProxyOnV1GatewayOnV1PathPost5Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathOptions5", - methodName: "ProxyOnV1GatewayOnV1PathOptions5Async", + operationId: "ProxyOnV1GatewayOnV1PathPost5", + methodName: "ProxyOnV1GatewayOnV1PathPost5Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1GatewayOnV1PathOptions5Response( + ProcessProxyOnV1GatewayOnV1PathPost5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathOptions5", - methodName: "ProxyOnV1GatewayOnV1PathOptions5Async", + operationId: "ProxyOnV1GatewayOnV1PathPost5", + methodName: "ProxyOnV1GatewayOnV1PathPost5Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathOptions5", - methodName: "ProxyOnV1GatewayOnV1PathOptions5Async", + operationId: "ProxyOnV1GatewayOnV1PathPost5", + methodName: "ProxyOnV1GatewayOnV1PathPost5Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1GatewayOnV1PathOptions5ResponseContent( + ProcessProxyOnV1GatewayOnV1PathPost5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions6.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPost6.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions6.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPost6.g.cs index a08ec7c1..3abb36b6 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions6.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathPost6.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathOptions6SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathPost6SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathOptions6SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathPost6SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1GatewayOnV1PathOptions6SecurityRequirement0, + { s_ProxyOnV1GatewayOnV1PathPost6SecurityRequirement0, }; - partial void PrepareProxyOnV1GatewayOnV1PathOptions6Arguments( + partial void PrepareProxyOnV1GatewayOnV1PathPost6Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1GatewayOnV1PathOptions6Request( + partial void PrepareProxyOnV1GatewayOnV1PathPost6Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1GatewayOnV1PathOptions6Response( + partial void ProcessProxyOnV1GatewayOnV1PathPost6Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1GatewayOnV1PathOptions6ResponseContent( + partial void ProcessProxyOnV1GatewayOnV1PathPost6ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathOptions6Async( + public async global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathPost6Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1GatewayOnV1PathOptions6AsResponseAsync( + var __response = await ProxyOnV1GatewayOnV1PathPost6AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathOptions6AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathPost6AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions6ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1GatewayOnV1PathOptions6Arguments( + PrepareProxyOnV1GatewayOnV1PathPost6Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions6ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1GatewayOnV1PathOptions6SecurityRequirements, - operationName: "ProxyOnV1GatewayOnV1PathOptions6Async"); + securityRequirements: s_ProxyOnV1GatewayOnV1PathPost6SecurityRequirements, + operationName: "ProxyOnV1GatewayOnV1PathPost6Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions6ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1GatewayOnV1PathOptions6Request( + PrepareProxyOnV1GatewayOnV1PathPost6Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathOptions6", - methodName: "ProxyOnV1GatewayOnV1PathOptions6Async", + operationId: "ProxyOnV1GatewayOnV1PathPost6", + methodName: "ProxyOnV1GatewayOnV1PathPost6Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathOptions6", - methodName: "ProxyOnV1GatewayOnV1PathOptions6Async", + operationId: "ProxyOnV1GatewayOnV1PathPost6", + methodName: "ProxyOnV1GatewayOnV1PathPost6Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathOptions6", - methodName: "ProxyOnV1GatewayOnV1PathOptions6Async", + operationId: "ProxyOnV1GatewayOnV1PathPost6", + methodName: "ProxyOnV1GatewayOnV1PathPost6Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions6ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1GatewayOnV1PathOptions6Response( + ProcessProxyOnV1GatewayOnV1PathPost6Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathOptions6", - methodName: "ProxyOnV1GatewayOnV1PathOptions6Async", + operationId: "ProxyOnV1GatewayOnV1PathPost6", + methodName: "ProxyOnV1GatewayOnV1PathPost6Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathOptions6", - methodName: "ProxyOnV1GatewayOnV1PathOptions6Async", + operationId: "ProxyOnV1GatewayOnV1PathPost6", + methodName: "ProxyOnV1GatewayOnV1PathPost6Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathOptions6ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1GatewayOnV1PathOptions6ResponseContent( + ProcessProxyOnV1GatewayOnV1PathPost6ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPost.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPost.g.cs index 4dadcf63..c761ba6a 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPost.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathOptionsSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathPostSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathOptionsSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathPostSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1TokenwiseOnV1PathOptionsSecurityRequirement0, + { s_ProxyOnV1TokenwiseOnV1PathPostSecurityRequirement0, }; - partial void PrepareProxyOnV1TokenwiseOnV1PathOptionsArguments( + partial void PrepareProxyOnV1TokenwiseOnV1PathPostArguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1TokenwiseOnV1PathOptionsRequest( + partial void PrepareProxyOnV1TokenwiseOnV1PathPostRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1TokenwiseOnV1PathOptionsResponse( + partial void ProcessProxyOnV1TokenwiseOnV1PathPostResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1TokenwiseOnV1PathOptionsResponseContent( + partial void ProcessProxyOnV1TokenwiseOnV1PathPostResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptionsResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathOptionsAsync( + public async global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathPostAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1TokenwiseOnV1PathOptionsAsResponseAsync( + var __response = await ProxyOnV1TokenwiseOnV1PathPostAsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptionsResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathOptionsAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathPostAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptionsResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1TokenwiseOnV1PathOptionsArguments( + PrepareProxyOnV1TokenwiseOnV1PathPostArguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptionsResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1TokenwiseOnV1PathOptionsSecurityRequirements, - operationName: "ProxyOnV1TokenwiseOnV1PathOptionsAsync"); + securityRequirements: s_ProxyOnV1TokenwiseOnV1PathPostSecurityRequirements, + operationName: "ProxyOnV1TokenwiseOnV1PathPostAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptionsResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1TokenwiseOnV1PathOptionsRequest( + PrepareProxyOnV1TokenwiseOnV1PathPostRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathOptions", - methodName: "ProxyOnV1TokenwiseOnV1PathOptionsAsync", + operationId: "ProxyOnV1TokenwiseOnV1PathPost", + methodName: "ProxyOnV1TokenwiseOnV1PathPostAsync", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathOptions", - methodName: "ProxyOnV1TokenwiseOnV1PathOptionsAsync", + operationId: "ProxyOnV1TokenwiseOnV1PathPost", + methodName: "ProxyOnV1TokenwiseOnV1PathPostAsync", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathOptions", - methodName: "ProxyOnV1TokenwiseOnV1PathOptionsAsync", + operationId: "ProxyOnV1TokenwiseOnV1PathPost", + methodName: "ProxyOnV1TokenwiseOnV1PathPostAsync", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptionsResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1TokenwiseOnV1PathOptionsResponse( + ProcessProxyOnV1TokenwiseOnV1PathPostResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathOptions", - methodName: "ProxyOnV1TokenwiseOnV1PathOptionsAsync", + operationId: "ProxyOnV1TokenwiseOnV1PathPost", + methodName: "ProxyOnV1TokenwiseOnV1PathPostAsync", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathOptions", - methodName: "ProxyOnV1TokenwiseOnV1PathOptionsAsync", + operationId: "ProxyOnV1TokenwiseOnV1PathPost", + methodName: "ProxyOnV1TokenwiseOnV1PathPostAsync", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptionsResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1TokenwiseOnV1PathOptionsResponseContent( + ProcessProxyOnV1TokenwiseOnV1PathPostResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPost2.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPost2.g.cs index 139eec1e..93238fe9 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPost2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathOptions2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathPost2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathOptions2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathPost2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1TokenwiseOnV1PathOptions2SecurityRequirement0, + { s_ProxyOnV1TokenwiseOnV1PathPost2SecurityRequirement0, }; - partial void PrepareProxyOnV1TokenwiseOnV1PathOptions2Arguments( + partial void PrepareProxyOnV1TokenwiseOnV1PathPost2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1TokenwiseOnV1PathOptions2Request( + partial void PrepareProxyOnV1TokenwiseOnV1PathPost2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1TokenwiseOnV1PathOptions2Response( + partial void ProcessProxyOnV1TokenwiseOnV1PathPost2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1TokenwiseOnV1PathOptions2ResponseContent( + partial void ProcessProxyOnV1TokenwiseOnV1PathPost2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathOptions2Async( + public async global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathPost2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1TokenwiseOnV1PathOptions2AsResponseAsync( + var __response = await ProxyOnV1TokenwiseOnV1PathPost2AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathOptions2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathPost2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions2ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1TokenwiseOnV1PathOptions2Arguments( + PrepareProxyOnV1TokenwiseOnV1PathPost2Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions2ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1TokenwiseOnV1PathOptions2SecurityRequirements, - operationName: "ProxyOnV1TokenwiseOnV1PathOptions2Async"); + securityRequirements: s_ProxyOnV1TokenwiseOnV1PathPost2SecurityRequirements, + operationName: "ProxyOnV1TokenwiseOnV1PathPost2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1TokenwiseOnV1PathOptions2Request( + PrepareProxyOnV1TokenwiseOnV1PathPost2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathOptions2", - methodName: "ProxyOnV1TokenwiseOnV1PathOptions2Async", + operationId: "ProxyOnV1TokenwiseOnV1PathPost2", + methodName: "ProxyOnV1TokenwiseOnV1PathPost2Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathOptions2", - methodName: "ProxyOnV1TokenwiseOnV1PathOptions2Async", + operationId: "ProxyOnV1TokenwiseOnV1PathPost2", + methodName: "ProxyOnV1TokenwiseOnV1PathPost2Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathOptions2", - methodName: "ProxyOnV1TokenwiseOnV1PathOptions2Async", + operationId: "ProxyOnV1TokenwiseOnV1PathPost2", + methodName: "ProxyOnV1TokenwiseOnV1PathPost2Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1TokenwiseOnV1PathOptions2Response( + ProcessProxyOnV1TokenwiseOnV1PathPost2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathOptions2", - methodName: "ProxyOnV1TokenwiseOnV1PathOptions2Async", + operationId: "ProxyOnV1TokenwiseOnV1PathPost2", + methodName: "ProxyOnV1TokenwiseOnV1PathPost2Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathOptions2", - methodName: "ProxyOnV1TokenwiseOnV1PathOptions2Async", + operationId: "ProxyOnV1TokenwiseOnV1PathPost2", + methodName: "ProxyOnV1TokenwiseOnV1PathPost2Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1TokenwiseOnV1PathOptions2ResponseContent( + ProcessProxyOnV1TokenwiseOnV1PathPost2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPost3.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPost3.g.cs index 970d3bb6..3c2f39f7 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPost3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathOptions3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathPost3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathOptions3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathPost3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1TokenwiseOnV1PathOptions3SecurityRequirement0, + { s_ProxyOnV1TokenwiseOnV1PathPost3SecurityRequirement0, }; - partial void PrepareProxyOnV1TokenwiseOnV1PathOptions3Arguments( + partial void PrepareProxyOnV1TokenwiseOnV1PathPost3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1TokenwiseOnV1PathOptions3Request( + partial void PrepareProxyOnV1TokenwiseOnV1PathPost3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1TokenwiseOnV1PathOptions3Response( + partial void ProcessProxyOnV1TokenwiseOnV1PathPost3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1TokenwiseOnV1PathOptions3ResponseContent( + partial void ProcessProxyOnV1TokenwiseOnV1PathPost3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathOptions3Async( + public async global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathPost3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1TokenwiseOnV1PathOptions3AsResponseAsync( + var __response = await ProxyOnV1TokenwiseOnV1PathPost3AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathOptions3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathPost3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions3ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1TokenwiseOnV1PathOptions3Arguments( + PrepareProxyOnV1TokenwiseOnV1PathPost3Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions3ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1TokenwiseOnV1PathOptions3SecurityRequirements, - operationName: "ProxyOnV1TokenwiseOnV1PathOptions3Async"); + securityRequirements: s_ProxyOnV1TokenwiseOnV1PathPost3SecurityRequirements, + operationName: "ProxyOnV1TokenwiseOnV1PathPost3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1TokenwiseOnV1PathOptions3Request( + PrepareProxyOnV1TokenwiseOnV1PathPost3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathOptions3", - methodName: "ProxyOnV1TokenwiseOnV1PathOptions3Async", + operationId: "ProxyOnV1TokenwiseOnV1PathPost3", + methodName: "ProxyOnV1TokenwiseOnV1PathPost3Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathOptions3", - methodName: "ProxyOnV1TokenwiseOnV1PathOptions3Async", + operationId: "ProxyOnV1TokenwiseOnV1PathPost3", + methodName: "ProxyOnV1TokenwiseOnV1PathPost3Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathOptions3", - methodName: "ProxyOnV1TokenwiseOnV1PathOptions3Async", + operationId: "ProxyOnV1TokenwiseOnV1PathPost3", + methodName: "ProxyOnV1TokenwiseOnV1PathPost3Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1TokenwiseOnV1PathOptions3Response( + ProcessProxyOnV1TokenwiseOnV1PathPost3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathOptions3", - methodName: "ProxyOnV1TokenwiseOnV1PathOptions3Async", + operationId: "ProxyOnV1TokenwiseOnV1PathPost3", + methodName: "ProxyOnV1TokenwiseOnV1PathPost3Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathOptions3", - methodName: "ProxyOnV1TokenwiseOnV1PathOptions3Async", + operationId: "ProxyOnV1TokenwiseOnV1PathPost3", + methodName: "ProxyOnV1TokenwiseOnV1PathPost3Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1TokenwiseOnV1PathOptions3ResponseContent( + ProcessProxyOnV1TokenwiseOnV1PathPost3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPost4.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPost4.g.cs index 7ddd3c5a..08297ba2 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPost4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathOptions4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathPost4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathOptions4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathPost4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1TokenwiseOnV1PathOptions4SecurityRequirement0, + { s_ProxyOnV1TokenwiseOnV1PathPost4SecurityRequirement0, }; - partial void PrepareProxyOnV1TokenwiseOnV1PathOptions4Arguments( + partial void PrepareProxyOnV1TokenwiseOnV1PathPost4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1TokenwiseOnV1PathOptions4Request( + partial void PrepareProxyOnV1TokenwiseOnV1PathPost4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1TokenwiseOnV1PathOptions4Response( + partial void ProcessProxyOnV1TokenwiseOnV1PathPost4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1TokenwiseOnV1PathOptions4ResponseContent( + partial void ProcessProxyOnV1TokenwiseOnV1PathPost4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathOptions4Async( + public async global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathPost4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1TokenwiseOnV1PathOptions4AsResponseAsync( + var __response = await ProxyOnV1TokenwiseOnV1PathPost4AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathOptions4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathPost4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions4ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1TokenwiseOnV1PathOptions4Arguments( + PrepareProxyOnV1TokenwiseOnV1PathPost4Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions4ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1TokenwiseOnV1PathOptions4SecurityRequirements, - operationName: "ProxyOnV1TokenwiseOnV1PathOptions4Async"); + securityRequirements: s_ProxyOnV1TokenwiseOnV1PathPost4SecurityRequirements, + operationName: "ProxyOnV1TokenwiseOnV1PathPost4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1TokenwiseOnV1PathOptions4Request( + PrepareProxyOnV1TokenwiseOnV1PathPost4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathOptions4", - methodName: "ProxyOnV1TokenwiseOnV1PathOptions4Async", + operationId: "ProxyOnV1TokenwiseOnV1PathPost4", + methodName: "ProxyOnV1TokenwiseOnV1PathPost4Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathOptions4", - methodName: "ProxyOnV1TokenwiseOnV1PathOptions4Async", + operationId: "ProxyOnV1TokenwiseOnV1PathPost4", + methodName: "ProxyOnV1TokenwiseOnV1PathPost4Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathOptions4", - methodName: "ProxyOnV1TokenwiseOnV1PathOptions4Async", + operationId: "ProxyOnV1TokenwiseOnV1PathPost4", + methodName: "ProxyOnV1TokenwiseOnV1PathPost4Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1TokenwiseOnV1PathOptions4Response( + ProcessProxyOnV1TokenwiseOnV1PathPost4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathOptions4", - methodName: "ProxyOnV1TokenwiseOnV1PathOptions4Async", + operationId: "ProxyOnV1TokenwiseOnV1PathPost4", + methodName: "ProxyOnV1TokenwiseOnV1PathPost4Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathOptions4", - methodName: "ProxyOnV1TokenwiseOnV1PathOptions4Async", + operationId: "ProxyOnV1TokenwiseOnV1PathPost4", + methodName: "ProxyOnV1TokenwiseOnV1PathPost4Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1TokenwiseOnV1PathOptions4ResponseContent( + ProcessProxyOnV1TokenwiseOnV1PathPost4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPost5.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPost5.g.cs index b80bfc82..f6da69b4 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPost5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathOptions5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathPost5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathOptions5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathPost5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1TokenwiseOnV1PathOptions5SecurityRequirement0, + { s_ProxyOnV1TokenwiseOnV1PathPost5SecurityRequirement0, }; - partial void PrepareProxyOnV1TokenwiseOnV1PathOptions5Arguments( + partial void PrepareProxyOnV1TokenwiseOnV1PathPost5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1TokenwiseOnV1PathOptions5Request( + partial void PrepareProxyOnV1TokenwiseOnV1PathPost5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1TokenwiseOnV1PathOptions5Response( + partial void ProcessProxyOnV1TokenwiseOnV1PathPost5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1TokenwiseOnV1PathOptions5ResponseContent( + partial void ProcessProxyOnV1TokenwiseOnV1PathPost5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathOptions5Async( + public async global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathPost5Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1TokenwiseOnV1PathOptions5AsResponseAsync( + var __response = await ProxyOnV1TokenwiseOnV1PathPost5AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathOptions5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathPost5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions5ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1TokenwiseOnV1PathOptions5Arguments( + PrepareProxyOnV1TokenwiseOnV1PathPost5Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions5ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1TokenwiseOnV1PathOptions5SecurityRequirements, - operationName: "ProxyOnV1TokenwiseOnV1PathOptions5Async"); + securityRequirements: s_ProxyOnV1TokenwiseOnV1PathPost5SecurityRequirements, + operationName: "ProxyOnV1TokenwiseOnV1PathPost5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1TokenwiseOnV1PathOptions5Request( + PrepareProxyOnV1TokenwiseOnV1PathPost5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathOptions5", - methodName: "ProxyOnV1TokenwiseOnV1PathOptions5Async", + operationId: "ProxyOnV1TokenwiseOnV1PathPost5", + methodName: "ProxyOnV1TokenwiseOnV1PathPost5Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathOptions5", - methodName: "ProxyOnV1TokenwiseOnV1PathOptions5Async", + operationId: "ProxyOnV1TokenwiseOnV1PathPost5", + methodName: "ProxyOnV1TokenwiseOnV1PathPost5Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathOptions5", - methodName: "ProxyOnV1TokenwiseOnV1PathOptions5Async", + operationId: "ProxyOnV1TokenwiseOnV1PathPost5", + methodName: "ProxyOnV1TokenwiseOnV1PathPost5Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1TokenwiseOnV1PathOptions5Response( + ProcessProxyOnV1TokenwiseOnV1PathPost5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathOptions5", - methodName: "ProxyOnV1TokenwiseOnV1PathOptions5Async", + operationId: "ProxyOnV1TokenwiseOnV1PathPost5", + methodName: "ProxyOnV1TokenwiseOnV1PathPost5Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathOptions5", - methodName: "ProxyOnV1TokenwiseOnV1PathOptions5Async", + operationId: "ProxyOnV1TokenwiseOnV1PathPost5", + methodName: "ProxyOnV1TokenwiseOnV1PathPost5Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1TokenwiseOnV1PathOptions5ResponseContent( + ProcessProxyOnV1TokenwiseOnV1PathPost5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions6.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPost6.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions6.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPost6.g.cs index d668c6c9..89ad6191 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions6.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathPost6.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathOptions6SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathPost6SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathOptions6SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathPost6SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1TokenwiseOnV1PathOptions6SecurityRequirement0, + { s_ProxyOnV1TokenwiseOnV1PathPost6SecurityRequirement0, }; - partial void PrepareProxyOnV1TokenwiseOnV1PathOptions6Arguments( + partial void PrepareProxyOnV1TokenwiseOnV1PathPost6Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1TokenwiseOnV1PathOptions6Request( + partial void PrepareProxyOnV1TokenwiseOnV1PathPost6Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1TokenwiseOnV1PathOptions6Response( + partial void ProcessProxyOnV1TokenwiseOnV1PathPost6Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1TokenwiseOnV1PathOptions6ResponseContent( + partial void ProcessProxyOnV1TokenwiseOnV1PathPost6ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathOptions6Async( + public async global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathPost6Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1TokenwiseOnV1PathOptions6AsResponseAsync( + var __response = await ProxyOnV1TokenwiseOnV1PathPost6AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathOptions6AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathPost6AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions6ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1TokenwiseOnV1PathOptions6Arguments( + PrepareProxyOnV1TokenwiseOnV1PathPost6Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions6ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1TokenwiseOnV1PathOptions6SecurityRequirements, - operationName: "ProxyOnV1TokenwiseOnV1PathOptions6Async"); + securityRequirements: s_ProxyOnV1TokenwiseOnV1PathPost6SecurityRequirements, + operationName: "ProxyOnV1TokenwiseOnV1PathPost6Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions6ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1TokenwiseOnV1PathOptions6Request( + PrepareProxyOnV1TokenwiseOnV1PathPost6Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathOptions6", - methodName: "ProxyOnV1TokenwiseOnV1PathOptions6Async", + operationId: "ProxyOnV1TokenwiseOnV1PathPost6", + methodName: "ProxyOnV1TokenwiseOnV1PathPost6Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathOptions6", - methodName: "ProxyOnV1TokenwiseOnV1PathOptions6Async", + operationId: "ProxyOnV1TokenwiseOnV1PathPost6", + methodName: "ProxyOnV1TokenwiseOnV1PathPost6Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathOptions6", - methodName: "ProxyOnV1TokenwiseOnV1PathOptions6Async", + operationId: "ProxyOnV1TokenwiseOnV1PathPost6", + methodName: "ProxyOnV1TokenwiseOnV1PathPost6Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions6ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1TokenwiseOnV1PathOptions6Response( + ProcessProxyOnV1TokenwiseOnV1PathPost6Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathOptions6", - methodName: "ProxyOnV1TokenwiseOnV1PathOptions6Async", + operationId: "ProxyOnV1TokenwiseOnV1PathPost6", + methodName: "ProxyOnV1TokenwiseOnV1PathPost6Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathOptions6", - methodName: "ProxyOnV1TokenwiseOnV1PathOptions6Async", + operationId: "ProxyOnV1TokenwiseOnV1PathPost6", + methodName: "ProxyOnV1TokenwiseOnV1PathPost6Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathOptions6ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1TokenwiseOnV1PathOptions6ResponseContent( + ProcessProxyOnV1TokenwiseOnV1PathPost6ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPost.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPost.g.cs index 2e702056..08958165 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPost.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathOptionsSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathPostSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathOptionsSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathPostSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1GatewayV1PathOptionsSecurityRequirement0, + { s_ProxyV1GatewayV1PathPostSecurityRequirement0, }; - partial void PrepareProxyV1GatewayV1PathOptionsArguments( + partial void PrepareProxyV1GatewayV1PathPostArguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1GatewayV1PathOptionsRequest( + partial void PrepareProxyV1GatewayV1PathPostRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1GatewayV1PathOptionsResponse( + partial void ProcessProxyV1GatewayV1PathPostResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1GatewayV1PathOptionsResponseContent( + partial void ProcessProxyV1GatewayV1PathPostResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1GatewayV1PathOptionsResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1GatewayV1PathOptionsAsync( + public async global::System.Threading.Tasks.Task ProxyV1GatewayV1PathPostAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1GatewayV1PathOptionsAsResponseAsync( + var __response = await ProxyV1GatewayV1PathPostAsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1GatewayV1PathOptionsResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathOptionsAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathPostAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1GatewayV1PathOptionsResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1GatewayV1PathOptionsArguments( + PrepareProxyV1GatewayV1PathPostArguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1GatewayV1PathOptionsResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1GatewayV1PathOptionsSecurityRequirements, - operationName: "ProxyV1GatewayV1PathOptionsAsync"); + securityRequirements: s_ProxyV1GatewayV1PathPostSecurityRequirements, + operationName: "ProxyV1GatewayV1PathPostAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1GatewayV1PathOptionsResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1GatewayV1PathOptionsRequest( + PrepareProxyV1GatewayV1PathPostRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -183,8 +183,8 @@ partial void ProcessProxyV1GatewayV1PathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathOptions", - methodName: "ProxyV1GatewayV1PathOptionsAsync", + operationId: "ProxyV1GatewayV1PathPost", + methodName: "ProxyV1GatewayV1PathPostAsync", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1GatewayV1PathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathOptions", - methodName: "ProxyV1GatewayV1PathOptionsAsync", + operationId: "ProxyV1GatewayV1PathPost", + methodName: "ProxyV1GatewayV1PathPostAsync", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1GatewayV1PathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathOptions", - methodName: "ProxyV1GatewayV1PathOptionsAsync", + operationId: "ProxyV1GatewayV1PathPost", + methodName: "ProxyV1GatewayV1PathPostAsync", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1GatewayV1PathOptionsResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1GatewayV1PathOptionsResponse( + ProcessProxyV1GatewayV1PathPostResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1GatewayV1PathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathOptions", - methodName: "ProxyV1GatewayV1PathOptionsAsync", + operationId: "ProxyV1GatewayV1PathPost", + methodName: "ProxyV1GatewayV1PathPostAsync", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1GatewayV1PathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathOptions", - methodName: "ProxyV1GatewayV1PathOptionsAsync", + operationId: "ProxyV1GatewayV1PathPost", + methodName: "ProxyV1GatewayV1PathPostAsync", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1GatewayV1PathOptionsResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1GatewayV1PathOptionsResponseContent( + ProcessProxyV1GatewayV1PathPostResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPost2.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPost2.g.cs index ed19b2f2..46e40b10 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPost2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathOptions2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathPost2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathOptions2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathPost2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1GatewayV1PathOptions2SecurityRequirement0, + { s_ProxyV1GatewayV1PathPost2SecurityRequirement0, }; - partial void PrepareProxyV1GatewayV1PathOptions2Arguments( + partial void PrepareProxyV1GatewayV1PathPost2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1GatewayV1PathOptions2Request( + partial void PrepareProxyV1GatewayV1PathPost2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1GatewayV1PathOptions2Response( + partial void ProcessProxyV1GatewayV1PathPost2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1GatewayV1PathOptions2ResponseContent( + partial void ProcessProxyV1GatewayV1PathPost2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1GatewayV1PathOptions2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1GatewayV1PathOptions2Async( + public async global::System.Threading.Tasks.Task ProxyV1GatewayV1PathPost2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1GatewayV1PathOptions2AsResponseAsync( + var __response = await ProxyV1GatewayV1PathPost2AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1GatewayV1PathOptions2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathOptions2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathPost2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1GatewayV1PathOptions2ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1GatewayV1PathOptions2Arguments( + PrepareProxyV1GatewayV1PathPost2Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1GatewayV1PathOptions2ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1GatewayV1PathOptions2SecurityRequirements, - operationName: "ProxyV1GatewayV1PathOptions2Async"); + securityRequirements: s_ProxyV1GatewayV1PathPost2SecurityRequirements, + operationName: "ProxyV1GatewayV1PathPost2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1GatewayV1PathOptions2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1GatewayV1PathOptions2Request( + PrepareProxyV1GatewayV1PathPost2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -183,8 +183,8 @@ partial void ProcessProxyV1GatewayV1PathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathOptions2", - methodName: "ProxyV1GatewayV1PathOptions2Async", + operationId: "ProxyV1GatewayV1PathPost2", + methodName: "ProxyV1GatewayV1PathPost2Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1GatewayV1PathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathOptions2", - methodName: "ProxyV1GatewayV1PathOptions2Async", + operationId: "ProxyV1GatewayV1PathPost2", + methodName: "ProxyV1GatewayV1PathPost2Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1GatewayV1PathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathOptions2", - methodName: "ProxyV1GatewayV1PathOptions2Async", + operationId: "ProxyV1GatewayV1PathPost2", + methodName: "ProxyV1GatewayV1PathPost2Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1GatewayV1PathOptions2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1GatewayV1PathOptions2Response( + ProcessProxyV1GatewayV1PathPost2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1GatewayV1PathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathOptions2", - methodName: "ProxyV1GatewayV1PathOptions2Async", + operationId: "ProxyV1GatewayV1PathPost2", + methodName: "ProxyV1GatewayV1PathPost2Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1GatewayV1PathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathOptions2", - methodName: "ProxyV1GatewayV1PathOptions2Async", + operationId: "ProxyV1GatewayV1PathPost2", + methodName: "ProxyV1GatewayV1PathPost2Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1GatewayV1PathOptions2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1GatewayV1PathOptions2ResponseContent( + ProcessProxyV1GatewayV1PathPost2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPost3.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPost3.g.cs index 9e121b0c..5ee571c3 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPost3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathOptions3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathPost3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathOptions3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathPost3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1GatewayV1PathOptions3SecurityRequirement0, + { s_ProxyV1GatewayV1PathPost3SecurityRequirement0, }; - partial void PrepareProxyV1GatewayV1PathOptions3Arguments( + partial void PrepareProxyV1GatewayV1PathPost3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1GatewayV1PathOptions3Request( + partial void PrepareProxyV1GatewayV1PathPost3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1GatewayV1PathOptions3Response( + partial void ProcessProxyV1GatewayV1PathPost3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1GatewayV1PathOptions3ResponseContent( + partial void ProcessProxyV1GatewayV1PathPost3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1GatewayV1PathOptions3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1GatewayV1PathOptions3Async( + public async global::System.Threading.Tasks.Task ProxyV1GatewayV1PathPost3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1GatewayV1PathOptions3AsResponseAsync( + var __response = await ProxyV1GatewayV1PathPost3AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1GatewayV1PathOptions3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathOptions3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathPost3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1GatewayV1PathOptions3ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1GatewayV1PathOptions3Arguments( + PrepareProxyV1GatewayV1PathPost3Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1GatewayV1PathOptions3ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1GatewayV1PathOptions3SecurityRequirements, - operationName: "ProxyV1GatewayV1PathOptions3Async"); + securityRequirements: s_ProxyV1GatewayV1PathPost3SecurityRequirements, + operationName: "ProxyV1GatewayV1PathPost3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1GatewayV1PathOptions3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1GatewayV1PathOptions3Request( + PrepareProxyV1GatewayV1PathPost3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -183,8 +183,8 @@ partial void ProcessProxyV1GatewayV1PathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathOptions3", - methodName: "ProxyV1GatewayV1PathOptions3Async", + operationId: "ProxyV1GatewayV1PathPost3", + methodName: "ProxyV1GatewayV1PathPost3Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1GatewayV1PathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathOptions3", - methodName: "ProxyV1GatewayV1PathOptions3Async", + operationId: "ProxyV1GatewayV1PathPost3", + methodName: "ProxyV1GatewayV1PathPost3Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1GatewayV1PathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathOptions3", - methodName: "ProxyV1GatewayV1PathOptions3Async", + operationId: "ProxyV1GatewayV1PathPost3", + methodName: "ProxyV1GatewayV1PathPost3Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1GatewayV1PathOptions3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1GatewayV1PathOptions3Response( + ProcessProxyV1GatewayV1PathPost3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1GatewayV1PathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathOptions3", - methodName: "ProxyV1GatewayV1PathOptions3Async", + operationId: "ProxyV1GatewayV1PathPost3", + methodName: "ProxyV1GatewayV1PathPost3Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1GatewayV1PathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathOptions3", - methodName: "ProxyV1GatewayV1PathOptions3Async", + operationId: "ProxyV1GatewayV1PathPost3", + methodName: "ProxyV1GatewayV1PathPost3Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1GatewayV1PathOptions3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1GatewayV1PathOptions3ResponseContent( + ProcessProxyV1GatewayV1PathPost3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPost4.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPost4.g.cs index cb74725b..364cbc11 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPost4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathOptions4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathPost4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathOptions4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathPost4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1GatewayV1PathOptions4SecurityRequirement0, + { s_ProxyV1GatewayV1PathPost4SecurityRequirement0, }; - partial void PrepareProxyV1GatewayV1PathOptions4Arguments( + partial void PrepareProxyV1GatewayV1PathPost4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1GatewayV1PathOptions4Request( + partial void PrepareProxyV1GatewayV1PathPost4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1GatewayV1PathOptions4Response( + partial void ProcessProxyV1GatewayV1PathPost4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1GatewayV1PathOptions4ResponseContent( + partial void ProcessProxyV1GatewayV1PathPost4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1GatewayV1PathOptions4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1GatewayV1PathOptions4Async( + public async global::System.Threading.Tasks.Task ProxyV1GatewayV1PathPost4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1GatewayV1PathOptions4AsResponseAsync( + var __response = await ProxyV1GatewayV1PathPost4AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1GatewayV1PathOptions4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathOptions4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathPost4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1GatewayV1PathOptions4ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1GatewayV1PathOptions4Arguments( + PrepareProxyV1GatewayV1PathPost4Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1GatewayV1PathOptions4ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1GatewayV1PathOptions4SecurityRequirements, - operationName: "ProxyV1GatewayV1PathOptions4Async"); + securityRequirements: s_ProxyV1GatewayV1PathPost4SecurityRequirements, + operationName: "ProxyV1GatewayV1PathPost4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1GatewayV1PathOptions4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1GatewayV1PathOptions4Request( + PrepareProxyV1GatewayV1PathPost4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -183,8 +183,8 @@ partial void ProcessProxyV1GatewayV1PathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathOptions4", - methodName: "ProxyV1GatewayV1PathOptions4Async", + operationId: "ProxyV1GatewayV1PathPost4", + methodName: "ProxyV1GatewayV1PathPost4Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1GatewayV1PathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathOptions4", - methodName: "ProxyV1GatewayV1PathOptions4Async", + operationId: "ProxyV1GatewayV1PathPost4", + methodName: "ProxyV1GatewayV1PathPost4Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1GatewayV1PathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathOptions4", - methodName: "ProxyV1GatewayV1PathOptions4Async", + operationId: "ProxyV1GatewayV1PathPost4", + methodName: "ProxyV1GatewayV1PathPost4Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1GatewayV1PathOptions4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1GatewayV1PathOptions4Response( + ProcessProxyV1GatewayV1PathPost4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1GatewayV1PathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathOptions4", - methodName: "ProxyV1GatewayV1PathOptions4Async", + operationId: "ProxyV1GatewayV1PathPost4", + methodName: "ProxyV1GatewayV1PathPost4Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1GatewayV1PathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathOptions4", - methodName: "ProxyV1GatewayV1PathOptions4Async", + operationId: "ProxyV1GatewayV1PathPost4", + methodName: "ProxyV1GatewayV1PathPost4Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1GatewayV1PathOptions4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1GatewayV1PathOptions4ResponseContent( + ProcessProxyV1GatewayV1PathPost4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPost5.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPost5.g.cs index f24383a6..626c5fe8 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPost5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathOptions5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathPost5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathOptions5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathPost5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1GatewayV1PathOptions5SecurityRequirement0, + { s_ProxyV1GatewayV1PathPost5SecurityRequirement0, }; - partial void PrepareProxyV1GatewayV1PathOptions5Arguments( + partial void PrepareProxyV1GatewayV1PathPost5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1GatewayV1PathOptions5Request( + partial void PrepareProxyV1GatewayV1PathPost5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1GatewayV1PathOptions5Response( + partial void ProcessProxyV1GatewayV1PathPost5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1GatewayV1PathOptions5ResponseContent( + partial void ProcessProxyV1GatewayV1PathPost5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1GatewayV1PathOptions5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1GatewayV1PathOptions5Async( + public async global::System.Threading.Tasks.Task ProxyV1GatewayV1PathPost5Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1GatewayV1PathOptions5AsResponseAsync( + var __response = await ProxyV1GatewayV1PathPost5AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1GatewayV1PathOptions5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathOptions5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathPost5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1GatewayV1PathOptions5ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1GatewayV1PathOptions5Arguments( + PrepareProxyV1GatewayV1PathPost5Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1GatewayV1PathOptions5ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1GatewayV1PathOptions5SecurityRequirements, - operationName: "ProxyV1GatewayV1PathOptions5Async"); + securityRequirements: s_ProxyV1GatewayV1PathPost5SecurityRequirements, + operationName: "ProxyV1GatewayV1PathPost5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1GatewayV1PathOptions5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1GatewayV1PathOptions5Request( + PrepareProxyV1GatewayV1PathPost5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -183,8 +183,8 @@ partial void ProcessProxyV1GatewayV1PathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathOptions5", - methodName: "ProxyV1GatewayV1PathOptions5Async", + operationId: "ProxyV1GatewayV1PathPost5", + methodName: "ProxyV1GatewayV1PathPost5Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1GatewayV1PathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathOptions5", - methodName: "ProxyV1GatewayV1PathOptions5Async", + operationId: "ProxyV1GatewayV1PathPost5", + methodName: "ProxyV1GatewayV1PathPost5Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1GatewayV1PathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathOptions5", - methodName: "ProxyV1GatewayV1PathOptions5Async", + operationId: "ProxyV1GatewayV1PathPost5", + methodName: "ProxyV1GatewayV1PathPost5Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1GatewayV1PathOptions5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1GatewayV1PathOptions5Response( + ProcessProxyV1GatewayV1PathPost5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1GatewayV1PathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathOptions5", - methodName: "ProxyV1GatewayV1PathOptions5Async", + operationId: "ProxyV1GatewayV1PathPost5", + methodName: "ProxyV1GatewayV1PathPost5Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1GatewayV1PathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathOptions5", - methodName: "ProxyV1GatewayV1PathOptions5Async", + operationId: "ProxyV1GatewayV1PathPost5", + methodName: "ProxyV1GatewayV1PathPost5Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1GatewayV1PathOptions5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1GatewayV1PathOptions5ResponseContent( + ProcessProxyV1GatewayV1PathPost5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions6.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPost6.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions6.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPost6.g.cs index 214997e5..ed7f326e 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions6.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathPost6.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathOptions6SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathPost6SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathOptions6SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathPost6SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1GatewayV1PathOptions6SecurityRequirement0, + { s_ProxyV1GatewayV1PathPost6SecurityRequirement0, }; - partial void PrepareProxyV1GatewayV1PathOptions6Arguments( + partial void PrepareProxyV1GatewayV1PathPost6Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1GatewayV1PathOptions6Request( + partial void PrepareProxyV1GatewayV1PathPost6Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1GatewayV1PathOptions6Response( + partial void ProcessProxyV1GatewayV1PathPost6Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1GatewayV1PathOptions6ResponseContent( + partial void ProcessProxyV1GatewayV1PathPost6ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1GatewayV1PathOptions6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1GatewayV1PathOptions6Async( + public async global::System.Threading.Tasks.Task ProxyV1GatewayV1PathPost6Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1GatewayV1PathOptions6AsResponseAsync( + var __response = await ProxyV1GatewayV1PathPost6AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1GatewayV1PathOptions6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathOptions6AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathPost6AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1GatewayV1PathOptions6ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1GatewayV1PathOptions6Arguments( + PrepareProxyV1GatewayV1PathPost6Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1GatewayV1PathOptions6ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1GatewayV1PathOptions6SecurityRequirements, - operationName: "ProxyV1GatewayV1PathOptions6Async"); + securityRequirements: s_ProxyV1GatewayV1PathPost6SecurityRequirements, + operationName: "ProxyV1GatewayV1PathPost6Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1GatewayV1PathOptions6ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1GatewayV1PathOptions6Request( + PrepareProxyV1GatewayV1PathPost6Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -183,8 +183,8 @@ partial void ProcessProxyV1GatewayV1PathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathOptions6", - methodName: "ProxyV1GatewayV1PathOptions6Async", + operationId: "ProxyV1GatewayV1PathPost6", + methodName: "ProxyV1GatewayV1PathPost6Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1GatewayV1PathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathOptions6", - methodName: "ProxyV1GatewayV1PathOptions6Async", + operationId: "ProxyV1GatewayV1PathPost6", + methodName: "ProxyV1GatewayV1PathPost6Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1GatewayV1PathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathOptions6", - methodName: "ProxyV1GatewayV1PathOptions6Async", + operationId: "ProxyV1GatewayV1PathPost6", + methodName: "ProxyV1GatewayV1PathPost6Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1GatewayV1PathOptions6ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1GatewayV1PathOptions6Response( + ProcessProxyV1GatewayV1PathPost6Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1GatewayV1PathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathOptions6", - methodName: "ProxyV1GatewayV1PathOptions6Async", + operationId: "ProxyV1GatewayV1PathPost6", + methodName: "ProxyV1GatewayV1PathPost6Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1GatewayV1PathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathOptions6", - methodName: "ProxyV1GatewayV1PathOptions6Async", + operationId: "ProxyV1GatewayV1PathPost6", + methodName: "ProxyV1GatewayV1PathPost6Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1GatewayV1PathOptions6ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1GatewayV1PathOptions6ResponseContent( + ProcessProxyV1GatewayV1PathPost6ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPost.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPost.g.cs index f903e2bf..e4b7c72b 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPost.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathOptionsSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathPostSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathOptionsSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathPostSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1TokenwiseV1PathOptionsSecurityRequirement0, + { s_ProxyV1TokenwiseV1PathPostSecurityRequirement0, }; - partial void PrepareProxyV1TokenwiseV1PathOptionsArguments( + partial void PrepareProxyV1TokenwiseV1PathPostArguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1TokenwiseV1PathOptionsRequest( + partial void PrepareProxyV1TokenwiseV1PathPostRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1TokenwiseV1PathOptionsResponse( + partial void ProcessProxyV1TokenwiseV1PathPostResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1TokenwiseV1PathOptionsResponseContent( + partial void ProcessProxyV1TokenwiseV1PathPostResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1TokenwiseV1PathOptionsResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathOptionsAsync( + public async global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathPostAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1TokenwiseV1PathOptionsAsResponseAsync( + var __response = await ProxyV1TokenwiseV1PathPostAsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1TokenwiseV1PathOptionsResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathOptionsAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathPostAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1TokenwiseV1PathOptionsResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1TokenwiseV1PathOptionsArguments( + PrepareProxyV1TokenwiseV1PathPostArguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptionsResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1TokenwiseV1PathOptionsSecurityRequirements, - operationName: "ProxyV1TokenwiseV1PathOptionsAsync"); + securityRequirements: s_ProxyV1TokenwiseV1PathPostSecurityRequirements, + operationName: "ProxyV1TokenwiseV1PathPostAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1TokenwiseV1PathOptionsResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1TokenwiseV1PathOptionsRequest( + PrepareProxyV1TokenwiseV1PathPostRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -183,8 +183,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathOptions", - methodName: "ProxyV1TokenwiseV1PathOptionsAsync", + operationId: "ProxyV1TokenwiseV1PathPost", + methodName: "ProxyV1TokenwiseV1PathPostAsync", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathOptions", - methodName: "ProxyV1TokenwiseV1PathOptionsAsync", + operationId: "ProxyV1TokenwiseV1PathPost", + methodName: "ProxyV1TokenwiseV1PathPostAsync", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathOptions", - methodName: "ProxyV1TokenwiseV1PathOptionsAsync", + operationId: "ProxyV1TokenwiseV1PathPost", + methodName: "ProxyV1TokenwiseV1PathPostAsync", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1TokenwiseV1PathOptionsResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1TokenwiseV1PathOptionsResponse( + ProcessProxyV1TokenwiseV1PathPostResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathOptions", - methodName: "ProxyV1TokenwiseV1PathOptionsAsync", + operationId: "ProxyV1TokenwiseV1PathPost", + methodName: "ProxyV1TokenwiseV1PathPostAsync", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathOptions", - methodName: "ProxyV1TokenwiseV1PathOptionsAsync", + operationId: "ProxyV1TokenwiseV1PathPost", + methodName: "ProxyV1TokenwiseV1PathPostAsync", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1TokenwiseV1PathOptionsResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1TokenwiseV1PathOptionsResponseContent( + ProcessProxyV1TokenwiseV1PathPostResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPost2.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPost2.g.cs index 7570c683..66dfa5a9 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPost2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathOptions2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathPost2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathOptions2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathPost2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1TokenwiseV1PathOptions2SecurityRequirement0, + { s_ProxyV1TokenwiseV1PathPost2SecurityRequirement0, }; - partial void PrepareProxyV1TokenwiseV1PathOptions2Arguments( + partial void PrepareProxyV1TokenwiseV1PathPost2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1TokenwiseV1PathOptions2Request( + partial void PrepareProxyV1TokenwiseV1PathPost2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1TokenwiseV1PathOptions2Response( + partial void ProcessProxyV1TokenwiseV1PathPost2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1TokenwiseV1PathOptions2ResponseContent( + partial void ProcessProxyV1TokenwiseV1PathPost2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1TokenwiseV1PathOptions2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathOptions2Async( + public async global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathPost2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1TokenwiseV1PathOptions2AsResponseAsync( + var __response = await ProxyV1TokenwiseV1PathPost2AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1TokenwiseV1PathOptions2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathOptions2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathPost2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1TokenwiseV1PathOptions2ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1TokenwiseV1PathOptions2Arguments( + PrepareProxyV1TokenwiseV1PathPost2Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptions2ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1TokenwiseV1PathOptions2SecurityRequirements, - operationName: "ProxyV1TokenwiseV1PathOptions2Async"); + securityRequirements: s_ProxyV1TokenwiseV1PathPost2SecurityRequirements, + operationName: "ProxyV1TokenwiseV1PathPost2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1TokenwiseV1PathOptions2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1TokenwiseV1PathOptions2Request( + PrepareProxyV1TokenwiseV1PathPost2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -183,8 +183,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathOptions2", - methodName: "ProxyV1TokenwiseV1PathOptions2Async", + operationId: "ProxyV1TokenwiseV1PathPost2", + methodName: "ProxyV1TokenwiseV1PathPost2Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathOptions2", - methodName: "ProxyV1TokenwiseV1PathOptions2Async", + operationId: "ProxyV1TokenwiseV1PathPost2", + methodName: "ProxyV1TokenwiseV1PathPost2Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathOptions2", - methodName: "ProxyV1TokenwiseV1PathOptions2Async", + operationId: "ProxyV1TokenwiseV1PathPost2", + methodName: "ProxyV1TokenwiseV1PathPost2Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1TokenwiseV1PathOptions2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1TokenwiseV1PathOptions2Response( + ProcessProxyV1TokenwiseV1PathPost2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathOptions2", - methodName: "ProxyV1TokenwiseV1PathOptions2Async", + operationId: "ProxyV1TokenwiseV1PathPost2", + methodName: "ProxyV1TokenwiseV1PathPost2Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathOptions2", - methodName: "ProxyV1TokenwiseV1PathOptions2Async", + operationId: "ProxyV1TokenwiseV1PathPost2", + methodName: "ProxyV1TokenwiseV1PathPost2Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1TokenwiseV1PathOptions2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1TokenwiseV1PathOptions2ResponseContent( + ProcessProxyV1TokenwiseV1PathPost2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPost3.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPost3.g.cs index 3e70db46..60700b24 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPost3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathOptions3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathPost3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathOptions3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathPost3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1TokenwiseV1PathOptions3SecurityRequirement0, + { s_ProxyV1TokenwiseV1PathPost3SecurityRequirement0, }; - partial void PrepareProxyV1TokenwiseV1PathOptions3Arguments( + partial void PrepareProxyV1TokenwiseV1PathPost3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1TokenwiseV1PathOptions3Request( + partial void PrepareProxyV1TokenwiseV1PathPost3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1TokenwiseV1PathOptions3Response( + partial void ProcessProxyV1TokenwiseV1PathPost3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1TokenwiseV1PathOptions3ResponseContent( + partial void ProcessProxyV1TokenwiseV1PathPost3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1TokenwiseV1PathOptions3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathOptions3Async( + public async global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathPost3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1TokenwiseV1PathOptions3AsResponseAsync( + var __response = await ProxyV1TokenwiseV1PathPost3AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1TokenwiseV1PathOptions3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathOptions3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathPost3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1TokenwiseV1PathOptions3ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1TokenwiseV1PathOptions3Arguments( + PrepareProxyV1TokenwiseV1PathPost3Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptions3ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1TokenwiseV1PathOptions3SecurityRequirements, - operationName: "ProxyV1TokenwiseV1PathOptions3Async"); + securityRequirements: s_ProxyV1TokenwiseV1PathPost3SecurityRequirements, + operationName: "ProxyV1TokenwiseV1PathPost3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1TokenwiseV1PathOptions3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1TokenwiseV1PathOptions3Request( + PrepareProxyV1TokenwiseV1PathPost3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -183,8 +183,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathOptions3", - methodName: "ProxyV1TokenwiseV1PathOptions3Async", + operationId: "ProxyV1TokenwiseV1PathPost3", + methodName: "ProxyV1TokenwiseV1PathPost3Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathOptions3", - methodName: "ProxyV1TokenwiseV1PathOptions3Async", + operationId: "ProxyV1TokenwiseV1PathPost3", + methodName: "ProxyV1TokenwiseV1PathPost3Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathOptions3", - methodName: "ProxyV1TokenwiseV1PathOptions3Async", + operationId: "ProxyV1TokenwiseV1PathPost3", + methodName: "ProxyV1TokenwiseV1PathPost3Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1TokenwiseV1PathOptions3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1TokenwiseV1PathOptions3Response( + ProcessProxyV1TokenwiseV1PathPost3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathOptions3", - methodName: "ProxyV1TokenwiseV1PathOptions3Async", + operationId: "ProxyV1TokenwiseV1PathPost3", + methodName: "ProxyV1TokenwiseV1PathPost3Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathOptions3", - methodName: "ProxyV1TokenwiseV1PathOptions3Async", + operationId: "ProxyV1TokenwiseV1PathPost3", + methodName: "ProxyV1TokenwiseV1PathPost3Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1TokenwiseV1PathOptions3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1TokenwiseV1PathOptions3ResponseContent( + ProcessProxyV1TokenwiseV1PathPost3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPost4.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPost4.g.cs index 631ac916..a7256dc7 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPost4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathOptions4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathPost4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathOptions4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathPost4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1TokenwiseV1PathOptions4SecurityRequirement0, + { s_ProxyV1TokenwiseV1PathPost4SecurityRequirement0, }; - partial void PrepareProxyV1TokenwiseV1PathOptions4Arguments( + partial void PrepareProxyV1TokenwiseV1PathPost4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1TokenwiseV1PathOptions4Request( + partial void PrepareProxyV1TokenwiseV1PathPost4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1TokenwiseV1PathOptions4Response( + partial void ProcessProxyV1TokenwiseV1PathPost4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1TokenwiseV1PathOptions4ResponseContent( + partial void ProcessProxyV1TokenwiseV1PathPost4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1TokenwiseV1PathOptions4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathOptions4Async( + public async global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathPost4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1TokenwiseV1PathOptions4AsResponseAsync( + var __response = await ProxyV1TokenwiseV1PathPost4AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1TokenwiseV1PathOptions4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathOptions4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathPost4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1TokenwiseV1PathOptions4ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1TokenwiseV1PathOptions4Arguments( + PrepareProxyV1TokenwiseV1PathPost4Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptions4ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1TokenwiseV1PathOptions4SecurityRequirements, - operationName: "ProxyV1TokenwiseV1PathOptions4Async"); + securityRequirements: s_ProxyV1TokenwiseV1PathPost4SecurityRequirements, + operationName: "ProxyV1TokenwiseV1PathPost4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1TokenwiseV1PathOptions4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1TokenwiseV1PathOptions4Request( + PrepareProxyV1TokenwiseV1PathPost4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -183,8 +183,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathOptions4", - methodName: "ProxyV1TokenwiseV1PathOptions4Async", + operationId: "ProxyV1TokenwiseV1PathPost4", + methodName: "ProxyV1TokenwiseV1PathPost4Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathOptions4", - methodName: "ProxyV1TokenwiseV1PathOptions4Async", + operationId: "ProxyV1TokenwiseV1PathPost4", + methodName: "ProxyV1TokenwiseV1PathPost4Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathOptions4", - methodName: "ProxyV1TokenwiseV1PathOptions4Async", + operationId: "ProxyV1TokenwiseV1PathPost4", + methodName: "ProxyV1TokenwiseV1PathPost4Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1TokenwiseV1PathOptions4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1TokenwiseV1PathOptions4Response( + ProcessProxyV1TokenwiseV1PathPost4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathOptions4", - methodName: "ProxyV1TokenwiseV1PathOptions4Async", + operationId: "ProxyV1TokenwiseV1PathPost4", + methodName: "ProxyV1TokenwiseV1PathPost4Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathOptions4", - methodName: "ProxyV1TokenwiseV1PathOptions4Async", + operationId: "ProxyV1TokenwiseV1PathPost4", + methodName: "ProxyV1TokenwiseV1PathPost4Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1TokenwiseV1PathOptions4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1TokenwiseV1PathOptions4ResponseContent( + ProcessProxyV1TokenwiseV1PathPost4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPost5.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPost5.g.cs index df372ade..671ba2ac 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPost5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathOptions5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathPost5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathOptions5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathPost5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1TokenwiseV1PathOptions5SecurityRequirement0, + { s_ProxyV1TokenwiseV1PathPost5SecurityRequirement0, }; - partial void PrepareProxyV1TokenwiseV1PathOptions5Arguments( + partial void PrepareProxyV1TokenwiseV1PathPost5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1TokenwiseV1PathOptions5Request( + partial void PrepareProxyV1TokenwiseV1PathPost5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1TokenwiseV1PathOptions5Response( + partial void ProcessProxyV1TokenwiseV1PathPost5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1TokenwiseV1PathOptions5ResponseContent( + partial void ProcessProxyV1TokenwiseV1PathPost5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1TokenwiseV1PathOptions5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathOptions5Async( + public async global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathPost5Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1TokenwiseV1PathOptions5AsResponseAsync( + var __response = await ProxyV1TokenwiseV1PathPost5AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1TokenwiseV1PathOptions5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathOptions5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathPost5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1TokenwiseV1PathOptions5ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1TokenwiseV1PathOptions5Arguments( + PrepareProxyV1TokenwiseV1PathPost5Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptions5ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1TokenwiseV1PathOptions5SecurityRequirements, - operationName: "ProxyV1TokenwiseV1PathOptions5Async"); + securityRequirements: s_ProxyV1TokenwiseV1PathPost5SecurityRequirements, + operationName: "ProxyV1TokenwiseV1PathPost5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1TokenwiseV1PathOptions5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1TokenwiseV1PathOptions5Request( + PrepareProxyV1TokenwiseV1PathPost5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -183,8 +183,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathOptions5", - methodName: "ProxyV1TokenwiseV1PathOptions5Async", + operationId: "ProxyV1TokenwiseV1PathPost5", + methodName: "ProxyV1TokenwiseV1PathPost5Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathOptions5", - methodName: "ProxyV1TokenwiseV1PathOptions5Async", + operationId: "ProxyV1TokenwiseV1PathPost5", + methodName: "ProxyV1TokenwiseV1PathPost5Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathOptions5", - methodName: "ProxyV1TokenwiseV1PathOptions5Async", + operationId: "ProxyV1TokenwiseV1PathPost5", + methodName: "ProxyV1TokenwiseV1PathPost5Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1TokenwiseV1PathOptions5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1TokenwiseV1PathOptions5Response( + ProcessProxyV1TokenwiseV1PathPost5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathOptions5", - methodName: "ProxyV1TokenwiseV1PathOptions5Async", + operationId: "ProxyV1TokenwiseV1PathPost5", + methodName: "ProxyV1TokenwiseV1PathPost5Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathOptions5", - methodName: "ProxyV1TokenwiseV1PathOptions5Async", + operationId: "ProxyV1TokenwiseV1PathPost5", + methodName: "ProxyV1TokenwiseV1PathPost5Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1TokenwiseV1PathOptions5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1TokenwiseV1PathOptions5ResponseContent( + ProcessProxyV1TokenwiseV1PathPost5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions6.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPost6.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions6.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPost6.g.cs index a36d5f3b..551e9122 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions6.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathPost6.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathOptions6SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathPost6SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathOptions6SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathPost6SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1TokenwiseV1PathOptions6SecurityRequirement0, + { s_ProxyV1TokenwiseV1PathPost6SecurityRequirement0, }; - partial void PrepareProxyV1TokenwiseV1PathOptions6Arguments( + partial void PrepareProxyV1TokenwiseV1PathPost6Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1TokenwiseV1PathOptions6Request( + partial void PrepareProxyV1TokenwiseV1PathPost6Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1TokenwiseV1PathOptions6Response( + partial void ProcessProxyV1TokenwiseV1PathPost6Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1TokenwiseV1PathOptions6ResponseContent( + partial void ProcessProxyV1TokenwiseV1PathPost6ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1TokenwiseV1PathOptions6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathOptions6Async( + public async global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathPost6Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1TokenwiseV1PathOptions6AsResponseAsync( + var __response = await ProxyV1TokenwiseV1PathPost6AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1TokenwiseV1PathOptions6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathOptions6AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathPost6AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1TokenwiseV1PathOptions6ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1TokenwiseV1PathOptions6Arguments( + PrepareProxyV1TokenwiseV1PathPost6Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptions6ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1TokenwiseV1PathOptions6SecurityRequirements, - operationName: "ProxyV1TokenwiseV1PathOptions6Async"); + securityRequirements: s_ProxyV1TokenwiseV1PathPost6SecurityRequirements, + operationName: "ProxyV1TokenwiseV1PathPost6Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1TokenwiseV1PathOptions6ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1TokenwiseV1PathOptions6Request( + PrepareProxyV1TokenwiseV1PathPost6Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -183,8 +183,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathOptions6", - methodName: "ProxyV1TokenwiseV1PathOptions6Async", + operationId: "ProxyV1TokenwiseV1PathPost6", + methodName: "ProxyV1TokenwiseV1PathPost6Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathOptions6", - methodName: "ProxyV1TokenwiseV1PathOptions6Async", + operationId: "ProxyV1TokenwiseV1PathPost6", + methodName: "ProxyV1TokenwiseV1PathPost6Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathOptions6", - methodName: "ProxyV1TokenwiseV1PathOptions6Async", + operationId: "ProxyV1TokenwiseV1PathPost6", + methodName: "ProxyV1TokenwiseV1PathPost6Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1TokenwiseV1PathOptions6ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1TokenwiseV1PathOptions6Response( + ProcessProxyV1TokenwiseV1PathPost6Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathOptions6", - methodName: "ProxyV1TokenwiseV1PathOptions6Async", + operationId: "ProxyV1TokenwiseV1PathPost6", + methodName: "ProxyV1TokenwiseV1PathPost6Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1TokenwiseV1PathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathOptions6", - methodName: "ProxyV1TokenwiseV1PathOptions6Async", + operationId: "ProxyV1TokenwiseV1PathPost6", + methodName: "ProxyV1TokenwiseV1PathPost6Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1TokenwiseV1PathOptions6ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1TokenwiseV1PathOptions6ResponseContent( + ProcessProxyV1TokenwiseV1PathPost6ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPost.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPost.g.cs index f204e702..fa802695 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPost.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathOptionsSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathPostSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathOptionsSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathPostSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaGatewayV1betaPathOptionsSecurityRequirement0, + { s_ProxyV1betaGatewayV1betaPathPostSecurityRequirement0, }; - partial void PrepareProxyV1betaGatewayV1betaPathOptionsArguments( + partial void PrepareProxyV1betaGatewayV1betaPathPostArguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaGatewayV1betaPathOptionsRequest( + partial void PrepareProxyV1betaGatewayV1betaPathPostRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaGatewayV1betaPathOptionsResponse( + partial void ProcessProxyV1betaGatewayV1betaPathPostResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaGatewayV1betaPathOptionsResponseContent( + partial void ProcessProxyV1betaGatewayV1betaPathPostResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptionsResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathOptionsAsync( + public async global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathPostAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaGatewayV1betaPathOptionsAsResponseAsync( + var __response = await ProxyV1betaGatewayV1betaPathPostAsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptionsResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathOptionsAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathPostAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptionsResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaGatewayV1betaPathOptionsArguments( + PrepareProxyV1betaGatewayV1betaPathPostArguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptionsResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaGatewayV1betaPathOptionsSecurityRequirements, - operationName: "ProxyV1betaGatewayV1betaPathOptionsAsync"); + securityRequirements: s_ProxyV1betaGatewayV1betaPathPostSecurityRequirements, + operationName: "ProxyV1betaGatewayV1betaPathPostAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptionsResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaGatewayV1betaPathOptionsRequest( + PrepareProxyV1betaGatewayV1betaPathPostRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathOptions", - methodName: "ProxyV1betaGatewayV1betaPathOptionsAsync", + operationId: "ProxyV1betaGatewayV1betaPathPost", + methodName: "ProxyV1betaGatewayV1betaPathPostAsync", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathOptions", - methodName: "ProxyV1betaGatewayV1betaPathOptionsAsync", + operationId: "ProxyV1betaGatewayV1betaPathPost", + methodName: "ProxyV1betaGatewayV1betaPathPostAsync", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathOptions", - methodName: "ProxyV1betaGatewayV1betaPathOptionsAsync", + operationId: "ProxyV1betaGatewayV1betaPathPost", + methodName: "ProxyV1betaGatewayV1betaPathPostAsync", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptionsResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaGatewayV1betaPathOptionsResponse( + ProcessProxyV1betaGatewayV1betaPathPostResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathOptions", - methodName: "ProxyV1betaGatewayV1betaPathOptionsAsync", + operationId: "ProxyV1betaGatewayV1betaPathPost", + methodName: "ProxyV1betaGatewayV1betaPathPostAsync", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathOptions", - methodName: "ProxyV1betaGatewayV1betaPathOptionsAsync", + operationId: "ProxyV1betaGatewayV1betaPathPost", + methodName: "ProxyV1betaGatewayV1betaPathPostAsync", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptionsResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaGatewayV1betaPathOptionsResponseContent( + ProcessProxyV1betaGatewayV1betaPathPostResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPost2.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPost2.g.cs index 7c09cf52..a881c312 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPost2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathOptions2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathPost2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathOptions2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathPost2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaGatewayV1betaPathOptions2SecurityRequirement0, + { s_ProxyV1betaGatewayV1betaPathPost2SecurityRequirement0, }; - partial void PrepareProxyV1betaGatewayV1betaPathOptions2Arguments( + partial void PrepareProxyV1betaGatewayV1betaPathPost2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaGatewayV1betaPathOptions2Request( + partial void PrepareProxyV1betaGatewayV1betaPathPost2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaGatewayV1betaPathOptions2Response( + partial void ProcessProxyV1betaGatewayV1betaPathPost2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaGatewayV1betaPathOptions2ResponseContent( + partial void ProcessProxyV1betaGatewayV1betaPathPost2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathOptions2Async( + public async global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathPost2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaGatewayV1betaPathOptions2AsResponseAsync( + var __response = await ProxyV1betaGatewayV1betaPathPost2AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathOptions2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathPost2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions2ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaGatewayV1betaPathOptions2Arguments( + PrepareProxyV1betaGatewayV1betaPathPost2Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions2ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaGatewayV1betaPathOptions2SecurityRequirements, - operationName: "ProxyV1betaGatewayV1betaPathOptions2Async"); + securityRequirements: s_ProxyV1betaGatewayV1betaPathPost2SecurityRequirements, + operationName: "ProxyV1betaGatewayV1betaPathPost2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaGatewayV1betaPathOptions2Request( + PrepareProxyV1betaGatewayV1betaPathPost2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathOptions2", - methodName: "ProxyV1betaGatewayV1betaPathOptions2Async", + operationId: "ProxyV1betaGatewayV1betaPathPost2", + methodName: "ProxyV1betaGatewayV1betaPathPost2Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathOptions2", - methodName: "ProxyV1betaGatewayV1betaPathOptions2Async", + operationId: "ProxyV1betaGatewayV1betaPathPost2", + methodName: "ProxyV1betaGatewayV1betaPathPost2Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathOptions2", - methodName: "ProxyV1betaGatewayV1betaPathOptions2Async", + operationId: "ProxyV1betaGatewayV1betaPathPost2", + methodName: "ProxyV1betaGatewayV1betaPathPost2Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaGatewayV1betaPathOptions2Response( + ProcessProxyV1betaGatewayV1betaPathPost2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathOptions2", - methodName: "ProxyV1betaGatewayV1betaPathOptions2Async", + operationId: "ProxyV1betaGatewayV1betaPathPost2", + methodName: "ProxyV1betaGatewayV1betaPathPost2Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathOptions2", - methodName: "ProxyV1betaGatewayV1betaPathOptions2Async", + operationId: "ProxyV1betaGatewayV1betaPathPost2", + methodName: "ProxyV1betaGatewayV1betaPathPost2Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaGatewayV1betaPathOptions2ResponseContent( + ProcessProxyV1betaGatewayV1betaPathPost2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPost3.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPost3.g.cs index 9e335375..af0edf61 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPost3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathOptions3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathPost3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathOptions3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathPost3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaGatewayV1betaPathOptions3SecurityRequirement0, + { s_ProxyV1betaGatewayV1betaPathPost3SecurityRequirement0, }; - partial void PrepareProxyV1betaGatewayV1betaPathOptions3Arguments( + partial void PrepareProxyV1betaGatewayV1betaPathPost3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaGatewayV1betaPathOptions3Request( + partial void PrepareProxyV1betaGatewayV1betaPathPost3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaGatewayV1betaPathOptions3Response( + partial void ProcessProxyV1betaGatewayV1betaPathPost3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaGatewayV1betaPathOptions3ResponseContent( + partial void ProcessProxyV1betaGatewayV1betaPathPost3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathOptions3Async( + public async global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathPost3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaGatewayV1betaPathOptions3AsResponseAsync( + var __response = await ProxyV1betaGatewayV1betaPathPost3AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathOptions3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathPost3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions3ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaGatewayV1betaPathOptions3Arguments( + PrepareProxyV1betaGatewayV1betaPathPost3Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions3ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaGatewayV1betaPathOptions3SecurityRequirements, - operationName: "ProxyV1betaGatewayV1betaPathOptions3Async"); + securityRequirements: s_ProxyV1betaGatewayV1betaPathPost3SecurityRequirements, + operationName: "ProxyV1betaGatewayV1betaPathPost3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaGatewayV1betaPathOptions3Request( + PrepareProxyV1betaGatewayV1betaPathPost3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathOptions3", - methodName: "ProxyV1betaGatewayV1betaPathOptions3Async", + operationId: "ProxyV1betaGatewayV1betaPathPost3", + methodName: "ProxyV1betaGatewayV1betaPathPost3Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathOptions3", - methodName: "ProxyV1betaGatewayV1betaPathOptions3Async", + operationId: "ProxyV1betaGatewayV1betaPathPost3", + methodName: "ProxyV1betaGatewayV1betaPathPost3Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathOptions3", - methodName: "ProxyV1betaGatewayV1betaPathOptions3Async", + operationId: "ProxyV1betaGatewayV1betaPathPost3", + methodName: "ProxyV1betaGatewayV1betaPathPost3Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaGatewayV1betaPathOptions3Response( + ProcessProxyV1betaGatewayV1betaPathPost3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathOptions3", - methodName: "ProxyV1betaGatewayV1betaPathOptions3Async", + operationId: "ProxyV1betaGatewayV1betaPathPost3", + methodName: "ProxyV1betaGatewayV1betaPathPost3Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathOptions3", - methodName: "ProxyV1betaGatewayV1betaPathOptions3Async", + operationId: "ProxyV1betaGatewayV1betaPathPost3", + methodName: "ProxyV1betaGatewayV1betaPathPost3Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaGatewayV1betaPathOptions3ResponseContent( + ProcessProxyV1betaGatewayV1betaPathPost3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPost4.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPost4.g.cs index ab516296..371d9767 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPost4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathOptions4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathPost4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathOptions4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathPost4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaGatewayV1betaPathOptions4SecurityRequirement0, + { s_ProxyV1betaGatewayV1betaPathPost4SecurityRequirement0, }; - partial void PrepareProxyV1betaGatewayV1betaPathOptions4Arguments( + partial void PrepareProxyV1betaGatewayV1betaPathPost4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaGatewayV1betaPathOptions4Request( + partial void PrepareProxyV1betaGatewayV1betaPathPost4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaGatewayV1betaPathOptions4Response( + partial void ProcessProxyV1betaGatewayV1betaPathPost4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaGatewayV1betaPathOptions4ResponseContent( + partial void ProcessProxyV1betaGatewayV1betaPathPost4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathOptions4Async( + public async global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathPost4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaGatewayV1betaPathOptions4AsResponseAsync( + var __response = await ProxyV1betaGatewayV1betaPathPost4AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathOptions4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathPost4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions4ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaGatewayV1betaPathOptions4Arguments( + PrepareProxyV1betaGatewayV1betaPathPost4Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions4ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaGatewayV1betaPathOptions4SecurityRequirements, - operationName: "ProxyV1betaGatewayV1betaPathOptions4Async"); + securityRequirements: s_ProxyV1betaGatewayV1betaPathPost4SecurityRequirements, + operationName: "ProxyV1betaGatewayV1betaPathPost4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaGatewayV1betaPathOptions4Request( + PrepareProxyV1betaGatewayV1betaPathPost4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathOptions4", - methodName: "ProxyV1betaGatewayV1betaPathOptions4Async", + operationId: "ProxyV1betaGatewayV1betaPathPost4", + methodName: "ProxyV1betaGatewayV1betaPathPost4Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathOptions4", - methodName: "ProxyV1betaGatewayV1betaPathOptions4Async", + operationId: "ProxyV1betaGatewayV1betaPathPost4", + methodName: "ProxyV1betaGatewayV1betaPathPost4Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathOptions4", - methodName: "ProxyV1betaGatewayV1betaPathOptions4Async", + operationId: "ProxyV1betaGatewayV1betaPathPost4", + methodName: "ProxyV1betaGatewayV1betaPathPost4Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaGatewayV1betaPathOptions4Response( + ProcessProxyV1betaGatewayV1betaPathPost4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathOptions4", - methodName: "ProxyV1betaGatewayV1betaPathOptions4Async", + operationId: "ProxyV1betaGatewayV1betaPathPost4", + methodName: "ProxyV1betaGatewayV1betaPathPost4Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathOptions4", - methodName: "ProxyV1betaGatewayV1betaPathOptions4Async", + operationId: "ProxyV1betaGatewayV1betaPathPost4", + methodName: "ProxyV1betaGatewayV1betaPathPost4Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaGatewayV1betaPathOptions4ResponseContent( + ProcessProxyV1betaGatewayV1betaPathPost4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPost5.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPost5.g.cs index 86ef3e3b..5c0d4320 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPost5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathOptions5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathPost5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathOptions5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathPost5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaGatewayV1betaPathOptions5SecurityRequirement0, + { s_ProxyV1betaGatewayV1betaPathPost5SecurityRequirement0, }; - partial void PrepareProxyV1betaGatewayV1betaPathOptions5Arguments( + partial void PrepareProxyV1betaGatewayV1betaPathPost5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaGatewayV1betaPathOptions5Request( + partial void PrepareProxyV1betaGatewayV1betaPathPost5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaGatewayV1betaPathOptions5Response( + partial void ProcessProxyV1betaGatewayV1betaPathPost5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaGatewayV1betaPathOptions5ResponseContent( + partial void ProcessProxyV1betaGatewayV1betaPathPost5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathOptions5Async( + public async global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathPost5Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaGatewayV1betaPathOptions5AsResponseAsync( + var __response = await ProxyV1betaGatewayV1betaPathPost5AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathOptions5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathPost5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions5ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaGatewayV1betaPathOptions5Arguments( + PrepareProxyV1betaGatewayV1betaPathPost5Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions5ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaGatewayV1betaPathOptions5SecurityRequirements, - operationName: "ProxyV1betaGatewayV1betaPathOptions5Async"); + securityRequirements: s_ProxyV1betaGatewayV1betaPathPost5SecurityRequirements, + operationName: "ProxyV1betaGatewayV1betaPathPost5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaGatewayV1betaPathOptions5Request( + PrepareProxyV1betaGatewayV1betaPathPost5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathOptions5", - methodName: "ProxyV1betaGatewayV1betaPathOptions5Async", + operationId: "ProxyV1betaGatewayV1betaPathPost5", + methodName: "ProxyV1betaGatewayV1betaPathPost5Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathOptions5", - methodName: "ProxyV1betaGatewayV1betaPathOptions5Async", + operationId: "ProxyV1betaGatewayV1betaPathPost5", + methodName: "ProxyV1betaGatewayV1betaPathPost5Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathOptions5", - methodName: "ProxyV1betaGatewayV1betaPathOptions5Async", + operationId: "ProxyV1betaGatewayV1betaPathPost5", + methodName: "ProxyV1betaGatewayV1betaPathPost5Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaGatewayV1betaPathOptions5Response( + ProcessProxyV1betaGatewayV1betaPathPost5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathOptions5", - methodName: "ProxyV1betaGatewayV1betaPathOptions5Async", + operationId: "ProxyV1betaGatewayV1betaPathPost5", + methodName: "ProxyV1betaGatewayV1betaPathPost5Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathOptions5", - methodName: "ProxyV1betaGatewayV1betaPathOptions5Async", + operationId: "ProxyV1betaGatewayV1betaPathPost5", + methodName: "ProxyV1betaGatewayV1betaPathPost5Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaGatewayV1betaPathOptions5ResponseContent( + ProcessProxyV1betaGatewayV1betaPathPost5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions6.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPost6.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions6.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPost6.g.cs index 8cc6f878..90f61b11 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions6.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathPost6.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathOptions6SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathPost6SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathOptions6SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathPost6SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaGatewayV1betaPathOptions6SecurityRequirement0, + { s_ProxyV1betaGatewayV1betaPathPost6SecurityRequirement0, }; - partial void PrepareProxyV1betaGatewayV1betaPathOptions6Arguments( + partial void PrepareProxyV1betaGatewayV1betaPathPost6Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaGatewayV1betaPathOptions6Request( + partial void PrepareProxyV1betaGatewayV1betaPathPost6Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaGatewayV1betaPathOptions6Response( + partial void ProcessProxyV1betaGatewayV1betaPathPost6Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaGatewayV1betaPathOptions6ResponseContent( + partial void ProcessProxyV1betaGatewayV1betaPathPost6ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathOptions6Async( + public async global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathPost6Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaGatewayV1betaPathOptions6AsResponseAsync( + var __response = await ProxyV1betaGatewayV1betaPathPost6AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathOptions6AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathPost6AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions6ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaGatewayV1betaPathOptions6Arguments( + PrepareProxyV1betaGatewayV1betaPathPost6Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions6ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaGatewayV1betaPathOptions6SecurityRequirements, - operationName: "ProxyV1betaGatewayV1betaPathOptions6Async"); + securityRequirements: s_ProxyV1betaGatewayV1betaPathPost6SecurityRequirements, + operationName: "ProxyV1betaGatewayV1betaPathPost6Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions6ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaGatewayV1betaPathOptions6Request( + PrepareProxyV1betaGatewayV1betaPathPost6Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathOptions6", - methodName: "ProxyV1betaGatewayV1betaPathOptions6Async", + operationId: "ProxyV1betaGatewayV1betaPathPost6", + methodName: "ProxyV1betaGatewayV1betaPathPost6Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathOptions6", - methodName: "ProxyV1betaGatewayV1betaPathOptions6Async", + operationId: "ProxyV1betaGatewayV1betaPathPost6", + methodName: "ProxyV1betaGatewayV1betaPathPost6Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathOptions6", - methodName: "ProxyV1betaGatewayV1betaPathOptions6Async", + operationId: "ProxyV1betaGatewayV1betaPathPost6", + methodName: "ProxyV1betaGatewayV1betaPathPost6Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions6ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaGatewayV1betaPathOptions6Response( + ProcessProxyV1betaGatewayV1betaPathPost6Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathOptions6", - methodName: "ProxyV1betaGatewayV1betaPathOptions6Async", + operationId: "ProxyV1betaGatewayV1betaPathPost6", + methodName: "ProxyV1betaGatewayV1betaPathPost6Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathOptions6", - methodName: "ProxyV1betaGatewayV1betaPathOptions6Async", + operationId: "ProxyV1betaGatewayV1betaPathPost6", + methodName: "ProxyV1betaGatewayV1betaPathPost6Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathOptions6ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaGatewayV1betaPathOptions6ResponseContent( + ProcessProxyV1betaGatewayV1betaPathPost6ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPost.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPost.g.cs index 403160b5..ab51d157 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPost.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathOptionsSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathPostSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathOptionsSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathPostSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaTokenwiseV1betaPathOptionsSecurityRequirement0, + { s_ProxyV1betaTokenwiseV1betaPathPostSecurityRequirement0, }; - partial void PrepareProxyV1betaTokenwiseV1betaPathOptionsArguments( + partial void PrepareProxyV1betaTokenwiseV1betaPathPostArguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaTokenwiseV1betaPathOptionsRequest( + partial void PrepareProxyV1betaTokenwiseV1betaPathPostRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaTokenwiseV1betaPathOptionsResponse( + partial void ProcessProxyV1betaTokenwiseV1betaPathPostResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaTokenwiseV1betaPathOptionsResponseContent( + partial void ProcessProxyV1betaTokenwiseV1betaPathPostResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptionsResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathOptionsAsync( + public async global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathPostAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaTokenwiseV1betaPathOptionsAsResponseAsync( + var __response = await ProxyV1betaTokenwiseV1betaPathPostAsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptionsResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathOptionsAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathPostAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptionsResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaTokenwiseV1betaPathOptionsArguments( + PrepareProxyV1betaTokenwiseV1betaPathPostArguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptionsResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaTokenwiseV1betaPathOptionsSecurityRequirements, - operationName: "ProxyV1betaTokenwiseV1betaPathOptionsAsync"); + securityRequirements: s_ProxyV1betaTokenwiseV1betaPathPostSecurityRequirements, + operationName: "ProxyV1betaTokenwiseV1betaPathPostAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptionsResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaTokenwiseV1betaPathOptionsRequest( + PrepareProxyV1betaTokenwiseV1betaPathPostRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathOptions", - methodName: "ProxyV1betaTokenwiseV1betaPathOptionsAsync", + operationId: "ProxyV1betaTokenwiseV1betaPathPost", + methodName: "ProxyV1betaTokenwiseV1betaPathPostAsync", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathOptions", - methodName: "ProxyV1betaTokenwiseV1betaPathOptionsAsync", + operationId: "ProxyV1betaTokenwiseV1betaPathPost", + methodName: "ProxyV1betaTokenwiseV1betaPathPostAsync", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathOptions", - methodName: "ProxyV1betaTokenwiseV1betaPathOptionsAsync", + operationId: "ProxyV1betaTokenwiseV1betaPathPost", + methodName: "ProxyV1betaTokenwiseV1betaPathPostAsync", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptionsResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaTokenwiseV1betaPathOptionsResponse( + ProcessProxyV1betaTokenwiseV1betaPathPostResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathOptions", - methodName: "ProxyV1betaTokenwiseV1betaPathOptionsAsync", + operationId: "ProxyV1betaTokenwiseV1betaPathPost", + methodName: "ProxyV1betaTokenwiseV1betaPathPostAsync", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathOptions", - methodName: "ProxyV1betaTokenwiseV1betaPathOptionsAsync", + operationId: "ProxyV1betaTokenwiseV1betaPathPost", + methodName: "ProxyV1betaTokenwiseV1betaPathPostAsync", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptionsResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaTokenwiseV1betaPathOptionsResponseContent( + ProcessProxyV1betaTokenwiseV1betaPathPostResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPost2.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPost2.g.cs index 775878a4..eaf7eb5a 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPost2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathOptions2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathPost2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathOptions2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathPost2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaTokenwiseV1betaPathOptions2SecurityRequirement0, + { s_ProxyV1betaTokenwiseV1betaPathPost2SecurityRequirement0, }; - partial void PrepareProxyV1betaTokenwiseV1betaPathOptions2Arguments( + partial void PrepareProxyV1betaTokenwiseV1betaPathPost2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaTokenwiseV1betaPathOptions2Request( + partial void PrepareProxyV1betaTokenwiseV1betaPathPost2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaTokenwiseV1betaPathOptions2Response( + partial void ProcessProxyV1betaTokenwiseV1betaPathPost2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaTokenwiseV1betaPathOptions2ResponseContent( + partial void ProcessProxyV1betaTokenwiseV1betaPathPost2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathOptions2Async( + public async global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathPost2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaTokenwiseV1betaPathOptions2AsResponseAsync( + var __response = await ProxyV1betaTokenwiseV1betaPathPost2AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathOptions2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathPost2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions2ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaTokenwiseV1betaPathOptions2Arguments( + PrepareProxyV1betaTokenwiseV1betaPathPost2Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions2ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaTokenwiseV1betaPathOptions2SecurityRequirements, - operationName: "ProxyV1betaTokenwiseV1betaPathOptions2Async"); + securityRequirements: s_ProxyV1betaTokenwiseV1betaPathPost2SecurityRequirements, + operationName: "ProxyV1betaTokenwiseV1betaPathPost2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaTokenwiseV1betaPathOptions2Request( + PrepareProxyV1betaTokenwiseV1betaPathPost2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathOptions2", - methodName: "ProxyV1betaTokenwiseV1betaPathOptions2Async", + operationId: "ProxyV1betaTokenwiseV1betaPathPost2", + methodName: "ProxyV1betaTokenwiseV1betaPathPost2Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathOptions2", - methodName: "ProxyV1betaTokenwiseV1betaPathOptions2Async", + operationId: "ProxyV1betaTokenwiseV1betaPathPost2", + methodName: "ProxyV1betaTokenwiseV1betaPathPost2Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathOptions2", - methodName: "ProxyV1betaTokenwiseV1betaPathOptions2Async", + operationId: "ProxyV1betaTokenwiseV1betaPathPost2", + methodName: "ProxyV1betaTokenwiseV1betaPathPost2Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaTokenwiseV1betaPathOptions2Response( + ProcessProxyV1betaTokenwiseV1betaPathPost2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathOptions2", - methodName: "ProxyV1betaTokenwiseV1betaPathOptions2Async", + operationId: "ProxyV1betaTokenwiseV1betaPathPost2", + methodName: "ProxyV1betaTokenwiseV1betaPathPost2Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathOptions2", - methodName: "ProxyV1betaTokenwiseV1betaPathOptions2Async", + operationId: "ProxyV1betaTokenwiseV1betaPathPost2", + methodName: "ProxyV1betaTokenwiseV1betaPathPost2Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaTokenwiseV1betaPathOptions2ResponseContent( + ProcessProxyV1betaTokenwiseV1betaPathPost2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPost3.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPost3.g.cs index 905679f1..7586e5da 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPost3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathOptions3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathPost3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathOptions3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathPost3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaTokenwiseV1betaPathOptions3SecurityRequirement0, + { s_ProxyV1betaTokenwiseV1betaPathPost3SecurityRequirement0, }; - partial void PrepareProxyV1betaTokenwiseV1betaPathOptions3Arguments( + partial void PrepareProxyV1betaTokenwiseV1betaPathPost3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaTokenwiseV1betaPathOptions3Request( + partial void PrepareProxyV1betaTokenwiseV1betaPathPost3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaTokenwiseV1betaPathOptions3Response( + partial void ProcessProxyV1betaTokenwiseV1betaPathPost3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaTokenwiseV1betaPathOptions3ResponseContent( + partial void ProcessProxyV1betaTokenwiseV1betaPathPost3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathOptions3Async( + public async global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathPost3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaTokenwiseV1betaPathOptions3AsResponseAsync( + var __response = await ProxyV1betaTokenwiseV1betaPathPost3AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathOptions3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathPost3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions3ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaTokenwiseV1betaPathOptions3Arguments( + PrepareProxyV1betaTokenwiseV1betaPathPost3Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions3ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaTokenwiseV1betaPathOptions3SecurityRequirements, - operationName: "ProxyV1betaTokenwiseV1betaPathOptions3Async"); + securityRequirements: s_ProxyV1betaTokenwiseV1betaPathPost3SecurityRequirements, + operationName: "ProxyV1betaTokenwiseV1betaPathPost3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaTokenwiseV1betaPathOptions3Request( + PrepareProxyV1betaTokenwiseV1betaPathPost3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathOptions3", - methodName: "ProxyV1betaTokenwiseV1betaPathOptions3Async", + operationId: "ProxyV1betaTokenwiseV1betaPathPost3", + methodName: "ProxyV1betaTokenwiseV1betaPathPost3Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathOptions3", - methodName: "ProxyV1betaTokenwiseV1betaPathOptions3Async", + operationId: "ProxyV1betaTokenwiseV1betaPathPost3", + methodName: "ProxyV1betaTokenwiseV1betaPathPost3Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathOptions3", - methodName: "ProxyV1betaTokenwiseV1betaPathOptions3Async", + operationId: "ProxyV1betaTokenwiseV1betaPathPost3", + methodName: "ProxyV1betaTokenwiseV1betaPathPost3Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaTokenwiseV1betaPathOptions3Response( + ProcessProxyV1betaTokenwiseV1betaPathPost3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathOptions3", - methodName: "ProxyV1betaTokenwiseV1betaPathOptions3Async", + operationId: "ProxyV1betaTokenwiseV1betaPathPost3", + methodName: "ProxyV1betaTokenwiseV1betaPathPost3Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathOptions3", - methodName: "ProxyV1betaTokenwiseV1betaPathOptions3Async", + operationId: "ProxyV1betaTokenwiseV1betaPathPost3", + methodName: "ProxyV1betaTokenwiseV1betaPathPost3Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaTokenwiseV1betaPathOptions3ResponseContent( + ProcessProxyV1betaTokenwiseV1betaPathPost3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPost4.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPost4.g.cs index 44743777..667a71de 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPost4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathOptions4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathPost4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathOptions4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathPost4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaTokenwiseV1betaPathOptions4SecurityRequirement0, + { s_ProxyV1betaTokenwiseV1betaPathPost4SecurityRequirement0, }; - partial void PrepareProxyV1betaTokenwiseV1betaPathOptions4Arguments( + partial void PrepareProxyV1betaTokenwiseV1betaPathPost4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaTokenwiseV1betaPathOptions4Request( + partial void PrepareProxyV1betaTokenwiseV1betaPathPost4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaTokenwiseV1betaPathOptions4Response( + partial void ProcessProxyV1betaTokenwiseV1betaPathPost4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaTokenwiseV1betaPathOptions4ResponseContent( + partial void ProcessProxyV1betaTokenwiseV1betaPathPost4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathOptions4Async( + public async global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathPost4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaTokenwiseV1betaPathOptions4AsResponseAsync( + var __response = await ProxyV1betaTokenwiseV1betaPathPost4AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathOptions4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathPost4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions4ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaTokenwiseV1betaPathOptions4Arguments( + PrepareProxyV1betaTokenwiseV1betaPathPost4Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions4ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaTokenwiseV1betaPathOptions4SecurityRequirements, - operationName: "ProxyV1betaTokenwiseV1betaPathOptions4Async"); + securityRequirements: s_ProxyV1betaTokenwiseV1betaPathPost4SecurityRequirements, + operationName: "ProxyV1betaTokenwiseV1betaPathPost4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaTokenwiseV1betaPathOptions4Request( + PrepareProxyV1betaTokenwiseV1betaPathPost4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathOptions4", - methodName: "ProxyV1betaTokenwiseV1betaPathOptions4Async", + operationId: "ProxyV1betaTokenwiseV1betaPathPost4", + methodName: "ProxyV1betaTokenwiseV1betaPathPost4Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathOptions4", - methodName: "ProxyV1betaTokenwiseV1betaPathOptions4Async", + operationId: "ProxyV1betaTokenwiseV1betaPathPost4", + methodName: "ProxyV1betaTokenwiseV1betaPathPost4Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathOptions4", - methodName: "ProxyV1betaTokenwiseV1betaPathOptions4Async", + operationId: "ProxyV1betaTokenwiseV1betaPathPost4", + methodName: "ProxyV1betaTokenwiseV1betaPathPost4Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaTokenwiseV1betaPathOptions4Response( + ProcessProxyV1betaTokenwiseV1betaPathPost4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathOptions4", - methodName: "ProxyV1betaTokenwiseV1betaPathOptions4Async", + operationId: "ProxyV1betaTokenwiseV1betaPathPost4", + methodName: "ProxyV1betaTokenwiseV1betaPathPost4Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathOptions4", - methodName: "ProxyV1betaTokenwiseV1betaPathOptions4Async", + operationId: "ProxyV1betaTokenwiseV1betaPathPost4", + methodName: "ProxyV1betaTokenwiseV1betaPathPost4Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaTokenwiseV1betaPathOptions4ResponseContent( + ProcessProxyV1betaTokenwiseV1betaPathPost4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPost5.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPost5.g.cs index 63da5c52..c9ebc3c3 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPost5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathOptions5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathPost5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathOptions5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathPost5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaTokenwiseV1betaPathOptions5SecurityRequirement0, + { s_ProxyV1betaTokenwiseV1betaPathPost5SecurityRequirement0, }; - partial void PrepareProxyV1betaTokenwiseV1betaPathOptions5Arguments( + partial void PrepareProxyV1betaTokenwiseV1betaPathPost5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaTokenwiseV1betaPathOptions5Request( + partial void PrepareProxyV1betaTokenwiseV1betaPathPost5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaTokenwiseV1betaPathOptions5Response( + partial void ProcessProxyV1betaTokenwiseV1betaPathPost5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaTokenwiseV1betaPathOptions5ResponseContent( + partial void ProcessProxyV1betaTokenwiseV1betaPathPost5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathOptions5Async( + public async global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathPost5Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaTokenwiseV1betaPathOptions5AsResponseAsync( + var __response = await ProxyV1betaTokenwiseV1betaPathPost5AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathOptions5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathPost5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions5ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaTokenwiseV1betaPathOptions5Arguments( + PrepareProxyV1betaTokenwiseV1betaPathPost5Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions5ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaTokenwiseV1betaPathOptions5SecurityRequirements, - operationName: "ProxyV1betaTokenwiseV1betaPathOptions5Async"); + securityRequirements: s_ProxyV1betaTokenwiseV1betaPathPost5SecurityRequirements, + operationName: "ProxyV1betaTokenwiseV1betaPathPost5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaTokenwiseV1betaPathOptions5Request( + PrepareProxyV1betaTokenwiseV1betaPathPost5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathOptions5", - methodName: "ProxyV1betaTokenwiseV1betaPathOptions5Async", + operationId: "ProxyV1betaTokenwiseV1betaPathPost5", + methodName: "ProxyV1betaTokenwiseV1betaPathPost5Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathOptions5", - methodName: "ProxyV1betaTokenwiseV1betaPathOptions5Async", + operationId: "ProxyV1betaTokenwiseV1betaPathPost5", + methodName: "ProxyV1betaTokenwiseV1betaPathPost5Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathOptions5", - methodName: "ProxyV1betaTokenwiseV1betaPathOptions5Async", + operationId: "ProxyV1betaTokenwiseV1betaPathPost5", + methodName: "ProxyV1betaTokenwiseV1betaPathPost5Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaTokenwiseV1betaPathOptions5Response( + ProcessProxyV1betaTokenwiseV1betaPathPost5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathOptions5", - methodName: "ProxyV1betaTokenwiseV1betaPathOptions5Async", + operationId: "ProxyV1betaTokenwiseV1betaPathPost5", + methodName: "ProxyV1betaTokenwiseV1betaPathPost5Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathOptions5", - methodName: "ProxyV1betaTokenwiseV1betaPathOptions5Async", + operationId: "ProxyV1betaTokenwiseV1betaPathPost5", + methodName: "ProxyV1betaTokenwiseV1betaPathPost5Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaTokenwiseV1betaPathOptions5ResponseContent( + ProcessProxyV1betaTokenwiseV1betaPathPost5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions6.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPost6.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions6.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPost6.g.cs index 39c1426b..707f2021 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions6.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathPost6.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathOptions6SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathPost6SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathOptions6SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathPost6SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaTokenwiseV1betaPathOptions6SecurityRequirement0, + { s_ProxyV1betaTokenwiseV1betaPathPost6SecurityRequirement0, }; - partial void PrepareProxyV1betaTokenwiseV1betaPathOptions6Arguments( + partial void PrepareProxyV1betaTokenwiseV1betaPathPost6Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaTokenwiseV1betaPathOptions6Request( + partial void PrepareProxyV1betaTokenwiseV1betaPathPost6Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaTokenwiseV1betaPathOptions6Response( + partial void ProcessProxyV1betaTokenwiseV1betaPathPost6Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaTokenwiseV1betaPathOptions6ResponseContent( + partial void ProcessProxyV1betaTokenwiseV1betaPathPost6ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathOptions6Async( + public async global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathPost6Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaTokenwiseV1betaPathOptions6AsResponseAsync( + var __response = await ProxyV1betaTokenwiseV1betaPathPost6AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathOptions6AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathPost6AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions6ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaTokenwiseV1betaPathOptions6Arguments( + PrepareProxyV1betaTokenwiseV1betaPathPost6Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions6ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaTokenwiseV1betaPathOptions6SecurityRequirements, - operationName: "ProxyV1betaTokenwiseV1betaPathOptions6Async"); + securityRequirements: s_ProxyV1betaTokenwiseV1betaPathPost6SecurityRequirements, + operationName: "ProxyV1betaTokenwiseV1betaPathPost6Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions6ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaTokenwiseV1betaPathOptions6Request( + PrepareProxyV1betaTokenwiseV1betaPathPost6Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathOptions6", - methodName: "ProxyV1betaTokenwiseV1betaPathOptions6Async", + operationId: "ProxyV1betaTokenwiseV1betaPathPost6", + methodName: "ProxyV1betaTokenwiseV1betaPathPost6Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathOptions6", - methodName: "ProxyV1betaTokenwiseV1betaPathOptions6Async", + operationId: "ProxyV1betaTokenwiseV1betaPathPost6", + methodName: "ProxyV1betaTokenwiseV1betaPathPost6Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathOptions6", - methodName: "ProxyV1betaTokenwiseV1betaPathOptions6Async", + operationId: "ProxyV1betaTokenwiseV1betaPathPost6", + methodName: "ProxyV1betaTokenwiseV1betaPathPost6Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions6ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaTokenwiseV1betaPathOptions6Response( + ProcessProxyV1betaTokenwiseV1betaPathPost6Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathOptions6", - methodName: "ProxyV1betaTokenwiseV1betaPathOptions6Async", + operationId: "ProxyV1betaTokenwiseV1betaPathPost6", + methodName: "ProxyV1betaTokenwiseV1betaPathPost6Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathOptions6", - methodName: "ProxyV1betaTokenwiseV1betaPathOptions6Async", + operationId: "ProxyV1betaTokenwiseV1betaPathPost6", + methodName: "ProxyV1betaTokenwiseV1betaPathPost6Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathOptions6ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaTokenwiseV1betaPathOptions6ResponseContent( + ProcessProxyV1betaTokenwiseV1betaPathPost6ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPost.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPost.g.cs index e4a1ac52..82f64629 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPost.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathOptionsSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathPostSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathOptionsSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathPostSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalGatewayV1internalPathOptionsSecurityRequirement0, + { s_ProxyV1internalGatewayV1internalPathPostSecurityRequirement0, }; - partial void PrepareProxyV1internalGatewayV1internalPathOptionsArguments( + partial void PrepareProxyV1internalGatewayV1internalPathPostArguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalGatewayV1internalPathOptionsRequest( + partial void PrepareProxyV1internalGatewayV1internalPathPostRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalGatewayV1internalPathOptionsResponse( + partial void ProcessProxyV1internalGatewayV1internalPathPostResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalGatewayV1internalPathOptionsResponseContent( + partial void ProcessProxyV1internalGatewayV1internalPathPostResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptionsResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathOptionsAsync( + public async global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathPostAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalGatewayV1internalPathOptionsAsResponseAsync( + var __response = await ProxyV1internalGatewayV1internalPathPostAsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptionsResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathOptionsAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathPostAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptionsResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1internalGatewayV1internalPathOptionsArguments( + PrepareProxyV1internalGatewayV1internalPathPostArguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptionsResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalGatewayV1internalPathOptionsSecurityRequirements, - operationName: "ProxyV1internalGatewayV1internalPathOptionsAsync"); + securityRequirements: s_ProxyV1internalGatewayV1internalPathPostSecurityRequirements, + operationName: "ProxyV1internalGatewayV1internalPathPostAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptionsResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalGatewayV1internalPathOptionsRequest( + PrepareProxyV1internalGatewayV1internalPathPostRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathOptions", - methodName: "ProxyV1internalGatewayV1internalPathOptionsAsync", + operationId: "ProxyV1internalGatewayV1internalPathPost", + methodName: "ProxyV1internalGatewayV1internalPathPostAsync", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathOptions", - methodName: "ProxyV1internalGatewayV1internalPathOptionsAsync", + operationId: "ProxyV1internalGatewayV1internalPathPost", + methodName: "ProxyV1internalGatewayV1internalPathPostAsync", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathOptions", - methodName: "ProxyV1internalGatewayV1internalPathOptionsAsync", + operationId: "ProxyV1internalGatewayV1internalPathPost", + methodName: "ProxyV1internalGatewayV1internalPathPostAsync", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptionsResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalGatewayV1internalPathOptionsResponse( + ProcessProxyV1internalGatewayV1internalPathPostResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathOptions", - methodName: "ProxyV1internalGatewayV1internalPathOptionsAsync", + operationId: "ProxyV1internalGatewayV1internalPathPost", + methodName: "ProxyV1internalGatewayV1internalPathPostAsync", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptionsResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathOptions", - methodName: "ProxyV1internalGatewayV1internalPathOptionsAsync", + operationId: "ProxyV1internalGatewayV1internalPathPost", + methodName: "ProxyV1internalGatewayV1internalPathPostAsync", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptionsResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalGatewayV1internalPathOptionsResponseContent( + ProcessProxyV1internalGatewayV1internalPathPostResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPost2.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPost2.g.cs index 9fa7c9e5..f1fc46a7 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPost2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathOptions2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathPost2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathOptions2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathPost2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalGatewayV1internalPathOptions2SecurityRequirement0, + { s_ProxyV1internalGatewayV1internalPathPost2SecurityRequirement0, }; - partial void PrepareProxyV1internalGatewayV1internalPathOptions2Arguments( + partial void PrepareProxyV1internalGatewayV1internalPathPost2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalGatewayV1internalPathOptions2Request( + partial void PrepareProxyV1internalGatewayV1internalPathPost2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalGatewayV1internalPathOptions2Response( + partial void ProcessProxyV1internalGatewayV1internalPathPost2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalGatewayV1internalPathOptions2ResponseContent( + partial void ProcessProxyV1internalGatewayV1internalPathPost2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathOptions2Async( + public async global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathPost2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalGatewayV1internalPathOptions2AsResponseAsync( + var __response = await ProxyV1internalGatewayV1internalPathPost2AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions2ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathOptions2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathPost2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions2ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1internalGatewayV1internalPathOptions2Arguments( + PrepareProxyV1internalGatewayV1internalPathPost2Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions2ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalGatewayV1internalPathOptions2SecurityRequirements, - operationName: "ProxyV1internalGatewayV1internalPathOptions2Async"); + securityRequirements: s_ProxyV1internalGatewayV1internalPathPost2SecurityRequirements, + operationName: "ProxyV1internalGatewayV1internalPathPost2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalGatewayV1internalPathOptions2Request( + PrepareProxyV1internalGatewayV1internalPathPost2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathOptions2", - methodName: "ProxyV1internalGatewayV1internalPathOptions2Async", + operationId: "ProxyV1internalGatewayV1internalPathPost2", + methodName: "ProxyV1internalGatewayV1internalPathPost2Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathOptions2", - methodName: "ProxyV1internalGatewayV1internalPathOptions2Async", + operationId: "ProxyV1internalGatewayV1internalPathPost2", + methodName: "ProxyV1internalGatewayV1internalPathPost2Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathOptions2", - methodName: "ProxyV1internalGatewayV1internalPathOptions2Async", + operationId: "ProxyV1internalGatewayV1internalPathPost2", + methodName: "ProxyV1internalGatewayV1internalPathPost2Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalGatewayV1internalPathOptions2Response( + ProcessProxyV1internalGatewayV1internalPathPost2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathOptions2", - methodName: "ProxyV1internalGatewayV1internalPathOptions2Async", + operationId: "ProxyV1internalGatewayV1internalPathPost2", + methodName: "ProxyV1internalGatewayV1internalPathPost2Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathOptions2", - methodName: "ProxyV1internalGatewayV1internalPathOptions2Async", + operationId: "ProxyV1internalGatewayV1internalPathPost2", + methodName: "ProxyV1internalGatewayV1internalPathPost2Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalGatewayV1internalPathOptions2ResponseContent( + ProcessProxyV1internalGatewayV1internalPathPost2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPost3.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPost3.g.cs index faa10b6d..14f79398 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPost3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathOptions3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathPost3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathOptions3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathPost3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalGatewayV1internalPathOptions3SecurityRequirement0, + { s_ProxyV1internalGatewayV1internalPathPost3SecurityRequirement0, }; - partial void PrepareProxyV1internalGatewayV1internalPathOptions3Arguments( + partial void PrepareProxyV1internalGatewayV1internalPathPost3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalGatewayV1internalPathOptions3Request( + partial void PrepareProxyV1internalGatewayV1internalPathPost3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalGatewayV1internalPathOptions3Response( + partial void ProcessProxyV1internalGatewayV1internalPathPost3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalGatewayV1internalPathOptions3ResponseContent( + partial void ProcessProxyV1internalGatewayV1internalPathPost3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathOptions3Async( + public async global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathPost3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalGatewayV1internalPathOptions3AsResponseAsync( + var __response = await ProxyV1internalGatewayV1internalPathPost3AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions3ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathOptions3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathPost3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions3ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1internalGatewayV1internalPathOptions3Arguments( + PrepareProxyV1internalGatewayV1internalPathPost3Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions3ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalGatewayV1internalPathOptions3SecurityRequirements, - operationName: "ProxyV1internalGatewayV1internalPathOptions3Async"); + securityRequirements: s_ProxyV1internalGatewayV1internalPathPost3SecurityRequirements, + operationName: "ProxyV1internalGatewayV1internalPathPost3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalGatewayV1internalPathOptions3Request( + PrepareProxyV1internalGatewayV1internalPathPost3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathOptions3", - methodName: "ProxyV1internalGatewayV1internalPathOptions3Async", + operationId: "ProxyV1internalGatewayV1internalPathPost3", + methodName: "ProxyV1internalGatewayV1internalPathPost3Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathOptions3", - methodName: "ProxyV1internalGatewayV1internalPathOptions3Async", + operationId: "ProxyV1internalGatewayV1internalPathPost3", + methodName: "ProxyV1internalGatewayV1internalPathPost3Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathOptions3", - methodName: "ProxyV1internalGatewayV1internalPathOptions3Async", + operationId: "ProxyV1internalGatewayV1internalPathPost3", + methodName: "ProxyV1internalGatewayV1internalPathPost3Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalGatewayV1internalPathOptions3Response( + ProcessProxyV1internalGatewayV1internalPathPost3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathOptions3", - methodName: "ProxyV1internalGatewayV1internalPathOptions3Async", + operationId: "ProxyV1internalGatewayV1internalPathPost3", + methodName: "ProxyV1internalGatewayV1internalPathPost3Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathOptions3", - methodName: "ProxyV1internalGatewayV1internalPathOptions3Async", + operationId: "ProxyV1internalGatewayV1internalPathPost3", + methodName: "ProxyV1internalGatewayV1internalPathPost3Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalGatewayV1internalPathOptions3ResponseContent( + ProcessProxyV1internalGatewayV1internalPathPost3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPost4.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPost4.g.cs index 2bcbf1f6..5edf1bd3 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPost4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathOptions4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathPost4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathOptions4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathPost4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalGatewayV1internalPathOptions4SecurityRequirement0, + { s_ProxyV1internalGatewayV1internalPathPost4SecurityRequirement0, }; - partial void PrepareProxyV1internalGatewayV1internalPathOptions4Arguments( + partial void PrepareProxyV1internalGatewayV1internalPathPost4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalGatewayV1internalPathOptions4Request( + partial void PrepareProxyV1internalGatewayV1internalPathPost4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalGatewayV1internalPathOptions4Response( + partial void ProcessProxyV1internalGatewayV1internalPathPost4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalGatewayV1internalPathOptions4ResponseContent( + partial void ProcessProxyV1internalGatewayV1internalPathPost4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathOptions4Async( + public async global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathPost4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalGatewayV1internalPathOptions4AsResponseAsync( + var __response = await ProxyV1internalGatewayV1internalPathPost4AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions4ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathOptions4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathPost4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions4ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1internalGatewayV1internalPathOptions4Arguments( + PrepareProxyV1internalGatewayV1internalPathPost4Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions4ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalGatewayV1internalPathOptions4SecurityRequirements, - operationName: "ProxyV1internalGatewayV1internalPathOptions4Async"); + securityRequirements: s_ProxyV1internalGatewayV1internalPathPost4SecurityRequirements, + operationName: "ProxyV1internalGatewayV1internalPathPost4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalGatewayV1internalPathOptions4Request( + PrepareProxyV1internalGatewayV1internalPathPost4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathOptions4", - methodName: "ProxyV1internalGatewayV1internalPathOptions4Async", + operationId: "ProxyV1internalGatewayV1internalPathPost4", + methodName: "ProxyV1internalGatewayV1internalPathPost4Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathOptions4", - methodName: "ProxyV1internalGatewayV1internalPathOptions4Async", + operationId: "ProxyV1internalGatewayV1internalPathPost4", + methodName: "ProxyV1internalGatewayV1internalPathPost4Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathOptions4", - methodName: "ProxyV1internalGatewayV1internalPathOptions4Async", + operationId: "ProxyV1internalGatewayV1internalPathPost4", + methodName: "ProxyV1internalGatewayV1internalPathPost4Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalGatewayV1internalPathOptions4Response( + ProcessProxyV1internalGatewayV1internalPathPost4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathOptions4", - methodName: "ProxyV1internalGatewayV1internalPathOptions4Async", + operationId: "ProxyV1internalGatewayV1internalPathPost4", + methodName: "ProxyV1internalGatewayV1internalPathPost4Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathOptions4", - methodName: "ProxyV1internalGatewayV1internalPathOptions4Async", + operationId: "ProxyV1internalGatewayV1internalPathPost4", + methodName: "ProxyV1internalGatewayV1internalPathPost4Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalGatewayV1internalPathOptions4ResponseContent( + ProcessProxyV1internalGatewayV1internalPathPost4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPost5.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPost5.g.cs index c462d094..90aa43fe 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPost5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathOptions5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathPost5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathOptions5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathPost5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalGatewayV1internalPathOptions5SecurityRequirement0, + { s_ProxyV1internalGatewayV1internalPathPost5SecurityRequirement0, }; - partial void PrepareProxyV1internalGatewayV1internalPathOptions5Arguments( + partial void PrepareProxyV1internalGatewayV1internalPathPost5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalGatewayV1internalPathOptions5Request( + partial void PrepareProxyV1internalGatewayV1internalPathPost5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalGatewayV1internalPathOptions5Response( + partial void ProcessProxyV1internalGatewayV1internalPathPost5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalGatewayV1internalPathOptions5ResponseContent( + partial void ProcessProxyV1internalGatewayV1internalPathPost5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathOptions5Async( + public async global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathPost5Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalGatewayV1internalPathOptions5AsResponseAsync( + var __response = await ProxyV1internalGatewayV1internalPathPost5AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions5ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathOptions5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathPost5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions5ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1internalGatewayV1internalPathOptions5Arguments( + PrepareProxyV1internalGatewayV1internalPathPost5Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions5ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalGatewayV1internalPathOptions5SecurityRequirements, - operationName: "ProxyV1internalGatewayV1internalPathOptions5Async"); + securityRequirements: s_ProxyV1internalGatewayV1internalPathPost5SecurityRequirements, + operationName: "ProxyV1internalGatewayV1internalPathPost5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalGatewayV1internalPathOptions5Request( + PrepareProxyV1internalGatewayV1internalPathPost5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathOptions5", - methodName: "ProxyV1internalGatewayV1internalPathOptions5Async", + operationId: "ProxyV1internalGatewayV1internalPathPost5", + methodName: "ProxyV1internalGatewayV1internalPathPost5Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathOptions5", - methodName: "ProxyV1internalGatewayV1internalPathOptions5Async", + operationId: "ProxyV1internalGatewayV1internalPathPost5", + methodName: "ProxyV1internalGatewayV1internalPathPost5Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathOptions5", - methodName: "ProxyV1internalGatewayV1internalPathOptions5Async", + operationId: "ProxyV1internalGatewayV1internalPathPost5", + methodName: "ProxyV1internalGatewayV1internalPathPost5Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalGatewayV1internalPathOptions5Response( + ProcessProxyV1internalGatewayV1internalPathPost5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathOptions5", - methodName: "ProxyV1internalGatewayV1internalPathOptions5Async", + operationId: "ProxyV1internalGatewayV1internalPathPost5", + methodName: "ProxyV1internalGatewayV1internalPathPost5Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathOptions5", - methodName: "ProxyV1internalGatewayV1internalPathOptions5Async", + operationId: "ProxyV1internalGatewayV1internalPathPost5", + methodName: "ProxyV1internalGatewayV1internalPathPost5Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalGatewayV1internalPathOptions5ResponseContent( + ProcessProxyV1internalGatewayV1internalPathPost5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions6.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPost6.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions6.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPost6.g.cs index 561c1d8d..a3eba121 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions6.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathPost6.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathOptions6SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathPost6SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathOptions6SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathPost6SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalGatewayV1internalPathOptions6SecurityRequirement0, + { s_ProxyV1internalGatewayV1internalPathPost6SecurityRequirement0, }; - partial void PrepareProxyV1internalGatewayV1internalPathOptions6Arguments( + partial void PrepareProxyV1internalGatewayV1internalPathPost6Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalGatewayV1internalPathOptions6Request( + partial void PrepareProxyV1internalGatewayV1internalPathPost6Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalGatewayV1internalPathOptions6Response( + partial void ProcessProxyV1internalGatewayV1internalPathPost6Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalGatewayV1internalPathOptions6ResponseContent( + partial void ProcessProxyV1internalGatewayV1internalPathPost6ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathOptions6Async( + public async global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathPost6Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalGatewayV1internalPathOptions6AsResponseAsync( + var __response = await ProxyV1internalGatewayV1internalPathPost6AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions6ResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathOptions6AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathPost6AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions6ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1internalGatewayV1internalPathOptions6Arguments( + PrepareProxyV1internalGatewayV1internalPathPost6Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions6ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalGatewayV1internalPathOptions6SecurityRequirements, - operationName: "ProxyV1internalGatewayV1internalPathOptions6Async"); + securityRequirements: s_ProxyV1internalGatewayV1internalPathPost6SecurityRequirements, + operationName: "ProxyV1internalGatewayV1internalPathPost6Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions6ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalGatewayV1internalPathOptions6Request( + PrepareProxyV1internalGatewayV1internalPathPost6Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathOptions6", - methodName: "ProxyV1internalGatewayV1internalPathOptions6Async", + operationId: "ProxyV1internalGatewayV1internalPathPost6", + methodName: "ProxyV1internalGatewayV1internalPathPost6Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathOptions6", - methodName: "ProxyV1internalGatewayV1internalPathOptions6Async", + operationId: "ProxyV1internalGatewayV1internalPathPost6", + methodName: "ProxyV1internalGatewayV1internalPathPost6Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathOptions6", - methodName: "ProxyV1internalGatewayV1internalPathOptions6Async", + operationId: "ProxyV1internalGatewayV1internalPathPost6", + methodName: "ProxyV1internalGatewayV1internalPathPost6Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions6ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalGatewayV1internalPathOptions6Response( + ProcessProxyV1internalGatewayV1internalPathPost6Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathOptions6", - methodName: "ProxyV1internalGatewayV1internalPathOptions6Async", + operationId: "ProxyV1internalGatewayV1internalPathPost6", + methodName: "ProxyV1internalGatewayV1internalPathPost6Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathOptions6", - methodName: "ProxyV1internalGatewayV1internalPathOptions6Async", + operationId: "ProxyV1internalGatewayV1internalPathPost6", + methodName: "ProxyV1internalGatewayV1internalPathPost6Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathOptions6ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalGatewayV1internalPathOptions6ResponseContent( + ProcessProxyV1internalGatewayV1internalPathPost6ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPost.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPost.g.cs index c8e21bad..a8cfaa65 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPost.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathOptionsSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathPostSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathOptionsSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathPostSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalTokenwiseV1internalPathOptionsSecurityRequirement0, + { s_ProxyV1internalTokenwiseV1internalPathPostSecurityRequirement0, }; - partial void PrepareProxyV1internalTokenwiseV1internalPathOptionsArguments( + partial void PrepareProxyV1internalTokenwiseV1internalPathPostArguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalTokenwiseV1internalPathOptionsRequest( + partial void PrepareProxyV1internalTokenwiseV1internalPathPostRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalTokenwiseV1internalPathOptionsResponse( + partial void ProcessProxyV1internalTokenwiseV1internalPathPostResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalTokenwiseV1internalPathOptionsResponseContent( + partial void ProcessProxyV1internalTokenwiseV1internalPathPostResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptionsResponseContent /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathOptionsAsync( + public async global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathPostAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalTokenwiseV1internalPathOptionsAsResponseAsync( + var __response = await ProxyV1internalTokenwiseV1internalPathPostAsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptionsResponseContent /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathOptionsAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathPostAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptionsResponseContent { PrepareArguments( client: HttpClient); - PrepareProxyV1internalTokenwiseV1internalPathOptionsArguments( + PrepareProxyV1internalTokenwiseV1internalPathPostArguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptionsResponseContent var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalTokenwiseV1internalPathOptionsSecurityRequirements, - operationName: "ProxyV1internalTokenwiseV1internalPathOptionsAsync"); + securityRequirements: s_ProxyV1internalTokenwiseV1internalPathPostSecurityRequirements, + operationName: "ProxyV1internalTokenwiseV1internalPathPostAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptionsResponseContent PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalTokenwiseV1internalPathOptionsRequest( + PrepareProxyV1internalTokenwiseV1internalPathPostRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptionsResponseContent await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathOptions", - methodName: "ProxyV1internalTokenwiseV1internalPathOptionsAsync", + operationId: "ProxyV1internalTokenwiseV1internalPathPost", + methodName: "ProxyV1internalTokenwiseV1internalPathPostAsync", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptionsResponseContent await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathOptions", - methodName: "ProxyV1internalTokenwiseV1internalPathOptionsAsync", + operationId: "ProxyV1internalTokenwiseV1internalPathPost", + methodName: "ProxyV1internalTokenwiseV1internalPathPostAsync", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptionsResponseContent await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathOptions", - methodName: "ProxyV1internalTokenwiseV1internalPathOptionsAsync", + operationId: "ProxyV1internalTokenwiseV1internalPathPost", + methodName: "ProxyV1internalTokenwiseV1internalPathPostAsync", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptionsResponseContent ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalTokenwiseV1internalPathOptionsResponse( + ProcessProxyV1internalTokenwiseV1internalPathPostResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptionsResponseContent await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathOptions", - methodName: "ProxyV1internalTokenwiseV1internalPathOptionsAsync", + operationId: "ProxyV1internalTokenwiseV1internalPathPost", + methodName: "ProxyV1internalTokenwiseV1internalPathPostAsync", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptionsResponseContent await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathOptions", - methodName: "ProxyV1internalTokenwiseV1internalPathOptionsAsync", + operationId: "ProxyV1internalTokenwiseV1internalPathPost", + methodName: "ProxyV1internalTokenwiseV1internalPathPostAsync", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptionsResponseContent client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalTokenwiseV1internalPathOptionsResponseContent( + ProcessProxyV1internalTokenwiseV1internalPathPostResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPost2.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPost2.g.cs index b3d2b9ef..f4ea64ff 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPost2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathOptions2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathPost2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathOptions2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathPost2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalTokenwiseV1internalPathOptions2SecurityRequirement0, + { s_ProxyV1internalTokenwiseV1internalPathPost2SecurityRequirement0, }; - partial void PrepareProxyV1internalTokenwiseV1internalPathOptions2Arguments( + partial void PrepareProxyV1internalTokenwiseV1internalPathPost2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalTokenwiseV1internalPathOptions2Request( + partial void PrepareProxyV1internalTokenwiseV1internalPathPost2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalTokenwiseV1internalPathOptions2Response( + partial void ProcessProxyV1internalTokenwiseV1internalPathPost2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalTokenwiseV1internalPathOptions2ResponseContent( + partial void ProcessProxyV1internalTokenwiseV1internalPathPost2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions2ResponseConten /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathOptions2Async( + public async global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathPost2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalTokenwiseV1internalPathOptions2AsResponseAsync( + var __response = await ProxyV1internalTokenwiseV1internalPathPost2AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions2ResponseConten /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathOptions2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathPost2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions2ResponseConten { PrepareArguments( client: HttpClient); - PrepareProxyV1internalTokenwiseV1internalPathOptions2Arguments( + PrepareProxyV1internalTokenwiseV1internalPathPost2Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions2ResponseConten var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalTokenwiseV1internalPathOptions2SecurityRequirements, - operationName: "ProxyV1internalTokenwiseV1internalPathOptions2Async"); + securityRequirements: s_ProxyV1internalTokenwiseV1internalPathPost2SecurityRequirements, + operationName: "ProxyV1internalTokenwiseV1internalPathPost2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions2ResponseConten PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalTokenwiseV1internalPathOptions2Request( + PrepareProxyV1internalTokenwiseV1internalPathPost2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions2ResponseConten await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathOptions2", - methodName: "ProxyV1internalTokenwiseV1internalPathOptions2Async", + operationId: "ProxyV1internalTokenwiseV1internalPathPost2", + methodName: "ProxyV1internalTokenwiseV1internalPathPost2Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions2ResponseConten await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathOptions2", - methodName: "ProxyV1internalTokenwiseV1internalPathOptions2Async", + operationId: "ProxyV1internalTokenwiseV1internalPathPost2", + methodName: "ProxyV1internalTokenwiseV1internalPathPost2Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions2ResponseConten await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathOptions2", - methodName: "ProxyV1internalTokenwiseV1internalPathOptions2Async", + operationId: "ProxyV1internalTokenwiseV1internalPathPost2", + methodName: "ProxyV1internalTokenwiseV1internalPathPost2Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions2ResponseConten ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalTokenwiseV1internalPathOptions2Response( + ProcessProxyV1internalTokenwiseV1internalPathPost2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions2ResponseConten await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathOptions2", - methodName: "ProxyV1internalTokenwiseV1internalPathOptions2Async", + operationId: "ProxyV1internalTokenwiseV1internalPathPost2", + methodName: "ProxyV1internalTokenwiseV1internalPathPost2Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions2ResponseConten await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathOptions2", - methodName: "ProxyV1internalTokenwiseV1internalPathOptions2Async", + operationId: "ProxyV1internalTokenwiseV1internalPathPost2", + methodName: "ProxyV1internalTokenwiseV1internalPathPost2Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions2ResponseConten client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalTokenwiseV1internalPathOptions2ResponseContent( + ProcessProxyV1internalTokenwiseV1internalPathPost2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPost3.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPost3.g.cs index 338a4bb2..68b46c74 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPost3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathOptions3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathPost3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathOptions3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathPost3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalTokenwiseV1internalPathOptions3SecurityRequirement0, + { s_ProxyV1internalTokenwiseV1internalPathPost3SecurityRequirement0, }; - partial void PrepareProxyV1internalTokenwiseV1internalPathOptions3Arguments( + partial void PrepareProxyV1internalTokenwiseV1internalPathPost3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalTokenwiseV1internalPathOptions3Request( + partial void PrepareProxyV1internalTokenwiseV1internalPathPost3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalTokenwiseV1internalPathOptions3Response( + partial void ProcessProxyV1internalTokenwiseV1internalPathPost3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalTokenwiseV1internalPathOptions3ResponseContent( + partial void ProcessProxyV1internalTokenwiseV1internalPathPost3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions3ResponseConten /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathOptions3Async( + public async global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathPost3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalTokenwiseV1internalPathOptions3AsResponseAsync( + var __response = await ProxyV1internalTokenwiseV1internalPathPost3AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions3ResponseConten /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathOptions3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathPost3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions3ResponseConten { PrepareArguments( client: HttpClient); - PrepareProxyV1internalTokenwiseV1internalPathOptions3Arguments( + PrepareProxyV1internalTokenwiseV1internalPathPost3Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions3ResponseConten var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalTokenwiseV1internalPathOptions3SecurityRequirements, - operationName: "ProxyV1internalTokenwiseV1internalPathOptions3Async"); + securityRequirements: s_ProxyV1internalTokenwiseV1internalPathPost3SecurityRequirements, + operationName: "ProxyV1internalTokenwiseV1internalPathPost3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions3ResponseConten PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalTokenwiseV1internalPathOptions3Request( + PrepareProxyV1internalTokenwiseV1internalPathPost3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions3ResponseConten await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathOptions3", - methodName: "ProxyV1internalTokenwiseV1internalPathOptions3Async", + operationId: "ProxyV1internalTokenwiseV1internalPathPost3", + methodName: "ProxyV1internalTokenwiseV1internalPathPost3Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions3ResponseConten await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathOptions3", - methodName: "ProxyV1internalTokenwiseV1internalPathOptions3Async", + operationId: "ProxyV1internalTokenwiseV1internalPathPost3", + methodName: "ProxyV1internalTokenwiseV1internalPathPost3Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions3ResponseConten await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathOptions3", - methodName: "ProxyV1internalTokenwiseV1internalPathOptions3Async", + operationId: "ProxyV1internalTokenwiseV1internalPathPost3", + methodName: "ProxyV1internalTokenwiseV1internalPathPost3Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions3ResponseConten ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalTokenwiseV1internalPathOptions3Response( + ProcessProxyV1internalTokenwiseV1internalPathPost3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions3ResponseConten await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathOptions3", - methodName: "ProxyV1internalTokenwiseV1internalPathOptions3Async", + operationId: "ProxyV1internalTokenwiseV1internalPathPost3", + methodName: "ProxyV1internalTokenwiseV1internalPathPost3Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions3ResponseConten await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathOptions3", - methodName: "ProxyV1internalTokenwiseV1internalPathOptions3Async", + operationId: "ProxyV1internalTokenwiseV1internalPathPost3", + methodName: "ProxyV1internalTokenwiseV1internalPathPost3Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions3ResponseConten client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalTokenwiseV1internalPathOptions3ResponseContent( + ProcessProxyV1internalTokenwiseV1internalPathPost3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPost4.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPost4.g.cs index f7db1b9f..30a21eed 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPost4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathOptions4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathPost4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathOptions4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathPost4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalTokenwiseV1internalPathOptions4SecurityRequirement0, + { s_ProxyV1internalTokenwiseV1internalPathPost4SecurityRequirement0, }; - partial void PrepareProxyV1internalTokenwiseV1internalPathOptions4Arguments( + partial void PrepareProxyV1internalTokenwiseV1internalPathPost4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalTokenwiseV1internalPathOptions4Request( + partial void PrepareProxyV1internalTokenwiseV1internalPathPost4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalTokenwiseV1internalPathOptions4Response( + partial void ProcessProxyV1internalTokenwiseV1internalPathPost4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalTokenwiseV1internalPathOptions4ResponseContent( + partial void ProcessProxyV1internalTokenwiseV1internalPathPost4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions4ResponseConten /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathOptions4Async( + public async global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathPost4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalTokenwiseV1internalPathOptions4AsResponseAsync( + var __response = await ProxyV1internalTokenwiseV1internalPathPost4AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions4ResponseConten /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathOptions4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathPost4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions4ResponseConten { PrepareArguments( client: HttpClient); - PrepareProxyV1internalTokenwiseV1internalPathOptions4Arguments( + PrepareProxyV1internalTokenwiseV1internalPathPost4Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions4ResponseConten var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalTokenwiseV1internalPathOptions4SecurityRequirements, - operationName: "ProxyV1internalTokenwiseV1internalPathOptions4Async"); + securityRequirements: s_ProxyV1internalTokenwiseV1internalPathPost4SecurityRequirements, + operationName: "ProxyV1internalTokenwiseV1internalPathPost4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions4ResponseConten PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalTokenwiseV1internalPathOptions4Request( + PrepareProxyV1internalTokenwiseV1internalPathPost4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions4ResponseConten await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathOptions4", - methodName: "ProxyV1internalTokenwiseV1internalPathOptions4Async", + operationId: "ProxyV1internalTokenwiseV1internalPathPost4", + methodName: "ProxyV1internalTokenwiseV1internalPathPost4Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions4ResponseConten await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathOptions4", - methodName: "ProxyV1internalTokenwiseV1internalPathOptions4Async", + operationId: "ProxyV1internalTokenwiseV1internalPathPost4", + methodName: "ProxyV1internalTokenwiseV1internalPathPost4Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions4ResponseConten await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathOptions4", - methodName: "ProxyV1internalTokenwiseV1internalPathOptions4Async", + operationId: "ProxyV1internalTokenwiseV1internalPathPost4", + methodName: "ProxyV1internalTokenwiseV1internalPathPost4Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions4ResponseConten ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalTokenwiseV1internalPathOptions4Response( + ProcessProxyV1internalTokenwiseV1internalPathPost4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions4ResponseConten await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathOptions4", - methodName: "ProxyV1internalTokenwiseV1internalPathOptions4Async", + operationId: "ProxyV1internalTokenwiseV1internalPathPost4", + methodName: "ProxyV1internalTokenwiseV1internalPathPost4Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions4ResponseConten await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathOptions4", - methodName: "ProxyV1internalTokenwiseV1internalPathOptions4Async", + operationId: "ProxyV1internalTokenwiseV1internalPathPost4", + methodName: "ProxyV1internalTokenwiseV1internalPathPost4Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions4ResponseConten client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalTokenwiseV1internalPathOptions4ResponseContent( + ProcessProxyV1internalTokenwiseV1internalPathPost4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPost5.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPost5.g.cs index 1a55f217..b2f7f855 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPost5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathOptions5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathPost5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathOptions5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathPost5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalTokenwiseV1internalPathOptions5SecurityRequirement0, + { s_ProxyV1internalTokenwiseV1internalPathPost5SecurityRequirement0, }; - partial void PrepareProxyV1internalTokenwiseV1internalPathOptions5Arguments( + partial void PrepareProxyV1internalTokenwiseV1internalPathPost5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalTokenwiseV1internalPathOptions5Request( + partial void PrepareProxyV1internalTokenwiseV1internalPathPost5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalTokenwiseV1internalPathOptions5Response( + partial void ProcessProxyV1internalTokenwiseV1internalPathPost5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalTokenwiseV1internalPathOptions5ResponseContent( + partial void ProcessProxyV1internalTokenwiseV1internalPathPost5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions5ResponseConten /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathOptions5Async( + public async global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathPost5Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalTokenwiseV1internalPathOptions5AsResponseAsync( + var __response = await ProxyV1internalTokenwiseV1internalPathPost5AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions5ResponseConten /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathOptions5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathPost5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions5ResponseConten { PrepareArguments( client: HttpClient); - PrepareProxyV1internalTokenwiseV1internalPathOptions5Arguments( + PrepareProxyV1internalTokenwiseV1internalPathPost5Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions5ResponseConten var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalTokenwiseV1internalPathOptions5SecurityRequirements, - operationName: "ProxyV1internalTokenwiseV1internalPathOptions5Async"); + securityRequirements: s_ProxyV1internalTokenwiseV1internalPathPost5SecurityRequirements, + operationName: "ProxyV1internalTokenwiseV1internalPathPost5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions5ResponseConten PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalTokenwiseV1internalPathOptions5Request( + PrepareProxyV1internalTokenwiseV1internalPathPost5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions5ResponseConten await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathOptions5", - methodName: "ProxyV1internalTokenwiseV1internalPathOptions5Async", + operationId: "ProxyV1internalTokenwiseV1internalPathPost5", + methodName: "ProxyV1internalTokenwiseV1internalPathPost5Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions5ResponseConten await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathOptions5", - methodName: "ProxyV1internalTokenwiseV1internalPathOptions5Async", + operationId: "ProxyV1internalTokenwiseV1internalPathPost5", + methodName: "ProxyV1internalTokenwiseV1internalPathPost5Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions5ResponseConten await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathOptions5", - methodName: "ProxyV1internalTokenwiseV1internalPathOptions5Async", + operationId: "ProxyV1internalTokenwiseV1internalPathPost5", + methodName: "ProxyV1internalTokenwiseV1internalPathPost5Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions5ResponseConten ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalTokenwiseV1internalPathOptions5Response( + ProcessProxyV1internalTokenwiseV1internalPathPost5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions5ResponseConten await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathOptions5", - methodName: "ProxyV1internalTokenwiseV1internalPathOptions5Async", + operationId: "ProxyV1internalTokenwiseV1internalPathPost5", + methodName: "ProxyV1internalTokenwiseV1internalPathPost5Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions5ResponseConten await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathOptions5", - methodName: "ProxyV1internalTokenwiseV1internalPathOptions5Async", + operationId: "ProxyV1internalTokenwiseV1internalPathPost5", + methodName: "ProxyV1internalTokenwiseV1internalPathPost5Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions5ResponseConten client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalTokenwiseV1internalPathOptions5ResponseContent( + ProcessProxyV1internalTokenwiseV1internalPathPost5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions6.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPost6.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions6.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPost6.g.cs index 5790c759..313d2fa9 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions6.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathPost6.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathOptions6SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathPost6SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathOptions6SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathPost6SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalTokenwiseV1internalPathOptions6SecurityRequirement0, + { s_ProxyV1internalTokenwiseV1internalPathPost6SecurityRequirement0, }; - partial void PrepareProxyV1internalTokenwiseV1internalPathOptions6Arguments( + partial void PrepareProxyV1internalTokenwiseV1internalPathPost6Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalTokenwiseV1internalPathOptions6Request( + partial void PrepareProxyV1internalTokenwiseV1internalPathPost6Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalTokenwiseV1internalPathOptions6Response( + partial void ProcessProxyV1internalTokenwiseV1internalPathPost6Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalTokenwiseV1internalPathOptions6ResponseContent( + partial void ProcessProxyV1internalTokenwiseV1internalPathPost6ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions6ResponseConten /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathOptions6Async( + public async global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathPost6Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalTokenwiseV1internalPathOptions6AsResponseAsync( + var __response = await ProxyV1internalTokenwiseV1internalPathPost6AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions6ResponseConten /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathOptions6AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathPost6AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions6ResponseConten { PrepareArguments( client: HttpClient); - PrepareProxyV1internalTokenwiseV1internalPathOptions6Arguments( + PrepareProxyV1internalTokenwiseV1internalPathPost6Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions6ResponseConten var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalTokenwiseV1internalPathOptions6SecurityRequirements, - operationName: "ProxyV1internalTokenwiseV1internalPathOptions6Async"); + securityRequirements: s_ProxyV1internalTokenwiseV1internalPathPost6SecurityRequirements, + operationName: "ProxyV1internalTokenwiseV1internalPathPost6Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions6ResponseConten PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalTokenwiseV1internalPathOptions6Request( + PrepareProxyV1internalTokenwiseV1internalPathPost6Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions6ResponseConten await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathOptions6", - methodName: "ProxyV1internalTokenwiseV1internalPathOptions6Async", + operationId: "ProxyV1internalTokenwiseV1internalPathPost6", + methodName: "ProxyV1internalTokenwiseV1internalPathPost6Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions6ResponseConten await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathOptions6", - methodName: "ProxyV1internalTokenwiseV1internalPathOptions6Async", + operationId: "ProxyV1internalTokenwiseV1internalPathPost6", + methodName: "ProxyV1internalTokenwiseV1internalPathPost6Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions6ResponseConten await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathOptions6", - methodName: "ProxyV1internalTokenwiseV1internalPathOptions6Async", + operationId: "ProxyV1internalTokenwiseV1internalPathPost6", + methodName: "ProxyV1internalTokenwiseV1internalPathPost6Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions6ResponseConten ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalTokenwiseV1internalPathOptions6Response( + ProcessProxyV1internalTokenwiseV1internalPathPost6Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions6ResponseConten await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathOptions6", - methodName: "ProxyV1internalTokenwiseV1internalPathOptions6Async", + operationId: "ProxyV1internalTokenwiseV1internalPathPost6", + methodName: "ProxyV1internalTokenwiseV1internalPathPost6Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions6ResponseConten await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathOptions6", - methodName: "ProxyV1internalTokenwiseV1internalPathOptions6Async", + operationId: "ProxyV1internalTokenwiseV1internalPathPost6", + methodName: "ProxyV1internalTokenwiseV1internalPathPost6Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathOptions6ResponseConten client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalTokenwiseV1internalPathOptions6ResponseContent( + ProcessProxyV1internalTokenwiseV1internalPathPost6ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPost.g.cs similarity index 93% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut5.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPost.g.cs index 4a066ced..944a4388 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut5.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPost.g.cs @@ -11,7 +11,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPut5Async( + global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPostAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); @@ -22,7 +22,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPut5AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPostAsResponseAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPost2.g.cs similarity index 93% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPost2.g.cs index 6686b62b..044f34ba 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPost2.g.cs @@ -11,7 +11,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPutAsync( + global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPost2Async( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); @@ -22,7 +22,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPutAsResponseAsync( + global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPost2AsResponseAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPost3.g.cs similarity index 93% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut2.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPost3.g.cs index 44d3d88c..d2e28089 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut2.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPost3.g.cs @@ -11,7 +11,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPut2Async( + global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPost3Async( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); @@ -22,7 +22,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPut2AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPost3AsResponseAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPost4.g.cs similarity index 93% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut3.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPost4.g.cs index 3fc3a355..39e3c0d8 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut3.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPost4.g.cs @@ -11,7 +11,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPut3Async( + global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPost4Async( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); @@ -22,7 +22,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPut3AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPost4AsResponseAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPost5.g.cs similarity index 93% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut4.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPost5.g.cs index c3eabac1..7c535436 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut4.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPost5.g.cs @@ -11,7 +11,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPut4Async( + global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPost5Async( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); @@ -22,7 +22,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPut4AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPost5AsResponseAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions5.g.cs deleted file mode 100644 index 9e9cf58a..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions5.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy Off V1
- /// A/B off-arm — forces gateway transformers off for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathOptions5Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy Off V1
- /// A/B off-arm — forces gateway transformers off for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathOptions5AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions6.g.cs deleted file mode 100644 index d2da1e3c..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions6.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy Off V1
- /// A/B off-arm — forces gateway transformers off for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathOptions6Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy Off V1
- /// A/B off-arm — forces gateway transformers off for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathOptions6AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPost.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPost.g.cs index 672e410e..919f4e6b 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPost.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathOptionsAsync( + global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathPostAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathOptionsAsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathPostAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPost2.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions2.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPost2.g.cs index 3899156d..cc601d21 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions2.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPost2.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathOptions2Async( + global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathPost2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathOptions2AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathPost2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPost3.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions3.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPost3.g.cs index 150a7a30..f0508242 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions3.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPost3.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathOptions3Async( + global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathPost3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathOptions3AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathPost3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPost4.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions4.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPost4.g.cs index 21928704..4cad3df4 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions4.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPost4.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathOptions4Async( + global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathPost4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathOptions4AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathPost4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPost5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPost5.g.cs new file mode 100644 index 00000000..53d42887 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPost5.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy Off V1
+ /// A/B off-arm — forces gateway transformers off for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathPost5Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy Off V1
+ /// A/B off-arm — forces gateway transformers off for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathPost5AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPost6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPost6.g.cs new file mode 100644 index 00000000..16e80689 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathPost6.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy Off V1
+ /// A/B off-arm — forces gateway transformers off for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathPost6Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy Off V1
+ /// A/B off-arm — forces gateway transformers off for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathPost6AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions5.g.cs deleted file mode 100644 index dc1345a8..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions5.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy Off V1
- /// A/B off-arm — forces gateway transformers off for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathOptions5Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy Off V1
- /// A/B off-arm — forces gateway transformers off for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathOptions5AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions6.g.cs deleted file mode 100644 index d0c2f6e7..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions6.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy Off V1
- /// A/B off-arm — forces gateway transformers off for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathOptions6Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy Off V1
- /// A/B off-arm — forces gateway transformers off for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathOptions6AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPost.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPost.g.cs index 1e5966ac..e68891ad 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPost.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathOptionsAsync( + global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathPostAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathOptionsAsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathPostAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPost2.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions4.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPost2.g.cs index 6ee9bb93..6103ee3c 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions4.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPost2.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathOptions4Async( + global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathPost2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathOptions4AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathPost2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPost3.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions2.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPost3.g.cs index 170a3b00..fb863bf5 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions2.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPost3.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathOptions2Async( + global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathPost3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathOptions2AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathPost3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPost4.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions3.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPost4.g.cs index 8e0b3756..9b0194e6 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions3.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPost4.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathOptions3Async( + global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathPost4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathOptions3AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathPost4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPost5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPost5.g.cs new file mode 100644 index 00000000..af975f55 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPost5.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy Off V1
+ /// A/B off-arm — forces gateway transformers off for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathPost5Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy Off V1
+ /// A/B off-arm — forces gateway transformers off for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathPost5AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPost6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPost6.g.cs new file mode 100644 index 00000000..41ecf023 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathPost6.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy Off V1
+ /// A/B off-arm — forces gateway transformers off for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathPost6Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy Off V1
+ /// A/B off-arm — forces gateway transformers off for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathPost6AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions5.g.cs deleted file mode 100644 index 6cd90383..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions5.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy On V1
- /// A/B on-arm — forces gateway transformers on for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathOptions5Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy On V1
- /// A/B on-arm — forces gateway transformers on for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathOptions5AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions6.g.cs deleted file mode 100644 index e59f4a55..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions6.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy On V1
- /// A/B on-arm — forces gateway transformers on for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathOptions6Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy On V1
- /// A/B on-arm — forces gateway transformers on for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathOptions6AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPost.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPost.g.cs index 71a07f54..b3f2172e 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPost.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathOptionsAsync( + global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathPostAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathOptionsAsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathPostAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPost2.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions4.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPost2.g.cs index 24483ecb..da49c3db 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions4.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPost2.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathOptions4Async( + global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathPost2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathOptions4AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathPost2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPost3.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions2.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPost3.g.cs index 5a092453..f7bf705a 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions2.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPost3.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathOptions2Async( + global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathPost3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathOptions2AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathPost3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPost4.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions3.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPost4.g.cs index 67c67196..89a5f8d0 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions3.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPost4.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathOptions3Async( + global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathPost4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathOptions3AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathPost4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPost5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPost5.g.cs new file mode 100644 index 00000000..67c806aa --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPost5.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy On V1
+ /// A/B on-arm — forces gateway transformers on for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathPost5Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy On V1
+ /// A/B on-arm — forces gateway transformers on for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathPost5AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPost6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPost6.g.cs new file mode 100644 index 00000000..00165cb7 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathPost6.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy On V1
+ /// A/B on-arm — forces gateway transformers on for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathPost6Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy On V1
+ /// A/B on-arm — forces gateway transformers on for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathPost6AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions5.g.cs deleted file mode 100644 index e1309c2e..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions5.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy On V1
- /// A/B on-arm — forces gateway transformers on for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathOptions5Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy On V1
- /// A/B on-arm — forces gateway transformers on for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathOptions5AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions6.g.cs deleted file mode 100644 index 390ac21b..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions6.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy On V1
- /// A/B on-arm — forces gateway transformers on for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathOptions6Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy On V1
- /// A/B on-arm — forces gateway transformers on for this request only. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathOptions6AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPost.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPost.g.cs index f7277b34..7a767c58 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPost.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathOptionsAsync( + global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathPostAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathOptionsAsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathPostAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPost2.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions4.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPost2.g.cs index 87da3912..b850c7ca 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions4.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPost2.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathOptions4Async( + global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathPost2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathOptions4AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathPost2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPost3.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions2.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPost3.g.cs index 082d4d15..8382cc7e 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions2.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPost3.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathOptions2Async( + global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathPost3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathOptions2AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathPost3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPost4.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions3.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPost4.g.cs index 6ecfebdf..5736af7a 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions3.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPost4.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathOptions3Async( + global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathPost4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathOptions3AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathPost4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPost5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPost5.g.cs new file mode 100644 index 00000000..5bfb2073 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPost5.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy On V1
+ /// A/B on-arm — forces gateway transformers on for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathPost5Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy On V1
+ /// A/B on-arm — forces gateway transformers on for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathPost5AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPost6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPost6.g.cs new file mode 100644 index 00000000..f0c1ceb8 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathPost6.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy On V1
+ /// A/B on-arm — forces gateway transformers on for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathPost6Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy On V1
+ /// A/B on-arm — forces gateway transformers on for this request only. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathPost6AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions5.g.cs deleted file mode 100644 index d31113ee..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions5.g.cs +++ /dev/null @@ -1,40 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy V1
- /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
- /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
- /// intentionally left ungated. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyV1GatewayV1PathOptions5Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy V1
- /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
- /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
- /// intentionally left ungated. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathOptions5AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions6.g.cs deleted file mode 100644 index 4e019fd0..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions6.g.cs +++ /dev/null @@ -1,40 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy V1
- /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
- /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
- /// intentionally left ungated. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyV1GatewayV1PathOptions6Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy V1
- /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
- /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
- /// intentionally left ungated. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathOptions6AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPost.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPost.g.cs index 522ea8bb..ffabc677 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPost.g.cs @@ -15,7 +15,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1GatewayV1PathOptionsAsync( + global::System.Threading.Tasks.Task ProxyV1GatewayV1PathPostAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -31,7 +31,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathOptionsAsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathPostAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPost2.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions2.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPost2.g.cs index 5132d4f3..45dfdb06 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions2.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPost2.g.cs @@ -15,7 +15,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1GatewayV1PathOptions2Async( + global::System.Threading.Tasks.Task ProxyV1GatewayV1PathPost2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -31,7 +31,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathOptions2AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathPost2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPost3.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions3.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPost3.g.cs index 00f4ed2d..5a079156 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions3.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPost3.g.cs @@ -15,7 +15,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1GatewayV1PathOptions3Async( + global::System.Threading.Tasks.Task ProxyV1GatewayV1PathPost3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -31,7 +31,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathOptions3AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathPost3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPost4.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions4.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPost4.g.cs index 23519b5a..5ecc3518 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions4.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPost4.g.cs @@ -15,7 +15,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1GatewayV1PathOptions4Async( + global::System.Threading.Tasks.Task ProxyV1GatewayV1PathPost4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -31,7 +31,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathOptions4AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathPost4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPost5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPost5.g.cs new file mode 100644 index 00000000..c94d32d9 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPost5.g.cs @@ -0,0 +1,40 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy V1
+ /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
+ /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
+ /// intentionally left ungated. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyV1GatewayV1PathPost5Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy V1
+ /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
+ /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
+ /// intentionally left ungated. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathPost5AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPost6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPost6.g.cs new file mode 100644 index 00000000..5ba68589 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathPost6.g.cs @@ -0,0 +1,40 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy V1
+ /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
+ /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
+ /// intentionally left ungated. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyV1GatewayV1PathPost6Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy V1
+ /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
+ /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
+ /// intentionally left ungated. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathPost6AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions5.g.cs deleted file mode 100644 index 1da583b5..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions5.g.cs +++ /dev/null @@ -1,40 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy V1
- /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
- /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
- /// intentionally left ungated. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathOptions5Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy V1
- /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
- /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
- /// intentionally left ungated. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathOptions5AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions6.g.cs deleted file mode 100644 index acd26e21..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions6.g.cs +++ /dev/null @@ -1,40 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy V1
- /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
- /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
- /// intentionally left ungated. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathOptions6Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy V1
- /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
- /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
- /// intentionally left ungated. - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathOptions6AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPost.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPost.g.cs index ae55523d..28e73722 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPost.g.cs @@ -15,7 +15,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathOptionsAsync( + global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathPostAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -31,7 +31,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathOptionsAsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathPostAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPost2.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions4.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPost2.g.cs index 6dff5593..e6e01418 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions4.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPost2.g.cs @@ -15,7 +15,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathOptions4Async( + global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathPost2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -31,7 +31,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathOptions4AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathPost2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPost3.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions2.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPost3.g.cs index c68135c9..07e39033 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions2.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPost3.g.cs @@ -15,7 +15,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathOptions2Async( + global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathPost3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -31,7 +31,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathOptions2AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathPost3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPost4.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions3.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPost4.g.cs index 56608728..7fd1e820 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions3.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPost4.g.cs @@ -15,7 +15,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathOptions3Async( + global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathPost4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -31,7 +31,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathOptions3AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathPost4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPost5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPost5.g.cs new file mode 100644 index 00000000..09705293 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPost5.g.cs @@ -0,0 +1,40 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy V1
+ /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
+ /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
+ /// intentionally left ungated. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathPost5Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy V1
+ /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
+ /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
+ /// intentionally left ungated. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathPost5AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPost6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPost6.g.cs new file mode 100644 index 00000000..bc233ab5 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathPost6.g.cs @@ -0,0 +1,40 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy V1
+ /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
+ /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
+ /// intentionally left ungated. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathPost6Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy V1
+ /// Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).
+ /// Gated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are
+ /// intentionally left ungated. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathPost6AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions5.g.cs deleted file mode 100644 index 50bb8af8..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions5.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy V1Beta
- /// Native Gemini API surface (``/v1beta/models/*:generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathOptions5Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy V1Beta
- /// Native Gemini API surface (``/v1beta/models/*:generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathOptions5AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions6.g.cs deleted file mode 100644 index a378a835..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions6.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy V1Beta
- /// Native Gemini API surface (``/v1beta/models/*:generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathOptions6Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy V1Beta
- /// Native Gemini API surface (``/v1beta/models/*:generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathOptions6AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPost.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPost.g.cs index 1e5f12d3..be6e2514 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPost.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathOptionsAsync( + global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathPostAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathOptionsAsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathPostAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPost2.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions3.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPost2.g.cs index ca225591..31b5b1da 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions3.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPost2.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathOptions3Async( + global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathPost2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathOptions3AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathPost2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPost3.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions2.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPost3.g.cs index d5c389d4..2e0f37e6 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions2.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPost3.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathOptions2Async( + global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathPost3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathOptions2AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathPost3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPost4.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions4.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPost4.g.cs index 25ebe051..d295b1ac 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions4.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPost4.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathOptions4Async( + global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathPost4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathOptions4AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathPost4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPost5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPost5.g.cs new file mode 100644 index 00000000..82aab641 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPost5.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy V1Beta
+ /// Native Gemini API surface (``/v1beta/models/*:generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathPost5Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy V1Beta
+ /// Native Gemini API surface (``/v1beta/models/*:generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathPost5AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPost6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPost6.g.cs new file mode 100644 index 00000000..ee61c349 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathPost6.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy V1Beta
+ /// Native Gemini API surface (``/v1beta/models/*:generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathPost6Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy V1Beta
+ /// Native Gemini API surface (``/v1beta/models/*:generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathPost6AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions5.g.cs deleted file mode 100644 index 50c4ae5e..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions5.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy V1Beta
- /// Native Gemini API surface (``/v1beta/models/*:generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathOptions5Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy V1Beta
- /// Native Gemini API surface (``/v1beta/models/*:generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathOptions5AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions6.g.cs deleted file mode 100644 index 899207d7..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions6.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy V1Beta
- /// Native Gemini API surface (``/v1beta/models/*:generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathOptions6Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy V1Beta
- /// Native Gemini API surface (``/v1beta/models/*:generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathOptions6AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPost.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPost.g.cs index f42cf2f9..ff80e948 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPost.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathOptionsAsync( + global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathPostAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathOptionsAsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathPostAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPost2.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions4.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPost2.g.cs index 9a172e57..1bd42300 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions4.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPost2.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathOptions4Async( + global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathPost2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathOptions4AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathPost2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPost3.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions2.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPost3.g.cs index ab9ae5a8..f8b36459 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions2.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPost3.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathOptions2Async( + global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathPost3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathOptions2AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathPost3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPost4.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions3.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPost4.g.cs index ac5b8aca..0b871a0e 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions3.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPost4.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathOptions3Async( + global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathPost4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathOptions3AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathPost4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPost5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPost5.g.cs new file mode 100644 index 00000000..e3a2adba --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPost5.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy V1Beta
+ /// Native Gemini API surface (``/v1beta/models/*:generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathPost5Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy V1Beta
+ /// Native Gemini API surface (``/v1beta/models/*:generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathPost5AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPost6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPost6.g.cs new file mode 100644 index 00000000..2c6d45e6 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathPost6.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy V1Beta
+ /// Native Gemini API surface (``/v1beta/models/*:generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathPost6Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy V1Beta
+ /// Native Gemini API surface (``/v1beta/models/*:generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathPost6AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions5.g.cs deleted file mode 100644 index e272efba..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions5.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy V1Internal
- /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathOptions5Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy V1Internal
- /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathOptions5AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions6.g.cs deleted file mode 100644 index e1bd5ae7..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions6.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy V1Internal
- /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathOptions6Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy V1Internal
- /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathOptions6AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPost.g.cs similarity index 93% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPost.g.cs index 51c80333..98bc79df 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPost.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathOptionsAsync( + global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathPostAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathOptionsAsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathPostAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPost2.g.cs similarity index 93% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions2.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPost2.g.cs index 62861ccc..42038121 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions2.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPost2.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathOptions2Async( + global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathPost2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathOptions2AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathPost2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPost3.g.cs similarity index 93% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions3.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPost3.g.cs index 37618a24..4c6bef4a 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions3.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPost3.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathOptions3Async( + global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathPost3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathOptions3AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathPost3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPost4.g.cs similarity index 93% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions4.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPost4.g.cs index a4f2b1f5..28f40361 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions4.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPost4.g.cs @@ -13,7 +13,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathOptions4Async( + global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathPost4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -27,7 +27,7 @@ public partial interface IAi21Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathOptions4AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathPost4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPost5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPost5.g.cs new file mode 100644 index 00000000..a8f6aef6 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPost5.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy V1Internal
+ /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathPost5Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy V1Internal
+ /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathPost5AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPost6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPost6.g.cs new file mode 100644 index 00000000..85514a03 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathPost6.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy V1Internal
+ /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathPost6Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy V1Internal
+ /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathPost6AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions.g.cs deleted file mode 100644 index 008f7881..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy V1Internal
- /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathOptionsAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy V1Internal
- /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathOptionsAsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions2.g.cs deleted file mode 100644 index c1dab4d2..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions2.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy V1Internal
- /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathOptions2Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy V1Internal
- /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathOptions2AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions3.g.cs deleted file mode 100644 index 8602f66d..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions3.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy V1Internal
- /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathOptions3Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy V1Internal
- /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathOptions3AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions4.g.cs deleted file mode 100644 index ea050693..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions4.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy V1Internal
- /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathOptions4Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy V1Internal
- /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathOptions4AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions5.g.cs deleted file mode 100644 index a4ceaff9..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions5.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy V1Internal
- /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathOptions5Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy V1Internal
- /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathOptions5AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions6.g.cs deleted file mode 100644 index 661830e0..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions6.g.cs +++ /dev/null @@ -1,36 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy V1Internal
- /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathOptions6Async( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy V1Internal
- /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). - ///
- /// - /// - /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathOptions6AsResponseAsync( - string path, - string? xAi21Key = default, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPost.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPost.g.cs new file mode 100644 index 00000000..fa951b7d --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPost.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy V1Internal
+ /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathPostAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy V1Internal
+ /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathPostAsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPost2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPost2.g.cs new file mode 100644 index 00000000..e5dc1734 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPost2.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy V1Internal
+ /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathPost2Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy V1Internal
+ /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathPost2AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPost3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPost3.g.cs new file mode 100644 index 00000000..f16a26a5 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPost3.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy V1Internal
+ /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathPost3Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy V1Internal
+ /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathPost3AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPost4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPost4.g.cs new file mode 100644 index 00000000..fc374fdd --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPost4.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy V1Internal
+ /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathPost4Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy V1Internal
+ /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathPost4AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPost5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPost5.g.cs new file mode 100644 index 00000000..41f940a0 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPost5.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy V1Internal
+ /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathPost5Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy V1Internal
+ /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathPost5AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPost6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPost6.g.cs new file mode 100644 index 00000000..113d426e --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathPost6.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy V1Internal
+ /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathPost6Async( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy V1Internal
+ /// Cloud Code native Gemini surface (``/v1internal:*generateContent``). + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathPost6AsResponseAsync( + string path, + string? xAi21Key = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse.Json.g.cs similarity index 91% rename from src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse5.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse.Json.g.cs index 952c17f8..0debcc81 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse5.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyHarnessApiHarnessApiPathPutResponse5 + public sealed partial class ProxyHarnessApiHarnessApiPathPostResponse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyHarnessApiHarnessApiPathPutResponse5? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathPostResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyHarnessApiHarnessApiPathPutResponse5), - jsonSerializerContext) as global::AI21.ProxyHarnessApiHarnessApiPathPutResponse5; + typeof(global::AI21.ProxyHarnessApiHarnessApiPathPostResponse), + jsonSerializerContext) as global::AI21.ProxyHarnessApiHarnessApiPathPostResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyHarnessApiHarnessApiPathPutResponse5? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathPostResponse? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyHarnessApiHarnessApiPathPutResponse5? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathPostResponse? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyHarnessApiHarnessApiPathPutResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyHarnessApiHarnessApiPathPutResponse5; + typeof(global::AI21.ProxyHarnessApiHarnessApiPathPostResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyHarnessApiHarnessApiPathPostResponse; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse.g.cs new file mode 100644 index 00000000..c630f80c --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyHarnessApiHarnessApiPathPostResponse + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse2.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse2.Json.g.cs index ea372ab7..039552c5 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyHarnessApiHarnessApiPathPutResponse + public sealed partial class ProxyHarnessApiHarnessApiPathPostResponse2 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyHarnessApiHarnessApiPathPutResponse? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathPostResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyHarnessApiHarnessApiPathPutResponse), - jsonSerializerContext) as global::AI21.ProxyHarnessApiHarnessApiPathPutResponse; + typeof(global::AI21.ProxyHarnessApiHarnessApiPathPostResponse2), + jsonSerializerContext) as global::AI21.ProxyHarnessApiHarnessApiPathPostResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyHarnessApiHarnessApiPathPutResponse? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathPostResponse2? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyHarnessApiHarnessApiPathPutResponse? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathPostResponse2? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyHarnessApiHarnessApiPathPutResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyHarnessApiHarnessApiPathPutResponse; + typeof(global::AI21.ProxyHarnessApiHarnessApiPathPostResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyHarnessApiHarnessApiPathPostResponse2; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse2.g.cs new file mode 100644 index 00000000..7db853ca --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyHarnessApiHarnessApiPathPostResponse2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse3.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse2.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse3.Json.g.cs index 6e261c34..0e911e32 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse2.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyHarnessApiHarnessApiPathPutResponse2 + public sealed partial class ProxyHarnessApiHarnessApiPathPostResponse3 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyHarnessApiHarnessApiPathPutResponse2? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathPostResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyHarnessApiHarnessApiPathPutResponse2), - jsonSerializerContext) as global::AI21.ProxyHarnessApiHarnessApiPathPutResponse2; + typeof(global::AI21.ProxyHarnessApiHarnessApiPathPostResponse3), + jsonSerializerContext) as global::AI21.ProxyHarnessApiHarnessApiPathPostResponse3; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyHarnessApiHarnessApiPathPutResponse2? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathPostResponse3? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyHarnessApiHarnessApiPathPutResponse2? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathPostResponse3? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyHarnessApiHarnessApiPathPutResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyHarnessApiHarnessApiPathPutResponse2; + typeof(global::AI21.ProxyHarnessApiHarnessApiPathPostResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyHarnessApiHarnessApiPathPostResponse3; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse3.g.cs new file mode 100644 index 00000000..d746e4b7 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse3.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyHarnessApiHarnessApiPathPostResponse3 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse4.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse3.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse4.Json.g.cs index 5fb492f5..0b51896e 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse3.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse4.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyHarnessApiHarnessApiPathPutResponse3 + public sealed partial class ProxyHarnessApiHarnessApiPathPostResponse4 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyHarnessApiHarnessApiPathPutResponse3? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathPostResponse4? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyHarnessApiHarnessApiPathPutResponse3), - jsonSerializerContext) as global::AI21.ProxyHarnessApiHarnessApiPathPutResponse3; + typeof(global::AI21.ProxyHarnessApiHarnessApiPathPostResponse4), + jsonSerializerContext) as global::AI21.ProxyHarnessApiHarnessApiPathPostResponse4; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyHarnessApiHarnessApiPathPutResponse3? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathPostResponse4? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyHarnessApiHarnessApiPathPutResponse3? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathPostResponse4? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyHarnessApiHarnessApiPathPutResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyHarnessApiHarnessApiPathPutResponse3; + typeof(global::AI21.ProxyHarnessApiHarnessApiPathPostResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyHarnessApiHarnessApiPathPostResponse4; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse4.g.cs new file mode 100644 index 00000000..7df44aee --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse4.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyHarnessApiHarnessApiPathPostResponse4 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse5.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse4.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse5.Json.g.cs index 00bb2095..f2b9f287 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse4.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse5.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyHarnessApiHarnessApiPathPutResponse4 + public sealed partial class ProxyHarnessApiHarnessApiPathPostResponse5 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyHarnessApiHarnessApiPathPutResponse4? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathPostResponse5? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyHarnessApiHarnessApiPathPutResponse4), - jsonSerializerContext) as global::AI21.ProxyHarnessApiHarnessApiPathPutResponse4; + typeof(global::AI21.ProxyHarnessApiHarnessApiPathPostResponse5), + jsonSerializerContext) as global::AI21.ProxyHarnessApiHarnessApiPathPostResponse5; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyHarnessApiHarnessApiPathPutResponse4? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathPostResponse5? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyHarnessApiHarnessApiPathPutResponse4? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathPostResponse5? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyHarnessApiHarnessApiPathPutResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyHarnessApiHarnessApiPathPutResponse4; + typeof(global::AI21.ProxyHarnessApiHarnessApiPathPostResponse5), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyHarnessApiHarnessApiPathPostResponse5; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse5.g.cs new file mode 100644 index 00000000..05ba28ea --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPostResponse5.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyHarnessApiHarnessApiPathPostResponse5 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse.g.cs deleted file mode 100644 index b6e90489..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOffV1GatewayOffV1PathOptionsResponse - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse2.g.cs deleted file mode 100644 index 974e9e83..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse2.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOffV1GatewayOffV1PathOptionsResponse2 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse3.g.cs deleted file mode 100644 index ff00000f..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse3.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOffV1GatewayOffV1PathOptionsResponse3 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse4.Json.g.cs deleted file mode 100644 index e7a44922..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse4.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOffV1GatewayOffV1PathOptionsResponse4 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse4? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse4), - jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse4; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse4? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse4? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse4; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse4.g.cs deleted file mode 100644 index 2e934297..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse4.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOffV1GatewayOffV1PathOptionsResponse4 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse5.Json.g.cs deleted file mode 100644 index b7737501..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse5.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOffV1GatewayOffV1PathOptionsResponse5 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse5? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse5), - jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse5; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse5? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse5? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse5; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse5.g.cs deleted file mode 100644 index 784c5e02..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse5.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOffV1GatewayOffV1PathOptionsResponse5 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse6.Json.g.cs deleted file mode 100644 index c99b7e61..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse6.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOffV1GatewayOffV1PathOptionsResponse6 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse6? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse6), - jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse6; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse6? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse6? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse6), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse6; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse6.g.cs deleted file mode 100644 index b4461e35..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse6.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOffV1GatewayOffV1PathOptionsResponse6 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse.Json.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse5.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse.Json.g.cs index cf44086f..7198162f 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse5.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1TokenwiseV1PathOptionsResponse5 + public sealed partial class ProxyOffV1GatewayOffV1PathPostResponse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse5? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathPostResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1TokenwiseV1PathOptionsResponse5), - jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathOptionsResponse5; + typeof(global::AI21.ProxyOffV1GatewayOffV1PathPostResponse), + jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathPostResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse5? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathPostResponse? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse5? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathPostResponse? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1TokenwiseV1PathOptionsResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathOptionsResponse5; + typeof(global::AI21.ProxyOffV1GatewayOffV1PathPostResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathPostResponse; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse.g.cs new file mode 100644 index 00000000..830c3063 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyOffV1GatewayOffV1PathPostResponse + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse2.Json.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse2.Json.g.cs index 50683649..bb33af30 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOffV1GatewayOffV1PathOptionsResponse + public sealed partial class ProxyOffV1GatewayOffV1PathPostResponse2 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathPostResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse), - jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse; + typeof(global::AI21.ProxyOffV1GatewayOffV1PathPostResponse2), + jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathPostResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathPostResponse2? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathPostResponse2? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse; + typeof(global::AI21.ProxyOffV1GatewayOffV1PathPostResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathPostResponse2; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse2.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse2.g.cs index 2df07a3f..e395376a 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse2.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOnV1GatewayOnV1PathOptionsResponse + public sealed partial class ProxyOffV1GatewayOffV1PathPostResponse2 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse3.Json.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse2.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse3.Json.g.cs index 5f3cab45..d1f7fa3e 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse2.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOffV1GatewayOffV1PathOptionsResponse2 + public sealed partial class ProxyOffV1GatewayOffV1PathPostResponse3 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse2? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathPostResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse2), - jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse2; + typeof(global::AI21.ProxyOffV1GatewayOffV1PathPostResponse3), + jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathPostResponse3; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse2? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathPostResponse3? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse2? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathPostResponse3? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse2; + typeof(global::AI21.ProxyOffV1GatewayOffV1PathPostResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathPostResponse3; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse3.g.cs new file mode 100644 index 00000000..9c285206 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse3.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyOffV1GatewayOffV1PathPostResponse3 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse4.Json.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse3.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse4.Json.g.cs index ba3c6cfb..13885baf 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse3.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse4.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOffV1GatewayOffV1PathOptionsResponse3 + public sealed partial class ProxyOffV1GatewayOffV1PathPostResponse4 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse3? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathPostResponse4? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse3), - jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse3; + typeof(global::AI21.ProxyOffV1GatewayOffV1PathPostResponse4), + jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathPostResponse4; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse3? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathPostResponse4? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse3? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathPostResponse4? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse3; + typeof(global::AI21.ProxyOffV1GatewayOffV1PathPostResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathPostResponse4; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse4.g.cs new file mode 100644 index 00000000..bdf9fadc --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse4.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyOffV1GatewayOffV1PathPostResponse4 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse5.Json.g.cs new file mode 100644 index 00000000..200dadbc --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse5.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyOffV1GatewayOffV1PathPostResponse5 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyOffV1GatewayOffV1PathPostResponse5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyOffV1GatewayOffV1PathPostResponse5), + jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathPostResponse5; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyOffV1GatewayOffV1PathPostResponse5? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyOffV1GatewayOffV1PathPostResponse5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyOffV1GatewayOffV1PathPostResponse5), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathPostResponse5; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse5.g.cs new file mode 100644 index 00000000..1d32a4d9 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse5.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyOffV1GatewayOffV1PathPostResponse5 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse6.Json.g.cs new file mode 100644 index 00000000..cc79f307 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse6.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyOffV1GatewayOffV1PathPostResponse6 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyOffV1GatewayOffV1PathPostResponse6? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyOffV1GatewayOffV1PathPostResponse6), + jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathPostResponse6; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyOffV1GatewayOffV1PathPostResponse6? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyOffV1GatewayOffV1PathPostResponse6? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyOffV1GatewayOffV1PathPostResponse6), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathPostResponse6; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse6.g.cs new file mode 100644 index 00000000..d7efc25b --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathPostResponse6.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyOffV1GatewayOffV1PathPostResponse6 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse.g.cs deleted file mode 100644 index 74979804..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOffV1TokenwiseOffV1PathOptionsResponse - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse2.g.cs deleted file mode 100644 index 041feda3..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse2.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOffV1TokenwiseOffV1PathOptionsResponse2 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse3.g.cs deleted file mode 100644 index 3395f5b6..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse3.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOffV1TokenwiseOffV1PathOptionsResponse3 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse4.g.cs deleted file mode 100644 index 67af8d40..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse4.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOffV1TokenwiseOffV1PathOptionsResponse4 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse5.Json.g.cs deleted file mode 100644 index 45ccf131..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse5.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOffV1TokenwiseOffV1PathOptionsResponse5 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse5? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse5), - jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse5; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse5? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse5? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse5; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse5.g.cs deleted file mode 100644 index ac665833..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse5.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOffV1TokenwiseOffV1PathOptionsResponse5 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse6.Json.g.cs deleted file mode 100644 index 23c98a86..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse6.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOffV1TokenwiseOffV1PathOptionsResponse6 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse6? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse6), - jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse6; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse6? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse6? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse6), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse6; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse6.g.cs deleted file mode 100644 index a5f388ff..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse6.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOffV1TokenwiseOffV1PathOptionsResponse6 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse.Json.g.cs index 10f568cc..7f778547 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOffV1TokenwiseOffV1PathOptionsResponse + public sealed partial class ProxyOffV1TokenwiseOffV1PathPostResponse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse), - jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse; + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse), + jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse; + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse.g.cs index fe975ff8..2e7f7f10 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyHarnessApiHarnessApiPathPutResponse + public sealed partial class ProxyOffV1TokenwiseOffV1PathPostResponse { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse2.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse4.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse2.Json.g.cs index 700b6a00..b115c1bf 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse4.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOffV1TokenwiseOffV1PathOptionsResponse4 + public sealed partial class ProxyOffV1TokenwiseOffV1PathPostResponse2 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse4? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse4), - jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse4; + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse2), + jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse4? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse2? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse4? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse2? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse4; + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse2; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse2.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse2.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse2.g.cs index 869f3629..fda5bd0e 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse2.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse2.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyHarnessApiHarnessApiPathPutResponse2 + public sealed partial class ProxyOffV1TokenwiseOffV1PathPostResponse2 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse3.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse3.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse3.Json.g.cs index 9961309f..5e00b2f0 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse3.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOffV1TokenwiseOffV1PathOptionsResponse3 + public sealed partial class ProxyOffV1TokenwiseOffV1PathPostResponse3 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse3? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse3), - jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse3; + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse3), + jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse3; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse3? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse3? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse3? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse3? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse3; + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse3; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse3.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse3.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse3.g.cs index 7db099e9..c7870986 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse3.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse3.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyHarnessApiHarnessApiPathPutResponse3 + public sealed partial class ProxyOffV1TokenwiseOffV1PathPostResponse3 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse4.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse2.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse4.Json.g.cs index a51ee3c5..f2a49264 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse2.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse4.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOffV1TokenwiseOffV1PathOptionsResponse2 + public sealed partial class ProxyOffV1TokenwiseOffV1PathPostResponse4 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse2? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse4? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse2), - jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse2; + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse4), + jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse4; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse2? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse4? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse2? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse4? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse2; + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse4; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse4.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse4.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse4.g.cs index c1de6035..7b971cea 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse4.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse4.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyHarnessApiHarnessApiPathPutResponse4 + public sealed partial class ProxyOffV1TokenwiseOffV1PathPostResponse4 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse5.Json.g.cs new file mode 100644 index 00000000..cfaf0fed --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse5.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyOffV1TokenwiseOffV1PathPostResponse5 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse5), + jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse5; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse5? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse5), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse5; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse5.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse5.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse5.g.cs index aa42340f..3967d2b4 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse5.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse5.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyHarnessApiHarnessApiPathPutResponse5 + public sealed partial class ProxyOffV1TokenwiseOffV1PathPostResponse5 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse6.Json.g.cs new file mode 100644 index 00000000..87546ee4 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse6.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyOffV1TokenwiseOffV1PathPostResponse6 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse6? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse6), + jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse6; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse6? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse6? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse6), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathPostResponse6; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse6.g.cs new file mode 100644 index 00000000..64b0a9de --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathPostResponse6.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyOffV1TokenwiseOffV1PathPostResponse6 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse3.g.cs deleted file mode 100644 index 72b523ce..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse3.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOnV1GatewayOnV1PathOptionsResponse3 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse4.g.cs deleted file mode 100644 index 4e5b4a2b..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse4.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOnV1GatewayOnV1PathOptionsResponse4 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse5.Json.g.cs deleted file mode 100644 index 9450c573..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse5.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOnV1GatewayOnV1PathOptionsResponse5 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse5? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse5), - jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse5; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse5? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse5? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse5; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse5.g.cs deleted file mode 100644 index c700ca11..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse5.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOnV1GatewayOnV1PathOptionsResponse5 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse6.Json.g.cs deleted file mode 100644 index d9cdedc0..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse6.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOnV1GatewayOnV1PathOptionsResponse6 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse6? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse6), - jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse6; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse6? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse6? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse6), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse6; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse6.g.cs deleted file mode 100644 index dbfc155a..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse6.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOnV1GatewayOnV1PathOptionsResponse6 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse.Json.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse5.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse.Json.g.cs index af27b28d..310372d3 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse5.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1GatewayV1PathOptionsResponse5 + public sealed partial class ProxyOnV1GatewayOnV1PathPostResponse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1GatewayV1PathOptionsResponse5? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathPostResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1GatewayV1PathOptionsResponse5), - jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathOptionsResponse5; + typeof(global::AI21.ProxyOnV1GatewayOnV1PathPostResponse), + jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathPostResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1GatewayV1PathOptionsResponse5? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathPostResponse? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1GatewayV1PathOptionsResponse5? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathPostResponse? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1GatewayV1PathOptionsResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathOptionsResponse5; + typeof(global::AI21.ProxyOnV1GatewayOnV1PathPostResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathPostResponse; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse4.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse.g.cs index d09c9f96..b5d37d08 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse4.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1GatewayV1PathOptionsResponse4 + public sealed partial class ProxyOnV1GatewayOnV1PathPostResponse { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse2.Json.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse2.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse2.Json.g.cs index 3da444cd..8cba758c 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse2.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOnV1GatewayOnV1PathOptionsResponse2 + public sealed partial class ProxyOnV1GatewayOnV1PathPostResponse2 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse2? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathPostResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse2), - jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse2; + typeof(global::AI21.ProxyOnV1GatewayOnV1PathPostResponse2), + jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathPostResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse2? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathPostResponse2? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse2? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathPostResponse2? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse2; + typeof(global::AI21.ProxyOnV1GatewayOnV1PathPostResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathPostResponse2; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse2.g.cs new file mode 100644 index 00000000..62d51ea3 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyOnV1GatewayOnV1PathPostResponse2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse3.Json.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse3.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse3.Json.g.cs index 9d984942..925c2823 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse3.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOnV1GatewayOnV1PathOptionsResponse3 + public sealed partial class ProxyOnV1GatewayOnV1PathPostResponse3 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse3? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathPostResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse3), - jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse3; + typeof(global::AI21.ProxyOnV1GatewayOnV1PathPostResponse3), + jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathPostResponse3; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse3? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathPostResponse3? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse3? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathPostResponse3? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse3; + typeof(global::AI21.ProxyOnV1GatewayOnV1PathPostResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathPostResponse3; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse3.g.cs new file mode 100644 index 00000000..53bdfb55 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse3.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyOnV1GatewayOnV1PathPostResponse3 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse4.Json.g.cs new file mode 100644 index 00000000..34f2b161 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse4.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyOnV1GatewayOnV1PathPostResponse4 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyOnV1GatewayOnV1PathPostResponse4? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyOnV1GatewayOnV1PathPostResponse4), + jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathPostResponse4; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyOnV1GatewayOnV1PathPostResponse4? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyOnV1GatewayOnV1PathPostResponse4? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyOnV1GatewayOnV1PathPostResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathPostResponse4; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse4.g.cs new file mode 100644 index 00000000..6d8be584 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse4.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyOnV1GatewayOnV1PathPostResponse4 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse5.Json.g.cs new file mode 100644 index 00000000..8d7306e5 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse5.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyOnV1GatewayOnV1PathPostResponse5 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyOnV1GatewayOnV1PathPostResponse5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyOnV1GatewayOnV1PathPostResponse5), + jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathPostResponse5; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyOnV1GatewayOnV1PathPostResponse5? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyOnV1GatewayOnV1PathPostResponse5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyOnV1GatewayOnV1PathPostResponse5), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathPostResponse5; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse5.g.cs new file mode 100644 index 00000000..432fb4a5 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse5.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyOnV1GatewayOnV1PathPostResponse5 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse6.Json.g.cs new file mode 100644 index 00000000..f33b17b1 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse6.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyOnV1GatewayOnV1PathPostResponse6 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyOnV1GatewayOnV1PathPostResponse6? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyOnV1GatewayOnV1PathPostResponse6), + jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathPostResponse6; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyOnV1GatewayOnV1PathPostResponse6? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyOnV1GatewayOnV1PathPostResponse6? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyOnV1GatewayOnV1PathPostResponse6), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathPostResponse6; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse6.g.cs new file mode 100644 index 00000000..8407eb74 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathPostResponse6.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyOnV1GatewayOnV1PathPostResponse6 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse.Json.g.cs deleted file mode 100644 index 460d2fd5..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOnV1TokenwiseOnV1PathOptionsResponse - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse), - jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse.g.cs deleted file mode 100644 index 9e39ac69..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOnV1TokenwiseOnV1PathOptionsResponse - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse2.Json.g.cs deleted file mode 100644 index 4fd5329c..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse2.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOnV1TokenwiseOnV1PathOptionsResponse2 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse2), - jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse2; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse2? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse2? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse2; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse2.g.cs deleted file mode 100644 index 269b8cef..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse2.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOnV1TokenwiseOnV1PathOptionsResponse2 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse3.Json.g.cs deleted file mode 100644 index 121d2490..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse3.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOnV1TokenwiseOnV1PathOptionsResponse3 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse3? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse3), - jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse3; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse3? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse3? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse3; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse3.g.cs deleted file mode 100644 index 3945d332..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse3.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOnV1TokenwiseOnV1PathOptionsResponse3 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse4.Json.g.cs deleted file mode 100644 index 4747c2b9..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse4.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOnV1TokenwiseOnV1PathOptionsResponse4 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse4? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse4), - jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse4; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse4? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse4? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse4; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse4.g.cs deleted file mode 100644 index 47c3e37d..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse4.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOnV1TokenwiseOnV1PathOptionsResponse4 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse5.Json.g.cs deleted file mode 100644 index 6f244f30..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse5.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOnV1TokenwiseOnV1PathOptionsResponse5 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse5? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse5), - jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse5; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse5? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse5? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse5; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse5.g.cs deleted file mode 100644 index de0d7ff7..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse5.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOnV1TokenwiseOnV1PathOptionsResponse5 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse6.Json.g.cs deleted file mode 100644 index 286e9523..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse6.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOnV1TokenwiseOnV1PathOptionsResponse6 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse6? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse6), - jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse6; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse6? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse6? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse6), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse6; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse6.g.cs deleted file mode 100644 index 33900282..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse6.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOnV1TokenwiseOnV1PathOptionsResponse6 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse.Json.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse4.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse.Json.g.cs index 02259315..69a3ead6 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse4.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOnV1GatewayOnV1PathOptionsResponse4 + public sealed partial class ProxyOnV1TokenwiseOnV1PathPostResponse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse4? FromJson( + public static global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse4), - jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse4; + typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse), + jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse4? FromJson( + public static global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse4? FromJson( + public static global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse4; + typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse.g.cs new file mode 100644 index 00000000..99fd7ed5 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyOnV1TokenwiseOnV1PathPostResponse + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse2.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse2.Json.g.cs index a2abe2bd..418d9f57 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOnV1GatewayOnV1PathOptionsResponse + public sealed partial class ProxyOnV1TokenwiseOnV1PathPostResponse2 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse? FromJson( + public static global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse), - jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse; + typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse2), + jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse? FromJson( + public static global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse2? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse? FromJson( + public static global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse2? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse; + typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse2; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse2.g.cs new file mode 100644 index 00000000..a4278335 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyOnV1TokenwiseOnV1PathPostResponse2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse3.Json.g.cs new file mode 100644 index 00000000..d696ebd4 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse3.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyOnV1TokenwiseOnV1PathPostResponse3 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse3? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse3), + jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse3; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse3? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse3? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse3; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse3.g.cs new file mode 100644 index 00000000..f4596cd7 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse3.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyOnV1TokenwiseOnV1PathPostResponse3 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse4.Json.g.cs new file mode 100644 index 00000000..2ebde955 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse4.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyOnV1TokenwiseOnV1PathPostResponse4 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse4? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse4), + jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse4; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse4? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse4? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse4; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse4.g.cs new file mode 100644 index 00000000..065eb6e4 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse4.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyOnV1TokenwiseOnV1PathPostResponse4 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse5.Json.g.cs new file mode 100644 index 00000000..82e107bc --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse5.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyOnV1TokenwiseOnV1PathPostResponse5 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse5), + jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse5; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse5? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse5), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse5; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse5.g.cs new file mode 100644 index 00000000..7f54047d --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse5.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyOnV1TokenwiseOnV1PathPostResponse5 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse6.Json.g.cs new file mode 100644 index 00000000..9427d128 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse6.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyOnV1TokenwiseOnV1PathPostResponse6 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse6? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse6), + jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse6; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse6? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse6? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse6), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1TokenwiseOnV1PathPostResponse6; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse6.g.cs new file mode 100644 index 00000000..263fddf1 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathPostResponse6.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyOnV1TokenwiseOnV1PathPostResponse6 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse5.g.cs deleted file mode 100644 index 28d7e1da..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse5.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1GatewayV1PathOptionsResponse5 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse6.Json.g.cs deleted file mode 100644 index c289608a..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse6.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyV1GatewayV1PathOptionsResponse6 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyV1GatewayV1PathOptionsResponse6? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyV1GatewayV1PathOptionsResponse6), - jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathOptionsResponse6; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyV1GatewayV1PathOptionsResponse6? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyV1GatewayV1PathOptionsResponse6? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyV1GatewayV1PathOptionsResponse6), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathOptionsResponse6; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse6.g.cs deleted file mode 100644 index 4c8b0eb3..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse6.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1GatewayV1PathOptionsResponse6 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse.Json.g.cs index bfd44403..5f604f6c 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1GatewayV1PathOptionsResponse + public sealed partial class ProxyV1GatewayV1PathPostResponse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1GatewayV1PathOptionsResponse? FromJson( + public static global::AI21.ProxyV1GatewayV1PathPostResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1GatewayV1PathOptionsResponse), - jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathOptionsResponse; + typeof(global::AI21.ProxyV1GatewayV1PathPostResponse), + jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathPostResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1GatewayV1PathOptionsResponse? FromJson( + public static global::AI21.ProxyV1GatewayV1PathPostResponse? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1GatewayV1PathOptionsResponse? FromJson( + public static global::AI21.ProxyV1GatewayV1PathPostResponse? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1GatewayV1PathOptionsResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathOptionsResponse; + typeof(global::AI21.ProxyV1GatewayV1PathPostResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathPostResponse; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse.g.cs index 5d20e769..263876a1 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1GatewayV1PathOptionsResponse + public sealed partial class ProxyV1GatewayV1PathPostResponse { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse2.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse4.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse2.Json.g.cs index 5128b013..f00c4117 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse4.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1GatewayV1PathOptionsResponse4 + public sealed partial class ProxyV1GatewayV1PathPostResponse2 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1GatewayV1PathOptionsResponse4? FromJson( + public static global::AI21.ProxyV1GatewayV1PathPostResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1GatewayV1PathOptionsResponse4), - jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathOptionsResponse4; + typeof(global::AI21.ProxyV1GatewayV1PathPostResponse2), + jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathPostResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1GatewayV1PathOptionsResponse4? FromJson( + public static global::AI21.ProxyV1GatewayV1PathPostResponse2? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1GatewayV1PathOptionsResponse4? FromJson( + public static global::AI21.ProxyV1GatewayV1PathPostResponse2? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1GatewayV1PathOptionsResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathOptionsResponse4; + typeof(global::AI21.ProxyV1GatewayV1PathPostResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathPostResponse2; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse2.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse2.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse2.g.cs index 42f4d0c7..8eb1013b 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse2.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse2.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1GatewayV1PathOptionsResponse2 + public sealed partial class ProxyV1GatewayV1PathPostResponse2 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse3.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse2.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse3.Json.g.cs index 97e77b82..191e70d8 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse2.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1GatewayV1PathOptionsResponse2 + public sealed partial class ProxyV1GatewayV1PathPostResponse3 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1GatewayV1PathOptionsResponse2? FromJson( + public static global::AI21.ProxyV1GatewayV1PathPostResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1GatewayV1PathOptionsResponse2), - jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathOptionsResponse2; + typeof(global::AI21.ProxyV1GatewayV1PathPostResponse3), + jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathPostResponse3; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1GatewayV1PathOptionsResponse2? FromJson( + public static global::AI21.ProxyV1GatewayV1PathPostResponse3? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1GatewayV1PathOptionsResponse2? FromJson( + public static global::AI21.ProxyV1GatewayV1PathPostResponse3? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1GatewayV1PathOptionsResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathOptionsResponse2; + typeof(global::AI21.ProxyV1GatewayV1PathPostResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathPostResponse3; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse3.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse3.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse3.g.cs index 7db9388e..4160923b 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse3.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse3.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1GatewayV1PathOptionsResponse3 + public sealed partial class ProxyV1GatewayV1PathPostResponse3 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse4.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse3.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse4.Json.g.cs index 2827e081..3b2eaa9b 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse3.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse4.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1GatewayV1PathOptionsResponse3 + public sealed partial class ProxyV1GatewayV1PathPostResponse4 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1GatewayV1PathOptionsResponse3? FromJson( + public static global::AI21.ProxyV1GatewayV1PathPostResponse4? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1GatewayV1PathOptionsResponse3), - jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathOptionsResponse3; + typeof(global::AI21.ProxyV1GatewayV1PathPostResponse4), + jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathPostResponse4; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1GatewayV1PathOptionsResponse3? FromJson( + public static global::AI21.ProxyV1GatewayV1PathPostResponse4? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1GatewayV1PathOptionsResponse3? FromJson( + public static global::AI21.ProxyV1GatewayV1PathPostResponse4? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1GatewayV1PathOptionsResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathOptionsResponse3; + typeof(global::AI21.ProxyV1GatewayV1PathPostResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathPostResponse4; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse4.g.cs new file mode 100644 index 00000000..e032f351 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse4.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1GatewayV1PathPostResponse4 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse5.Json.g.cs new file mode 100644 index 00000000..f4140d70 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse5.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyV1GatewayV1PathPostResponse5 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyV1GatewayV1PathPostResponse5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyV1GatewayV1PathPostResponse5), + jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathPostResponse5; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyV1GatewayV1PathPostResponse5? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyV1GatewayV1PathPostResponse5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyV1GatewayV1PathPostResponse5), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathPostResponse5; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse5.g.cs new file mode 100644 index 00000000..f682fac4 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse5.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1GatewayV1PathPostResponse5 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse6.Json.g.cs new file mode 100644 index 00000000..bb0e3cc7 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse6.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyV1GatewayV1PathPostResponse6 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyV1GatewayV1PathPostResponse6? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyV1GatewayV1PathPostResponse6), + jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathPostResponse6; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyV1GatewayV1PathPostResponse6? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyV1GatewayV1PathPostResponse6? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyV1GatewayV1PathPostResponse6), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathPostResponse6; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse6.g.cs new file mode 100644 index 00000000..112c0665 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathPostResponse6.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1GatewayV1PathPostResponse6 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse.g.cs deleted file mode 100644 index ede8e5f8..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1TokenwiseV1PathOptionsResponse - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse2.g.cs deleted file mode 100644 index 512a655a..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse2.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1TokenwiseV1PathOptionsResponse2 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse3.g.cs deleted file mode 100644 index 64cf8286..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse3.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1TokenwiseV1PathOptionsResponse3 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse4.g.cs deleted file mode 100644 index fb27de8f..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse4.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1TokenwiseV1PathOptionsResponse4 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse5.g.cs deleted file mode 100644 index 6b1e98e4..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse5.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1TokenwiseV1PathOptionsResponse5 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse6.Json.g.cs deleted file mode 100644 index 94be00b5..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse6.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyV1TokenwiseV1PathOptionsResponse6 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse6? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyV1TokenwiseV1PathOptionsResponse6), - jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathOptionsResponse6; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse6? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse6? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyV1TokenwiseV1PathOptionsResponse6), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathOptionsResponse6; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse6.g.cs deleted file mode 100644 index 095be5e5..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse6.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1TokenwiseV1PathOptionsResponse6 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse.Json.g.cs index ff14b2a0..611b8161 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1TokenwiseV1PathOptionsResponse + public sealed partial class ProxyV1TokenwiseV1PathPostResponse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathPostResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1TokenwiseV1PathOptionsResponse), - jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathOptionsResponse; + typeof(global::AI21.ProxyV1TokenwiseV1PathPostResponse), + jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathPostResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathPostResponse? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathPostResponse? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1TokenwiseV1PathOptionsResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathOptionsResponse; + typeof(global::AI21.ProxyV1TokenwiseV1PathPostResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathPostResponse; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse.g.cs new file mode 100644 index 00000000..0e1f081b --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1TokenwiseV1PathPostResponse + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse2.Json.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse4.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse2.Json.g.cs index aae5d9cf..3c217094 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse4.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1TokenwiseV1PathOptionsResponse4 + public sealed partial class ProxyV1TokenwiseV1PathPostResponse2 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse4? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathPostResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1TokenwiseV1PathOptionsResponse4), - jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathOptionsResponse4; + typeof(global::AI21.ProxyV1TokenwiseV1PathPostResponse2), + jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathPostResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse4? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathPostResponse2? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse4? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathPostResponse2? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1TokenwiseV1PathOptionsResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathOptionsResponse4; + typeof(global::AI21.ProxyV1TokenwiseV1PathPostResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathPostResponse2; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse2.g.cs new file mode 100644 index 00000000..14239c80 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1TokenwiseV1PathPostResponse2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse3.Json.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse2.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse3.Json.g.cs index 638857a8..f32b2f53 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse2.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1TokenwiseV1PathOptionsResponse2 + public sealed partial class ProxyV1TokenwiseV1PathPostResponse3 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse2? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathPostResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1TokenwiseV1PathOptionsResponse2), - jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathOptionsResponse2; + typeof(global::AI21.ProxyV1TokenwiseV1PathPostResponse3), + jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathPostResponse3; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse2? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathPostResponse3? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse2? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathPostResponse3? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1TokenwiseV1PathOptionsResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathOptionsResponse2; + typeof(global::AI21.ProxyV1TokenwiseV1PathPostResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathPostResponse3; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse3.g.cs new file mode 100644 index 00000000..82bc7e51 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse3.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1TokenwiseV1PathPostResponse3 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse4.Json.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse3.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse4.Json.g.cs index f4cb1e9e..ff860872 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse3.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse4.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1TokenwiseV1PathOptionsResponse3 + public sealed partial class ProxyV1TokenwiseV1PathPostResponse4 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse3? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathPostResponse4? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1TokenwiseV1PathOptionsResponse3), - jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathOptionsResponse3; + typeof(global::AI21.ProxyV1TokenwiseV1PathPostResponse4), + jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathPostResponse4; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse3? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathPostResponse4? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse3? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathPostResponse4? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1TokenwiseV1PathOptionsResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathOptionsResponse3; + typeof(global::AI21.ProxyV1TokenwiseV1PathPostResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathPostResponse4; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse4.g.cs new file mode 100644 index 00000000..cf07a5d3 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse4.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1TokenwiseV1PathPostResponse4 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse5.Json.g.cs new file mode 100644 index 00000000..5e4d6966 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse5.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyV1TokenwiseV1PathPostResponse5 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyV1TokenwiseV1PathPostResponse5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyV1TokenwiseV1PathPostResponse5), + jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathPostResponse5; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyV1TokenwiseV1PathPostResponse5? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyV1TokenwiseV1PathPostResponse5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyV1TokenwiseV1PathPostResponse5), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathPostResponse5; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse5.g.cs new file mode 100644 index 00000000..1d3366d1 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse5.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1TokenwiseV1PathPostResponse5 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse6.Json.g.cs new file mode 100644 index 00000000..b27d5294 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse6.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyV1TokenwiseV1PathPostResponse6 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyV1TokenwiseV1PathPostResponse6? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyV1TokenwiseV1PathPostResponse6), + jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathPostResponse6; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyV1TokenwiseV1PathPostResponse6? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyV1TokenwiseV1PathPostResponse6? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyV1TokenwiseV1PathPostResponse6), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathPostResponse6; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse6.g.cs new file mode 100644 index 00000000..5086dc67 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathPostResponse6.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1TokenwiseV1PathPostResponse6 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse.g.cs deleted file mode 100644 index f00fa8eb..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaGatewayV1betaPathOptionsResponse - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse2.g.cs deleted file mode 100644 index e352d284..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse2.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaGatewayV1betaPathOptionsResponse2 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse3.g.cs deleted file mode 100644 index 30b0d032..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse3.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaGatewayV1betaPathOptionsResponse3 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse4.g.cs deleted file mode 100644 index c572b7bf..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse4.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaGatewayV1betaPathOptionsResponse4 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse5.Json.g.cs deleted file mode 100644 index a8aedbe3..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse5.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyV1betaGatewayV1betaPathOptionsResponse5 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse5? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse5), - jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse5; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse5? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse5? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse5; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse5.g.cs deleted file mode 100644 index 02804571..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse5.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaGatewayV1betaPathOptionsResponse5 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse6.Json.g.cs deleted file mode 100644 index 10f4d442..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse6.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyV1betaGatewayV1betaPathOptionsResponse6 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse6? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse6), - jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse6; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse6? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse6? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse6), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse6; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse6.g.cs deleted file mode 100644 index 09054623..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse6.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaGatewayV1betaPathOptionsResponse6 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse.Json.g.cs index 1b1f09f2..08fbcab7 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1betaGatewayV1betaPathOptionsResponse + public sealed partial class ProxyV1betaGatewayV1betaPathPostResponse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathPostResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse), - jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse; + typeof(global::AI21.ProxyV1betaGatewayV1betaPathPostResponse), + jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathPostResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathPostResponse? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathPostResponse? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse; + typeof(global::AI21.ProxyV1betaGatewayV1betaPathPostResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathPostResponse; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse2.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse.g.cs index d13fe323..6003f252 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse2.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOnV1GatewayOnV1PathOptionsResponse2 + public sealed partial class ProxyV1betaGatewayV1betaPathPostResponse { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse2.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse4.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse2.Json.g.cs index d49f665a..f80939e4 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse4.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1betaGatewayV1betaPathOptionsResponse4 + public sealed partial class ProxyV1betaGatewayV1betaPathPostResponse2 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse4? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathPostResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse4), - jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse4; + typeof(global::AI21.ProxyV1betaGatewayV1betaPathPostResponse2), + jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathPostResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse4? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathPostResponse2? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse4? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathPostResponse2? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse4; + typeof(global::AI21.ProxyV1betaGatewayV1betaPathPostResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathPostResponse2; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse2.g.cs new file mode 100644 index 00000000..80b05adf --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1betaGatewayV1betaPathPostResponse2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse3.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse2.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse3.Json.g.cs index 22d58eae..1db5d5fe 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse2.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1betaGatewayV1betaPathOptionsResponse2 + public sealed partial class ProxyV1betaGatewayV1betaPathPostResponse3 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse2? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathPostResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse2), - jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse2; + typeof(global::AI21.ProxyV1betaGatewayV1betaPathPostResponse3), + jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathPostResponse3; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse2? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathPostResponse3? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse2? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathPostResponse3? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse2; + typeof(global::AI21.ProxyV1betaGatewayV1betaPathPostResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathPostResponse3; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse3.g.cs new file mode 100644 index 00000000..70550758 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse3.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1betaGatewayV1betaPathPostResponse3 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse4.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse3.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse4.Json.g.cs index 368e23c7..02ba19fb 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse3.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse4.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1betaGatewayV1betaPathOptionsResponse3 + public sealed partial class ProxyV1betaGatewayV1betaPathPostResponse4 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse3? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathPostResponse4? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse3), - jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse3; + typeof(global::AI21.ProxyV1betaGatewayV1betaPathPostResponse4), + jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathPostResponse4; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse3? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathPostResponse4? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse3? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathPostResponse4? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse3; + typeof(global::AI21.ProxyV1betaGatewayV1betaPathPostResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathPostResponse4; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse4.g.cs new file mode 100644 index 00000000..2e8c0f98 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse4.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1betaGatewayV1betaPathPostResponse4 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse5.Json.g.cs new file mode 100644 index 00000000..db85b4ba --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse5.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyV1betaGatewayV1betaPathPostResponse5 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyV1betaGatewayV1betaPathPostResponse5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyV1betaGatewayV1betaPathPostResponse5), + jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathPostResponse5; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyV1betaGatewayV1betaPathPostResponse5? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyV1betaGatewayV1betaPathPostResponse5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyV1betaGatewayV1betaPathPostResponse5), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathPostResponse5; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse5.g.cs new file mode 100644 index 00000000..09a68f04 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse5.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1betaGatewayV1betaPathPostResponse5 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse6.Json.g.cs new file mode 100644 index 00000000..c5439b0a --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse6.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyV1betaGatewayV1betaPathPostResponse6 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyV1betaGatewayV1betaPathPostResponse6? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyV1betaGatewayV1betaPathPostResponse6), + jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathPostResponse6; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyV1betaGatewayV1betaPathPostResponse6? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyV1betaGatewayV1betaPathPostResponse6? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyV1betaGatewayV1betaPathPostResponse6), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathPostResponse6; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse6.g.cs new file mode 100644 index 00000000..c0ca7a2c --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathPostResponse6.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1betaGatewayV1betaPathPostResponse6 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse.g.cs deleted file mode 100644 index 5d51374d..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaTokenwiseV1betaPathOptionsResponse - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse2.g.cs deleted file mode 100644 index 12ab47dd..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse2.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaTokenwiseV1betaPathOptionsResponse2 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse3.g.cs deleted file mode 100644 index 267948e0..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse3.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaTokenwiseV1betaPathOptionsResponse3 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse4.g.cs deleted file mode 100644 index 6f941a91..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse4.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaTokenwiseV1betaPathOptionsResponse4 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse5.Json.g.cs deleted file mode 100644 index ef7313a0..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse5.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyV1betaTokenwiseV1betaPathOptionsResponse5 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse5? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse5), - jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse5; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse5? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse5? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse5; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse5.g.cs deleted file mode 100644 index e4b173a3..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse5.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaTokenwiseV1betaPathOptionsResponse5 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse6.Json.g.cs deleted file mode 100644 index 26b0deca..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse6.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyV1betaTokenwiseV1betaPathOptionsResponse6 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse6? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse6), - jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse6; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse6? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse6? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse6), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse6; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse6.g.cs deleted file mode 100644 index 1beadeb4..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse6.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaTokenwiseV1betaPathOptionsResponse6 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse.Json.g.cs index e83f023c..645d6c6a 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1betaTokenwiseV1betaPathOptionsResponse + public sealed partial class ProxyV1betaTokenwiseV1betaPathPostResponse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse), - jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse; + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse), + jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse; + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse.g.cs new file mode 100644 index 00000000..3f4a45c3 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1betaTokenwiseV1betaPathPostResponse + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse2.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse3.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse2.Json.g.cs index 4b20eeb1..3af770b3 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse3.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1betaTokenwiseV1betaPathOptionsResponse3 + public sealed partial class ProxyV1betaTokenwiseV1betaPathPostResponse2 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse3? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse3), - jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse3; + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse2), + jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse3? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse2? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse3? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse2? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse3; + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse2; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse2.g.cs new file mode 100644 index 00000000..02d82681 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1betaTokenwiseV1betaPathPostResponse2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse3.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse4.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse3.Json.g.cs index 5612c84d..0345e588 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse4.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1betaTokenwiseV1betaPathOptionsResponse4 + public sealed partial class ProxyV1betaTokenwiseV1betaPathPostResponse3 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse4? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse4), - jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse4; + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse3), + jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse3; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse4? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse3? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse4? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse3? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse4; + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse3; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse3.g.cs new file mode 100644 index 00000000..d4ec71aa --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse3.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1betaTokenwiseV1betaPathPostResponse3 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse4.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse2.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse4.Json.g.cs index 8aa26792..010e92e8 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse2.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse4.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1betaTokenwiseV1betaPathOptionsResponse2 + public sealed partial class ProxyV1betaTokenwiseV1betaPathPostResponse4 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse2? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse4? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse2), - jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse2; + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse4), + jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse4; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse2? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse4? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse2? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse4? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse2; + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse4; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse4.g.cs new file mode 100644 index 00000000..524e1a0e --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse4.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1betaTokenwiseV1betaPathPostResponse4 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse5.Json.g.cs new file mode 100644 index 00000000..2e4168b7 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse5.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyV1betaTokenwiseV1betaPathPostResponse5 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse5), + jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse5; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse5? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse5), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse5; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse5.g.cs new file mode 100644 index 00000000..85962eb3 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse5.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1betaTokenwiseV1betaPathPostResponse5 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse6.Json.g.cs new file mode 100644 index 00000000..3d2b145d --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse6.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyV1betaTokenwiseV1betaPathPostResponse6 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse6? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse6), + jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse6; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse6? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse6? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse6), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathPostResponse6; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse6.g.cs new file mode 100644 index 00000000..cf4b6803 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathPostResponse6.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1betaTokenwiseV1betaPathPostResponse6 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse5.Json.g.cs deleted file mode 100644 index ca5a2c33..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse5.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyV1internalGatewayV1internalPathOptionsResponse5 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse5? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse5), - jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse5; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse5? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse5? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse5; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse5.g.cs deleted file mode 100644 index c8dd8be9..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse5.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1internalGatewayV1internalPathOptionsResponse5 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse6.Json.g.cs deleted file mode 100644 index a2b6ab3a..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse6.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyV1internalGatewayV1internalPathOptionsResponse6 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse6? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse6), - jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse6; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse6? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse6? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse6), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse6; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse6.g.cs deleted file mode 100644 index 5fe59b61..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse6.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1internalGatewayV1internalPathOptionsResponse6 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse.Json.g.cs index 350b4014..cbb8f8e7 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1internalGatewayV1internalPathOptionsResponse + public sealed partial class ProxyV1internalGatewayV1internalPathPostResponse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathPostResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse), - jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse; + typeof(global::AI21.ProxyV1internalGatewayV1internalPathPostResponse), + jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathPostResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathPostResponse? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathPostResponse? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse; + typeof(global::AI21.ProxyV1internalGatewayV1internalPathPostResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathPostResponse; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse.g.cs index 95cc0c3b..55bdf3fb 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1internalGatewayV1internalPathOptionsResponse + public sealed partial class ProxyV1internalGatewayV1internalPathPostResponse { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse2.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse3.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse2.Json.g.cs index c554a2dd..bacde630 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse3.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1internalGatewayV1internalPathOptionsResponse3 + public sealed partial class ProxyV1internalGatewayV1internalPathPostResponse2 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse3? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathPostResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse3), - jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse3; + typeof(global::AI21.ProxyV1internalGatewayV1internalPathPostResponse2), + jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathPostResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse3? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathPostResponse2? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse3? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathPostResponse2? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse3; + typeof(global::AI21.ProxyV1internalGatewayV1internalPathPostResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathPostResponse2; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse2.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse2.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse2.g.cs index f8ca71fd..a313277f 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse2.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse2.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1internalGatewayV1internalPathOptionsResponse2 + public sealed partial class ProxyV1internalGatewayV1internalPathPostResponse2 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse3.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse4.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse3.Json.g.cs index 28e6fdea..ee156811 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse4.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1internalGatewayV1internalPathOptionsResponse4 + public sealed partial class ProxyV1internalGatewayV1internalPathPostResponse3 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse4? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathPostResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse4), - jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse4; + typeof(global::AI21.ProxyV1internalGatewayV1internalPathPostResponse3), + jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathPostResponse3; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse4? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathPostResponse3? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse4? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathPostResponse3? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse4; + typeof(global::AI21.ProxyV1internalGatewayV1internalPathPostResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathPostResponse3; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse3.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse3.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse3.g.cs index 94326c45..2e2a2559 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse3.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse3.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1internalGatewayV1internalPathOptionsResponse3 + public sealed partial class ProxyV1internalGatewayV1internalPathPostResponse3 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse4.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse2.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse4.Json.g.cs index e68466d1..8660902b 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse2.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse4.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1internalGatewayV1internalPathOptionsResponse2 + public sealed partial class ProxyV1internalGatewayV1internalPathPostResponse4 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse2? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathPostResponse4? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse2), - jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse2; + typeof(global::AI21.ProxyV1internalGatewayV1internalPathPostResponse4), + jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathPostResponse4; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse2? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathPostResponse4? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse2? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathPostResponse4? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse2; + typeof(global::AI21.ProxyV1internalGatewayV1internalPathPostResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathPostResponse4; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse4.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse4.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse4.g.cs index 705bbfc9..e16bb33a 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse4.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse4.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1internalGatewayV1internalPathOptionsResponse4 + public sealed partial class ProxyV1internalGatewayV1internalPathPostResponse4 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse5.Json.g.cs new file mode 100644 index 00000000..a0bb9390 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse5.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyV1internalGatewayV1internalPathPostResponse5 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyV1internalGatewayV1internalPathPostResponse5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyV1internalGatewayV1internalPathPostResponse5), + jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathPostResponse5; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyV1internalGatewayV1internalPathPostResponse5? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyV1internalGatewayV1internalPathPostResponse5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyV1internalGatewayV1internalPathPostResponse5), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathPostResponse5; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse5.g.cs new file mode 100644 index 00000000..a66d485d --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse5.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1internalGatewayV1internalPathPostResponse5 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse6.Json.g.cs new file mode 100644 index 00000000..56d397a6 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse6.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyV1internalGatewayV1internalPathPostResponse6 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyV1internalGatewayV1internalPathPostResponse6? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyV1internalGatewayV1internalPathPostResponse6), + jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathPostResponse6; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyV1internalGatewayV1internalPathPostResponse6? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyV1internalGatewayV1internalPathPostResponse6? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyV1internalGatewayV1internalPathPostResponse6), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathPostResponse6; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse6.g.cs new file mode 100644 index 00000000..be6457d9 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathPostResponse6.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1internalGatewayV1internalPathPostResponse6 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse5.Json.g.cs deleted file mode 100644 index 30a0e54a..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse5.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyV1internalTokenwiseV1internalPathOptionsResponse5 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse5? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse5), - jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse5; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse5? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse5? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse5; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse5.g.cs deleted file mode 100644 index 756437b9..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse5.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1internalTokenwiseV1internalPathOptionsResponse5 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse6.Json.g.cs deleted file mode 100644 index 392ac176..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse6.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyV1internalTokenwiseV1internalPathOptionsResponse6 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse6? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse6), - jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse6; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse6? FromJson( - string json) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse6? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse6), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse6; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::AI21.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse6.g.cs deleted file mode 100644 index 4d8c12dd..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse6.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1internalTokenwiseV1internalPathOptionsResponse6 - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - } -} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse.Json.g.cs similarity index 89% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse.Json.g.cs index e204f76d..f77ad1b4 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1internalTokenwiseV1internalPathOptionsResponse + public sealed partial class ProxyV1internalTokenwiseV1internalPathPostResponse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse), - jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse; + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse), + jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse; + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse.g.cs index 82baa0c8..31dd898a 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1internalTokenwiseV1internalPathOptionsResponse + public sealed partial class ProxyV1internalTokenwiseV1internalPathPostResponse { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse2.Json.g.cs similarity index 89% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse4.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse2.Json.g.cs index 901a312a..abff5e3a 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse4.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1internalTokenwiseV1internalPathOptionsResponse4 + public sealed partial class ProxyV1internalTokenwiseV1internalPathPostResponse2 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse4? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse4), - jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse4; + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse2), + jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse4? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse2? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse4? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse2? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse4; + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse2; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse2.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse2.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse2.g.cs index d191da7c..1ede5f4e 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse2.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse2.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1internalTokenwiseV1internalPathOptionsResponse2 + public sealed partial class ProxyV1internalTokenwiseV1internalPathPostResponse2 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse3.Json.g.cs similarity index 89% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse2.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse3.Json.g.cs index e7354e62..132c95fb 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse2.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1internalTokenwiseV1internalPathOptionsResponse2 + public sealed partial class ProxyV1internalTokenwiseV1internalPathPostResponse3 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse2? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse2), - jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse2; + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse3), + jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse3; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse2? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse3? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse2? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse3? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse2; + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse3; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse3.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse3.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse3.g.cs index aff54997..c8852c27 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse3.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse3.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1internalTokenwiseV1internalPathOptionsResponse3 + public sealed partial class ProxyV1internalTokenwiseV1internalPathPostResponse3 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse4.Json.g.cs similarity index 89% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse3.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse4.Json.g.cs index 048b93bc..54dd20c8 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse3.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse4.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1internalTokenwiseV1internalPathOptionsResponse3 + public sealed partial class ProxyV1internalTokenwiseV1internalPathPostResponse4 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse3? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse4? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse3), - jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse3; + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse4), + jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse4; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse3? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse4? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse3? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse4? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse3; + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse4; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::AI21.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse4.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse4.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse4.g.cs index 694817c6..cf89fcca 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse4.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse4.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1internalTokenwiseV1internalPathOptionsResponse4 + public sealed partial class ProxyV1internalTokenwiseV1internalPathPostResponse4 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse5.Json.g.cs new file mode 100644 index 00000000..da26d842 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse5.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyV1internalTokenwiseV1internalPathPostResponse5 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse5), + jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse5; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse5? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse5), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse5; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse5.g.cs new file mode 100644 index 00000000..31e49d29 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse5.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1internalTokenwiseV1internalPathPostResponse5 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse6.Json.g.cs new file mode 100644 index 00000000..59e01e78 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse6.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyV1internalTokenwiseV1internalPathPostResponse6 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse6? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse6), + jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse6; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse6? FromJson( + string json) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse6? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse6), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathPostResponse6; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::AI21.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse6.g.cs new file mode 100644 index 00000000..55d053c1 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathPostResponse6.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// + /// + public sealed partial class ProxyV1internalTokenwiseV1internalPathPostResponse6 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/AI21/openapi.json b/src/libs/AI21/openapi.json index 42dd0558..056d80d6 100644 --- a/src/libs/AI21/openapi.json +++ b/src/libs/AI21/openapi.json @@ -1 +1 @@ -{"openapi":"3.1.0","info":{"title":"AI21 Studio API","description":"Access our powerful language models using an API that makes you smile","version":"1.0.0"},"paths":{"/studio/v1/chat/files/convert":{"post":{"summary":"Convert Document File","operationId":"convert_document_file_studio_v1_chat_files_convert_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_convert_document_file_studio_v1_chat_files_convert_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/chat/completions":{"post":{"tags":["Jamba Complete"],"summary":"Studio Chat Complete","description":"This is the endpoint for the [Jamba Instruct model](https://docs.ai21.com/docs/jamba-models).\nThis is a foundation model that supports both single-turn (question answering,\ntext completion) and multi-turn (chat style) interactions.\n\nYou can optionally stream results if you want to get the response as each\ntoken is generated, rather than waiting for the entire response.","operationId":"v1_chat_complete","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/ChatCompletion"},{"items":{"$ref":"#/components/schemas/ChatCompletionVllmStreamingMessage"},"type":"array"}],"title":"Response V1 Chat Complete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/library/files":{"get":{"tags":["Library management"],"summary":"Get Workspace Files","description":"Get metadata about a specific file by file ID. The file ID is generated by\nAI21 when you upload the file.","operationId":"v1_library_management","parameters":[{"required":false,"schema":{"type":"string","title":"Name"},"name":"name","in":"query"},{"required":false,"schema":{"type":"string","title":"Path"},"name":"path","in":"query"},{"required":false,"schema":{"$ref":"#/components/schemas/FileStatus"},"name":"status","in":"query"},{"required":false,"schema":{"items":{"type":"string"},"type":"array","title":"Label"},"name":"label","in":"query"},{"required":false,"schema":{"type":"integer","title":"Limit","default":500000},"name":"limit","in":"query"},{"required":false,"schema":{"type":"integer","title":"Offset"},"name":"offset","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/FileResponse"},"type":"array","title":"Response V1 Library Management"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Library management"],"summary":"Upload Workspace File","description":"Upload files to use for [RAG Engine document searches](https://docs.ai21.com/docs/rag-engine-overview).\nYou can assign metadata to your files to limit searches to specific files by file metadata.\nThere is no bulk upload method; files must be loaded one at a time.\n\n- **Max number of files:** No limit. The playground limits bulk uploads to 50 files per request.\n- **Max library size:** 1 GB total size. No limit to individual file size.\n- **Supported file types:** PDF, DocX, HTML, TXT","operationId":"v1_library_upload","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_v1_library_upload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/library/files/{file_id}":{"get":{"tags":["Library management"],"summary":"Get File By Id","description":"Retrieve a list of documents in the user's library. Optionally specify a\nfilter to find only files with matching labels or paths. This method\nreturns only metadata about files; to download a file, call\n`GET .../files/{file_id}/download`\n\nWhen specifying qualifiers with your request, only files that match\n_all_ qualifiers will be returns. So, for example, if you specify\n`label='financial'` and `status='UPLOADED'`, only files with the label\n\"financial\" AND status UPLOADED will be returned.","operationId":"v1_library_management","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"File Id"},"name":"file_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Library management"],"summary":"Update File","description":"Update the specified parameters of a specific document in the user's library.\nThis operation currently supports updating the publicUrl and labels parameters.\n\n> **This operation overwrites the specified items with the new data you provide.**\n> If you wish to add new labels to the labels list without removing the existing ones,\n> you must submit a labels list that includes both the current and new labels.**\n>\n> For instance, if the current labels are \"Label A\" and \"Label B\", and you wish to\n> add \"New Label C\" and \"New Label D\" to the list, you must specify `\"labels\": [\"Label A\", \"Label B\", \"New Label C\", \"New Label D\"]`.","operationId":"v1_library_management","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"File Id"},"name":"file_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FilesUpdateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Library management"],"summary":"Delete File","description":"Delete the specified file from the library.\n\n**Restrictions**:\nFiles in `PROCESSING` status cannot be deleted. Attempts to delete such files will result in a 422 error.","operationId":"v1_library_delete","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"File Id"},"name":"file_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/secrets":{"get":{"tags":["Secrets"],"summary":"Get Secret List","operationId":"v1_secret_storage","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["Secrets"],"summary":"Save Secret","operationId":"v1_secret_storage","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSecretPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Secrets"],"summary":"Delete Secret","operationId":"v1_secret_storage","parameters":[{"required":true,"schema":{"type":"string","title":"Secret Id"},"name":"secret_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/secrets/{secret_id}":{"patch":{"tags":["Secrets"],"summary":"Update Secret","operationId":"v1_secret_storage","parameters":[{"required":true,"schema":{"type":"string","title":"Secret Id"},"name":"secret_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSecretPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/library/batches/{batch_id}/status":{"get":{"tags":["RAG Engine"],"summary":"Get Batch Ingestion Status","operationId":"v1_library_management","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Batch Id"},"name":"batch_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IngestionBatchStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/library/files/{file_id}/download":{"get":{"tags":["RAG Engine"],"summary":"Generate Documents Signed Url","operationId":"v1_library_management","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"File Id"},"name":"file_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/library/files/{file_id}/parsed":{"get":{"tags":["RAG Engine"],"summary":"Download Parsed Document","description":"Download parsed document with Content-Disposition header for immediate download.","operationId":"v1_library_management","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"File Id"},"name":"file_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/maestro/runs":{"post":{"summary":"Create Maestro Run","operationId":"v1_maestro_run","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMaestroRunsPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaestroRunResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/maestro/runs/{execution_id}":{"get":{"summary":"Get Maestro Run","operationId":"v1_get_maestro_run","parameters":[{"required":true,"schema":{"type":"string","title":"Execution Id"},"name":"execution_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaestroRunResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos":{"get":{"summary":"List Demos","description":"List all available demos.","operationId":"list_demos_studio_v1_demos_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Demo"},"type":"array","title":"Response List Demos Studio V1 Demos Get"}}}}}},"post":{"summary":"Create Demo","description":"Create a new demo.","operationId":"create_demo_studio_v1_demos_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemoCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Demo"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/{demo_id}":{"get":{"summary":"Get Demo","description":"Get a specific demo by ID.","operationId":"get_demo_studio_v1_demos__demo_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Demo Id"},"name":"demo_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Demo"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Demo","description":"Update an existing demo.","operationId":"update_demo_studio_v1_demos__demo_id__put","parameters":[{"required":true,"schema":{"type":"string","title":"Demo Id"},"name":"demo_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemoUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Demo"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Demo","description":"Delete a demo.","operationId":"delete_demo_studio_v1_demos__demo_id__delete","parameters":[{"required":true,"schema":{"type":"string","title":"Demo Id"},"name":"demo_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/document-modifier/parse-pdf":{"post":{"summary":"Parse Pdf","description":"Parse a PDF file and return its contents.","operationId":"parse_pdf_studio_v1_demos_document_modifier_parse_pdf_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_parse_pdf_studio_v1_demos_document_modifier_parse_pdf_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Parse Pdf Studio V1 Demos Document Modifier Parse Pdf Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/document-modifier/get-parsed-file":{"get":{"summary":"Get Parsed File","description":"Get the parsed file from the document modifier.","operationId":"get_parsed_file_studio_v1_demos_document_modifier_get_parsed_file_get","parameters":[{"required":true,"schema":{"type":"string","title":"File Name"},"name":"file_name","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Parsed File Studio V1 Demos Document Modifier Get Parsed File Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/document-modifier/compare-text":{"post":{"summary":"Compare Text","description":"Compare text in a document file against a reference text.","operationId":"compare_text_studio_v1_demos_document_modifier_compare_text_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompareTextRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Compare Text Studio V1 Demos Document Modifier Compare Text Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/document-modifier/download":{"post":{"summary":"Download Modified Document","description":"Download a modified document.","operationId":"download_modified_document_studio_v1_demos_document_modifier_download_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadModifiedDocumentRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/document-modifier/jamba-execute":{"post":{"summary":"Jamba Execute","description":"Execute a Jamba request.","operationId":"jamba_execute_studio_v1_demos_document_modifier_jamba_execute_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JambaExecuteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Jamba Execute Studio V1 Demos Document Modifier Jamba Execute Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/regulations/upload-check-compliance":{"post":{"summary":"Upload Check Compliance","description":"Check compliance of a document file against regulatory requirements.","operationId":"upload_check_compliance_studio_v1_demos_regulations_upload_check_compliance_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_check_compliance_studio_v1_demos_regulations_upload_check_compliance_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Upload Check Compliance Studio V1 Demos Regulations Upload Check Compliance Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/regulations/vector-store/{vector_store_id}":{"get":{"summary":"Get Vector Store","description":"Get a vector store by ID.","operationId":"get_vector_store_studio_v1_demos_regulations_vector_store__vector_store_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Vector Store Id"},"name":"vector_store_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Vector Store Studio V1 Demos Regulations Vector Store Vector Store Id Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/rfi/generate-response-pdf":{"post":{"summary":"Combine section answers ➜ styled PDF for download","operationId":"generate_response_pdf_studio_v1_demos_rfi_generate_response_pdf_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkdownRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}},"application/pdf":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/rfi/process-rfi":{"post":{"summary":"Process Rfi Document","operationId":"process_rfi_document_studio_v1_demos_rfi_process_rfi_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_process_rfi_document_studio_v1_demos_rfi_process_rfi_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/RFIResponseSection"},"type":"array","title":"Response Process Rfi Document Studio V1 Demos Rfi Process Rfi Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/scraper/file-url/{file_id}":{"get":{"summary":"Get File Url","operationId":"get_file_url_studio_v1_demos_scraper_file_url__file_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"File Id"},"name":"file_id","in":"path"},{"required":false,"schema":{"type":"string","title":"Api Key"},"name":"api_key","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/scraper/can-iframe":{"get":{"summary":"Can Iframe","operationId":"can_iframe_studio_v1_demos_scraper_can_iframe_get","parameters":[{"required":true,"schema":{"type":"string","title":"Url"},"name":"url","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Can Iframe Studio V1 Demos Scraper Can Iframe Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/website-connector/ingest-url":{"post":{"tags":["Website Connector"],"summary":"Connect Website","operationId":"v1_website_connector_ingest_url","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebsiteConnectorIngestUrlPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/website-connector/url-status":{"get":{"tags":["Website Connector"],"summary":"Get Url Status","operationId":"v1_website_connector_get_url_status","parameters":[{"required":true,"schema":{"type":"string","title":"Url Id"},"name":"url_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/website-connector/ingest-website":{"post":{"tags":["Website Connector"],"summary":"Ingest Website","operationId":"v1_website_connector_ingest_website","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebsiteConnectorIngestWebsitePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/website-connector/website-status":{"get":{"tags":["Website Connector"],"summary":"Get Website Status","operationId":"v1_website_connector_get_website_status","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Website Id"},"name":"website_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/website-connector/retry-ingest-website":{"post":{"tags":["Website Connector"],"summary":"Retry Ingest Website","operationId":"v1_website_connector_retry_ingest_website","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebsiteConnectorRetryIngestWebsitePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/website-connector/client-config":{"get":{"tags":["Website Connector"],"summary":"Get Client Config","operationId":"v1_website_connector_get_config","parameters":[{"required":true,"schema":{"type":"string","title":"Config Name"},"name":"config_name","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Website Connector"],"summary":"Create Client Config","operationId":"v1_website_connector_create_config","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebsiteConnectorCreateConfigPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/structured-rag/organizations/{organization_id}/schemas":{"get":{"summary":"Get Organization Schemas","operationId":"get_organization_schemas_studio_v1_structured_rag_organizations__organization_id__schemas_get","parameters":[{"required":true,"schema":{"type":"string","title":"Organization Id"},"name":"organization_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrgSchemas"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Organization Schema","operationId":"create_organization_schema_studio_v1_structured_rag_organizations__organization_id__schemas_post","parameters":[{"required":true,"schema":{"type":"string","title":"Organization Id"},"name":"organization_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOrganizationSchemaRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/structured-rag/organizations/{organization_id}/schema-detection":{"post":{"summary":"Detect Schema","operationId":"detect_schema_studio_v1_structured_rag_organizations__organization_id__schema_detection_post","parameters":[{"required":true,"schema":{"type":"string","title":"Organization Id"},"name":"organization_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DetectSchemaRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DetectSchemaResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/structured-rag/organizations/{organization_id}/schemas/{schema_name}":{"delete":{"summary":"Delete Organization Schema","operationId":"delete_organization_schema_studio_v1_structured_rag_organizations__organization_id__schemas__schema_name__delete","parameters":[{"required":true,"schema":{"type":"string","title":"Organization Id"},"name":"organization_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Schema Name"},"name":"schema_name","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/v1/{path}":{"get":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_gateway_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_gateway_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_gateway_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_gateway_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_gateway_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_gateway_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/v1beta/{path}":{"get":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_gateway_v1beta__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_gateway_v1beta__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_gateway_v1beta__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_gateway_v1beta__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_gateway_v1beta__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_gateway_v1beta__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/v1internal{path}":{"get":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_gateway_v1internal_path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_gateway_v1internal_path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_gateway_v1internal_path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_gateway_v1internal_path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_gateway_v1internal_path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_gateway_v1internal_path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/off/v1/{path}":{"get":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_gateway_off_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_gateway_off_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_gateway_off_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_gateway_off_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_gateway_off_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_gateway_off_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/on/v1/{path}":{"get":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_gateway_on_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_gateway_on_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_gateway_on_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_gateway_on_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_gateway_on_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_gateway_on_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/settings/agents":{"get":{"summary":"List Agents","operationId":"list_agents_gateway_settings_agents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AgentOut"},"type":"array","title":"Response List Agents Gateway Settings Agents Get"}}}}}},"post":{"summary":"Create Agent","operationId":"create_agent_gateway_settings_agents_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/settings/agents/{agent_id}/optimizations":{"get":{"summary":"Get Agent Optimizations","operationId":"get_agent_optimizations_gateway_settings_agents__agent_id__optimizations_get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AgentOptimization"},"type":"array","title":"Response Get Agent Optimizations Gateway Settings Agents Agent Id Optimizations Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/settings/agents/{agent_id}":{"get":{"summary":"Get Agent","operationId":"get_agent_gateway_settings_agents__agent_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Agent","operationId":"update_agent_gateway_settings_agents__agent_id__put","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Agent","operationId":"delete_agent_gateway_settings_agents__agent_id__delete","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/settings/configs":{"get":{"summary":"List Configs","operationId":"list_configs_gateway_settings_configs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ConfigProfileOut"},"type":"array","title":"Response List Configs Gateway Settings Configs Get"}}}}}},"post":{"summary":"Create Config","operationId":"create_config_gateway_settings_configs_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/settings/configs/schema":{"get":{"summary":"Get Config Schema","operationId":"get_config_schema_gateway_settings_configs_schema_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigSchemaOut"}}}}}}},"/gateway/settings/configs/{config_id}":{"get":{"summary":"Get Config","operationId":"get_config_gateway_settings_configs__config_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Config Id"},"name":"config_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Config","operationId":"update_config_gateway_settings_configs__config_id__put","parameters":[{"required":true,"schema":{"type":"string","title":"Config Id"},"name":"config_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Config","operationId":"delete_config_gateway_settings_configs__config_id__delete","parameters":[{"required":true,"schema":{"type":"string","title":"Config Id"},"name":"config_id","in":"path"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/settings/provider-keys":{"get":{"summary":"List Provider Keys","description":"The workspace's provider keys, masked.\n\nOne endpoint, two shapes, mirroring the BFF: without ``provider`` it lists\nevery key for the workspace; with one it returns that single key, or 404 if\nthe workspace has none for it. The union response model is the honest\ndeclaration of that — see ``provider_keys/router.py::list_provider_keys``.\n\n``provider`` is bounded here so an explicitly empty ``?provider=`` fails with\n422 at this edge rather than making the round trip (the BFF rejects it too);\nomitting it entirely is the list case. It rides through on the forwarded query\nstring — see ``tokenwise_service._build_gateway_request``.","operationId":"list_provider_keys_gateway_settings_provider_keys_get","parameters":[{"required":false,"schema":{"type":"string","minLength":1,"title":"Provider"},"name":"provider","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"items":{"$ref":"#/components/schemas/ProviderKeyOut"},"type":"array"},{"$ref":"#/components/schemas/ProviderKeyOut"}],"title":"Response List Provider Keys Gateway Settings Provider Keys Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Provider Key","description":"Rotate the workspace's key for a provider. 404 if none is configured.\n\nFull replacement, not a partial update — unlike the agent/config mirrors there\nis no ``exclude_unset``, because ``api_key`` is the whole point of the call.","operationId":"update_provider_key_gateway_settings_provider_keys_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Provider Key","description":"Store a provider key for the workspace. 409 if one already exists.","operationId":"create_provider_key_gateway_settings_provider_keys_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Provider Key","description":"Delete the workspace's key for a provider. 404 if none is configured.","operationId":"delete_provider_key_gateway_settings_provider_keys_delete","parameters":[{"required":true,"schema":{"type":"string","minLength":1,"title":"Provider"},"name":"provider","in":"query"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/insights":{"get":{"summary":"List Insights","description":"Published insights for ``agent_id``, newest first.\n\n``agent_id`` is typed here so a missing/empty value fails with 422 before\nreaching the gateway; it rides through to the upstream via the forwarded\nquery string (see ``tokenwise_service._build_gateway_request``).","operationId":"list_insights_gateway_insights_get","parameters":[{"required":true,"schema":{"type":"string","minLength":1,"title":"Agent Id"},"name":"agent_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/InsightOut"},"type":"array","title":"Response List Insights Gateway Insights Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/insights/all":{"get":{"summary":"List All Insights","description":"Every insight for the workspace in one read, newest first, with an optional\n``agent_id`` filter that rides through on the query string.\n\nBacks the overview roster's recommendations pill, which needs a count per\nagent and would otherwise fan out one request per row (OPSS-328).\n\nUnlike :func:`list_insights` this is NOT published-only — it forwards the\nupstream's authoring view verbatim, so ``draft`` / ``dismissed`` / ``applied``\nrows reach the client, which filters to the states it wants to show.","operationId":"list_all_insights_gateway_insights_all_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/InsightOut"},"type":"array","title":"Response List All Insights Gateway Insights All Get"}}}}}}},"/gateway/insights/{insight_id}/apply":{"post":{"summary":"Apply Insight","description":"Apply an insight's config suggestion to its agent (``published`` -> ``applied``).","operationId":"apply_insight_gateway_insights__insight_id__apply_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/insights/{insight_id}/dismiss":{"post":{"summary":"Dismiss Insight","description":"Dismiss an insight (``published`` -> ``dismissed``).","operationId":"dismiss_insight_gateway_insights__insight_id__dismiss_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/insights/{insight_id}/acknowledge":{"post":{"summary":"Acknowledge Insight","description":"Mark an advisory insight as acted on (``published`` -> ``acknowledged``).\n\nThe positive terminal action for a ``kind=\"advisory\"`` insight, which carries\nno config suggestion to apply. The gateway 409s a ``config_change`` insight\nhere — those go through ``apply``.","operationId":"acknowledge_insight_gateway_insights__insight_id__acknowledge_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/insights/{insight_id}/feedback":{"post":{"summary":"Submit Insight Feedback","description":"Record the user's verdict (+ optional comment) on an insight.\n\nOrthogonal to the lifecycle — allowed in every customer-visible state, and\nlast write wins. The gateway owns the closed verdict set.","operationId":"submit_insight_feedback_gateway_insights__insight_id__feedback_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightFeedbackIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/analytics/v1/summary":{"get":{"summary":"Analytics Summary","operationId":"analytics_summary_gateway_analytics_v1_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/errors":{"get":{"summary":"Analytics Errors","operationId":"analytics_errors_gateway_analytics_v1_errors_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/errors/breakdown":{"get":{"summary":"Analytics Errors Breakdown","operationId":"analytics_errors_breakdown_gateway_analytics_v1_errors_breakdown_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/sessions":{"get":{"summary":"Analytics Sessions","operationId":"analytics_sessions_gateway_analytics_v1_sessions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/sessions/{session_id}":{"get":{"summary":"Analytics Session Detail","operationId":"analytics_session_detail_gateway_analytics_v1_sessions__session_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Session Id"},"name":"session_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/analytics/v1/transformers":{"get":{"summary":"Analytics Transformers","operationId":"analytics_transformers_gateway_analytics_v1_transformers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/context/tools":{"get":{"summary":"Analytics Context Tools","operationId":"analytics_context_tools_gateway_analytics_v1_context_tools_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/context/bash":{"get":{"summary":"Analytics Context Bash","operationId":"analytics_context_bash_gateway_analytics_v1_context_bash_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/context/prefix":{"get":{"summary":"Analytics Context Prefix","operationId":"analytics_context_prefix_gateway_analytics_v1_context_prefix_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/context/blocks":{"get":{"summary":"Analytics Context Blocks","operationId":"analytics_context_blocks_gateway_analytics_v1_context_blocks_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/trends":{"get":{"summary":"Analytics Trends","operationId":"analytics_trends_gateway_analytics_v1_trends_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/agents":{"get":{"summary":"Analytics Agents","operationId":"analytics_agents_gateway_analytics_v1_agents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/models":{"get":{"summary":"Analytics Models","operationId":"analytics_models_gateway_analytics_v1_models_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/filters":{"get":{"summary":"Analytics Filters","operationId":"analytics_filters_gateway_analytics_v1_filters_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/v1/{path}":{"get":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_tokenwise_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_tokenwise_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_tokenwise_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_tokenwise_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_tokenwise_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_tokenwise_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/v1beta/{path}":{"get":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_tokenwise_v1beta__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_tokenwise_v1beta__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_tokenwise_v1beta__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_tokenwise_v1beta__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_tokenwise_v1beta__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_tokenwise_v1beta__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/v1internal{path}":{"get":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_tokenwise_v1internal_path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_tokenwise_v1internal_path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_tokenwise_v1internal_path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_tokenwise_v1internal_path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_tokenwise_v1internal_path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_tokenwise_v1internal_path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/off/v1/{path}":{"get":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_tokenwise_off_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_tokenwise_off_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_tokenwise_off_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_tokenwise_off_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_tokenwise_off_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_tokenwise_off_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/on/v1/{path}":{"get":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_tokenwise_on_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_tokenwise_on_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_tokenwise_on_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_tokenwise_on_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_tokenwise_on_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_tokenwise_on_v1__path__options","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/settings/agents":{"get":{"summary":"List Agents","operationId":"list_agents_tokenwise_settings_agents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AgentOut"},"type":"array","title":"Response List Agents Tokenwise Settings Agents Get"}}}}}},"post":{"summary":"Create Agent","operationId":"create_agent_tokenwise_settings_agents_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/settings/agents/{agent_id}/optimizations":{"get":{"summary":"Get Agent Optimizations","operationId":"get_agent_optimizations_tokenwise_settings_agents__agent_id__optimizations_get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AgentOptimization"},"type":"array","title":"Response Get Agent Optimizations Tokenwise Settings Agents Agent Id Optimizations Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/settings/agents/{agent_id}":{"get":{"summary":"Get Agent","operationId":"get_agent_tokenwise_settings_agents__agent_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Agent","operationId":"update_agent_tokenwise_settings_agents__agent_id__put","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Agent","operationId":"delete_agent_tokenwise_settings_agents__agent_id__delete","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/settings/configs":{"get":{"summary":"List Configs","operationId":"list_configs_tokenwise_settings_configs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ConfigProfileOut"},"type":"array","title":"Response List Configs Tokenwise Settings Configs Get"}}}}}},"post":{"summary":"Create Config","operationId":"create_config_tokenwise_settings_configs_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/settings/configs/schema":{"get":{"summary":"Get Config Schema","operationId":"get_config_schema_tokenwise_settings_configs_schema_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigSchemaOut"}}}}}}},"/tokenwise/settings/configs/{config_id}":{"get":{"summary":"Get Config","operationId":"get_config_tokenwise_settings_configs__config_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Config Id"},"name":"config_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Config","operationId":"update_config_tokenwise_settings_configs__config_id__put","parameters":[{"required":true,"schema":{"type":"string","title":"Config Id"},"name":"config_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Config","operationId":"delete_config_tokenwise_settings_configs__config_id__delete","parameters":[{"required":true,"schema":{"type":"string","title":"Config Id"},"name":"config_id","in":"path"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/settings/provider-keys":{"get":{"summary":"List Provider Keys","description":"The workspace's provider keys, masked.\n\nOne endpoint, two shapes, mirroring the BFF: without ``provider`` it lists\nevery key for the workspace; with one it returns that single key, or 404 if\nthe workspace has none for it. The union response model is the honest\ndeclaration of that — see ``provider_keys/router.py::list_provider_keys``.\n\n``provider`` is bounded here so an explicitly empty ``?provider=`` fails with\n422 at this edge rather than making the round trip (the BFF rejects it too);\nomitting it entirely is the list case. It rides through on the forwarded query\nstring — see ``tokenwise_service._build_gateway_request``.","operationId":"list_provider_keys_tokenwise_settings_provider_keys_get","parameters":[{"required":false,"schema":{"type":"string","minLength":1,"title":"Provider"},"name":"provider","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"items":{"$ref":"#/components/schemas/ProviderKeyOut"},"type":"array"},{"$ref":"#/components/schemas/ProviderKeyOut"}],"title":"Response List Provider Keys Tokenwise Settings Provider Keys Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Provider Key","description":"Rotate the workspace's key for a provider. 404 if none is configured.\n\nFull replacement, not a partial update — unlike the agent/config mirrors there\nis no ``exclude_unset``, because ``api_key`` is the whole point of the call.","operationId":"update_provider_key_tokenwise_settings_provider_keys_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Provider Key","description":"Store a provider key for the workspace. 409 if one already exists.","operationId":"create_provider_key_tokenwise_settings_provider_keys_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Provider Key","description":"Delete the workspace's key for a provider. 404 if none is configured.","operationId":"delete_provider_key_tokenwise_settings_provider_keys_delete","parameters":[{"required":true,"schema":{"type":"string","minLength":1,"title":"Provider"},"name":"provider","in":"query"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/insights":{"get":{"summary":"List Insights","description":"Published insights for ``agent_id``, newest first.\n\n``agent_id`` is typed here so a missing/empty value fails with 422 before\nreaching the gateway; it rides through to the upstream via the forwarded\nquery string (see ``tokenwise_service._build_gateway_request``).","operationId":"list_insights_tokenwise_insights_get","parameters":[{"required":true,"schema":{"type":"string","minLength":1,"title":"Agent Id"},"name":"agent_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/InsightOut"},"type":"array","title":"Response List Insights Tokenwise Insights Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/insights/all":{"get":{"summary":"List All Insights","description":"Every insight for the workspace in one read, newest first, with an optional\n``agent_id`` filter that rides through on the query string.\n\nBacks the overview roster's recommendations pill, which needs a count per\nagent and would otherwise fan out one request per row (OPSS-328).\n\nUnlike :func:`list_insights` this is NOT published-only — it forwards the\nupstream's authoring view verbatim, so ``draft`` / ``dismissed`` / ``applied``\nrows reach the client, which filters to the states it wants to show.","operationId":"list_all_insights_tokenwise_insights_all_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/InsightOut"},"type":"array","title":"Response List All Insights Tokenwise Insights All Get"}}}}}}},"/tokenwise/insights/{insight_id}/apply":{"post":{"summary":"Apply Insight","description":"Apply an insight's config suggestion to its agent (``published`` -> ``applied``).","operationId":"apply_insight_tokenwise_insights__insight_id__apply_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/insights/{insight_id}/dismiss":{"post":{"summary":"Dismiss Insight","description":"Dismiss an insight (``published`` -> ``dismissed``).","operationId":"dismiss_insight_tokenwise_insights__insight_id__dismiss_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/insights/{insight_id}/acknowledge":{"post":{"summary":"Acknowledge Insight","description":"Mark an advisory insight as acted on (``published`` -> ``acknowledged``).\n\nThe positive terminal action for a ``kind=\"advisory\"`` insight, which carries\nno config suggestion to apply. The gateway 409s a ``config_change`` insight\nhere — those go through ``apply``.","operationId":"acknowledge_insight_tokenwise_insights__insight_id__acknowledge_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/insights/{insight_id}/feedback":{"post":{"summary":"Submit Insight Feedback","description":"Record the user's verdict (+ optional comment) on an insight.\n\nOrthogonal to the lifecycle — allowed in every customer-visible state, and\nlast write wins. The gateway owns the closed verdict set.","operationId":"submit_insight_feedback_tokenwise_insights__insight_id__feedback_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightFeedbackIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/analytics/v1/summary":{"get":{"summary":"Analytics Summary","operationId":"analytics_summary_tokenwise_analytics_v1_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/errors":{"get":{"summary":"Analytics Errors","operationId":"analytics_errors_tokenwise_analytics_v1_errors_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/errors/breakdown":{"get":{"summary":"Analytics Errors Breakdown","operationId":"analytics_errors_breakdown_tokenwise_analytics_v1_errors_breakdown_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/sessions":{"get":{"summary":"Analytics Sessions","operationId":"analytics_sessions_tokenwise_analytics_v1_sessions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/sessions/{session_id}":{"get":{"summary":"Analytics Session Detail","operationId":"analytics_session_detail_tokenwise_analytics_v1_sessions__session_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Session Id"},"name":"session_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/analytics/v1/transformers":{"get":{"summary":"Analytics Transformers","operationId":"analytics_transformers_tokenwise_analytics_v1_transformers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/context/tools":{"get":{"summary":"Analytics Context Tools","operationId":"analytics_context_tools_tokenwise_analytics_v1_context_tools_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/context/bash":{"get":{"summary":"Analytics Context Bash","operationId":"analytics_context_bash_tokenwise_analytics_v1_context_bash_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/context/prefix":{"get":{"summary":"Analytics Context Prefix","operationId":"analytics_context_prefix_tokenwise_analytics_v1_context_prefix_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/context/blocks":{"get":{"summary":"Analytics Context Blocks","operationId":"analytics_context_blocks_tokenwise_analytics_v1_context_blocks_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/trends":{"get":{"summary":"Analytics Trends","operationId":"analytics_trends_tokenwise_analytics_v1_trends_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/agents":{"get":{"summary":"Analytics Agents","operationId":"analytics_agents_tokenwise_analytics_v1_agents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/models":{"get":{"summary":"Analytics Models","operationId":"analytics_models_tokenwise_analytics_v1_models_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/filters":{"get":{"summary":"Analytics Filters","operationId":"analytics_filters_tokenwise_analytics_v1_filters_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/harness/api/auth/cli-config":{"get":{"summary":"Proxy Cli Config","operationId":"proxy_cli_config_harness_api_auth_cli_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/harness/api/{path}":{"get":{"summary":"Proxy Harness Api","operationId":"proxy_harness_api_harness_api__path__put","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy Harness Api","operationId":"proxy_harness_api_harness_api__path__put","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy Harness Api","operationId":"proxy_harness_api_harness_api__path__put","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy Harness Api","operationId":"proxy_harness_api_harness_api__path__put","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy Harness Api","operationId":"proxy_harness_api_harness_api__path__put","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/generation/requirements":{"post":{"summary":"Generate Requirements","operationId":"v1_studio_api_generation_requirements","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequirementsGenerationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequirementsGenerationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants":{"get":{"summary":"Get Assistants","operationId":"v1_list_assistants","parameters":[{"required":false,"schema":{"items":{"type":"string"},"type":"array","title":"Workspace Ids"},"name":"workspace_ids","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListAssistantsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Assistant","operationId":"v1_create_assistant","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAssistantRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Assistant"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/generate":{"post":{"summary":"Generate Assistant","operationId":"v1_generate_assistant","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateAssistantRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateAssistantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/{assistant_id}":{"get":{"summary":"Get Assistant","operationId":"v1_get_assistant","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Assistant"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Assistant","operationId":"v1_delete_assistant","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAssistantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Modify Assistant","operationId":"v1_modify_assistant","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModifyAssistantRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Assistant"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/{assistant_id}/run":{"post":{"summary":"Run Assistant","operationId":"v1_run_assistant","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunAssistantRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaestroRunResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/{assistant_id}/plans":{"get":{"summary":"List Plans","operationId":"v1_list_plans","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListPlansResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Plan","operationId":"v1_create_plan","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePlanPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/{assistant_id}/plans/{plan_id}":{"get":{"summary":"Get Plan","operationId":"v1_get_plan","parameters":[{"required":true,"schema":{"type":"string","title":"Plan Id"},"name":"plan_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Modify Plan","operationId":"v1_modify_plan","parameters":[{"required":true,"schema":{"type":"string","title":"Plan Id"},"name":"plan_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePlanPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/{assistant_id}/routes":{"get":{"summary":"Get Routes","operationId":"v1_list_routes","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"},{"required":false,"schema":{"type":"string","title":"Name"},"name":"name","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListRoutesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Route","operationId":"v1_create_route","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRoutePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantRoute"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/{assistant_id}/routes/{route_id}":{"get":{"summary":"Get Route","operationId":"v1_get_route","parameters":[{"required":true,"schema":{"type":"string","title":"Route Id"},"name":"route_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantRoute"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Route","operationId":"v1_delete_route","parameters":[{"required":true,"schema":{"type":"string","title":"Route Id"},"name":"route_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Modify Route","operationId":"v1_modify_route","parameters":[{"required":true,"schema":{"type":"string","title":"Route Id"},"name":"route_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateRoutePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantRoute"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/{assistant_id}/validate_plan":{"post":{"summary":"Validate Plan","operationId":"v1_validate_plan","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePlanPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/mcp/storage":{"get":{"summary":"List Mcp Storage","operationId":"list_mcp_storage_studio_v1_mcp_storage_get","parameters":[{"required":false,"schema":{"type":"string","format":"uuid","title":"Workspace Id"},"name":"workspace_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListMCPsStorageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Mcp Storage","operationId":"create_mcp_storage_studio_v1_mcp_storage_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMCPStorageRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MCPStorageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/mcp/storage/{mcp_id}":{"get":{"summary":"Get Mcp Storage","operationId":"get_mcp_storage_studio_v1_mcp_storage__mcp_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Mcp Id"},"name":"mcp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MCPStorageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Mcp Storage","operationId":"delete_mcp_storage_studio_v1_mcp_storage__mcp_id__delete","parameters":[{"required":true,"schema":{"type":"string","title":"Mcp Id"},"name":"mcp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteMCPStorageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Update Mcp Storage","operationId":"update_mcp_storage_studio_v1_mcp_storage__mcp_id__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Mcp Id"},"name":"mcp_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateMCPStorageRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MCPStorageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/mcp/storage/{mcp_id}/assistants":{"get":{"summary":"Get Assistants By Mcp","operationId":"get_assistants_by_mcp_studio_v1_mcp_storage__mcp_id__assistants_get","parameters":[{"required":true,"schema":{"type":"string","title":"Mcp Id"},"name":"mcp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantsByMcpResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/settings/models":{"get":{"summary":"Get Workspace Models By Organization Endpoint","operationId":"get_workspace_models_by_organization_endpoint_studio_v1_settings_models_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceModelsResponse"}}}}}}},"/studio/v1/settings/models/available":{"get":{"summary":"Get Available Models Endpoint","operationId":"get_available_models_endpoint_studio_v1_settings_models_available_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/studio/v1/settings/models/{name}/secrets":{"get":{"summary":"Get Workspace Model Secret Endpoint","operationId":"get_workspace_model_secret_endpoint_studio_v1_settings_models__name__secrets_get","parameters":[{"required":true,"schema":{"type":"string","title":"Name"},"name":"name","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecretResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/settings/models/{name}":{"patch":{"summary":"Update Workspace Model Endpoint","operationId":"update_workspace_model_endpoint_studio_v1_settings_models__name__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Name"},"name":"name","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceModelUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceModelResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/solutions/tlv_municipality/convrag":{"post":{"summary":"Tlv Convrag","operationId":"v1_solutions_tlv_municipality_convrag","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/solutions-preview/tlv_municipality/convrag":{"post":{"summary":"Tlv Convrag Prefix Preview","operationId":"v1_solutions_tlv_municipality_preview_convrag","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"AgentCreate":{"properties":{"agent_id":{"type":"string","maxLength":128,"minLength":1,"title":"Agent Id"},"kind":{"type":"string","title":"Kind","default":"other"},"name":{"type":"string","title":"Name","default":""},"description":{"type":"string","title":"Description"},"config_id":{"type":"string","title":"Config Id"},"enabled":{"type":"boolean","title":"Enabled","default":true}},"type":"object","required":["agent_id"],"title":"AgentCreate","description":"Body for ``POST /tokenwise/settings/agents``."},"AgentOptimization":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"keys":{"items":{"type":"string"},"type":"array","title":"Keys"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"category":{"type":"string","title":"Category"},"availability":{"type":"string","title":"Availability"},"safety":{"type":"string","title":"Safety"}},"type":"object","required":["id","keys","name","description","category","availability","safety"],"title":"AgentOptimization","description":"Response shape for one card in ``GET /tokenwise/settings/agents/{agent_id}/optimizations``.\n\nString-ish fields stay plain ``str`` (not ``Literal``) so a new gateway enum\nvalue (a new ``availability`` / ``safety`` / ``category``) doesn't force an\napi-server release. The gateway filters ``hidden`` cards, so we never see them."},"AgentOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"agent_id":{"type":"string","title":"Agent Id"},"name":{"type":"string","title":"Name"},"kind":{"type":"string","title":"Kind"},"description":{"type":"string","title":"Description"},"config_id":{"type":"string","title":"Config Id"},"enabled":{"type":"boolean","title":"Enabled"},"used":{"type":"boolean","title":"Used"},"created_by_user_id":{"type":"string","title":"Created By User Id"},"can_edit":{"type":"boolean","title":"Can Edit","default":true},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","workspace_id","agent_id","name","kind","enabled","used","created_at","updated_at"],"title":"AgentOut","description":"Response shape for agent GET / POST / PUT."},"AgentUpdate":{"properties":{"name":{"type":"string","title":"Name"},"kind":{"type":"string","title":"Kind"},"description":{"type":"string","title":"Description"},"config_id":{"type":"string","title":"Config Id"},"enabled":{"type":"boolean","title":"Enabled"}},"type":"object","title":"AgentUpdate","description":"Body for ``PUT /tokenwise/settings/agents/{agent_id}`` — partial update."},"Assistant":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"object":{"type":"string","title":"Object"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"optimization":{"type":"string","title":"Optimization"},"organization_id":{"type":"string","title":"Organization Id"},"workspace_id":{"type":"string","title":"Workspace Id"},"user_id":{"type":"string","title":"User Id"},"avatar":{"type":"string","title":"Avatar"},"is_archived":{"type":"boolean","title":"Is Archived","default":false},"models":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"items":{"type":"string"},"type":"array"}],"title":"Models"},"tools":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__execution_engine__ToolDefinition"},"type":"array","title":"Tools"},"requirements":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__assistant__Requirement"},"type":"array","title":"Requirements"},"budget":{"allOf":[{"$ref":"#/components/schemas/BudgetLevel"}],"default":"medium"},"visibility":{"allOf":[{"$ref":"#/components/schemas/Visibility"}],"default":"public"},"assistant_type":{"allOf":[{"$ref":"#/components/schemas/AssistantType"}],"default":"default"},"response_language":{"type":"string","enum":["arabic","dutch","english","french","german","hebrew","italian","portuguese","spanish","unset"],"title":"Response Language","default":"unset"},"vibe_prompt":{"type":"string","title":"Vibe Prompt"},"starter_questions":{"items":{"$ref":"#/components/schemas/StarterQuestion"},"type":"array","title":"Starter Questions"},"system_prompt":{"type":"string","title":"System Prompt"},"workflow_config":{"$ref":"#/components/schemas/WorkflowConfig"},"config_overrides":{"type":"object","title":"Config Overrides"}},"type":"object","required":["id","created_at","updated_at","object","name","organization_id","user_id"],"title":"Assistant"},"AssistantBasicInfo":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"AssistantBasicInfo"},"AssistantMessage":{"properties":{"role":{"type":"string","enum":["assistant"],"title":"Role","default":"assistant","description":"The role of an individual message.\n- `user`: Input provided by the user. Any instructions given here that conflict\n with instructions given in the `system` prompt take precedence over the `system`\n prompt instructions.\n- `assistant`: Response generated by the model.\n- `system`: Initial instructions provided to the system to provide general guidance\n on the tone and voice of the generated message. An initial system message is\n optional but recommended to provide guidance on the tone of the chat. For\n example, \"You are a helpful chatbot with a background in earth sciences and a\n charming French accent.\"\n"},"content":{"type":"string","title":"Content"},"tool_calls":{"items":{"$ref":"#/components/schemas/ToolCall"},"type":"array","title":"Tool Calls"},"reasoning_content":{"type":"string","title":"Reasoning Content"}},"type":"object","title":"AssistantMessage"},"AssistantRoute":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"plan_id":{"type":"string","title":"Plan Id"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"examples":{"items":{"type":"string"},"type":"array","title":"Examples"},"assistant_id":{"type":"string","title":"Assistant Id"}},"type":"object","required":["id","created_at","updated_at","plan_id","name","description","examples","assistant_id"],"title":"AssistantRoute"},"AssistantType":{"enum":["default","chat","maestro"],"title":"AssistantType","description":"An enumeration."},"AssistantsByMcpResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/AssistantBasicInfo"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"AssistantsByMcpResponse"},"AuthenticationType":{"type":"string","enum":["none","token-api","custom-header"],"title":"AuthenticationType","description":"An enumeration."},"Body_convert_document_file_studio_v1_chat_files_convert_post":{"properties":{"files":{"items":{"type":"string","format":"binary"},"type":"array","title":"Files"}},"type":"object","required":["files"],"title":"Body_convert_document_file_studio_v1_chat_files_convert_post"},"Body_parse_pdf_studio_v1_demos_document_modifier_parse_pdf_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_parse_pdf_studio_v1_demos_document_modifier_parse_pdf_post"},"Body_process_rfi_document_studio_v1_demos_rfi_process_rfi_post":{"properties":{"file":{"type":"string","format":"binary","title":"File","description":"RFI document file (PDF supported)"},"budget":{"type":"string","title":"Budget","description":"Budget level: LOW, MEDIUM, or HIGH","default":"MEDIUM"},"vector_store_id":{"type":"string","title":"Vector Store Id","description":"Vector store ID to use for RFI processing"}},"type":"object","required":["file"],"title":"Body_process_rfi_document_studio_v1_demos_rfi_process_rfi_post"},"Body_upload_check_compliance_studio_v1_demos_regulations_upload_check_compliance_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"budget":{"type":"string","title":"Budget","default":"MEDIUM"},"vector_store_id":{"type":"string","title":"Vector Store Id","description":"Vector store ID to use for RFI processing"}},"type":"object","required":["file"],"title":"Body_upload_check_compliance_studio_v1_demos_regulations_upload_check_compliance_post"},"Body_v1_library_upload":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"path":{"type":"string","title":"Path"},"labels":{"items":{"type":"string"},"type":"array","title":"Labels"},"publicUrl":{"type":"string","title":"Publicurl"},"custom_configs":{"type":"string","title":"Custom Configs"},"upload_mode":{"allOf":[{"$ref":"#/components/schemas/UploadMode"}],"default":"immediate"},"batch_id":{"type":"string","format":"uuid","title":"Batch Id"},"data_source":{"type":"string","title":"Data Source"},"metadata":{"type":"string","title":"Metadata"}},"type":"object","required":["file"],"title":"Body_v1_library_upload"},"BudgetLevel":{"enum":["low","medium","high"],"title":"BudgetLevel","description":"An enumeration."},"ChatCompletion":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"choices":{"items":{"$ref":"#/components/schemas/ChatCompletionResponseChoice"},"type":"array","title":"Choices","description":"One or more responses, depending on the `n` parameter from the request.\n"},"usage":{"$ref":"#/components/schemas/UsageInfo","description":"The token counts for this request. Per-token billing is based on the\nprompt token and completion token counts and rates.\n"},"meta":{"type":"object","title":"Meta"}},"type":"object","required":["id","choices","usage"],"title":"ChatCompletion","description":"Used for non-streaming responses. Streaming responses return `ChatCompletionVllmStreamingMessage`."},"ChatCompletionResponseChoice":{"properties":{"index":{"type":"integer","title":"Index","description":"Zero-based index of the message in the list of messages. Note that this might not\ncorrespond with the position in the response list.\n"},"message":{"$ref":"#/components/schemas/AssistantMessage","description":"The message generated by the model. Same structure as the request message, with `role` and `content` members.\n"},"logprobs":{"$ref":"#/components/schemas/Logprobs"},"finish_reason":{"type":"string","title":"Finish Reason","description":"Why the message ended. Possible reasons:\n - `stop`: The response ended naturally as a complete answer (due to\n [end-of-sequence token](https://huggingface.co/docs/transformers/v4.32.1/en/llm_tutorial#generate-text))\n or because the model generated a stop sequence provided in the request.\n - `length`: The response ended by reaching `max_tokens`.\n"}},"type":"object","required":["index","message"],"title":"ChatCompletionResponseChoice","description":"A single possible response generated by the system. For non-streaming replies, There\ncan be multiple responses, depending on what `n` value you specified in the request.\n"},"ChatCompletionResponseDeltaChoice":{"properties":{"index":{"type":"integer","title":"Index","description":"Always zero in streamed responses."},"delta":{"anyOf":[{"$ref":"#/components/schemas/ChatStreamingFirstDelta"},{"$ref":"#/components/schemas/ChatStreamingContentDelta"},{"$ref":"#/components/schemas/ChatStreamingToolCallsFirstDelta"},{"$ref":"#/components/schemas/ChatStreamingToolCallsDelta"}],"title":"Delta","description":"- **The first message** in the stream will be an object set to `{\"role\":\"assistant\"}`.\n- **Subsequent messages** will have an object `{\"content\": __token__}` with the generated token.\n"},"logprobs":{"$ref":"#/components/schemas/Logprobs"},"finish_reason":{"type":"string","title":"Finish Reason","description":"One of the following string values:\n - `null`: All messages but the last will return null for `finish_reason`.\n - `stop`: The response ended naturally as a complete answer (due to\n [end-of-sequence token](https://huggingface.co/docs/transformers/v4.32.1/en/llm_tutorial#generate-text))\n or because the model generated a stop sequence provided in the request.\n - `length`: The response ended by reaching `max_tokens`.\n"}},"type":"object","required":["index","delta"],"title":"ChatCompletionResponseDeltaChoice"},"ChatCompletionVllmStreamingMessage":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"choices":{"items":{"$ref":"#/components/schemas/ChatCompletionResponseDeltaChoice"},"type":"array","title":"Choices","description":"The message"},"usage":{"$ref":"#/components/schemas/UsageInfo","description":"Included in the last message only. Total token counts for the message."},"meta":{"type":"object","title":"Meta"}},"type":"object","required":["id","choices"],"title":"ChatCompletionVllmStreamingMessage","description":"Returned for streaming messages. Non-streaming responses return `ChatCompletion`."},"ChatRequest":{"properties":{"model":{"$ref":"#/components/schemas/ModelName","description":"The name of the model to use. Choose one of the following values:\n* `jamba-instruct-preview`\n"},"messages":{"items":{"oneOf":[{"$ref":"#/components/schemas/UserMessage"},{"$ref":"#/components/schemas/AssistantMessage"},{"$ref":"#/components/schemas/ToolMessage"},{"$ref":"#/components/schemas/SystemMessage"}],"discriminator":{"propertyName":"role","mapping":{"user":"#/components/schemas/UserMessage","assistant":"#/components/schemas/AssistantMessage","tool":"#/components/schemas/ToolMessage","system":"#/components/schemas/SystemMessage"}}},"type":"array","title":"Messages","description":"The previous messages in this chat, from oldest (index 0) to newest. Messages\nmust be alternating `user`/`assistant` messages, optionally starting with a `system`\nmessage. For single turn interactions, this should be an optional `system` message,\nand a single `user` message. Maximum total size for the list is about 256K tokens.\n"},"tools":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__chat__ToolDefinition"},"type":"array","title":"Tools"},"n":{"type":"integer","title":"N","default":1,"description":"How many chat responses to generate. _Range: 1 – 16_ **Notes:**\n- If `n > 1`, setting `temperature=0` will fail because all answers are guaranteed to be duplicates.\n- `n` must be 1 when `stream = True`\n"},"max_tokens":{"type":"integer","title":"Max Tokens","default":4096,"description":"The maximum number of tokens to allow for each generated response message. Typically\nthe best way to limit output length is by providing a length limit in the system\nprompt (for example, \"limit your answers to three sentences\"). _Range: 0 – 4096_\n"},"temperature":{"type":"number","title":"Temperature","description":"How much variation to provide in each answer. Setting this value to 0 guarantees the\nsame response to the same question every time. Setting a higher value encourages more\nvariation. Modifies the distribution from which tokens are sampled.\n[More information](https://docs.ai21.com/docs/sampling-from-language-models#temperature)\n_Range: 0.0 – 2.0_\n"},"top_p":{"type":"number","maximum":1.0,"exclusiveMinimum":0.0,"title":"Top P","default":1,"description":"Limit the pool of next tokens in each step to the top N percentile of possible\ntokens, where 1.0 means the pool of all possible tokens, and 0.01 means the\npool of only the most likely next tokens. [More information]\n(https://docs.ai21.com/docs/sampling-from-language-models#topp) _Range: 0 \\<= value \\<=1.0_\n"},"stop":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}],"title":"Stop","description":"End the message when the model generates one of these strings. The stop sequence\nis not included in the generated message. Each sequence can be up to 64K long, and\ncan contain newlines as `\\n` characters. Examples:\n- Single stop string with a word and a period: \"monkeys.\"\n- Multiple stop strings and a newline: [\"cat\", \"dog\", \" .\", \"####\", \"\\n\"]\n"},"stream":{"type":"boolean","title":"Stream","default":false,"description":"Whether or not to stream the result one token at a time using\n[server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events).\nThis can be useful when waiting for long results where a long wait time for an\nanswer can be problematic, such as a chatbot. If set to `True`, then `n` must\nbe 1. A streaming response is different than the non-streaming response.\n"},"mock_response":{"$ref":"#/components/schemas/MockResponseConfig"},"documents":{"items":{"$ref":"#/components/schemas/DocumentSchema"},"type":"array","title":"Documents","default":[]},"response_format":{"allOf":[{"$ref":"#/components/schemas/ResponseFormat"}],"title":"Response Format","default":{"type":"text"}}},"type":"object","required":["model","messages"],"title":"ChatRequest"},"ChatStreamingContentDelta":{"properties":{"content":{"type":"string","title":"Content"}},"type":"object","required":["content"],"title":"ChatStreamingContentDelta"},"ChatStreamingFirstDelta":{"properties":{"role":{"type":"string","enum":["system","user","assistant","tool"],"title":"Role","description":"The role of an individual message.\n- `user`: Input provided by the user. Any instructions given here that conflict\n with instructions given in the `system` prompt take precedence over the `system`\n prompt instructions.\n- `assistant`: Response generated by the model.\n- `system`: Initial instructions provided to the system to provide general guidance\n on the tone and voice of the generated message. An initial system message is\n optional but recommended to provide guidance on the tone of the chat. For\n example, \"You are a helpful chatbot with a background in earth sciences and a\n charming French accent.\"\n"}},"type":"object","required":["role"],"title":"ChatStreamingFirstDelta"},"ChatStreamingToolCallsDelta":{"properties":{"tool_calls":{"items":{"$ref":"#/components/schemas/ToolCallDelta"},"type":"array","title":"Tool Calls"}},"type":"object","required":["tool_calls"],"title":"ChatStreamingToolCallsDelta"},"ChatStreamingToolCallsFirstDelta":{"properties":{"tool_calls":{"items":{"$ref":"#/components/schemas/ToolCallDeltaStart"},"type":"array","title":"Tool Calls"}},"type":"object","required":["tool_calls"],"title":"ChatStreamingToolCallsFirstDelta"},"CompareTextRequest":{"properties":{"original_text":{"type":"string","title":"Original Text"},"modified_text":{"type":"string","title":"Modified Text"}},"type":"object","required":["original_text","modified_text"],"title":"CompareTextRequest"},"ComparisonOperator":{"type":"object","title":"ComparisonOperator"},"ConfigProfileCreate":{"properties":{"config_id":{"type":"string","maxLength":128,"minLength":1,"title":"Config Id"},"name":{"type":"string","title":"Name","default":""},"description":{"type":"string","title":"Description"},"overrides":{"type":"object","title":"Overrides"},"enabled":{"type":"boolean","title":"Enabled","default":true}},"type":"object","required":["config_id"],"title":"ConfigProfileCreate","description":"Body for ``POST /tokenwise/settings/configs``."},"ConfigProfileOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"config_id":{"type":"string","title":"Config Id"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"overrides":{"type":"object","title":"Overrides"},"enabled":{"type":"boolean","title":"Enabled"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","workspace_id","config_id","name","overrides","enabled","created_at","updated_at"],"title":"ConfigProfileOut","description":"Response shape for config GET / POST / PUT."},"ConfigProfileUpdate":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"overrides":{"type":"object","title":"Overrides"},"enabled":{"type":"boolean","title":"Enabled"}},"type":"object","title":"ConfigProfileUpdate","description":"Body for ``PUT /tokenwise/settings/configs/{config_id}`` — partial update.\n\nAn explicit ``overrides: null`` is \"leave unchanged\"; ``{}`` clears them.\nThe gateway enforces the same semantics; we forward the JSON verbatim."},"ConfigSchemaOut":{"properties":{"groups":{"items":{"type":"object"},"type":"array","title":"Groups"}},"type":"object","required":["groups"],"title":"ConfigSchemaOut","description":"Response shape for ``GET /tokenwise/settings/configs/schema``.\n\nLoosely typed — the gateway derives this from its ``ProxySettings`` and the\nshape evolves with new transformer groups. Kept as a flexible envelope so\napi-server does not need a release every time the gateway adds a knob."},"CreateAssistantRequest":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"optimization":{"type":"string","title":"Optimization"},"avatar":{"type":"string","title":"Avatar"},"models":{"items":{"type":"string"},"type":"array","title":"Models"},"tools":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__execution_engine__ToolDefinition"},"type":"array","title":"Tools"},"requirements":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__assistant__Requirement"},"type":"array","title":"Requirements"},"budget":{"allOf":[{"$ref":"#/components/schemas/BudgetLevel"}],"default":"medium"},"assistant_type":{"allOf":[{"$ref":"#/components/schemas/AssistantType"}],"default":"default"},"starter_questions":{"items":{"$ref":"#/components/schemas/StarterQuestion"},"type":"array","title":"Starter Questions"},"system_prompt":{"type":"string","title":"System Prompt"},"workflow_config":{"$ref":"#/components/schemas/WorkflowConfig"},"config_overrides":{"type":"object","title":"Config Overrides"}},"type":"object","required":["name"],"title":"CreateAssistantRequest"},"CreateMCPStorageRequest":{"properties":{"server_url":{"type":"string","title":"Server Url"},"server_label":{"type":"string","title":"Server Label"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"authentication_type":{"$ref":"#/components/schemas/AuthenticationType"},"auth_header_name":{"type":"string","title":"Auth Header Name"},"auth_value":{"type":"string","title":"Auth Value"},"allowed_tools":{"items":{"type":"string"},"type":"array","title":"Allowed Tools"}},"type":"object","required":["server_url","server_label"],"title":"CreateMCPStorageRequest"},"CreateMaestroRunsPayload":{"properties":{"input":{"anyOf":[{"items":{"$ref":"#/components/schemas/Message"},"type":"array"},{"type":"string"}],"title":"Input"},"output_type":{"type":"object","title":"Output Type"},"models":{"items":{"type":"string"},"type":"array","title":"Models"},"tools":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__execution_engine__ToolDefinition"},"type":"array","title":"Tools"},"context":{"type":"object","title":"Context"},"requirements":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__execution_engine__Requirement"},"type":"array","title":"Requirements"},"budget":{"type":"string","enum":["low","medium","high"],"title":"Budget"},"verbose":{"type":"boolean","title":"Verbose","default":false},"include":{"items":{"type":"string"},"type":"array","title":"Include"},"structured_rag_enabled":{"type":"boolean","title":"Structured Rag Enabled","default":false},"dynamic_planning_enabled":{"type":"boolean","title":"Dynamic Planning Enabled","default":false},"assistant_id":{"type":"string","title":"Assistant Id"},"variant":{"type":"string","enum":["main","ingestion"],"title":"Variant","default":"main"},"custom_retrieval_configs":{"items":{"type":"object"},"type":"array","title":"Custom Retrieval Configs"},"response_language":{"type":"string","enum":["arabic","dutch","english","french","german","hebrew","italian","portuguese","spanish","unset"],"title":"Response Language","default":"unset"},"system_prompt":{"type":"string","title":"System Prompt"},"stream":{"type":"boolean","title":"Stream","default":false,"description":"Whether or not to stream the result one token at a time using\n[server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events).\nThis can be useful when waiting for long results where a long wait time for an\nanswer can be problematic, such as a chatbot. If set to `True`, then `n` must\nbe 1. A streaming response is different than the non-streaming response.\n"}},"type":"object","required":["input"],"title":"CreateMaestroRunsPayload"},"CreateOrganizationSchemaRequest":{"properties":{"schema_name":{"type":"string","title":"Schema Name"},"schema_object":{"type":"object","title":"Schema Object"},"run_classification":{"type":"boolean","title":"Run Classification","default":false}},"type":"object","required":["schema_name","schema_object"],"title":"CreateOrganizationSchemaRequest"},"CreatePlanPayload":{"properties":{"code":{"type":"string","title":"Code"},"schemas":{"items":{"type":"object"},"type":"array","title":"Schemas"}},"type":"object","required":["code"],"title":"CreatePlanPayload"},"CreateRoutePayload":{"properties":{"plan_id":{"type":"string","title":"Plan Id"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"examples":{"items":{"type":"string"},"type":"array","title":"Examples"}},"type":"object","required":["plan_id","name","description","examples"],"title":"CreateRoutePayload"},"CreateSecretPayload":{"properties":{"secret_name":{"type":"string","title":"Secret Name"},"secret_value":{"type":"string","title":"Secret Value"}},"type":"object","required":["secret_name","secret_value"],"title":"CreateSecretPayload"},"DeleteAssistantResponse":{"properties":{"object":{"type":"string","title":"Object","default":"assistant"},"deleted":{"type":"boolean","title":"Deleted","default":true},"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"}},"type":"object","required":["id"],"title":"DeleteAssistantResponse"},"DeleteMCPStorageResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"}},"type":"object","required":["id"],"title":"DeleteMCPStorageResponse"},"Demo":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"name":{"type":"string","title":"Name","description":"Name of the demo"},"visibility":{"allOf":[{"$ref":"#/components/schemas/DemoVisibility"}],"description":"Visibility of the demo (public/private)"},"status":{"allOf":[{"$ref":"#/components/schemas/DemoStatus"}],"description":"Status of the demo (active/inactive)"},"config":{"type":"object","title":"Config","description":"Demo configuration"},"ui_component_name":{"type":"string","title":"Ui Component Name","description":"Name of the UI component"}},"type":"object","required":["id","name","visibility","status","ui_component_name"],"title":"Demo"},"DemoCreate":{"properties":{"name":{"type":"string","title":"Name","description":"Name of the demo"},"visibility":{"allOf":[{"$ref":"#/components/schemas/DemoVisibility"}],"description":"Visibility of the demo (public/private)"},"status":{"allOf":[{"$ref":"#/components/schemas/DemoStatus"}],"description":"Status of the demo (active/inactive)"},"config":{"type":"object","title":"Config","description":"Demo configuration"},"ui_component_name":{"type":"string","title":"Ui Component Name","description":"Name of the UI component"}},"type":"object","required":["name","visibility","status","ui_component_name"],"title":"DemoCreate"},"DemoStatus":{"enum":["active","inactive"],"title":"DemoStatus","description":"An enumeration."},"DemoUpdate":{"properties":{"name":{"type":"string","title":"Name","description":"Name of the demo"},"visibility":{"allOf":[{"$ref":"#/components/schemas/DemoVisibility"}],"description":"Visibility of the demo (public/private)"},"status":{"allOf":[{"$ref":"#/components/schemas/DemoStatus"}],"description":"Status of the demo (active/inactive)"},"config":{"type":"object","title":"Config","description":"Demo configuration"},"ui_component_name":{"type":"string","title":"Ui Component Name","description":"Name of the UI component"}},"type":"object","title":"DemoUpdate"},"DemoVisibility":{"enum":["public","private"],"title":"DemoVisibility","description":"An enumeration."},"DetectSchemaRequest":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/DocumentReference"},"type":"array","title":"Documents"},"queries":{"items":{"type":"string"},"type":"array","title":"Queries"}},"type":"object","required":["documents"],"title":"DetectSchemaRequest"},"DetectSchemaResponse":{"properties":{"schema_name":{"type":"string","title":"Schema Name"},"schema_definition":{"type":"object","title":"Schema Definition"}},"type":"object","required":["schema_name","schema_definition"],"title":"DetectSchemaResponse"},"DocumentReference":{"properties":{"document_id":{"type":"string","format":"uuid","title":"Document Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["document_id","name"],"title":"DocumentReference"},"DocumentSchema":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"content":{"type":"string","title":"Content"},"metadata":{"additionalProperties":{"type":"string"},"type":"object","title":"Metadata","default":{}}},"type":"object","required":["content"],"title":"DocumentSchema"},"DownloadModifiedDocumentRequest":{"properties":{"content":{"type":"string","title":"Content"},"filename":{"type":"string","title":"Filename"}},"type":"object","required":["content","filename"],"title":"DownloadModifiedDocumentRequest"},"FileResponse":{"properties":{"fileId":{"type":"string","format":"uuid","title":"Fileid","description":"The unique identifier of the file, generated by AI21.\n"},"name":{"type":"string","title":"Name","description":"The name of the file. This is the local file name from when the file was\nuploaded. It cannot be modified.\n"},"path":{"type":"string","title":"Path","description":"An arbitrary file-path-like string to indicate the content of a file. This has\nnothing to do with the location of the file in storage or on disk, and is only\nanother label that you can assign to the file in path-like format to help you\norganize the contents of the file or filter queries against your files. Example\npaths might be `pets/fish` or `pets/dogs`. Then, when searching your library,\nyou can filter files by the full path or path prefix. So to search only files\nin the \"dog folder\", filter by the path `/pets/dogs`. To search all files in\nthe \"pet folder\", filter your search by the path `pets/` when searching by path.\nThere isn't a restriction on whether a path must start or end with a / mark, but\nbe consistent in your usage, and all matches are prefix matching, not substring\nmatching. So filtering by `dog/` matches `dog/` and `dog/setter` but not `pets/dog/`.\n"},"fileType":{"type":"string","title":"Filetype","description":"The file type. See the file upload method to learn what file types are supported.\n"},"sizeBytes":{"type":"integer","title":"Sizebytes","description":"The size of the file, in bytes."},"labels":{"items":{"type":"string"},"type":"array","title":"Labels","description":"Any string labels you have associated with the file. You can apply arbitrary\nstring labels to your files and limit queries to files with one or more labels.\nSimilar to paths, but labels do not prefix match. Labels are case-sensitive.\nThere can be a maximum of 20 unique labels per account.\n"},"publicUrl":{"type":"string","title":"Publicurl","description":"The public URL of the file, if any. This URL is not validated by\nAI21 or used in any way. It is strictly a piece of metadata that you can\noptionally attach to a file.\n"},"createdBy":{"type":"string","format":"uuid","title":"Createdby","description":"An internal identifier of the user who uploaded the file.\n"},"creationDate":{"type":"string","format":"date","title":"Creationdate","description":"The date when the file was uploaded."},"lastUpdated":{"type":"string","format":"date","title":"Lastupdated","description":"When the file data or metadata was last changed."},"status":{"type":"string","title":"Status","description":"File status. One of the following values: \"DB_RECORD_CREATED\",\n\"UPLOADED\", \"UPLOAD_FAILED\", \"PROCESSED\", \"PROCESSING_FAILED\"\n"},"dataSource":{"type":"string","title":"Datasource"}},"type":"object","required":["fileId","name","fileType","sizeBytes","createdBy","creationDate","lastUpdated","status"],"title":"FileResponse"},"FileSearchToolResource":{"properties":{"type":{"type":"string","enum":["file_search"],"title":"Type","default":"file_search"},"retrieval_similarity_threshold":{"type":"number","title":"Retrieval Similarity Threshold"},"labels":{"items":{"type":"string"},"type":"array","title":"Labels"},"labels_filter_mode":{"type":"string","enum":["AND","OR"],"title":"Labels Filter Mode","default":"AND"},"labels_filter":{"$ref":"#/components/schemas/QueryFilter"},"file_ids":{"items":{"type":"string"},"type":"array","title":"File Ids"},"retrieval_strategy":{"allOf":[{"$ref":"#/components/schemas/RetrievalStrategy"}],"default":"segments"},"max_neighbors":{"type":"integer","title":"Max Neighbors"},"path":{"type":"string","title":"Path"},"response_language":{"type":"string","enum":["arabic","dutch","english","french","german","hebrew","italian","portuguese","spanish","unset"],"title":"Response Language","default":"unset"},"hybrid_search_alpha":{"type":"number","title":"Hybrid Search Alpha","default":1},"use_two_step_embedders":{"type":"boolean","title":"Use Two Step Embedders","default":false}},"type":"object","title":"FileSearchToolResource"},"FileStatus":{"type":"string","enum":["DB_RECORD_CREATED","UPLOADED","UPLOAD_FAILED","PROCESSED","PROCESSING_FAILED"],"title":"FileStatus","description":"An enumeration."},"FilesUpdateRequest":{"properties":{"publicUrl":{"type":"string","title":"Publicurl","description":"The public URL of the file, if any. This URL is not validated by\nAI21 or used in any way. It is strictly a piece of metadata that you can\noptionally attach to a file.\n"},"labels":{"items":{"type":"string"},"type":"array","title":"Labels","description":"Any labels to associate with this file. Separate multiple labels with commas. If\nprovided, will overwrite all existing labels.\n"}},"type":"object","title":"FilesUpdateRequest"},"FunctionToolDefinition":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"parameters":{"$ref":"#/components/schemas/ToolParameters"}},"type":"object","required":["name"],"title":"FunctionToolDefinition"},"GenerateAssistantRequest":{"properties":{"prompt":{"type":"string","title":"Prompt"},"avatar":{"type":"string","title":"Avatar"}},"type":"object","required":["prompt"],"title":"GenerateAssistantRequest"},"GenerateAssistantResponse":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"object":{"type":"string","title":"Object"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"optimization":{"type":"string","title":"Optimization"},"organization_id":{"type":"string","title":"Organization Id"},"workspace_id":{"type":"string","title":"Workspace Id"},"user_id":{"type":"string","title":"User Id"},"avatar":{"type":"string","title":"Avatar"},"is_archived":{"type":"boolean","title":"Is Archived","default":false},"models":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"items":{"type":"string"},"type":"array"}],"title":"Models"},"tools":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__execution_engine__ToolDefinition"},"type":"array","title":"Tools"},"requirements":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__assistant__Requirement"},"type":"array","title":"Requirements"},"budget":{"allOf":[{"$ref":"#/components/schemas/BudgetLevel"}],"default":"medium"},"visibility":{"allOf":[{"$ref":"#/components/schemas/Visibility"}],"default":"public"},"assistant_type":{"allOf":[{"$ref":"#/components/schemas/AssistantType"}],"default":"default"},"response_language":{"type":"string","enum":["arabic","dutch","english","french","german","hebrew","italian","portuguese","spanish","unset"],"title":"Response Language","default":"unset"},"vibe_prompt":{"type":"string","title":"Vibe Prompt"},"starter_questions":{"items":{"$ref":"#/components/schemas/StarterQuestion"},"type":"array","title":"Starter Questions"},"system_prompt":{"type":"string","title":"System Prompt"},"workflow_config":{"$ref":"#/components/schemas/WorkflowConfig"},"config_overrides":{"type":"object","title":"Config Overrides"},"custom_tool_needed":{"additionalProperties":{"type":"string"},"type":"object","title":"Custom Tool Needed"},"recommended_files":{"items":{"type":"string"},"type":"array","title":"Recommended Files"}},"type":"object","required":["id","created_at","updated_at","object","name","organization_id","user_id"],"title":"GenerateAssistantResponse"},"HTTPToolEndpoint":{"properties":{"url":{"type":"string","title":"Url"},"headers":{"type":"object","title":"Headers"}},"type":"object","required":["url"],"title":"HTTPToolEndpoint"},"HTTPToolFunction":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"parameters":{"$ref":"#/components/schemas/HTTPToolFunctionParameters"}},"type":"object","required":["name","description","parameters"],"title":"HTTPToolFunction"},"HTTPToolFunctionParamProperties":{"properties":{"type":{"type":"string","title":"Type"},"description":{"type":"string","title":"Description"}},"type":"object","required":["type","description"],"title":"HTTPToolFunctionParamProperties"},"HTTPToolFunctionParameters":{"properties":{"type":{"type":"string","enum":["object"],"title":"Type","default":"object"},"properties":{"additionalProperties":{"$ref":"#/components/schemas/HTTPToolFunctionParamProperties"},"type":"object","title":"Properties"},"required":{"items":{"type":"string"},"type":"array","title":"Required"},"additionalProperties":{"type":"boolean","title":"Additionalproperties","default":false}},"type":"object","required":["properties","required"],"title":"HTTPToolFunctionParameters"},"HTTPToolResource":{"properties":{"type":{"type":"string","enum":["http"],"title":"Type","default":"http"},"function":{"$ref":"#/components/schemas/HTTPToolFunction"},"endpoint":{"$ref":"#/components/schemas/HTTPToolEndpoint"}},"type":"object","required":["function","endpoint"],"title":"HTTPToolResource"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"IgnestionBatchStatusCount":{"properties":{"status":{"type":"string","title":"Status"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["status","count"],"title":"IgnestionBatchStatusCount"},"IngestionBatchStatusResponse":{"properties":{"batch_id":{"type":"string","title":"Batch Id","description":"The UUID of the batch"},"total_documents":{"type":"integer","title":"Total Documents","description":"Total number of documents in the batch"},"statuses":{"items":{"$ref":"#/components/schemas/IgnestionBatchStatusCount"},"type":"array","title":"Statuses","description":"List of document counts by status"}},"type":"object","required":["batch_id","total_documents","statuses"],"title":"IngestionBatchStatusResponse"},"InsightFeedbackIn":{"properties":{"verdict":{"type":"string","title":"Verdict"},"comment":{"type":"string","maxLength":1000,"title":"Comment"}},"type":"object","required":["verdict"],"title":"InsightFeedbackIn","description":"Body for ``POST /tokenwise/insights/{insight_id}/feedback``.\n\n``verdict`` stays a plain ``str`` for the same reason as\n:attr:`InsightOut.state` — the gateway owns the closed set (``helpful`` /\n``not_helpful``) and answers 422 on anything else, so widening it there\ndoesn't force an api-server release.\n\n``comment`` is bounded at 1000 chars to mirror the gateway's own limit (and\nits ``varchar(1000)`` column) so an over-long body fails here instead of\nmaking the round trip just to come back 422. The gateway stays the\nauthoritative enforcement point; keep this number in sync with it."},"InsightOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"agent_id":{"type":"string","title":"Agent Id"},"state":{"type":"string","title":"State"},"source":{"type":"string","title":"Source"},"kind":{"type":"string","title":"Kind"},"author":{"type":"string","title":"Author"},"title":{"type":"string","title":"Title"},"narrative":{"type":"string","title":"Narrative"},"projected_savings":{"type":"string","title":"Projected Savings"},"optimization_id":{"type":"string","title":"Optimization Id"},"config_suggestion":{"type":"object","title":"Config Suggestion"},"feedback_verdict":{"type":"string","title":"Feedback Verdict"},"feedback_comment":{"type":"string","title":"Feedback Comment"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","workspace_id","agent_id","state","source","kind","title","narrative","created_at","updated_at"],"title":"InsightOut","description":"Response shape for one insight — ``GET /tokenwise/insights`` and the\n``apply`` / ``dismiss`` / ``acknowledge`` transitions.\n\n``state``, ``source`` and ``kind`` stay plain ``str`` (not enums) so a new\ngateway lifecycle state, source or insight kind doesn't force an api-server\nrelease — the same stance as :class:`AgentOptimization`. The gateway is the\nsource of truth (``ai21_intelligent_gateway_api.insights.schemas.InsightResponse``).\n\nFeedback is two columns, not three: ``verdict`` is required on submission, so\na non-null ``feedback_verdict`` is itself the \"has feedback\" signal, and\n``updated_at`` covers when it arrived."},"JambaExecuteRequest":{"properties":{"content":{"type":"string","title":"Content"},"task":{"type":"string","title":"Task"},"prompt":{"type":"string","title":"Prompt"},"api_key":{"type":"string","title":"Api Key"}},"type":"object","required":["content","task","prompt"],"title":"JambaExecuteRequest"},"ListAssistantsResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/Assistant"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"ListAssistantsResponse"},"ListMCPsStorageResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/MCPStorageResponse"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"ListMCPsStorageResponse"},"ListPlansResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/Plan"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"ListPlansResponse"},"ListRoutesResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/AssistantRoute"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"ListRoutesResponse"},"LogicalOperator":{"additionalProperties":{"items":{"type":"object"},"type":"array"},"type":"object","title":"LogicalOperator"},"Logprobs":{"properties":{"content":{"items":{"$ref":"#/components/schemas/LogprobsData"},"type":"array","title":"Content"}},"type":"object","required":["content"],"title":"Logprobs"},"LogprobsData":{"properties":{"token":{"type":"string","title":"Token"},"logprob":{"type":"number","title":"Logprob"},"top_logprobs":{"items":{"$ref":"#/components/schemas/TopLogprobsData"},"type":"array","title":"Top Logprobs"}},"type":"object","required":["token","logprob"],"title":"LogprobsData"},"MCPStorageResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"server_url":{"type":"string","title":"Server Url"},"server_label":{"type":"string","title":"Server Label"},"organization_id":{"type":"string","format":"uuid","title":"Organization Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"authentication_type":{"$ref":"#/components/schemas/AuthenticationType"},"auth_header_name":{"type":"string","title":"Auth Header Name"},"auth_secret_key":{"type":"string","title":"Auth Secret Key"},"allowed_tools":{"items":{"type":"string"},"type":"array","title":"Allowed Tools"}},"type":"object","required":["id","server_url","server_label","organization_id","user_id"],"title":"MCPStorageResponse"},"MCPToolResource":{"properties":{"type":{"type":"string","enum":["mcp"],"title":"Type","default":"mcp"},"server_label":{"type":"string","title":"Server Label"},"server_url":{"type":"string","title":"Server Url"},"headers":{"type":"object","title":"Headers"},"allowed_tools":{"items":{"type":"string"},"type":"array","title":"Allowed Tools"},"mcp_id":{"type":"string","title":"Mcp Id"}},"type":"object","title":"MCPToolResource"},"MaestroRunError":{"properties":{"message":{"type":"string","title":"Message"}},"type":"object","required":["message"],"title":"MaestroRunError"},"MaestroRunResult":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"status":{"type":"string","enum":["completed","failed","in_progress","requires_action"],"title":"Status"},"result":{"title":"Result"},"data_sources":{"type":"object","title":"Data Sources"},"requirements_result":{"type":"object","title":"Requirements Result"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"error":{"$ref":"#/components/schemas/MaestroRunError"}},"type":"object","required":["id","status"],"title":"MaestroRunResult"},"MarkdownRequest":{"properties":{"text":{"type":"string","title":"Text","description":"All section answers concatenated"}},"type":"object","required":["text"],"title":"MarkdownRequest"},"Message":{"properties":{"role":{"type":"string","enum":["assistant","user"],"title":"Role","description":"The role of an individual message.\n- `user`: Input provided by the user. Any instructions given here that conflict\n with instructions given in the `system` prompt take precedence over the `system`\n prompt instructions.\n- `assistant`: Response generated by the model.\n- `system`: Initial instructions provided to the system to provide general guidance\n on the tone and voice of the generated message. An initial system message is\n optional but recommended to provide guidance on the tone of the chat. For\n example, \"You are a helpful chatbot with a background in earth sciences and a\n charming French accent.\"\n"},"content":{"type":"string","title":"Content"}},"type":"object","required":["role","content"],"title":"Message"},"MockResponseConfig":{"properties":{"response_delay_seconds":{"type":"number","minimum":0.0,"title":"Response Delay Seconds","default":1},"stream_response_delay_between_deltas_seconds":{"type":"number","minimum":0.0,"title":"Stream Response Delay Between Deltas Seconds","default":0.1}},"type":"object","title":"MockResponseConfig","include_in_schema":false},"ModelName":{"type":"string","enum":["jamba-mini","jamba-large","jamba-large-1.7","jamba-large-1.7-2025-07","jamba-mini-2","jamba-mini-2-2026-01"],"title":"ModelName","description":"An enumeration."},"ModifyAssistantRequest":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"optimization":{"$ref":"#/components/schemas/RunOptimization"},"avatar":{"type":"string","title":"Avatar"},"is_archived":{"type":"boolean","title":"Is Archived","default":false},"models":{"items":{"type":"string"},"type":"array","title":"Models"},"tools":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__execution_engine__ToolDefinition"},"type":"array","title":"Tools"},"requirements":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__assistant__Requirement"},"type":"array","title":"Requirements"},"budget":{"$ref":"#/components/schemas/BudgetLevel"},"visibility":{"$ref":"#/components/schemas/Visibility"},"response_language":{"type":"string","enum":["arabic","dutch","english","french","german","hebrew","italian","portuguese","spanish","unset"],"title":"Response Language"},"system_prompt":{"type":"string","title":"System Prompt"},"workflow_config":{"$ref":"#/components/schemas/WorkflowConfig"},"config_overrides":{"type":"object","title":"Config Overrides"}},"type":"object","title":"ModifyAssistantRequest"},"OrgSchema":{"properties":{"organization_id":{"type":"string","format":"uuid","title":"Organization Id"},"schema_name":{"type":"string","title":"Schema Name"},"schema_definition":{"type":"object","title":"Schema Definition"},"table_stats":{"type":"object","title":"Table Stats"}},"type":"object","required":["organization_id","schema_name","schema_definition","table_stats"],"title":"OrgSchema"},"OrgSchemas":{"properties":{"schemas":{"items":{"$ref":"#/components/schemas/OrgSchema"},"type":"array","title":"Schemas"}},"type":"object","required":["schemas"],"title":"OrgSchemas"},"Plan":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"code":{"type":"string","title":"Code"},"schemas":{"items":{"type":"object"},"type":"array","title":"Schemas"},"assistant_id":{"type":"string","title":"Assistant Id"}},"type":"object","required":["id","created_at","updated_at","code","assistant_id"],"title":"Plan"},"ProviderKeyCreate":{"properties":{"provider":{"type":"string","minLength":1,"title":"Provider"},"api_key":{"type":"string","maxLength":8192,"minLength":1,"format":"password","title":"Api Key","writeOnly":true}},"type":"object","required":["provider","api_key"],"title":"ProviderKeyCreate","description":"Body for ``POST /tokenwise/settings/provider-keys``."},"ProviderKeyOut":{"properties":{"provider":{"type":"string","title":"Provider"},"masked_key":{"type":"string","title":"Masked Key"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["provider","created_at","updated_at"],"title":"ProviderKeyOut","description":"Response shape for provider-key GET / POST / PUT.\n\nNever carries the key itself. ``masked_key`` is the BFF's masked rendering\nfrom the secret store, and is ``null`` when the store is unreachable — whether\na workspace has a key configured is the BFF's own fact and stays readable even\nwhen the store is down."},"ProviderKeyUpdate":{"properties":{"provider":{"type":"string","minLength":1,"title":"Provider"},"api_key":{"type":"string","maxLength":8192,"minLength":1,"format":"password","title":"Api Key","writeOnly":true}},"type":"object","required":["provider","api_key"],"title":"ProviderKeyUpdate","description":"Body for ``PUT /tokenwise/settings/provider-keys`` — rotation.\n\nSame shape as create; the BFF distinguishes them by method, not by body."},"QueryFilter":{"anyOf":[{"$ref":"#/components/schemas/ComparisonOperator"},{"$ref":"#/components/schemas/LogicalOperator"},{"additionalProperties":{"$ref":"#/components/schemas/ComparisonOperator"},"type":"object"}],"title":"QueryFilter"},"RFIResponseSection":{"properties":{"header":{"type":"string","title":"Header","description":"Exact or closest RFI heading for the section"},"description":{"type":"string","title":"Description","description":"≤350-character directive listing everything to include in that section"},"generated_content":{"type":"string","title":"Generated Content","description":"Generated content for this section based on company files"}},"type":"object","required":["header","description"],"title":"RFIResponseSection","description":"Model for a single RFI response section."},"RequirementItem":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"}},"type":"object","required":["name","description"],"title":"RequirementItem"},"RequirementsGenerationRequest":{"properties":{"query":{"type":"string","title":"Query"}},"type":"object","required":["query"],"title":"RequirementsGenerationRequest"},"RequirementsGenerationResponse":{"properties":{"requirements":{"items":{"$ref":"#/components/schemas/RequirementItem"},"type":"array","title":"Requirements"}},"type":"object","required":["requirements"],"title":"RequirementsGenerationResponse"},"ResponseFormat":{"properties":{"type":{"type":"string","enum":["text","json_object"],"title":"Type"}},"type":"object","required":["type"],"title":"ResponseFormat"},"RetrievalStrategy":{"type":"string","enum":["segments","default","add_neighbors","full_doc"],"title":"RetrievalStrategy","description":"An enumeration."},"RunAssistantRequest":{"properties":{"input":{"items":{"$ref":"#/components/schemas/Message"},"type":"array","title":"Input"},"verbose":{"type":"boolean","title":"Verbose","default":false},"output_type":{"type":"object","title":"Output Type"},"include":{"items":{"type":"string"},"type":"array","title":"Include","default":["data_sources","requirements_result","requirements_result.metadata"]},"structured_rag_enabled":{"type":"boolean","title":"Structured Rag Enabled","default":false},"dynamic_planning_enabled":{"type":"boolean","title":"Dynamic Planning Enabled","default":false},"response_language":{"type":"string","enum":["arabic","dutch","english","french","german","hebrew","italian","portuguese","spanish","unset"],"title":"Response Language","default":"unset"},"system_prompt":{"type":"string","title":"System Prompt"}},"type":"object","required":["input"],"title":"RunAssistantRequest"},"RunOptimization":{"enum":["cost","latency"],"title":"RunOptimization","description":"An enumeration."},"SecretResponse":{"properties":{"secret_id":{"type":"string","title":"Secret Id"},"secret_key":{"type":"string","title":"Secret Key"}},"type":"object","required":["secret_id","secret_key"],"title":"SecretResponse"},"StarterQuestion":{"properties":{"title":{"type":"string","title":"Title"},"prompt":{"type":"string","title":"Prompt"}},"type":"object","required":["title","prompt"],"title":"StarterQuestion"},"SystemMessage":{"properties":{"role":{"type":"string","enum":["system"],"title":"Role","default":"system","description":"The role of an individual message.\n- `user`: Input provided by the user. Any instructions given here that conflict\n with instructions given in the `system` prompt take precedence over the `system`\n prompt instructions.\n- `assistant`: Response generated by the model.\n- `system`: Initial instructions provided to the system to provide general guidance\n on the tone and voice of the generated message. An initial system message is\n optional but recommended to provide guidance on the tone of the chat. For\n example, \"You are a helpful chatbot with a background in earth sciences and a\n charming French accent.\"\n"},"content":{"type":"string","title":"Content"}},"type":"object","required":["content"],"title":"SystemMessage"},"ToolCall":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"type":{"type":"string","enum":["function"],"title":"Type","default":"function"},"function":{"$ref":"#/components/schemas/ToolFunction"}},"type":"object","required":["id","function"],"title":"ToolCall"},"ToolCallDelta":{"properties":{"index":{"type":"integer","title":"Index"},"function":{"$ref":"#/components/schemas/ToolFunctionDelta"}},"type":"object","required":["index","function"],"title":"ToolCallDelta"},"ToolCallDeltaStart":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"index":{"type":"integer","title":"Index"},"type":{"type":"string","enum":["function"],"title":"Type"},"function":{"$ref":"#/components/schemas/ToolFunctionDeltaStart"}},"type":"object","required":["id","index","type","function"],"title":"ToolCallDeltaStart"},"ToolFunction":{"properties":{"name":{"type":"string","title":"Name"},"arguments":{"type":"string","title":"Arguments"}},"type":"object","required":["name","arguments"],"title":"ToolFunction"},"ToolFunctionDelta":{"properties":{"arguments":{"type":"string","title":"Arguments"}},"type":"object","required":["arguments"],"title":"ToolFunctionDelta"},"ToolFunctionDeltaStart":{"properties":{"name":{"type":"string","title":"Name"}},"type":"object","required":["name"],"title":"ToolFunctionDeltaStart"},"ToolMessage":{"properties":{"role":{"type":"string","enum":["tool"],"title":"Role","default":"tool","description":"The role of an individual message.\n- `user`: Input provided by the user. Any instructions given here that conflict\n with instructions given in the `system` prompt take precedence over the `system`\n prompt instructions.\n- `assistant`: Response generated by the model.\n- `system`: Initial instructions provided to the system to provide general guidance\n on the tone and voice of the generated message. An initial system message is\n optional but recommended to provide guidance on the tone of the chat. For\n example, \"You are a helpful chatbot with a background in earth sciences and a\n charming French accent.\"\n"},"content":{"type":"string","title":"Content"},"tool_call_id":{"type":"string","title":"Tool Call Id"}},"type":"object","required":["content","tool_call_id"],"title":"ToolMessage"},"ToolParameters":{"properties":{"type":{"type":"string","enum":["object"],"title":"Type","description":"Type of the parameter schema, only `object` is supported","default":"object"},"properties":{"type":"object","title":"Properties"},"required":{"items":{"type":"string"},"type":"array","title":"Required","description":"List of required properties"}},"type":"object","required":["properties"],"title":"ToolParameters"},"TopLogprobsData":{"properties":{"token":{"type":"string","title":"Token"},"logprob":{"type":"number","title":"Logprob"}},"type":"object","required":["token","logprob"],"title":"TopLogprobsData"},"UpdateMCPStorageRequest":{"properties":{"server_label":{"type":"string","title":"Server Label"}},"type":"object","required":["server_label"],"title":"UpdateMCPStorageRequest"},"UpdateRoutePayload":{"properties":{"description":{"type":"string","title":"Description"},"examples":{"items":{"type":"string"},"type":"array","title":"Examples"}},"type":"object","required":["description"],"title":"UpdateRoutePayload"},"UpdateSecretPayload":{"properties":{"secret_name":{"type":"string","title":"Secret Name"},"secret_value":{"type":"string","title":"Secret Value"}},"type":"object","title":"UpdateSecretPayload"},"UploadMode":{"type":"string","enum":["immediate","batch"],"title":"UploadMode","description":"An enumeration."},"UsageInfo":{"properties":{"prompt_tokens":{"type":"integer","title":"Prompt Tokens","description":"Number of tokens in the prompt for this request. Note that the prompt token\nincludes the entire message history, plus extra tokens needed by the system\nwhen combining the list of prompt messages into a single message, as\nrequired by the model. The number of extra tokens is typically proportional\nto the number of messages in the thread, and should be relatively small.\n"},"completion_tokens":{"type":"integer","title":"Completion Tokens","description":"Number of tokens in the response message."},"total_tokens":{"type":"integer","title":"Total Tokens","description":"`prompt_tokens` + `completion_tokens`.\n"}},"type":"object","required":["prompt_tokens","completion_tokens","total_tokens"],"title":"UsageInfo"},"UserMessage":{"properties":{"role":{"type":"string","enum":["user"],"title":"Role","default":"user","description":"The role of an individual message.\n- `user`: Input provided by the user. Any instructions given here that conflict\n with instructions given in the `system` prompt take precedence over the `system`\n prompt instructions.\n- `assistant`: Response generated by the model.\n- `system`: Initial instructions provided to the system to provide general guidance\n on the tone and voice of the generated message. An initial system message is\n optional but recommended to provide guidance on the tone of the chat. For\n example, \"You are a helpful chatbot with a background in earth sciences and a\n charming French accent.\"\n"},"content":{"type":"string","title":"Content"}},"type":"object","required":["content"],"title":"UserMessage"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"ValidationResult":{"properties":{"is_valid":{"type":"boolean","title":"Is Valid"},"message":{"type":"string","title":"Message"},"details":{"type":"string","title":"Details"}},"type":"object","required":["is_valid"],"title":"ValidationResult"},"Visibility":{"enum":["public","private"],"title":"Visibility","description":"An enumeration."},"WebSearchToolResource":{"properties":{"type":{"type":"string","enum":["web_search"],"title":"Type","default":"web_search"},"urls":{"items":{"type":"string"},"type":"array","title":"Urls"},"fallback_to_web":{"type":"boolean","title":"Fallback To Web"},"query_suffix":{"type":"string","title":"Query Suffix"},"rephrase_query":{"type":"boolean","title":"Rephrase Query"},"use_cached_pages":{"type":"boolean","title":"Use Cached Pages","default":false}},"type":"object","title":"WebSearchToolResource"},"WebsiteConnectorCreateConfigPayload":{"properties":{"name":{"type":"string","title":"Name"},"extract_linked_files":{"type":"boolean","title":"Extract Linked Files","default":false},"wait_for_dynamic_content":{"type":"boolean","title":"Wait For Dynamic Content","default":false},"skip_url_patterns":{"items":{"type":"string"},"type":"array","title":"Skip Url Patterns"},"target_file_extensions":{"items":{"type":"string"},"type":"array","title":"Target File Extensions"},"localization":{"type":"string","title":"Localization"}},"type":"object","required":["name","skip_url_patterns","target_file_extensions"],"title":"WebsiteConnectorCreateConfigPayload"},"WebsiteConnectorIngestUrlPayload":{"properties":{"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"WebsiteConnectorIngestUrlPayload"},"WebsiteConnectorIngestWebsitePayload":{"properties":{"sitemap_url":{"type":"string","title":"Sitemap Url"},"client_config":{"type":"string","title":"Client Config"},"labels":{"items":{"type":"string"},"type":"array","title":"Labels"}},"type":"object","required":["sitemap_url"],"title":"WebsiteConnectorIngestWebsitePayload"},"WebsiteConnectorRetryIngestWebsitePayload":{"properties":{"website_id":{"type":"string","format":"uuid","title":"Website Id"}},"type":"object","required":["website_id"],"title":"WebsiteConnectorRetryIngestWebsitePayload"},"WorkflowConfig":{"properties":{"endpoint_url":{"type":"string","title":"Endpoint Url"},"headers":{"type":"object","title":"Headers"},"additional_params":{"type":"object","title":"Additional Params"}},"type":"object","required":["endpoint_url"],"title":"WorkflowConfig"},"WorkspaceModelResponse":{"properties":{"name":{"type":"string","title":"Name"},"model_type":{"type":"string","title":"Model Type"},"secret_id":{"type":"string","title":"Secret Id"},"created_by":{"type":"string","title":"Created By"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"provider":{"type":"string","title":"Provider"},"internal":{"type":"boolean","title":"Internal","default":false}},"type":"object","required":["name","model_type"],"title":"WorkspaceModelResponse"},"WorkspaceModelUpdate":{"properties":{"name":{"type":"string","title":"Name"},"model_type":{"type":"string","title":"Model Type"},"secret_id":{"type":"string","title":"Secret Id"}},"type":"object","title":"WorkspaceModelUpdate"},"WorkspaceModelsResponse":{"properties":{"models":{"items":{"$ref":"#/components/schemas/WorkspaceModelResponse"},"type":"array","title":"Models"}},"type":"object","required":["models"],"title":"WorkspaceModelsResponse"},"language_studio_api_server__data_types__assistant__Requirement":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"type":{"type":"string","title":"Type"}},"type":"object","title":"Requirement"},"language_studio_api_server__data_types__chat__ToolDefinition":{"properties":{"type":{"type":"string","enum":["function"],"title":"Type"},"function":{"$ref":"#/components/schemas/FunctionToolDefinition"}},"type":"object","required":["type","function"],"title":"ToolDefinition"},"language_studio_api_server__data_types__execution_engine__Requirement":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"is_mandatory":{"type":"boolean","title":"Is Mandatory"}},"type":"object","required":["name","description"],"title":"Requirement"},"language_studio_api_server__data_types__execution_engine__ToolDefinition":{"oneOf":[{"$ref":"#/components/schemas/HTTPToolResource"},{"$ref":"#/components/schemas/MCPToolResource"},{"$ref":"#/components/schemas/FileSearchToolResource"},{"$ref":"#/components/schemas/WebSearchToolResource"}],"title":"ToolDefinition","discriminator":{"propertyName":"type","mapping":{"http":"#/components/schemas/HTTPToolResource","mcp":"#/components/schemas/MCPToolResource","file_search":"#/components/schemas/FileSearchToolResource","web_search":"#/components/schemas/WebSearchToolResource"}}}}}} \ No newline at end of file +{"openapi":"3.1.0","info":{"title":"AI21 Studio API","description":"Access our powerful language models using an API that makes you smile","version":"1.0.0"},"paths":{"/studio/v1/chat/files/convert":{"post":{"summary":"Convert Document File","operationId":"convert_document_file_studio_v1_chat_files_convert_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_convert_document_file_studio_v1_chat_files_convert_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/chat/completions":{"post":{"tags":["Jamba Complete"],"summary":"Studio Chat Complete","description":"This is the endpoint for the [Jamba Instruct model](https://docs.ai21.com/docs/jamba-models).\nThis is a foundation model that supports both single-turn (question answering,\ntext completion) and multi-turn (chat style) interactions.\n\nYou can optionally stream results if you want to get the response as each\ntoken is generated, rather than waiting for the entire response.","operationId":"v1_chat_complete","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/ChatCompletion"},{"items":{"$ref":"#/components/schemas/ChatCompletionVllmStreamingMessage"},"type":"array"}],"title":"Response V1 Chat Complete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/library/files":{"get":{"tags":["Library management"],"summary":"Get Workspace Files","description":"Get metadata about a specific file by file ID. The file ID is generated by\nAI21 when you upload the file.","operationId":"v1_library_management","parameters":[{"required":false,"schema":{"type":"string","title":"Name"},"name":"name","in":"query"},{"required":false,"schema":{"type":"string","title":"Path"},"name":"path","in":"query"},{"required":false,"schema":{"$ref":"#/components/schemas/FileStatus"},"name":"status","in":"query"},{"required":false,"schema":{"items":{"type":"string"},"type":"array","title":"Label"},"name":"label","in":"query"},{"required":false,"schema":{"type":"integer","title":"Limit","default":500000},"name":"limit","in":"query"},{"required":false,"schema":{"type":"integer","title":"Offset"},"name":"offset","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/FileResponse"},"type":"array","title":"Response V1 Library Management"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Library management"],"summary":"Upload Workspace File","description":"Upload files to use for [RAG Engine document searches](https://docs.ai21.com/docs/rag-engine-overview).\nYou can assign metadata to your files to limit searches to specific files by file metadata.\nThere is no bulk upload method; files must be loaded one at a time.\n\n- **Max number of files:** No limit. The playground limits bulk uploads to 50 files per request.\n- **Max library size:** 1 GB total size. No limit to individual file size.\n- **Supported file types:** PDF, DocX, HTML, TXT","operationId":"v1_library_upload","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_v1_library_upload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/library/files/{file_id}":{"get":{"tags":["Library management"],"summary":"Get File By Id","description":"Retrieve a list of documents in the user's library. Optionally specify a\nfilter to find only files with matching labels or paths. This method\nreturns only metadata about files; to download a file, call\n`GET .../files/{file_id}/download`\n\nWhen specifying qualifiers with your request, only files that match\n_all_ qualifiers will be returns. So, for example, if you specify\n`label='financial'` and `status='UPLOADED'`, only files with the label\n\"financial\" AND status UPLOADED will be returned.","operationId":"v1_library_management","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"File Id"},"name":"file_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Library management"],"summary":"Update File","description":"Update the specified parameters of a specific document in the user's library.\nThis operation currently supports updating the publicUrl and labels parameters.\n\n> **This operation overwrites the specified items with the new data you provide.**\n> If you wish to add new labels to the labels list without removing the existing ones,\n> you must submit a labels list that includes both the current and new labels.**\n>\n> For instance, if the current labels are \"Label A\" and \"Label B\", and you wish to\n> add \"New Label C\" and \"New Label D\" to the list, you must specify `\"labels\": [\"Label A\", \"Label B\", \"New Label C\", \"New Label D\"]`.","operationId":"v1_library_management","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"File Id"},"name":"file_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FilesUpdateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Library management"],"summary":"Delete File","description":"Delete the specified file from the library.\n\n**Restrictions**:\nFiles in `PROCESSING` status cannot be deleted. Attempts to delete such files will result in a 422 error.","operationId":"v1_library_delete","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"File Id"},"name":"file_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/secrets":{"get":{"tags":["Secrets"],"summary":"Get Secret List","operationId":"v1_secret_storage","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["Secrets"],"summary":"Save Secret","operationId":"v1_secret_storage","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSecretPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Secrets"],"summary":"Delete Secret","operationId":"v1_secret_storage","parameters":[{"required":true,"schema":{"type":"string","title":"Secret Id"},"name":"secret_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/secrets/{secret_id}":{"patch":{"tags":["Secrets"],"summary":"Update Secret","operationId":"v1_secret_storage","parameters":[{"required":true,"schema":{"type":"string","title":"Secret Id"},"name":"secret_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSecretPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/library/batches/{batch_id}/status":{"get":{"tags":["RAG Engine"],"summary":"Get Batch Ingestion Status","operationId":"v1_library_management","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Batch Id"},"name":"batch_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IngestionBatchStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/library/files/{file_id}/download":{"get":{"tags":["RAG Engine"],"summary":"Generate Documents Signed Url","operationId":"v1_library_management","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"File Id"},"name":"file_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/library/files/{file_id}/parsed":{"get":{"tags":["RAG Engine"],"summary":"Download Parsed Document","description":"Download parsed document with Content-Disposition header for immediate download.","operationId":"v1_library_management","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"File Id"},"name":"file_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/maestro/runs":{"post":{"summary":"Create Maestro Run","operationId":"v1_maestro_run","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMaestroRunsPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaestroRunResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/maestro/runs/{execution_id}":{"get":{"summary":"Get Maestro Run","operationId":"v1_get_maestro_run","parameters":[{"required":true,"schema":{"type":"string","title":"Execution Id"},"name":"execution_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaestroRunResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos":{"get":{"summary":"List Demos","description":"List all available demos.","operationId":"list_demos_studio_v1_demos_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Demo"},"type":"array","title":"Response List Demos Studio V1 Demos Get"}}}}}},"post":{"summary":"Create Demo","description":"Create a new demo.","operationId":"create_demo_studio_v1_demos_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemoCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Demo"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/{demo_id}":{"get":{"summary":"Get Demo","description":"Get a specific demo by ID.","operationId":"get_demo_studio_v1_demos__demo_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Demo Id"},"name":"demo_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Demo"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Demo","description":"Update an existing demo.","operationId":"update_demo_studio_v1_demos__demo_id__put","parameters":[{"required":true,"schema":{"type":"string","title":"Demo Id"},"name":"demo_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemoUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Demo"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Demo","description":"Delete a demo.","operationId":"delete_demo_studio_v1_demos__demo_id__delete","parameters":[{"required":true,"schema":{"type":"string","title":"Demo Id"},"name":"demo_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/document-modifier/parse-pdf":{"post":{"summary":"Parse Pdf","description":"Parse a PDF file and return its contents.","operationId":"parse_pdf_studio_v1_demos_document_modifier_parse_pdf_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_parse_pdf_studio_v1_demos_document_modifier_parse_pdf_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Parse Pdf Studio V1 Demos Document Modifier Parse Pdf Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/document-modifier/get-parsed-file":{"get":{"summary":"Get Parsed File","description":"Get the parsed file from the document modifier.","operationId":"get_parsed_file_studio_v1_demos_document_modifier_get_parsed_file_get","parameters":[{"required":true,"schema":{"type":"string","title":"File Name"},"name":"file_name","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Parsed File Studio V1 Demos Document Modifier Get Parsed File Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/document-modifier/compare-text":{"post":{"summary":"Compare Text","description":"Compare text in a document file against a reference text.","operationId":"compare_text_studio_v1_demos_document_modifier_compare_text_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompareTextRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Compare Text Studio V1 Demos Document Modifier Compare Text Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/document-modifier/download":{"post":{"summary":"Download Modified Document","description":"Download a modified document.","operationId":"download_modified_document_studio_v1_demos_document_modifier_download_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadModifiedDocumentRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/document-modifier/jamba-execute":{"post":{"summary":"Jamba Execute","description":"Execute a Jamba request.","operationId":"jamba_execute_studio_v1_demos_document_modifier_jamba_execute_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JambaExecuteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Jamba Execute Studio V1 Demos Document Modifier Jamba Execute Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/regulations/upload-check-compliance":{"post":{"summary":"Upload Check Compliance","description":"Check compliance of a document file against regulatory requirements.","operationId":"upload_check_compliance_studio_v1_demos_regulations_upload_check_compliance_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_check_compliance_studio_v1_demos_regulations_upload_check_compliance_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Upload Check Compliance Studio V1 Demos Regulations Upload Check Compliance Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/regulations/vector-store/{vector_store_id}":{"get":{"summary":"Get Vector Store","description":"Get a vector store by ID.","operationId":"get_vector_store_studio_v1_demos_regulations_vector_store__vector_store_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Vector Store Id"},"name":"vector_store_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Vector Store Studio V1 Demos Regulations Vector Store Vector Store Id Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/rfi/generate-response-pdf":{"post":{"summary":"Combine section answers ➜ styled PDF for download","operationId":"generate_response_pdf_studio_v1_demos_rfi_generate_response_pdf_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkdownRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}},"application/pdf":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/rfi/process-rfi":{"post":{"summary":"Process Rfi Document","operationId":"process_rfi_document_studio_v1_demos_rfi_process_rfi_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_process_rfi_document_studio_v1_demos_rfi_process_rfi_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/RFIResponseSection"},"type":"array","title":"Response Process Rfi Document Studio V1 Demos Rfi Process Rfi Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/scraper/file-url/{file_id}":{"get":{"summary":"Get File Url","operationId":"get_file_url_studio_v1_demos_scraper_file_url__file_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"File Id"},"name":"file_id","in":"path"},{"required":false,"schema":{"type":"string","title":"Api Key"},"name":"api_key","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/demos/scraper/can-iframe":{"get":{"summary":"Can Iframe","operationId":"can_iframe_studio_v1_demos_scraper_can_iframe_get","parameters":[{"required":true,"schema":{"type":"string","title":"Url"},"name":"url","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Can Iframe Studio V1 Demos Scraper Can Iframe Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/website-connector/ingest-url":{"post":{"tags":["Website Connector"],"summary":"Connect Website","operationId":"v1_website_connector_ingest_url","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebsiteConnectorIngestUrlPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/website-connector/url-status":{"get":{"tags":["Website Connector"],"summary":"Get Url Status","operationId":"v1_website_connector_get_url_status","parameters":[{"required":true,"schema":{"type":"string","title":"Url Id"},"name":"url_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/website-connector/ingest-website":{"post":{"tags":["Website Connector"],"summary":"Ingest Website","operationId":"v1_website_connector_ingest_website","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebsiteConnectorIngestWebsitePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/website-connector/website-status":{"get":{"tags":["Website Connector"],"summary":"Get Website Status","operationId":"v1_website_connector_get_website_status","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Website Id"},"name":"website_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/website-connector/retry-ingest-website":{"post":{"tags":["Website Connector"],"summary":"Retry Ingest Website","operationId":"v1_website_connector_retry_ingest_website","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebsiteConnectorRetryIngestWebsitePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/website-connector/client-config":{"get":{"tags":["Website Connector"],"summary":"Get Client Config","operationId":"v1_website_connector_get_config","parameters":[{"required":true,"schema":{"type":"string","title":"Config Name"},"name":"config_name","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Website Connector"],"summary":"Create Client Config","operationId":"v1_website_connector_create_config","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebsiteConnectorCreateConfigPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/structured-rag/organizations/{organization_id}/schemas":{"get":{"summary":"Get Organization Schemas","operationId":"get_organization_schemas_studio_v1_structured_rag_organizations__organization_id__schemas_get","parameters":[{"required":true,"schema":{"type":"string","title":"Organization Id"},"name":"organization_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrgSchemas"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Organization Schema","operationId":"create_organization_schema_studio_v1_structured_rag_organizations__organization_id__schemas_post","parameters":[{"required":true,"schema":{"type":"string","title":"Organization Id"},"name":"organization_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOrganizationSchemaRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/structured-rag/organizations/{organization_id}/schema-detection":{"post":{"summary":"Detect Schema","operationId":"detect_schema_studio_v1_structured_rag_organizations__organization_id__schema_detection_post","parameters":[{"required":true,"schema":{"type":"string","title":"Organization Id"},"name":"organization_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DetectSchemaRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DetectSchemaResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/structured-rag/organizations/{organization_id}/schemas/{schema_name}":{"delete":{"summary":"Delete Organization Schema","operationId":"delete_organization_schema_studio_v1_structured_rag_organizations__organization_id__schemas__schema_name__delete","parameters":[{"required":true,"schema":{"type":"string","title":"Organization Id"},"name":"organization_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Schema Name"},"name":"schema_name","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/v1/{path}":{"get":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_gateway_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_gateway_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_gateway_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_gateway_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_gateway_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_gateway_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/v1beta/{path}":{"get":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_gateway_v1beta__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_gateway_v1beta__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_gateway_v1beta__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_gateway_v1beta__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_gateway_v1beta__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_gateway_v1beta__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/v1internal{path}":{"get":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_gateway_v1internal_path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_gateway_v1internal_path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_gateway_v1internal_path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_gateway_v1internal_path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_gateway_v1internal_path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_gateway_v1internal_path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/off/v1/{path}":{"get":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_gateway_off_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_gateway_off_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_gateway_off_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_gateway_off_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_gateway_off_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_gateway_off_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/on/v1/{path}":{"get":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_gateway_on_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_gateway_on_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_gateway_on_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_gateway_on_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_gateway_on_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_gateway_on_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/settings/agents":{"get":{"summary":"List Agents","operationId":"list_agents_gateway_settings_agents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AgentOut"},"type":"array","title":"Response List Agents Gateway Settings Agents Get"}}}}}},"post":{"summary":"Create Agent","operationId":"create_agent_gateway_settings_agents_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/settings/agents/{agent_id}/optimizations":{"get":{"summary":"Get Agent Optimizations","operationId":"get_agent_optimizations_gateway_settings_agents__agent_id__optimizations_get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AgentOptimization"},"type":"array","title":"Response Get Agent Optimizations Gateway Settings Agents Agent Id Optimizations Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/settings/agents/{agent_id}":{"get":{"summary":"Get Agent","operationId":"get_agent_gateway_settings_agents__agent_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Agent","operationId":"update_agent_gateway_settings_agents__agent_id__put","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Agent","operationId":"delete_agent_gateway_settings_agents__agent_id__delete","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/settings/configs":{"get":{"summary":"List Configs","operationId":"list_configs_gateway_settings_configs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ConfigProfileOut"},"type":"array","title":"Response List Configs Gateway Settings Configs Get"}}}}}},"post":{"summary":"Create Config","operationId":"create_config_gateway_settings_configs_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/settings/configs/schema":{"get":{"summary":"Get Config Schema","operationId":"get_config_schema_gateway_settings_configs_schema_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigSchemaOut"}}}}}}},"/gateway/settings/configs/{config_id}":{"get":{"summary":"Get Config","operationId":"get_config_gateway_settings_configs__config_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Config Id"},"name":"config_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Config","operationId":"update_config_gateway_settings_configs__config_id__put","parameters":[{"required":true,"schema":{"type":"string","title":"Config Id"},"name":"config_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Config","operationId":"delete_config_gateway_settings_configs__config_id__delete","parameters":[{"required":true,"schema":{"type":"string","title":"Config Id"},"name":"config_id","in":"path"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/settings/provider-keys":{"get":{"summary":"List Provider Keys","description":"The workspace's provider keys, masked.\n\nOne endpoint, two shapes, mirroring the BFF: without ``provider`` it lists\nevery key for the workspace; with one it returns that single key, or 404 if\nthe workspace has none for it. The union response model is the honest\ndeclaration of that — see ``provider_keys/router.py::list_provider_keys``.\n\n``provider`` is bounded here so an explicitly empty ``?provider=`` fails with\n422 at this edge rather than making the round trip (the BFF rejects it too);\nomitting it entirely is the list case. It rides through on the forwarded query\nstring — see ``tokenwise_service._build_gateway_request``.","operationId":"list_provider_keys_gateway_settings_provider_keys_get","parameters":[{"required":false,"schema":{"type":"string","minLength":1,"title":"Provider"},"name":"provider","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"items":{"$ref":"#/components/schemas/ProviderKeyOut"},"type":"array"},{"$ref":"#/components/schemas/ProviderKeyOut"}],"title":"Response List Provider Keys Gateway Settings Provider Keys Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Provider Key","description":"Rotate the workspace's key for a provider. 404 if none is configured.\n\nFull replacement, not a partial update — unlike the agent/config mirrors there\nis no ``exclude_unset``, because ``api_key`` is the whole point of the call.","operationId":"update_provider_key_gateway_settings_provider_keys_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Provider Key","description":"Store a provider key for the workspace. 409 if one already exists.","operationId":"create_provider_key_gateway_settings_provider_keys_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Provider Key","description":"Delete the workspace's key for a provider. 404 if none is configured.","operationId":"delete_provider_key_gateway_settings_provider_keys_delete","parameters":[{"required":true,"schema":{"type":"string","minLength":1,"title":"Provider"},"name":"provider","in":"query"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/insights":{"get":{"summary":"List Insights","description":"Published insights for ``agent_id``, newest first.\n\n``agent_id`` is typed here so a missing/empty value fails with 422 before\nreaching the gateway; it rides through to the upstream via the forwarded\nquery string (see ``tokenwise_service._build_gateway_request``).","operationId":"list_insights_gateway_insights_get","parameters":[{"required":true,"schema":{"type":"string","minLength":1,"title":"Agent Id"},"name":"agent_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/InsightOut"},"type":"array","title":"Response List Insights Gateway Insights Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/insights/all":{"get":{"summary":"List All Insights","description":"Every insight for the workspace in one read, newest first, with an optional\n``agent_id`` filter that rides through on the query string.\n\nBacks the overview roster's recommendations pill, which needs a count per\nagent and would otherwise fan out one request per row (OPSS-328).\n\nUnlike :func:`list_insights` this is NOT published-only — it forwards the\nupstream's authoring view verbatim, so ``draft`` / ``dismissed`` / ``applied``\nrows reach the client, which filters to the states it wants to show.","operationId":"list_all_insights_gateway_insights_all_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/InsightOut"},"type":"array","title":"Response List All Insights Gateway Insights All Get"}}}}}}},"/gateway/insights/{insight_id}/apply":{"post":{"summary":"Apply Insight","description":"Apply an insight's config suggestion to its agent (``published`` -> ``applied``).","operationId":"apply_insight_gateway_insights__insight_id__apply_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/insights/{insight_id}/dismiss":{"post":{"summary":"Dismiss Insight","description":"Dismiss an insight (``published`` -> ``dismissed``).","operationId":"dismiss_insight_gateway_insights__insight_id__dismiss_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/insights/{insight_id}/acknowledge":{"post":{"summary":"Acknowledge Insight","description":"Mark an advisory insight as acted on (``published`` -> ``acknowledged``).\n\nThe positive terminal action for a ``kind=\"advisory\"`` insight, which carries\nno config suggestion to apply. The gateway 409s a ``config_change`` insight\nhere — those go through ``apply``.","operationId":"acknowledge_insight_gateway_insights__insight_id__acknowledge_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/insights/{insight_id}/feedback":{"post":{"summary":"Submit Insight Feedback","description":"Record the user's verdict (+ optional comment) on an insight.\n\nOrthogonal to the lifecycle — allowed in every customer-visible state, and\nlast write wins. The gateway owns the closed verdict set.","operationId":"submit_insight_feedback_gateway_insights__insight_id__feedback_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightFeedbackIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/analytics/v1/summary":{"get":{"summary":"Analytics Summary","operationId":"analytics_summary_gateway_analytics_v1_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/errors":{"get":{"summary":"Analytics Errors","operationId":"analytics_errors_gateway_analytics_v1_errors_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/errors/breakdown":{"get":{"summary":"Analytics Errors Breakdown","operationId":"analytics_errors_breakdown_gateway_analytics_v1_errors_breakdown_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/sessions":{"get":{"summary":"Analytics Sessions","operationId":"analytics_sessions_gateway_analytics_v1_sessions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/sessions/{session_id}":{"get":{"summary":"Analytics Session Detail","operationId":"analytics_session_detail_gateway_analytics_v1_sessions__session_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Session Id"},"name":"session_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/analytics/v1/transformers":{"get":{"summary":"Analytics Transformers","operationId":"analytics_transformers_gateway_analytics_v1_transformers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/context/tools":{"get":{"summary":"Analytics Context Tools","operationId":"analytics_context_tools_gateway_analytics_v1_context_tools_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/context/bash":{"get":{"summary":"Analytics Context Bash","operationId":"analytics_context_bash_gateway_analytics_v1_context_bash_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/context/prefix":{"get":{"summary":"Analytics Context Prefix","operationId":"analytics_context_prefix_gateway_analytics_v1_context_prefix_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/context/blocks":{"get":{"summary":"Analytics Context Blocks","operationId":"analytics_context_blocks_gateway_analytics_v1_context_blocks_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/trends":{"get":{"summary":"Analytics Trends","operationId":"analytics_trends_gateway_analytics_v1_trends_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/agents":{"get":{"summary":"Analytics Agents","operationId":"analytics_agents_gateway_analytics_v1_agents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/models":{"get":{"summary":"Analytics Models","operationId":"analytics_models_gateway_analytics_v1_models_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gateway/analytics/v1/filters":{"get":{"summary":"Analytics Filters","operationId":"analytics_filters_gateway_analytics_v1_filters_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/v1/{path}":{"get":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_tokenwise_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_tokenwise_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_tokenwise_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_tokenwise_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_tokenwise_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy V1","description":"Catch-all for the Anthropic-compatible surface (``/v1/messages``, etc.).\n\nGated on a Tokenwise subscription (OPSS-55); the A/B ``/on`` and ``/off`` arms are\nintentionally left ungated.","operationId":"proxy_v1_tokenwise_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/v1beta/{path}":{"get":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_tokenwise_v1beta__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_tokenwise_v1beta__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_tokenwise_v1beta__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_tokenwise_v1beta__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_tokenwise_v1beta__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy V1Beta","description":"Native Gemini API surface (``/v1beta/models/*:generateContent``).","operationId":"proxy_v1beta_tokenwise_v1beta__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/v1internal{path}":{"get":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_tokenwise_v1internal_path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_tokenwise_v1internal_path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_tokenwise_v1internal_path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_tokenwise_v1internal_path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_tokenwise_v1internal_path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy V1Internal","description":"Cloud Code native Gemini surface (``/v1internal:*generateContent``).","operationId":"proxy_v1internal_tokenwise_v1internal_path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/off/v1/{path}":{"get":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_tokenwise_off_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_tokenwise_off_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_tokenwise_off_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_tokenwise_off_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_tokenwise_off_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy Off V1","description":"A/B off-arm — forces gateway transformers off for this request only.","operationId":"proxy_off_v1_tokenwise_off_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/on/v1/{path}":{"get":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_tokenwise_on_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_tokenwise_on_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_tokenwise_on_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_tokenwise_on_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_tokenwise_on_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy On V1","description":"A/B on-arm — forces gateway transformers on for this request only.","operationId":"proxy_on_v1_tokenwise_on_v1__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Ai21-Key","default":""},"name":"X-AI21-Key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/settings/agents":{"get":{"summary":"List Agents","operationId":"list_agents_tokenwise_settings_agents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AgentOut"},"type":"array","title":"Response List Agents Tokenwise Settings Agents Get"}}}}}},"post":{"summary":"Create Agent","operationId":"create_agent_tokenwise_settings_agents_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/settings/agents/{agent_id}/optimizations":{"get":{"summary":"Get Agent Optimizations","operationId":"get_agent_optimizations_tokenwise_settings_agents__agent_id__optimizations_get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AgentOptimization"},"type":"array","title":"Response Get Agent Optimizations Tokenwise Settings Agents Agent Id Optimizations Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/settings/agents/{agent_id}":{"get":{"summary":"Get Agent","operationId":"get_agent_tokenwise_settings_agents__agent_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Agent","operationId":"update_agent_tokenwise_settings_agents__agent_id__put","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Agent","operationId":"delete_agent_tokenwise_settings_agents__agent_id__delete","parameters":[{"required":true,"schema":{"type":"string","title":"Agent Id"},"name":"agent_id","in":"path"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/settings/configs":{"get":{"summary":"List Configs","operationId":"list_configs_tokenwise_settings_configs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ConfigProfileOut"},"type":"array","title":"Response List Configs Tokenwise Settings Configs Get"}}}}}},"post":{"summary":"Create Config","operationId":"create_config_tokenwise_settings_configs_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/settings/configs/schema":{"get":{"summary":"Get Config Schema","operationId":"get_config_schema_tokenwise_settings_configs_schema_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigSchemaOut"}}}}}}},"/tokenwise/settings/configs/{config_id}":{"get":{"summary":"Get Config","operationId":"get_config_tokenwise_settings_configs__config_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Config Id"},"name":"config_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Config","operationId":"update_config_tokenwise_settings_configs__config_id__put","parameters":[{"required":true,"schema":{"type":"string","title":"Config Id"},"name":"config_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigProfileOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Config","operationId":"delete_config_tokenwise_settings_configs__config_id__delete","parameters":[{"required":true,"schema":{"type":"string","title":"Config Id"},"name":"config_id","in":"path"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/settings/provider-keys":{"get":{"summary":"List Provider Keys","description":"The workspace's provider keys, masked.\n\nOne endpoint, two shapes, mirroring the BFF: without ``provider`` it lists\nevery key for the workspace; with one it returns that single key, or 404 if\nthe workspace has none for it. The union response model is the honest\ndeclaration of that — see ``provider_keys/router.py::list_provider_keys``.\n\n``provider`` is bounded here so an explicitly empty ``?provider=`` fails with\n422 at this edge rather than making the round trip (the BFF rejects it too);\nomitting it entirely is the list case. It rides through on the forwarded query\nstring — see ``tokenwise_service._build_gateway_request``.","operationId":"list_provider_keys_tokenwise_settings_provider_keys_get","parameters":[{"required":false,"schema":{"type":"string","minLength":1,"title":"Provider"},"name":"provider","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"items":{"$ref":"#/components/schemas/ProviderKeyOut"},"type":"array"},{"$ref":"#/components/schemas/ProviderKeyOut"}],"title":"Response List Provider Keys Tokenwise Settings Provider Keys Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Provider Key","description":"Rotate the workspace's key for a provider. 404 if none is configured.\n\nFull replacement, not a partial update — unlike the agent/config mirrors there\nis no ``exclude_unset``, because ``api_key`` is the whole point of the call.","operationId":"update_provider_key_tokenwise_settings_provider_keys_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Provider Key","description":"Store a provider key for the workspace. 409 if one already exists.","operationId":"create_provider_key_tokenwise_settings_provider_keys_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderKeyOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Provider Key","description":"Delete the workspace's key for a provider. 404 if none is configured.","operationId":"delete_provider_key_tokenwise_settings_provider_keys_delete","parameters":[{"required":true,"schema":{"type":"string","minLength":1,"title":"Provider"},"name":"provider","in":"query"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/insights":{"get":{"summary":"List Insights","description":"Published insights for ``agent_id``, newest first.\n\n``agent_id`` is typed here so a missing/empty value fails with 422 before\nreaching the gateway; it rides through to the upstream via the forwarded\nquery string (see ``tokenwise_service._build_gateway_request``).","operationId":"list_insights_tokenwise_insights_get","parameters":[{"required":true,"schema":{"type":"string","minLength":1,"title":"Agent Id"},"name":"agent_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/InsightOut"},"type":"array","title":"Response List Insights Tokenwise Insights Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/insights/all":{"get":{"summary":"List All Insights","description":"Every insight for the workspace in one read, newest first, with an optional\n``agent_id`` filter that rides through on the query string.\n\nBacks the overview roster's recommendations pill, which needs a count per\nagent and would otherwise fan out one request per row (OPSS-328).\n\nUnlike :func:`list_insights` this is NOT published-only — it forwards the\nupstream's authoring view verbatim, so ``draft`` / ``dismissed`` / ``applied``\nrows reach the client, which filters to the states it wants to show.","operationId":"list_all_insights_tokenwise_insights_all_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/InsightOut"},"type":"array","title":"Response List All Insights Tokenwise Insights All Get"}}}}}}},"/tokenwise/insights/{insight_id}/apply":{"post":{"summary":"Apply Insight","description":"Apply an insight's config suggestion to its agent (``published`` -> ``applied``).","operationId":"apply_insight_tokenwise_insights__insight_id__apply_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/insights/{insight_id}/dismiss":{"post":{"summary":"Dismiss Insight","description":"Dismiss an insight (``published`` -> ``dismissed``).","operationId":"dismiss_insight_tokenwise_insights__insight_id__dismiss_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/insights/{insight_id}/acknowledge":{"post":{"summary":"Acknowledge Insight","description":"Mark an advisory insight as acted on (``published`` -> ``acknowledged``).\n\nThe positive terminal action for a ``kind=\"advisory\"`` insight, which carries\nno config suggestion to apply. The gateway 409s a ``config_change`` insight\nhere — those go through ``apply``.","operationId":"acknowledge_insight_tokenwise_insights__insight_id__acknowledge_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/insights/{insight_id}/feedback":{"post":{"summary":"Submit Insight Feedback","description":"Record the user's verdict (+ optional comment) on an insight.\n\nOrthogonal to the lifecycle — allowed in every customer-visible state, and\nlast write wins. The gateway owns the closed verdict set.","operationId":"submit_insight_feedback_tokenwise_insights__insight_id__feedback_post","parameters":[{"required":true,"schema":{"type":"string","title":"Insight Id"},"name":"insight_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightFeedbackIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/analytics/v1/summary":{"get":{"summary":"Analytics Summary","operationId":"analytics_summary_tokenwise_analytics_v1_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/errors":{"get":{"summary":"Analytics Errors","operationId":"analytics_errors_tokenwise_analytics_v1_errors_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/errors/breakdown":{"get":{"summary":"Analytics Errors Breakdown","operationId":"analytics_errors_breakdown_tokenwise_analytics_v1_errors_breakdown_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/sessions":{"get":{"summary":"Analytics Sessions","operationId":"analytics_sessions_tokenwise_analytics_v1_sessions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/sessions/{session_id}":{"get":{"summary":"Analytics Session Detail","operationId":"analytics_session_detail_tokenwise_analytics_v1_sessions__session_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Session Id"},"name":"session_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tokenwise/analytics/v1/transformers":{"get":{"summary":"Analytics Transformers","operationId":"analytics_transformers_tokenwise_analytics_v1_transformers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/context/tools":{"get":{"summary":"Analytics Context Tools","operationId":"analytics_context_tools_tokenwise_analytics_v1_context_tools_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/context/bash":{"get":{"summary":"Analytics Context Bash","operationId":"analytics_context_bash_tokenwise_analytics_v1_context_bash_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/context/prefix":{"get":{"summary":"Analytics Context Prefix","operationId":"analytics_context_prefix_tokenwise_analytics_v1_context_prefix_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/context/blocks":{"get":{"summary":"Analytics Context Blocks","operationId":"analytics_context_blocks_tokenwise_analytics_v1_context_blocks_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/trends":{"get":{"summary":"Analytics Trends","operationId":"analytics_trends_tokenwise_analytics_v1_trends_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/agents":{"get":{"summary":"Analytics Agents","operationId":"analytics_agents_tokenwise_analytics_v1_agents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/models":{"get":{"summary":"Analytics Models","operationId":"analytics_models_tokenwise_analytics_v1_models_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tokenwise/analytics/v1/filters":{"get":{"summary":"Analytics Filters","operationId":"analytics_filters_tokenwise_analytics_v1_filters_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/harness/api/auth/cli-config":{"get":{"summary":"Proxy Cli Config","operationId":"proxy_cli_config_harness_api_auth_cli_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/harness/api/{path}":{"get":{"summary":"Proxy Harness Api","operationId":"proxy_harness_api_harness_api__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Proxy Harness Api","operationId":"proxy_harness_api_harness_api__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Proxy Harness Api","operationId":"proxy_harness_api_harness_api__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Proxy Harness Api","operationId":"proxy_harness_api_harness_api__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Proxy Harness Api","operationId":"proxy_harness_api_harness_api__path__post","parameters":[{"required":true,"schema":{"type":"string","title":"Path"},"name":"path","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/generation/requirements":{"post":{"summary":"Generate Requirements","operationId":"v1_studio_api_generation_requirements","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequirementsGenerationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequirementsGenerationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants":{"get":{"summary":"Get Assistants","operationId":"v1_list_assistants","parameters":[{"required":false,"schema":{"items":{"type":"string"},"type":"array","title":"Workspace Ids"},"name":"workspace_ids","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListAssistantsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Assistant","operationId":"v1_create_assistant","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAssistantRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Assistant"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/generate":{"post":{"summary":"Generate Assistant","operationId":"v1_generate_assistant","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateAssistantRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateAssistantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/{assistant_id}":{"get":{"summary":"Get Assistant","operationId":"v1_get_assistant","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Assistant"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Assistant","operationId":"v1_delete_assistant","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAssistantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Modify Assistant","operationId":"v1_modify_assistant","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModifyAssistantRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Assistant"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/{assistant_id}/run":{"post":{"summary":"Run Assistant","operationId":"v1_run_assistant","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunAssistantRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaestroRunResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/{assistant_id}/plans":{"get":{"summary":"List Plans","operationId":"v1_list_plans","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListPlansResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Plan","operationId":"v1_create_plan","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePlanPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/{assistant_id}/plans/{plan_id}":{"get":{"summary":"Get Plan","operationId":"v1_get_plan","parameters":[{"required":true,"schema":{"type":"string","title":"Plan Id"},"name":"plan_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Modify Plan","operationId":"v1_modify_plan","parameters":[{"required":true,"schema":{"type":"string","title":"Plan Id"},"name":"plan_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePlanPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/{assistant_id}/routes":{"get":{"summary":"Get Routes","operationId":"v1_list_routes","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"},{"required":false,"schema":{"type":"string","title":"Name"},"name":"name","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListRoutesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Route","operationId":"v1_create_route","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRoutePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantRoute"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/{assistant_id}/routes/{route_id}":{"get":{"summary":"Get Route","operationId":"v1_get_route","parameters":[{"required":true,"schema":{"type":"string","title":"Route Id"},"name":"route_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantRoute"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Route","operationId":"v1_delete_route","parameters":[{"required":true,"schema":{"type":"string","title":"Route Id"},"name":"route_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Modify Route","operationId":"v1_modify_route","parameters":[{"required":true,"schema":{"type":"string","title":"Route Id"},"name":"route_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateRoutePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantRoute"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/assistants/{assistant_id}/validate_plan":{"post":{"summary":"Validate Plan","operationId":"v1_validate_plan","parameters":[{"required":true,"schema":{"type":"string","title":"Assistant Id"},"name":"assistant_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePlanPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/mcp/storage":{"get":{"summary":"List Mcp Storage","operationId":"list_mcp_storage_studio_v1_mcp_storage_get","parameters":[{"required":false,"schema":{"type":"string","format":"uuid","title":"Workspace Id"},"name":"workspace_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListMCPsStorageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Mcp Storage","operationId":"create_mcp_storage_studio_v1_mcp_storage_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMCPStorageRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MCPStorageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/mcp/storage/{mcp_id}":{"get":{"summary":"Get Mcp Storage","operationId":"get_mcp_storage_studio_v1_mcp_storage__mcp_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Mcp Id"},"name":"mcp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MCPStorageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Mcp Storage","operationId":"delete_mcp_storage_studio_v1_mcp_storage__mcp_id__delete","parameters":[{"required":true,"schema":{"type":"string","title":"Mcp Id"},"name":"mcp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteMCPStorageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Update Mcp Storage","operationId":"update_mcp_storage_studio_v1_mcp_storage__mcp_id__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Mcp Id"},"name":"mcp_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateMCPStorageRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MCPStorageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/mcp/storage/{mcp_id}/assistants":{"get":{"summary":"Get Assistants By Mcp","operationId":"get_assistants_by_mcp_studio_v1_mcp_storage__mcp_id__assistants_get","parameters":[{"required":true,"schema":{"type":"string","title":"Mcp Id"},"name":"mcp_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantsByMcpResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/settings/models":{"get":{"summary":"Get Workspace Models By Organization Endpoint","operationId":"get_workspace_models_by_organization_endpoint_studio_v1_settings_models_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceModelsResponse"}}}}}}},"/studio/v1/settings/models/available":{"get":{"summary":"Get Available Models Endpoint","operationId":"get_available_models_endpoint_studio_v1_settings_models_available_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/studio/v1/settings/models/{name}/secrets":{"get":{"summary":"Get Workspace Model Secret Endpoint","operationId":"get_workspace_model_secret_endpoint_studio_v1_settings_models__name__secrets_get","parameters":[{"required":true,"schema":{"type":"string","title":"Name"},"name":"name","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecretResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/studio/v1/settings/models/{name}":{"patch":{"summary":"Update Workspace Model Endpoint","operationId":"update_workspace_model_endpoint_studio_v1_settings_models__name__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Name"},"name":"name","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceModelUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceModelResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/solutions/tlv_municipality/convrag":{"post":{"summary":"Tlv Convrag","operationId":"v1_solutions_tlv_municipality_convrag","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/solutions-preview/tlv_municipality/convrag":{"post":{"summary":"Tlv Convrag Prefix Preview","operationId":"v1_solutions_tlv_municipality_preview_convrag","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"AgentCreate":{"properties":{"agent_id":{"type":"string","maxLength":128,"minLength":1,"title":"Agent Id"},"kind":{"type":"string","title":"Kind","default":"other"},"name":{"type":"string","title":"Name","default":""},"description":{"type":"string","title":"Description"},"config_id":{"type":"string","title":"Config Id"},"enabled":{"type":"boolean","title":"Enabled","default":true}},"type":"object","required":["agent_id"],"title":"AgentCreate","description":"Body for ``POST /tokenwise/settings/agents``."},"AgentOptimization":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"keys":{"items":{"type":"string"},"type":"array","title":"Keys"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"category":{"type":"string","title":"Category"},"availability":{"type":"string","title":"Availability"},"safety":{"type":"string","title":"Safety"}},"type":"object","required":["id","keys","name","description","category","availability","safety"],"title":"AgentOptimization","description":"Response shape for one card in ``GET /tokenwise/settings/agents/{agent_id}/optimizations``.\n\nString-ish fields stay plain ``str`` (not ``Literal``) so a new gateway enum\nvalue (a new ``availability`` / ``safety`` / ``category``) doesn't force an\napi-server release. The gateway filters ``hidden`` cards, so we never see them."},"AgentOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"agent_id":{"type":"string","title":"Agent Id"},"name":{"type":"string","title":"Name"},"kind":{"type":"string","title":"Kind"},"description":{"type":"string","title":"Description"},"config_id":{"type":"string","title":"Config Id"},"enabled":{"type":"boolean","title":"Enabled"},"used":{"type":"boolean","title":"Used"},"created_by_user_id":{"type":"string","title":"Created By User Id"},"can_edit":{"type":"boolean","title":"Can Edit","default":true},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","workspace_id","agent_id","name","kind","enabled","used","created_at","updated_at"],"title":"AgentOut","description":"Response shape for agent GET / POST / PUT."},"AgentUpdate":{"properties":{"name":{"type":"string","title":"Name"},"kind":{"type":"string","title":"Kind"},"description":{"type":"string","title":"Description"},"config_id":{"type":"string","title":"Config Id"},"enabled":{"type":"boolean","title":"Enabled"}},"type":"object","title":"AgentUpdate","description":"Body for ``PUT /tokenwise/settings/agents/{agent_id}`` — partial update."},"Assistant":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"object":{"type":"string","title":"Object"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"optimization":{"type":"string","title":"Optimization"},"organization_id":{"type":"string","title":"Organization Id"},"workspace_id":{"type":"string","title":"Workspace Id"},"user_id":{"type":"string","title":"User Id"},"avatar":{"type":"string","title":"Avatar"},"is_archived":{"type":"boolean","title":"Is Archived","default":false},"models":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"items":{"type":"string"},"type":"array"}],"title":"Models"},"tools":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__execution_engine__ToolDefinition"},"type":"array","title":"Tools"},"requirements":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__assistant__Requirement"},"type":"array","title":"Requirements"},"budget":{"allOf":[{"$ref":"#/components/schemas/BudgetLevel"}],"default":"medium"},"visibility":{"allOf":[{"$ref":"#/components/schemas/Visibility"}],"default":"public"},"assistant_type":{"allOf":[{"$ref":"#/components/schemas/AssistantType"}],"default":"default"},"response_language":{"type":"string","enum":["arabic","dutch","english","french","german","hebrew","italian","portuguese","spanish","unset"],"title":"Response Language","default":"unset"},"vibe_prompt":{"type":"string","title":"Vibe Prompt"},"starter_questions":{"items":{"$ref":"#/components/schemas/StarterQuestion"},"type":"array","title":"Starter Questions"},"system_prompt":{"type":"string","title":"System Prompt"},"workflow_config":{"$ref":"#/components/schemas/WorkflowConfig"},"config_overrides":{"type":"object","title":"Config Overrides"}},"type":"object","required":["id","created_at","updated_at","object","name","organization_id","user_id"],"title":"Assistant"},"AssistantBasicInfo":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"AssistantBasicInfo"},"AssistantMessage":{"properties":{"role":{"type":"string","enum":["assistant"],"title":"Role","default":"assistant","description":"The role of an individual message.\n- `user`: Input provided by the user. Any instructions given here that conflict\n with instructions given in the `system` prompt take precedence over the `system`\n prompt instructions.\n- `assistant`: Response generated by the model.\n- `system`: Initial instructions provided to the system to provide general guidance\n on the tone and voice of the generated message. An initial system message is\n optional but recommended to provide guidance on the tone of the chat. For\n example, \"You are a helpful chatbot with a background in earth sciences and a\n charming French accent.\"\n"},"content":{"type":"string","title":"Content"},"tool_calls":{"items":{"$ref":"#/components/schemas/ToolCall"},"type":"array","title":"Tool Calls"},"reasoning_content":{"type":"string","title":"Reasoning Content"}},"type":"object","title":"AssistantMessage"},"AssistantRoute":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"plan_id":{"type":"string","title":"Plan Id"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"examples":{"items":{"type":"string"},"type":"array","title":"Examples"},"assistant_id":{"type":"string","title":"Assistant Id"}},"type":"object","required":["id","created_at","updated_at","plan_id","name","description","examples","assistant_id"],"title":"AssistantRoute"},"AssistantType":{"enum":["default","chat","maestro"],"title":"AssistantType","description":"An enumeration."},"AssistantsByMcpResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/AssistantBasicInfo"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"AssistantsByMcpResponse"},"AuthenticationType":{"type":"string","enum":["none","token-api","custom-header"],"title":"AuthenticationType","description":"An enumeration."},"Body_convert_document_file_studio_v1_chat_files_convert_post":{"properties":{"files":{"items":{"type":"string","format":"binary"},"type":"array","title":"Files"}},"type":"object","required":["files"],"title":"Body_convert_document_file_studio_v1_chat_files_convert_post"},"Body_parse_pdf_studio_v1_demos_document_modifier_parse_pdf_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_parse_pdf_studio_v1_demos_document_modifier_parse_pdf_post"},"Body_process_rfi_document_studio_v1_demos_rfi_process_rfi_post":{"properties":{"file":{"type":"string","format":"binary","title":"File","description":"RFI document file (PDF supported)"},"budget":{"type":"string","title":"Budget","description":"Budget level: LOW, MEDIUM, or HIGH","default":"MEDIUM"},"vector_store_id":{"type":"string","title":"Vector Store Id","description":"Vector store ID to use for RFI processing"}},"type":"object","required":["file"],"title":"Body_process_rfi_document_studio_v1_demos_rfi_process_rfi_post"},"Body_upload_check_compliance_studio_v1_demos_regulations_upload_check_compliance_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"budget":{"type":"string","title":"Budget","default":"MEDIUM"},"vector_store_id":{"type":"string","title":"Vector Store Id","description":"Vector store ID to use for RFI processing"}},"type":"object","required":["file"],"title":"Body_upload_check_compliance_studio_v1_demos_regulations_upload_check_compliance_post"},"Body_v1_library_upload":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"path":{"type":"string","title":"Path"},"labels":{"items":{"type":"string"},"type":"array","title":"Labels"},"publicUrl":{"type":"string","title":"Publicurl"},"custom_configs":{"type":"string","title":"Custom Configs"},"upload_mode":{"allOf":[{"$ref":"#/components/schemas/UploadMode"}],"default":"immediate"},"batch_id":{"type":"string","format":"uuid","title":"Batch Id"},"data_source":{"type":"string","title":"Data Source"},"metadata":{"type":"string","title":"Metadata"}},"type":"object","required":["file"],"title":"Body_v1_library_upload"},"BudgetLevel":{"enum":["low","medium","high"],"title":"BudgetLevel","description":"An enumeration."},"ChatCompletion":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"choices":{"items":{"$ref":"#/components/schemas/ChatCompletionResponseChoice"},"type":"array","title":"Choices","description":"One or more responses, depending on the `n` parameter from the request.\n"},"usage":{"$ref":"#/components/schemas/UsageInfo","description":"The token counts for this request. Per-token billing is based on the\nprompt token and completion token counts and rates.\n"},"meta":{"type":"object","title":"Meta"}},"type":"object","required":["id","choices","usage"],"title":"ChatCompletion","description":"Used for non-streaming responses. Streaming responses return `ChatCompletionVllmStreamingMessage`."},"ChatCompletionResponseChoice":{"properties":{"index":{"type":"integer","title":"Index","description":"Zero-based index of the message in the list of messages. Note that this might not\ncorrespond with the position in the response list.\n"},"message":{"$ref":"#/components/schemas/AssistantMessage","description":"The message generated by the model. Same structure as the request message, with `role` and `content` members.\n"},"logprobs":{"$ref":"#/components/schemas/Logprobs"},"finish_reason":{"type":"string","title":"Finish Reason","description":"Why the message ended. Possible reasons:\n - `stop`: The response ended naturally as a complete answer (due to\n [end-of-sequence token](https://huggingface.co/docs/transformers/v4.32.1/en/llm_tutorial#generate-text))\n or because the model generated a stop sequence provided in the request.\n - `length`: The response ended by reaching `max_tokens`.\n"}},"type":"object","required":["index","message"],"title":"ChatCompletionResponseChoice","description":"A single possible response generated by the system. For non-streaming replies, There\ncan be multiple responses, depending on what `n` value you specified in the request.\n"},"ChatCompletionResponseDeltaChoice":{"properties":{"index":{"type":"integer","title":"Index","description":"Always zero in streamed responses."},"delta":{"anyOf":[{"$ref":"#/components/schemas/ChatStreamingFirstDelta"},{"$ref":"#/components/schemas/ChatStreamingContentDelta"},{"$ref":"#/components/schemas/ChatStreamingToolCallsFirstDelta"},{"$ref":"#/components/schemas/ChatStreamingToolCallsDelta"}],"title":"Delta","description":"- **The first message** in the stream will be an object set to `{\"role\":\"assistant\"}`.\n- **Subsequent messages** will have an object `{\"content\": __token__}` with the generated token.\n"},"logprobs":{"$ref":"#/components/schemas/Logprobs"},"finish_reason":{"type":"string","title":"Finish Reason","description":"One of the following string values:\n - `null`: All messages but the last will return null for `finish_reason`.\n - `stop`: The response ended naturally as a complete answer (due to\n [end-of-sequence token](https://huggingface.co/docs/transformers/v4.32.1/en/llm_tutorial#generate-text))\n or because the model generated a stop sequence provided in the request.\n - `length`: The response ended by reaching `max_tokens`.\n"}},"type":"object","required":["index","delta"],"title":"ChatCompletionResponseDeltaChoice"},"ChatCompletionVllmStreamingMessage":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"choices":{"items":{"$ref":"#/components/schemas/ChatCompletionResponseDeltaChoice"},"type":"array","title":"Choices","description":"The message"},"usage":{"$ref":"#/components/schemas/UsageInfo","description":"Included in the last message only. Total token counts for the message."},"meta":{"type":"object","title":"Meta"}},"type":"object","required":["id","choices"],"title":"ChatCompletionVllmStreamingMessage","description":"Returned for streaming messages. Non-streaming responses return `ChatCompletion`."},"ChatRequest":{"properties":{"model":{"$ref":"#/components/schemas/ModelName","description":"The name of the model to use. Choose one of the following values:\n* `jamba-instruct-preview`\n"},"messages":{"items":{"oneOf":[{"$ref":"#/components/schemas/UserMessage"},{"$ref":"#/components/schemas/AssistantMessage"},{"$ref":"#/components/schemas/ToolMessage"},{"$ref":"#/components/schemas/SystemMessage"}],"discriminator":{"propertyName":"role","mapping":{"user":"#/components/schemas/UserMessage","assistant":"#/components/schemas/AssistantMessage","tool":"#/components/schemas/ToolMessage","system":"#/components/schemas/SystemMessage"}}},"type":"array","title":"Messages","description":"The previous messages in this chat, from oldest (index 0) to newest. Messages\nmust be alternating `user`/`assistant` messages, optionally starting with a `system`\nmessage. For single turn interactions, this should be an optional `system` message,\nand a single `user` message. Maximum total size for the list is about 256K tokens.\n"},"tools":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__chat__ToolDefinition"},"type":"array","title":"Tools"},"n":{"type":"integer","title":"N","default":1,"description":"How many chat responses to generate. _Range: 1 – 16_ **Notes:**\n- If `n > 1`, setting `temperature=0` will fail because all answers are guaranteed to be duplicates.\n- `n` must be 1 when `stream = True`\n"},"max_tokens":{"type":"integer","title":"Max Tokens","default":4096,"description":"The maximum number of tokens to allow for each generated response message. Typically\nthe best way to limit output length is by providing a length limit in the system\nprompt (for example, \"limit your answers to three sentences\"). _Range: 0 – 4096_\n"},"temperature":{"type":"number","title":"Temperature","description":"How much variation to provide in each answer. Setting this value to 0 guarantees the\nsame response to the same question every time. Setting a higher value encourages more\nvariation. Modifies the distribution from which tokens are sampled.\n[More information](https://docs.ai21.com/docs/sampling-from-language-models#temperature)\n_Range: 0.0 – 2.0_\n"},"top_p":{"type":"number","maximum":1.0,"exclusiveMinimum":0.0,"title":"Top P","default":1,"description":"Limit the pool of next tokens in each step to the top N percentile of possible\ntokens, where 1.0 means the pool of all possible tokens, and 0.01 means the\npool of only the most likely next tokens. [More information]\n(https://docs.ai21.com/docs/sampling-from-language-models#topp) _Range: 0 \\<= value \\<=1.0_\n"},"stop":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}],"title":"Stop","description":"End the message when the model generates one of these strings. The stop sequence\nis not included in the generated message. Each sequence can be up to 64K long, and\ncan contain newlines as `\\n` characters. Examples:\n- Single stop string with a word and a period: \"monkeys.\"\n- Multiple stop strings and a newline: [\"cat\", \"dog\", \" .\", \"####\", \"\\n\"]\n"},"stream":{"type":"boolean","title":"Stream","default":false,"description":"Whether or not to stream the result one token at a time using\n[server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events).\nThis can be useful when waiting for long results where a long wait time for an\nanswer can be problematic, such as a chatbot. If set to `True`, then `n` must\nbe 1. A streaming response is different than the non-streaming response.\n"},"mock_response":{"$ref":"#/components/schemas/MockResponseConfig"},"documents":{"items":{"$ref":"#/components/schemas/DocumentSchema"},"type":"array","title":"Documents","default":[]},"response_format":{"allOf":[{"$ref":"#/components/schemas/ResponseFormat"}],"title":"Response Format","default":{"type":"text"}}},"type":"object","required":["model","messages"],"title":"ChatRequest"},"ChatStreamingContentDelta":{"properties":{"content":{"type":"string","title":"Content"}},"type":"object","required":["content"],"title":"ChatStreamingContentDelta"},"ChatStreamingFirstDelta":{"properties":{"role":{"type":"string","enum":["system","user","assistant","tool"],"title":"Role","description":"The role of an individual message.\n- `user`: Input provided by the user. Any instructions given here that conflict\n with instructions given in the `system` prompt take precedence over the `system`\n prompt instructions.\n- `assistant`: Response generated by the model.\n- `system`: Initial instructions provided to the system to provide general guidance\n on the tone and voice of the generated message. An initial system message is\n optional but recommended to provide guidance on the tone of the chat. For\n example, \"You are a helpful chatbot with a background in earth sciences and a\n charming French accent.\"\n"}},"type":"object","required":["role"],"title":"ChatStreamingFirstDelta"},"ChatStreamingToolCallsDelta":{"properties":{"tool_calls":{"items":{"$ref":"#/components/schemas/ToolCallDelta"},"type":"array","title":"Tool Calls"}},"type":"object","required":["tool_calls"],"title":"ChatStreamingToolCallsDelta"},"ChatStreamingToolCallsFirstDelta":{"properties":{"tool_calls":{"items":{"$ref":"#/components/schemas/ToolCallDeltaStart"},"type":"array","title":"Tool Calls"}},"type":"object","required":["tool_calls"],"title":"ChatStreamingToolCallsFirstDelta"},"CompareTextRequest":{"properties":{"original_text":{"type":"string","title":"Original Text"},"modified_text":{"type":"string","title":"Modified Text"}},"type":"object","required":["original_text","modified_text"],"title":"CompareTextRequest"},"ComparisonOperator":{"type":"object","title":"ComparisonOperator"},"ConfigProfileCreate":{"properties":{"config_id":{"type":"string","maxLength":128,"minLength":1,"title":"Config Id"},"name":{"type":"string","title":"Name","default":""},"description":{"type":"string","title":"Description"},"overrides":{"type":"object","title":"Overrides"},"enabled":{"type":"boolean","title":"Enabled","default":true}},"type":"object","required":["config_id"],"title":"ConfigProfileCreate","description":"Body for ``POST /tokenwise/settings/configs``."},"ConfigProfileOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"config_id":{"type":"string","title":"Config Id"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"overrides":{"type":"object","title":"Overrides"},"enabled":{"type":"boolean","title":"Enabled"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","workspace_id","config_id","name","overrides","enabled","created_at","updated_at"],"title":"ConfigProfileOut","description":"Response shape for config GET / POST / PUT."},"ConfigProfileUpdate":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"overrides":{"type":"object","title":"Overrides"},"enabled":{"type":"boolean","title":"Enabled"}},"type":"object","title":"ConfigProfileUpdate","description":"Body for ``PUT /tokenwise/settings/configs/{config_id}`` — partial update.\n\nAn explicit ``overrides: null`` is \"leave unchanged\"; ``{}`` clears them.\nThe gateway enforces the same semantics; we forward the JSON verbatim."},"ConfigSchemaOut":{"properties":{"groups":{"items":{"type":"object"},"type":"array","title":"Groups"}},"type":"object","required":["groups"],"title":"ConfigSchemaOut","description":"Response shape for ``GET /tokenwise/settings/configs/schema``.\n\nLoosely typed — the gateway derives this from its ``ProxySettings`` and the\nshape evolves with new transformer groups. Kept as a flexible envelope so\napi-server does not need a release every time the gateway adds a knob."},"CreateAssistantRequest":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"optimization":{"type":"string","title":"Optimization"},"avatar":{"type":"string","title":"Avatar"},"models":{"items":{"type":"string"},"type":"array","title":"Models"},"tools":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__execution_engine__ToolDefinition"},"type":"array","title":"Tools"},"requirements":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__assistant__Requirement"},"type":"array","title":"Requirements"},"budget":{"allOf":[{"$ref":"#/components/schemas/BudgetLevel"}],"default":"medium"},"assistant_type":{"allOf":[{"$ref":"#/components/schemas/AssistantType"}],"default":"default"},"starter_questions":{"items":{"$ref":"#/components/schemas/StarterQuestion"},"type":"array","title":"Starter Questions"},"system_prompt":{"type":"string","title":"System Prompt"},"workflow_config":{"$ref":"#/components/schemas/WorkflowConfig"},"config_overrides":{"type":"object","title":"Config Overrides"}},"type":"object","required":["name"],"title":"CreateAssistantRequest"},"CreateMCPStorageRequest":{"properties":{"server_url":{"type":"string","title":"Server Url"},"server_label":{"type":"string","title":"Server Label"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"authentication_type":{"$ref":"#/components/schemas/AuthenticationType"},"auth_header_name":{"type":"string","title":"Auth Header Name"},"auth_value":{"type":"string","title":"Auth Value"},"allowed_tools":{"items":{"type":"string"},"type":"array","title":"Allowed Tools"}},"type":"object","required":["server_url","server_label"],"title":"CreateMCPStorageRequest"},"CreateMaestroRunsPayload":{"properties":{"input":{"anyOf":[{"items":{"$ref":"#/components/schemas/Message"},"type":"array"},{"type":"string"}],"title":"Input"},"output_type":{"type":"object","title":"Output Type"},"models":{"items":{"type":"string"},"type":"array","title":"Models"},"tools":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__execution_engine__ToolDefinition"},"type":"array","title":"Tools"},"context":{"type":"object","title":"Context"},"requirements":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__execution_engine__Requirement"},"type":"array","title":"Requirements"},"budget":{"type":"string","enum":["low","medium","high"],"title":"Budget"},"verbose":{"type":"boolean","title":"Verbose","default":false},"include":{"items":{"type":"string"},"type":"array","title":"Include"},"structured_rag_enabled":{"type":"boolean","title":"Structured Rag Enabled","default":false},"dynamic_planning_enabled":{"type":"boolean","title":"Dynamic Planning Enabled","default":false},"assistant_id":{"type":"string","title":"Assistant Id"},"variant":{"type":"string","enum":["main","ingestion"],"title":"Variant","default":"main"},"custom_retrieval_configs":{"items":{"type":"object"},"type":"array","title":"Custom Retrieval Configs"},"response_language":{"type":"string","enum":["arabic","dutch","english","french","german","hebrew","italian","portuguese","spanish","unset"],"title":"Response Language","default":"unset"},"system_prompt":{"type":"string","title":"System Prompt"},"stream":{"type":"boolean","title":"Stream","default":false,"description":"Whether or not to stream the result one token at a time using\n[server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events).\nThis can be useful when waiting for long results where a long wait time for an\nanswer can be problematic, such as a chatbot. If set to `True`, then `n` must\nbe 1. A streaming response is different than the non-streaming response.\n"}},"type":"object","required":["input"],"title":"CreateMaestroRunsPayload"},"CreateOrganizationSchemaRequest":{"properties":{"schema_name":{"type":"string","title":"Schema Name"},"schema_object":{"type":"object","title":"Schema Object"},"run_classification":{"type":"boolean","title":"Run Classification","default":false}},"type":"object","required":["schema_name","schema_object"],"title":"CreateOrganizationSchemaRequest"},"CreatePlanPayload":{"properties":{"code":{"type":"string","title":"Code"},"schemas":{"items":{"type":"object"},"type":"array","title":"Schemas"}},"type":"object","required":["code"],"title":"CreatePlanPayload"},"CreateRoutePayload":{"properties":{"plan_id":{"type":"string","title":"Plan Id"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"examples":{"items":{"type":"string"},"type":"array","title":"Examples"}},"type":"object","required":["plan_id","name","description","examples"],"title":"CreateRoutePayload"},"CreateSecretPayload":{"properties":{"secret_name":{"type":"string","title":"Secret Name"},"secret_value":{"type":"string","title":"Secret Value"}},"type":"object","required":["secret_name","secret_value"],"title":"CreateSecretPayload"},"DeleteAssistantResponse":{"properties":{"object":{"type":"string","title":"Object","default":"assistant"},"deleted":{"type":"boolean","title":"Deleted","default":true},"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"}},"type":"object","required":["id"],"title":"DeleteAssistantResponse"},"DeleteMCPStorageResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"}},"type":"object","required":["id"],"title":"DeleteMCPStorageResponse"},"Demo":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"name":{"type":"string","title":"Name","description":"Name of the demo"},"visibility":{"allOf":[{"$ref":"#/components/schemas/DemoVisibility"}],"description":"Visibility of the demo (public/private)"},"status":{"allOf":[{"$ref":"#/components/schemas/DemoStatus"}],"description":"Status of the demo (active/inactive)"},"config":{"type":"object","title":"Config","description":"Demo configuration"},"ui_component_name":{"type":"string","title":"Ui Component Name","description":"Name of the UI component"}},"type":"object","required":["id","name","visibility","status","ui_component_name"],"title":"Demo"},"DemoCreate":{"properties":{"name":{"type":"string","title":"Name","description":"Name of the demo"},"visibility":{"allOf":[{"$ref":"#/components/schemas/DemoVisibility"}],"description":"Visibility of the demo (public/private)"},"status":{"allOf":[{"$ref":"#/components/schemas/DemoStatus"}],"description":"Status of the demo (active/inactive)"},"config":{"type":"object","title":"Config","description":"Demo configuration"},"ui_component_name":{"type":"string","title":"Ui Component Name","description":"Name of the UI component"}},"type":"object","required":["name","visibility","status","ui_component_name"],"title":"DemoCreate"},"DemoStatus":{"enum":["active","inactive"],"title":"DemoStatus","description":"An enumeration."},"DemoUpdate":{"properties":{"name":{"type":"string","title":"Name","description":"Name of the demo"},"visibility":{"allOf":[{"$ref":"#/components/schemas/DemoVisibility"}],"description":"Visibility of the demo (public/private)"},"status":{"allOf":[{"$ref":"#/components/schemas/DemoStatus"}],"description":"Status of the demo (active/inactive)"},"config":{"type":"object","title":"Config","description":"Demo configuration"},"ui_component_name":{"type":"string","title":"Ui Component Name","description":"Name of the UI component"}},"type":"object","title":"DemoUpdate"},"DemoVisibility":{"enum":["public","private"],"title":"DemoVisibility","description":"An enumeration."},"DetectSchemaRequest":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/DocumentReference"},"type":"array","title":"Documents"},"queries":{"items":{"type":"string"},"type":"array","title":"Queries"}},"type":"object","required":["documents"],"title":"DetectSchemaRequest"},"DetectSchemaResponse":{"properties":{"schema_name":{"type":"string","title":"Schema Name"},"schema_definition":{"type":"object","title":"Schema Definition"}},"type":"object","required":["schema_name","schema_definition"],"title":"DetectSchemaResponse"},"DocumentReference":{"properties":{"document_id":{"type":"string","format":"uuid","title":"Document Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["document_id","name"],"title":"DocumentReference"},"DocumentSchema":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"content":{"type":"string","title":"Content"},"metadata":{"additionalProperties":{"type":"string"},"type":"object","title":"Metadata","default":{}}},"type":"object","required":["content"],"title":"DocumentSchema"},"DownloadModifiedDocumentRequest":{"properties":{"content":{"type":"string","title":"Content"},"filename":{"type":"string","title":"Filename"}},"type":"object","required":["content","filename"],"title":"DownloadModifiedDocumentRequest"},"FileResponse":{"properties":{"fileId":{"type":"string","format":"uuid","title":"Fileid","description":"The unique identifier of the file, generated by AI21.\n"},"name":{"type":"string","title":"Name","description":"The name of the file. This is the local file name from when the file was\nuploaded. It cannot be modified.\n"},"path":{"type":"string","title":"Path","description":"An arbitrary file-path-like string to indicate the content of a file. This has\nnothing to do with the location of the file in storage or on disk, and is only\nanother label that you can assign to the file in path-like format to help you\norganize the contents of the file or filter queries against your files. Example\npaths might be `pets/fish` or `pets/dogs`. Then, when searching your library,\nyou can filter files by the full path or path prefix. So to search only files\nin the \"dog folder\", filter by the path `/pets/dogs`. To search all files in\nthe \"pet folder\", filter your search by the path `pets/` when searching by path.\nThere isn't a restriction on whether a path must start or end with a / mark, but\nbe consistent in your usage, and all matches are prefix matching, not substring\nmatching. So filtering by `dog/` matches `dog/` and `dog/setter` but not `pets/dog/`.\n"},"fileType":{"type":"string","title":"Filetype","description":"The file type. See the file upload method to learn what file types are supported.\n"},"sizeBytes":{"type":"integer","title":"Sizebytes","description":"The size of the file, in bytes."},"labels":{"items":{"type":"string"},"type":"array","title":"Labels","description":"Any string labels you have associated with the file. You can apply arbitrary\nstring labels to your files and limit queries to files with one or more labels.\nSimilar to paths, but labels do not prefix match. Labels are case-sensitive.\nThere can be a maximum of 20 unique labels per account.\n"},"publicUrl":{"type":"string","title":"Publicurl","description":"The public URL of the file, if any. This URL is not validated by\nAI21 or used in any way. It is strictly a piece of metadata that you can\noptionally attach to a file.\n"},"createdBy":{"type":"string","format":"uuid","title":"Createdby","description":"An internal identifier of the user who uploaded the file.\n"},"creationDate":{"type":"string","format":"date","title":"Creationdate","description":"The date when the file was uploaded."},"lastUpdated":{"type":"string","format":"date","title":"Lastupdated","description":"When the file data or metadata was last changed."},"status":{"type":"string","title":"Status","description":"File status. One of the following values: \"DB_RECORD_CREATED\",\n\"UPLOADED\", \"UPLOAD_FAILED\", \"PROCESSED\", \"PROCESSING_FAILED\"\n"},"dataSource":{"type":"string","title":"Datasource"}},"type":"object","required":["fileId","name","fileType","sizeBytes","createdBy","creationDate","lastUpdated","status"],"title":"FileResponse"},"FileSearchToolResource":{"properties":{"type":{"type":"string","enum":["file_search"],"title":"Type","default":"file_search"},"retrieval_similarity_threshold":{"type":"number","title":"Retrieval Similarity Threshold"},"labels":{"items":{"type":"string"},"type":"array","title":"Labels"},"labels_filter_mode":{"type":"string","enum":["AND","OR"],"title":"Labels Filter Mode","default":"AND"},"labels_filter":{"$ref":"#/components/schemas/QueryFilter"},"file_ids":{"items":{"type":"string"},"type":"array","title":"File Ids"},"retrieval_strategy":{"allOf":[{"$ref":"#/components/schemas/RetrievalStrategy"}],"default":"segments"},"max_neighbors":{"type":"integer","title":"Max Neighbors"},"path":{"type":"string","title":"Path"},"response_language":{"type":"string","enum":["arabic","dutch","english","french","german","hebrew","italian","portuguese","spanish","unset"],"title":"Response Language","default":"unset"},"hybrid_search_alpha":{"type":"number","title":"Hybrid Search Alpha","default":1},"use_two_step_embedders":{"type":"boolean","title":"Use Two Step Embedders","default":false}},"type":"object","title":"FileSearchToolResource"},"FileStatus":{"type":"string","enum":["DB_RECORD_CREATED","UPLOADED","UPLOAD_FAILED","PROCESSED","PROCESSING_FAILED"],"title":"FileStatus","description":"An enumeration."},"FilesUpdateRequest":{"properties":{"publicUrl":{"type":"string","title":"Publicurl","description":"The public URL of the file, if any. This URL is not validated by\nAI21 or used in any way. It is strictly a piece of metadata that you can\noptionally attach to a file.\n"},"labels":{"items":{"type":"string"},"type":"array","title":"Labels","description":"Any labels to associate with this file. Separate multiple labels with commas. If\nprovided, will overwrite all existing labels.\n"}},"type":"object","title":"FilesUpdateRequest"},"FunctionToolDefinition":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"parameters":{"$ref":"#/components/schemas/ToolParameters"}},"type":"object","required":["name"],"title":"FunctionToolDefinition"},"GenerateAssistantRequest":{"properties":{"prompt":{"type":"string","title":"Prompt"},"avatar":{"type":"string","title":"Avatar"}},"type":"object","required":["prompt"],"title":"GenerateAssistantRequest"},"GenerateAssistantResponse":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"object":{"type":"string","title":"Object"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"optimization":{"type":"string","title":"Optimization"},"organization_id":{"type":"string","title":"Organization Id"},"workspace_id":{"type":"string","title":"Workspace Id"},"user_id":{"type":"string","title":"User Id"},"avatar":{"type":"string","title":"Avatar"},"is_archived":{"type":"boolean","title":"Is Archived","default":false},"models":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"items":{"type":"string"},"type":"array"}],"title":"Models"},"tools":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__execution_engine__ToolDefinition"},"type":"array","title":"Tools"},"requirements":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__assistant__Requirement"},"type":"array","title":"Requirements"},"budget":{"allOf":[{"$ref":"#/components/schemas/BudgetLevel"}],"default":"medium"},"visibility":{"allOf":[{"$ref":"#/components/schemas/Visibility"}],"default":"public"},"assistant_type":{"allOf":[{"$ref":"#/components/schemas/AssistantType"}],"default":"default"},"response_language":{"type":"string","enum":["arabic","dutch","english","french","german","hebrew","italian","portuguese","spanish","unset"],"title":"Response Language","default":"unset"},"vibe_prompt":{"type":"string","title":"Vibe Prompt"},"starter_questions":{"items":{"$ref":"#/components/schemas/StarterQuestion"},"type":"array","title":"Starter Questions"},"system_prompt":{"type":"string","title":"System Prompt"},"workflow_config":{"$ref":"#/components/schemas/WorkflowConfig"},"config_overrides":{"type":"object","title":"Config Overrides"},"custom_tool_needed":{"additionalProperties":{"type":"string"},"type":"object","title":"Custom Tool Needed"},"recommended_files":{"items":{"type":"string"},"type":"array","title":"Recommended Files"}},"type":"object","required":["id","created_at","updated_at","object","name","organization_id","user_id"],"title":"GenerateAssistantResponse"},"HTTPToolEndpoint":{"properties":{"url":{"type":"string","title":"Url"},"headers":{"type":"object","title":"Headers"}},"type":"object","required":["url"],"title":"HTTPToolEndpoint"},"HTTPToolFunction":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"parameters":{"$ref":"#/components/schemas/HTTPToolFunctionParameters"}},"type":"object","required":["name","description","parameters"],"title":"HTTPToolFunction"},"HTTPToolFunctionParamProperties":{"properties":{"type":{"type":"string","title":"Type"},"description":{"type":"string","title":"Description"}},"type":"object","required":["type","description"],"title":"HTTPToolFunctionParamProperties"},"HTTPToolFunctionParameters":{"properties":{"type":{"type":"string","enum":["object"],"title":"Type","default":"object"},"properties":{"additionalProperties":{"$ref":"#/components/schemas/HTTPToolFunctionParamProperties"},"type":"object","title":"Properties"},"required":{"items":{"type":"string"},"type":"array","title":"Required"},"additionalProperties":{"type":"boolean","title":"Additionalproperties","default":false}},"type":"object","required":["properties","required"],"title":"HTTPToolFunctionParameters"},"HTTPToolResource":{"properties":{"type":{"type":"string","enum":["http"],"title":"Type","default":"http"},"function":{"$ref":"#/components/schemas/HTTPToolFunction"},"endpoint":{"$ref":"#/components/schemas/HTTPToolEndpoint"}},"type":"object","required":["function","endpoint"],"title":"HTTPToolResource"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"IgnestionBatchStatusCount":{"properties":{"status":{"type":"string","title":"Status"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["status","count"],"title":"IgnestionBatchStatusCount"},"IngestionBatchStatusResponse":{"properties":{"batch_id":{"type":"string","title":"Batch Id","description":"The UUID of the batch"},"total_documents":{"type":"integer","title":"Total Documents","description":"Total number of documents in the batch"},"statuses":{"items":{"$ref":"#/components/schemas/IgnestionBatchStatusCount"},"type":"array","title":"Statuses","description":"List of document counts by status"}},"type":"object","required":["batch_id","total_documents","statuses"],"title":"IngestionBatchStatusResponse"},"InsightFeedbackIn":{"properties":{"verdict":{"type":"string","title":"Verdict"},"comment":{"type":"string","maxLength":1000,"title":"Comment"}},"type":"object","required":["verdict"],"title":"InsightFeedbackIn","description":"Body for ``POST /tokenwise/insights/{insight_id}/feedback``.\n\n``verdict`` stays a plain ``str`` for the same reason as\n:attr:`InsightOut.state` — the gateway owns the closed set (``helpful`` /\n``not_helpful``) and answers 422 on anything else, so widening it there\ndoesn't force an api-server release.\n\n``comment`` is bounded at 1000 chars to mirror the gateway's own limit (and\nits ``varchar(1000)`` column) so an over-long body fails here instead of\nmaking the round trip just to come back 422. The gateway stays the\nauthoritative enforcement point; keep this number in sync with it."},"InsightOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"agent_id":{"type":"string","title":"Agent Id"},"state":{"type":"string","title":"State"},"source":{"type":"string","title":"Source"},"kind":{"type":"string","title":"Kind"},"author":{"type":"string","title":"Author"},"title":{"type":"string","title":"Title"},"narrative":{"type":"string","title":"Narrative"},"projected_savings":{"type":"string","title":"Projected Savings"},"optimization_id":{"type":"string","title":"Optimization Id"},"config_suggestion":{"type":"object","title":"Config Suggestion"},"feedback_verdict":{"type":"string","title":"Feedback Verdict"},"feedback_comment":{"type":"string","title":"Feedback Comment"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","workspace_id","agent_id","state","source","kind","title","narrative","created_at","updated_at"],"title":"InsightOut","description":"Response shape for one insight — ``GET /tokenwise/insights`` and the\n``apply`` / ``dismiss`` / ``acknowledge`` transitions.\n\n``state``, ``source`` and ``kind`` stay plain ``str`` (not enums) so a new\ngateway lifecycle state, source or insight kind doesn't force an api-server\nrelease — the same stance as :class:`AgentOptimization`. The gateway is the\nsource of truth (``ai21_intelligent_gateway_api.insights.schemas.InsightResponse``).\n\nFeedback is two columns, not three: ``verdict`` is required on submission, so\na non-null ``feedback_verdict`` is itself the \"has feedback\" signal, and\n``updated_at`` covers when it arrived."},"JambaExecuteRequest":{"properties":{"content":{"type":"string","title":"Content"},"task":{"type":"string","title":"Task"},"prompt":{"type":"string","title":"Prompt"},"api_key":{"type":"string","title":"Api Key"}},"type":"object","required":["content","task","prompt"],"title":"JambaExecuteRequest"},"ListAssistantsResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/Assistant"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"ListAssistantsResponse"},"ListMCPsStorageResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/MCPStorageResponse"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"ListMCPsStorageResponse"},"ListPlansResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/Plan"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"ListPlansResponse"},"ListRoutesResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/AssistantRoute"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"ListRoutesResponse"},"LogicalOperator":{"additionalProperties":{"items":{"type":"object"},"type":"array"},"type":"object","title":"LogicalOperator"},"Logprobs":{"properties":{"content":{"items":{"$ref":"#/components/schemas/LogprobsData"},"type":"array","title":"Content"}},"type":"object","required":["content"],"title":"Logprobs"},"LogprobsData":{"properties":{"token":{"type":"string","title":"Token"},"logprob":{"type":"number","title":"Logprob"},"top_logprobs":{"items":{"$ref":"#/components/schemas/TopLogprobsData"},"type":"array","title":"Top Logprobs"}},"type":"object","required":["token","logprob"],"title":"LogprobsData"},"MCPStorageResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"server_url":{"type":"string","title":"Server Url"},"server_label":{"type":"string","title":"Server Label"},"organization_id":{"type":"string","format":"uuid","title":"Organization Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"authentication_type":{"$ref":"#/components/schemas/AuthenticationType"},"auth_header_name":{"type":"string","title":"Auth Header Name"},"auth_secret_key":{"type":"string","title":"Auth Secret Key"},"allowed_tools":{"items":{"type":"string"},"type":"array","title":"Allowed Tools"}},"type":"object","required":["id","server_url","server_label","organization_id","user_id"],"title":"MCPStorageResponse"},"MCPToolResource":{"properties":{"type":{"type":"string","enum":["mcp"],"title":"Type","default":"mcp"},"server_label":{"type":"string","title":"Server Label"},"server_url":{"type":"string","title":"Server Url"},"headers":{"type":"object","title":"Headers"},"allowed_tools":{"items":{"type":"string"},"type":"array","title":"Allowed Tools"},"mcp_id":{"type":"string","title":"Mcp Id"}},"type":"object","title":"MCPToolResource"},"MaestroRunError":{"properties":{"message":{"type":"string","title":"Message"}},"type":"object","required":["message"],"title":"MaestroRunError"},"MaestroRunResult":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"status":{"type":"string","enum":["completed","failed","in_progress","requires_action"],"title":"Status"},"result":{"title":"Result"},"data_sources":{"type":"object","title":"Data Sources"},"requirements_result":{"type":"object","title":"Requirements Result"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"error":{"$ref":"#/components/schemas/MaestroRunError"}},"type":"object","required":["id","status"],"title":"MaestroRunResult"},"MarkdownRequest":{"properties":{"text":{"type":"string","title":"Text","description":"All section answers concatenated"}},"type":"object","required":["text"],"title":"MarkdownRequest"},"Message":{"properties":{"role":{"type":"string","enum":["assistant","user"],"title":"Role","description":"The role of an individual message.\n- `user`: Input provided by the user. Any instructions given here that conflict\n with instructions given in the `system` prompt take precedence over the `system`\n prompt instructions.\n- `assistant`: Response generated by the model.\n- `system`: Initial instructions provided to the system to provide general guidance\n on the tone and voice of the generated message. An initial system message is\n optional but recommended to provide guidance on the tone of the chat. For\n example, \"You are a helpful chatbot with a background in earth sciences and a\n charming French accent.\"\n"},"content":{"type":"string","title":"Content"}},"type":"object","required":["role","content"],"title":"Message"},"MockResponseConfig":{"properties":{"response_delay_seconds":{"type":"number","minimum":0.0,"title":"Response Delay Seconds","default":1},"stream_response_delay_between_deltas_seconds":{"type":"number","minimum":0.0,"title":"Stream Response Delay Between Deltas Seconds","default":0.1}},"type":"object","title":"MockResponseConfig","include_in_schema":false},"ModelName":{"type":"string","enum":["jamba-mini","jamba-large","jamba-large-1.7","jamba-large-1.7-2025-07","jamba-mini-2","jamba-mini-2-2026-01"],"title":"ModelName","description":"An enumeration."},"ModifyAssistantRequest":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"optimization":{"$ref":"#/components/schemas/RunOptimization"},"avatar":{"type":"string","title":"Avatar"},"is_archived":{"type":"boolean","title":"Is Archived","default":false},"models":{"items":{"type":"string"},"type":"array","title":"Models"},"tools":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__execution_engine__ToolDefinition"},"type":"array","title":"Tools"},"requirements":{"items":{"$ref":"#/components/schemas/language_studio_api_server__data_types__assistant__Requirement"},"type":"array","title":"Requirements"},"budget":{"$ref":"#/components/schemas/BudgetLevel"},"visibility":{"$ref":"#/components/schemas/Visibility"},"response_language":{"type":"string","enum":["arabic","dutch","english","french","german","hebrew","italian","portuguese","spanish","unset"],"title":"Response Language"},"system_prompt":{"type":"string","title":"System Prompt"},"workflow_config":{"$ref":"#/components/schemas/WorkflowConfig"},"config_overrides":{"type":"object","title":"Config Overrides"}},"type":"object","title":"ModifyAssistantRequest"},"OrgSchema":{"properties":{"organization_id":{"type":"string","format":"uuid","title":"Organization Id"},"schema_name":{"type":"string","title":"Schema Name"},"schema_definition":{"type":"object","title":"Schema Definition"},"table_stats":{"type":"object","title":"Table Stats"}},"type":"object","required":["organization_id","schema_name","schema_definition","table_stats"],"title":"OrgSchema"},"OrgSchemas":{"properties":{"schemas":{"items":{"$ref":"#/components/schemas/OrgSchema"},"type":"array","title":"Schemas"}},"type":"object","required":["schemas"],"title":"OrgSchemas"},"Plan":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"code":{"type":"string","title":"Code"},"schemas":{"items":{"type":"object"},"type":"array","title":"Schemas"},"assistant_id":{"type":"string","title":"Assistant Id"}},"type":"object","required":["id","created_at","updated_at","code","assistant_id"],"title":"Plan"},"ProviderKeyCreate":{"properties":{"provider":{"type":"string","minLength":1,"title":"Provider"},"api_key":{"type":"string","maxLength":8192,"minLength":1,"format":"password","title":"Api Key","writeOnly":true}},"type":"object","required":["provider","api_key"],"title":"ProviderKeyCreate","description":"Body for ``POST /tokenwise/settings/provider-keys``."},"ProviderKeyOut":{"properties":{"provider":{"type":"string","title":"Provider"},"masked_key":{"type":"string","title":"Masked Key"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["provider","created_at","updated_at"],"title":"ProviderKeyOut","description":"Response shape for provider-key GET / POST / PUT.\n\nNever carries the key itself. ``masked_key`` is the BFF's masked rendering\nfrom the secret store, and is ``null`` when the store is unreachable — whether\na workspace has a key configured is the BFF's own fact and stays readable even\nwhen the store is down."},"ProviderKeyUpdate":{"properties":{"provider":{"type":"string","minLength":1,"title":"Provider"},"api_key":{"type":"string","maxLength":8192,"minLength":1,"format":"password","title":"Api Key","writeOnly":true}},"type":"object","required":["provider","api_key"],"title":"ProviderKeyUpdate","description":"Body for ``PUT /tokenwise/settings/provider-keys`` — rotation.\n\nSame shape as create; the BFF distinguishes them by method, not by body."},"QueryFilter":{"anyOf":[{"$ref":"#/components/schemas/ComparisonOperator"},{"$ref":"#/components/schemas/LogicalOperator"},{"additionalProperties":{"$ref":"#/components/schemas/ComparisonOperator"},"type":"object"}],"title":"QueryFilter"},"RFIResponseSection":{"properties":{"header":{"type":"string","title":"Header","description":"Exact or closest RFI heading for the section"},"description":{"type":"string","title":"Description","description":"≤350-character directive listing everything to include in that section"},"generated_content":{"type":"string","title":"Generated Content","description":"Generated content for this section based on company files"}},"type":"object","required":["header","description"],"title":"RFIResponseSection","description":"Model for a single RFI response section."},"RequirementItem":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"}},"type":"object","required":["name","description"],"title":"RequirementItem"},"RequirementsGenerationRequest":{"properties":{"query":{"type":"string","title":"Query"}},"type":"object","required":["query"],"title":"RequirementsGenerationRequest"},"RequirementsGenerationResponse":{"properties":{"requirements":{"items":{"$ref":"#/components/schemas/RequirementItem"},"type":"array","title":"Requirements"}},"type":"object","required":["requirements"],"title":"RequirementsGenerationResponse"},"ResponseFormat":{"properties":{"type":{"type":"string","enum":["text","json_object"],"title":"Type"}},"type":"object","required":["type"],"title":"ResponseFormat"},"RetrievalStrategy":{"type":"string","enum":["segments","default","add_neighbors","full_doc"],"title":"RetrievalStrategy","description":"An enumeration."},"RunAssistantRequest":{"properties":{"input":{"items":{"$ref":"#/components/schemas/Message"},"type":"array","title":"Input"},"verbose":{"type":"boolean","title":"Verbose","default":false},"output_type":{"type":"object","title":"Output Type"},"include":{"items":{"type":"string"},"type":"array","title":"Include","default":["data_sources","requirements_result","requirements_result.metadata"]},"structured_rag_enabled":{"type":"boolean","title":"Structured Rag Enabled","default":false},"dynamic_planning_enabled":{"type":"boolean","title":"Dynamic Planning Enabled","default":false},"response_language":{"type":"string","enum":["arabic","dutch","english","french","german","hebrew","italian","portuguese","spanish","unset"],"title":"Response Language","default":"unset"},"system_prompt":{"type":"string","title":"System Prompt"}},"type":"object","required":["input"],"title":"RunAssistantRequest"},"RunOptimization":{"enum":["cost","latency"],"title":"RunOptimization","description":"An enumeration."},"SecretResponse":{"properties":{"secret_id":{"type":"string","title":"Secret Id"},"secret_key":{"type":"string","title":"Secret Key"}},"type":"object","required":["secret_id","secret_key"],"title":"SecretResponse"},"StarterQuestion":{"properties":{"title":{"type":"string","title":"Title"},"prompt":{"type":"string","title":"Prompt"}},"type":"object","required":["title","prompt"],"title":"StarterQuestion"},"SystemMessage":{"properties":{"role":{"type":"string","enum":["system"],"title":"Role","default":"system","description":"The role of an individual message.\n- `user`: Input provided by the user. Any instructions given here that conflict\n with instructions given in the `system` prompt take precedence over the `system`\n prompt instructions.\n- `assistant`: Response generated by the model.\n- `system`: Initial instructions provided to the system to provide general guidance\n on the tone and voice of the generated message. An initial system message is\n optional but recommended to provide guidance on the tone of the chat. For\n example, \"You are a helpful chatbot with a background in earth sciences and a\n charming French accent.\"\n"},"content":{"type":"string","title":"Content"}},"type":"object","required":["content"],"title":"SystemMessage"},"ToolCall":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"type":{"type":"string","enum":["function"],"title":"Type","default":"function"},"function":{"$ref":"#/components/schemas/ToolFunction"}},"type":"object","required":["id","function"],"title":"ToolCall"},"ToolCallDelta":{"properties":{"index":{"type":"integer","title":"Index"},"function":{"$ref":"#/components/schemas/ToolFunctionDelta"}},"type":"object","required":["index","function"],"title":"ToolCallDelta"},"ToolCallDeltaStart":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"index":{"type":"integer","title":"Index"},"type":{"type":"string","enum":["function"],"title":"Type"},"function":{"$ref":"#/components/schemas/ToolFunctionDeltaStart"}},"type":"object","required":["id","index","type","function"],"title":"ToolCallDeltaStart"},"ToolFunction":{"properties":{"name":{"type":"string","title":"Name"},"arguments":{"type":"string","title":"Arguments"}},"type":"object","required":["name","arguments"],"title":"ToolFunction"},"ToolFunctionDelta":{"properties":{"arguments":{"type":"string","title":"Arguments"}},"type":"object","required":["arguments"],"title":"ToolFunctionDelta"},"ToolFunctionDeltaStart":{"properties":{"name":{"type":"string","title":"Name"}},"type":"object","required":["name"],"title":"ToolFunctionDeltaStart"},"ToolMessage":{"properties":{"role":{"type":"string","enum":["tool"],"title":"Role","default":"tool","description":"The role of an individual message.\n- `user`: Input provided by the user. Any instructions given here that conflict\n with instructions given in the `system` prompt take precedence over the `system`\n prompt instructions.\n- `assistant`: Response generated by the model.\n- `system`: Initial instructions provided to the system to provide general guidance\n on the tone and voice of the generated message. An initial system message is\n optional but recommended to provide guidance on the tone of the chat. For\n example, \"You are a helpful chatbot with a background in earth sciences and a\n charming French accent.\"\n"},"content":{"type":"string","title":"Content"},"tool_call_id":{"type":"string","title":"Tool Call Id"}},"type":"object","required":["content","tool_call_id"],"title":"ToolMessage"},"ToolParameters":{"properties":{"type":{"type":"string","enum":["object"],"title":"Type","description":"Type of the parameter schema, only `object` is supported","default":"object"},"properties":{"type":"object","title":"Properties"},"required":{"items":{"type":"string"},"type":"array","title":"Required","description":"List of required properties"}},"type":"object","required":["properties"],"title":"ToolParameters"},"TopLogprobsData":{"properties":{"token":{"type":"string","title":"Token"},"logprob":{"type":"number","title":"Logprob"}},"type":"object","required":["token","logprob"],"title":"TopLogprobsData"},"UpdateMCPStorageRequest":{"properties":{"server_label":{"type":"string","title":"Server Label"}},"type":"object","required":["server_label"],"title":"UpdateMCPStorageRequest"},"UpdateRoutePayload":{"properties":{"description":{"type":"string","title":"Description"},"examples":{"items":{"type":"string"},"type":"array","title":"Examples"}},"type":"object","required":["description"],"title":"UpdateRoutePayload"},"UpdateSecretPayload":{"properties":{"secret_name":{"type":"string","title":"Secret Name"},"secret_value":{"type":"string","title":"Secret Value"}},"type":"object","title":"UpdateSecretPayload"},"UploadMode":{"type":"string","enum":["immediate","batch"],"title":"UploadMode","description":"An enumeration."},"UsageInfo":{"properties":{"prompt_tokens":{"type":"integer","title":"Prompt Tokens","description":"Number of tokens in the prompt for this request. Note that the prompt token\nincludes the entire message history, plus extra tokens needed by the system\nwhen combining the list of prompt messages into a single message, as\nrequired by the model. The number of extra tokens is typically proportional\nto the number of messages in the thread, and should be relatively small.\n"},"completion_tokens":{"type":"integer","title":"Completion Tokens","description":"Number of tokens in the response message."},"total_tokens":{"type":"integer","title":"Total Tokens","description":"`prompt_tokens` + `completion_tokens`.\n"}},"type":"object","required":["prompt_tokens","completion_tokens","total_tokens"],"title":"UsageInfo"},"UserMessage":{"properties":{"role":{"type":"string","enum":["user"],"title":"Role","default":"user","description":"The role of an individual message.\n- `user`: Input provided by the user. Any instructions given here that conflict\n with instructions given in the `system` prompt take precedence over the `system`\n prompt instructions.\n- `assistant`: Response generated by the model.\n- `system`: Initial instructions provided to the system to provide general guidance\n on the tone and voice of the generated message. An initial system message is\n optional but recommended to provide guidance on the tone of the chat. For\n example, \"You are a helpful chatbot with a background in earth sciences and a\n charming French accent.\"\n"},"content":{"type":"string","title":"Content"}},"type":"object","required":["content"],"title":"UserMessage"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"ValidationResult":{"properties":{"is_valid":{"type":"boolean","title":"Is Valid"},"message":{"type":"string","title":"Message"},"details":{"type":"string","title":"Details"}},"type":"object","required":["is_valid"],"title":"ValidationResult"},"Visibility":{"enum":["public","private"],"title":"Visibility","description":"An enumeration."},"WebSearchToolResource":{"properties":{"type":{"type":"string","enum":["web_search"],"title":"Type","default":"web_search"},"urls":{"items":{"type":"string"},"type":"array","title":"Urls"},"fallback_to_web":{"type":"boolean","title":"Fallback To Web"},"query_suffix":{"type":"string","title":"Query Suffix"},"rephrase_query":{"type":"boolean","title":"Rephrase Query"},"use_cached_pages":{"type":"boolean","title":"Use Cached Pages","default":false}},"type":"object","title":"WebSearchToolResource"},"WebsiteConnectorCreateConfigPayload":{"properties":{"name":{"type":"string","title":"Name"},"extract_linked_files":{"type":"boolean","title":"Extract Linked Files","default":false},"wait_for_dynamic_content":{"type":"boolean","title":"Wait For Dynamic Content","default":false},"skip_url_patterns":{"items":{"type":"string"},"type":"array","title":"Skip Url Patterns"},"target_file_extensions":{"items":{"type":"string"},"type":"array","title":"Target File Extensions"},"localization":{"type":"string","title":"Localization"}},"type":"object","required":["name","skip_url_patterns","target_file_extensions"],"title":"WebsiteConnectorCreateConfigPayload"},"WebsiteConnectorIngestUrlPayload":{"properties":{"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"WebsiteConnectorIngestUrlPayload"},"WebsiteConnectorIngestWebsitePayload":{"properties":{"sitemap_url":{"type":"string","title":"Sitemap Url"},"client_config":{"type":"string","title":"Client Config"},"labels":{"items":{"type":"string"},"type":"array","title":"Labels"}},"type":"object","required":["sitemap_url"],"title":"WebsiteConnectorIngestWebsitePayload"},"WebsiteConnectorRetryIngestWebsitePayload":{"properties":{"website_id":{"type":"string","format":"uuid","title":"Website Id"}},"type":"object","required":["website_id"],"title":"WebsiteConnectorRetryIngestWebsitePayload"},"WorkflowConfig":{"properties":{"endpoint_url":{"type":"string","title":"Endpoint Url"},"headers":{"type":"object","title":"Headers"},"additional_params":{"type":"object","title":"Additional Params"}},"type":"object","required":["endpoint_url"],"title":"WorkflowConfig"},"WorkspaceModelResponse":{"properties":{"name":{"type":"string","title":"Name"},"model_type":{"type":"string","title":"Model Type"},"secret_id":{"type":"string","title":"Secret Id"},"created_by":{"type":"string","title":"Created By"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"provider":{"type":"string","title":"Provider"},"internal":{"type":"boolean","title":"Internal","default":false}},"type":"object","required":["name","model_type"],"title":"WorkspaceModelResponse"},"WorkspaceModelUpdate":{"properties":{"name":{"type":"string","title":"Name"},"model_type":{"type":"string","title":"Model Type"},"secret_id":{"type":"string","title":"Secret Id"}},"type":"object","title":"WorkspaceModelUpdate"},"WorkspaceModelsResponse":{"properties":{"models":{"items":{"$ref":"#/components/schemas/WorkspaceModelResponse"},"type":"array","title":"Models"}},"type":"object","required":["models"],"title":"WorkspaceModelsResponse"},"language_studio_api_server__data_types__assistant__Requirement":{"properties":{"id":{"type":"string","title":"Id","description":"A unique ID for the request (not the message). Repeated identical requests\nget different IDs. However, for a streaming response, the ID will be the same\nfor all responses in the stream.\n"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"type":{"type":"string","title":"Type"}},"type":"object","title":"Requirement"},"language_studio_api_server__data_types__chat__ToolDefinition":{"properties":{"type":{"type":"string","enum":["function"],"title":"Type"},"function":{"$ref":"#/components/schemas/FunctionToolDefinition"}},"type":"object","required":["type","function"],"title":"ToolDefinition"},"language_studio_api_server__data_types__execution_engine__Requirement":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"is_mandatory":{"type":"boolean","title":"Is Mandatory"}},"type":"object","required":["name","description"],"title":"Requirement"},"language_studio_api_server__data_types__execution_engine__ToolDefinition":{"oneOf":[{"$ref":"#/components/schemas/HTTPToolResource"},{"$ref":"#/components/schemas/MCPToolResource"},{"$ref":"#/components/schemas/FileSearchToolResource"},{"$ref":"#/components/schemas/WebSearchToolResource"}],"title":"ToolDefinition","discriminator":{"propertyName":"type","mapping":{"http":"#/components/schemas/HTTPToolResource","mcp":"#/components/schemas/MCPToolResource","file_search":"#/components/schemas/FileSearchToolResource","web_search":"#/components/schemas/WebSearchToolResource"}}}}}} \ No newline at end of file