From 2ef613d736d677d025201fb7bb193fc588b599cc Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 7 Sep 2026 12:13:26 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...ingsProviderKeysPostCommandApiCommand.g.cs | 98 ++++ ...ingsProviderKeysPostCommandApiCommand.g.cs | 98 ++++ .../Commands/DefaultApiGroupCommand.g.cs | 138 ++--- ...gsProviderKeysDeleteCommandApiCommand.g.cs | 39 ++ ...gsProviderKeysDeleteCommandApiCommand.g.cs | 39 ++ ...tingsProviderKeysGetCommandApiCommand.g.cs | 74 +++ ...tingsProviderKeysGetCommandApiCommand.g.cs | 74 +++ .../Commands/ProviderKeyCreateOptionSet.g.cs | 29 + .../Commands/ProviderKeyUpdateOptionSet.g.cs | 29 + ...arnessApiPathDelete2CommandApiCommand.g.cs | 63 --- ...iHarnessApiPathPut2CommandApiCommand.g.cs} | 6 +- ...iHarnessApiPathPut3CommandApiCommand.g.cs} | 6 +- ...iHarnessApiPathPut4CommandApiCommand.g.cs} | 6 +- ...iHarnessApiPathPut5CommandApiCommand.g.cs} | 6 +- ...ApiHarnessApiPathPutCommandApiCommand.g.cs | 63 +++ ...ewayOffV1PathDelete6CommandApiCommand.g.cs | 73 --- ...tewayOffV1PathDeleteCommandApiCommand.g.cs | 73 --- ...ayOffV1PathOptions2CommandApiCommand.g.cs} | 6 +- ...ayOffV1PathOptions3CommandApiCommand.g.cs} | 6 +- ...ayOffV1PathOptions4CommandApiCommand.g.cs} | 6 +- ...wayOffV1PathOptions5CommandApiCommand.g.cs | 73 +++ ...wayOffV1PathOptions6CommandApiCommand.g.cs | 73 +++ ...wayOffV1PathOptionsCommandApiCommand.g.cs} | 6 +- ...wiseOffV1PathDelete6CommandApiCommand.g.cs | 73 --- ...nwiseOffV1PathDeleteCommandApiCommand.g.cs | 73 --- ...seOffV1PathOptions2CommandApiCommand.g.cs} | 6 +- ...seOffV1PathOptions3CommandApiCommand.g.cs} | 6 +- ...seOffV1PathOptions4CommandApiCommand.g.cs} | 6 +- ...iseOffV1PathOptions5CommandApiCommand.g.cs | 73 +++ ...iseOffV1PathOptions6CommandApiCommand.g.cs | 73 +++ ...iseOffV1PathOptionsCommandApiCommand.g.cs} | 6 +- ...tewayOnV1PathDelete6CommandApiCommand.g.cs | 73 --- ...atewayOnV1PathDeleteCommandApiCommand.g.cs | 73 --- ...wayOnV1PathOptions2CommandApiCommand.g.cs} | 6 +- ...wayOnV1PathOptions3CommandApiCommand.g.cs} | 6 +- ...wayOnV1PathOptions4CommandApiCommand.g.cs} | 6 +- ...ewayOnV1PathOptions5CommandApiCommand.g.cs | 73 +++ ...ewayOnV1PathOptions6CommandApiCommand.g.cs | 73 +++ ...ewayOnV1PathOptionsCommandApiCommand.g.cs} | 6 +- ...nwiseOnV1PathDelete6CommandApiCommand.g.cs | 73 --- ...enwiseOnV1PathDeleteCommandApiCommand.g.cs | 73 --- ...iseOnV1PathOptions2CommandApiCommand.g.cs} | 6 +- ...iseOnV1PathOptions3CommandApiCommand.g.cs} | 6 +- ...iseOnV1PathOptions4CommandApiCommand.g.cs} | 6 +- ...wiseOnV1PathOptions5CommandApiCommand.g.cs | 73 +++ ...wiseOnV1PathOptions6CommandApiCommand.g.cs | 73 +++ ...wiseOnV1PathOptionsCommandApiCommand.g.cs} | 6 +- ...GatewayV1PathDelete6CommandApiCommand.g.cs | 76 --- ...1GatewayV1PathDeleteCommandApiCommand.g.cs | 76 --- ...tewayV1PathOptions2CommandApiCommand.g.cs} | 6 +- ...tewayV1PathOptions3CommandApiCommand.g.cs} | 6 +- ...tewayV1PathOptions4CommandApiCommand.g.cs} | 6 +- ...tewayV1PathOptions5CommandApiCommand.g.cs} | 6 +- ...atewayV1PathOptions6CommandApiCommand.g.cs | 76 +++ ...atewayV1PathOptionsCommandApiCommand.g.cs} | 6 +- ...kenwiseV1PathDelete3CommandApiCommand.g.cs | 76 --- ...kenwiseV1PathDelete4CommandApiCommand.g.cs | 76 --- ...kenwiseV1PathDelete5CommandApiCommand.g.cs | 76 --- ...kenwiseV1PathDelete6CommandApiCommand.g.cs | 76 --- ...enwiseV1PathOptions2CommandApiCommand.g.cs | 76 +++ ...enwiseV1PathOptions3CommandApiCommand.g.cs | 76 +++ ...enwiseV1PathOptions4CommandApiCommand.g.cs | 76 +++ ...enwiseV1PathOptions5CommandApiCommand.g.cs | 76 +++ ...enwiseV1PathOptions6CommandApiCommand.g.cs | 76 +++ ...enwiseV1PathOptionsCommandApiCommand.g.cs} | 6 +- ...wayV1betaPathDelete6CommandApiCommand.g.cs | 73 --- ...ewayV1betaPathDeleteCommandApiCommand.g.cs | 73 --- ...yV1betaPathOptions2CommandApiCommand.g.cs} | 6 +- ...yV1betaPathOptions3CommandApiCommand.g.cs} | 6 +- ...yV1betaPathOptions4CommandApiCommand.g.cs} | 6 +- ...ayV1betaPathOptions5CommandApiCommand.g.cs | 73 +++ ...ayV1betaPathOptions6CommandApiCommand.g.cs | 73 +++ ...ayV1betaPathOptionsCommandApiCommand.g.cs} | 6 +- ...iseV1betaPathDelete6CommandApiCommand.g.cs | 73 --- ...wiseV1betaPathDeleteCommandApiCommand.g.cs | 73 --- ...eV1betaPathOptions2CommandApiCommand.g.cs} | 6 +- ...eV1betaPathOptions3CommandApiCommand.g.cs} | 6 +- ...eV1betaPathOptions4CommandApiCommand.g.cs} | 6 +- ...seV1betaPathOptions5CommandApiCommand.g.cs | 73 +++ ...seV1betaPathOptions6CommandApiCommand.g.cs | 73 +++ ...seV1betaPathOptionsCommandApiCommand.g.cs} | 6 +- ...1internalPathDelete6CommandApiCommand.g.cs | 73 --- ...V1internalPathDeleteCommandApiCommand.g.cs | 73 --- ...nternalPathOptions2CommandApiCommand.g.cs} | 6 +- ...nternalPathOptions3CommandApiCommand.g.cs} | 6 +- ...nternalPathOptions4CommandApiCommand.g.cs} | 6 +- ...internalPathOptions5CommandApiCommand.g.cs | 73 +++ ...internalPathOptions6CommandApiCommand.g.cs | 73 +++ ...internalPathOptionsCommandApiCommand.g.cs} | 6 +- ...1internalPathDelete6CommandApiCommand.g.cs | 73 --- ...V1internalPathDeleteCommandApiCommand.g.cs | 73 --- ...nternalPathOptions2CommandApiCommand.g.cs} | 6 +- ...nternalPathOptions3CommandApiCommand.g.cs} | 6 +- ...nternalPathOptions4CommandApiCommand.g.cs} | 6 +- ...internalPathOptions5CommandApiCommand.g.cs | 73 +++ ...internalPathOptions6CommandApiCommand.g.cs | 73 +++ ...internalPathOptionsCommandApiCommand.g.cs} | 6 +- ...tingsProviderKeysPutCommandApiCommand.g.cs | 101 ++++ ...tingsProviderKeysPutCommandApiCommand.g.cs | 101 ++++ ...derKeyGatewaySettingsProviderKeysPost.g.cs | 502 +++++++++++++++++ ...rKeyTokenwiseSettingsProviderKeysPost.g.cs | 502 +++++++++++++++++ ...rKeyGatewaySettingsProviderKeysDelete.g.cs | 443 +++++++++++++++ ...eyTokenwiseSettingsProviderKeysDelete.g.cs | 443 +++++++++++++++ ...derKeysGatewaySettingsProviderKeysGet.g.cs | 482 +++++++++++++++++ ...rKeysTokenwiseSettingsProviderKeysGet.g.cs | 482 +++++++++++++++++ ...ent.ProxyHarnessApiHarnessApiPathPut.g.cs} | 52 +- ...nt.ProxyHarnessApiHarnessApiPathPut2.g.cs} | 52 +- ...nt.ProxyHarnessApiHarnessApiPathPut3.g.cs} | 52 +- ...nt.ProxyHarnessApiHarnessApiPathPut4.g.cs} | 52 +- ...nt.ProxyHarnessApiHarnessApiPathPut5.g.cs} | 52 +- ...nt.ProxyOffV1GatewayOffV1PathOptions.g.cs} | 52 +- ...t.ProxyOffV1GatewayOffV1PathOptions2.g.cs} | 52 +- ...t.ProxyOffV1GatewayOffV1PathOptions3.g.cs} | 52 +- ...t.ProxyOffV1GatewayOffV1PathOptions4.g.cs} | 52 +- ...t.ProxyOffV1GatewayOffV1PathOptions5.g.cs} | 52 +- ...t.ProxyOffV1GatewayOffV1PathOptions6.g.cs} | 52 +- ....ProxyOffV1TokenwiseOffV1PathOptions.g.cs} | 52 +- ...ProxyOffV1TokenwiseOffV1PathOptions2.g.cs} | 52 +- ...ProxyOffV1TokenwiseOffV1PathOptions3.g.cs} | 52 +- ...ProxyOffV1TokenwiseOffV1PathOptions4.g.cs} | 52 +- ...ProxyOffV1TokenwiseOffV1PathOptions5.g.cs} | 52 +- ...ProxyOffV1TokenwiseOffV1PathOptions6.g.cs} | 52 +- ...ient.ProxyOnV1GatewayOnV1PathOptions.g.cs} | 52 +- ...ent.ProxyOnV1GatewayOnV1PathOptions2.g.cs} | 52 +- ...ent.ProxyOnV1GatewayOnV1PathOptions3.g.cs} | 52 +- ...ent.ProxyOnV1GatewayOnV1PathOptions4.g.cs} | 52 +- ...ent.ProxyOnV1GatewayOnV1PathOptions5.g.cs} | 52 +- ...ent.ProxyOnV1GatewayOnV1PathOptions6.g.cs} | 52 +- ...nt.ProxyOnV1TokenwiseOnV1PathOptions.g.cs} | 52 +- ...t.ProxyOnV1TokenwiseOnV1PathOptions2.g.cs} | 52 +- ...t.ProxyOnV1TokenwiseOnV1PathOptions3.g.cs} | 52 +- ...t.ProxyOnV1TokenwiseOnV1PathOptions4.g.cs} | 52 +- ...t.ProxyOnV1TokenwiseOnV1PathOptions5.g.cs} | 52 +- ...t.ProxyOnV1TokenwiseOnV1PathOptions6.g.cs} | 52 +- ...21Client.ProxyV1GatewayV1PathOptions.g.cs} | 52 +- ...1Client.ProxyV1GatewayV1PathOptions2.g.cs} | 52 +- ...1Client.ProxyV1GatewayV1PathOptions3.g.cs} | 52 +- ...1Client.ProxyV1GatewayV1PathOptions4.g.cs} | 52 +- ...1Client.ProxyV1GatewayV1PathOptions5.g.cs} | 52 +- ...1Client.ProxyV1GatewayV1PathOptions6.g.cs} | 52 +- ...Client.ProxyV1TokenwiseV1PathOptions.g.cs} | 52 +- ...lient.ProxyV1TokenwiseV1PathOptions2.g.cs} | 52 +- ...lient.ProxyV1TokenwiseV1PathOptions3.g.cs} | 52 +- ...lient.ProxyV1TokenwiseV1PathOptions4.g.cs} | 52 +- ...lient.ProxyV1TokenwiseV1PathOptions5.g.cs} | 52 +- ...lient.ProxyV1TokenwiseV1PathOptions6.g.cs} | 52 +- ....ProxyV1betaGatewayV1betaPathOptions.g.cs} | 52 +- ...ProxyV1betaGatewayV1betaPathOptions2.g.cs} | 52 +- ...ProxyV1betaGatewayV1betaPathOptions3.g.cs} | 52 +- ...ProxyV1betaGatewayV1betaPathOptions4.g.cs} | 52 +- ...ProxyV1betaGatewayV1betaPathOptions5.g.cs} | 52 +- ...ProxyV1betaGatewayV1betaPathOptions6.g.cs} | 52 +- ...roxyV1betaTokenwiseV1betaPathOptions.g.cs} | 52 +- ...oxyV1betaTokenwiseV1betaPathOptions2.g.cs} | 52 +- ...oxyV1betaTokenwiseV1betaPathOptions3.g.cs} | 52 +- ...oxyV1betaTokenwiseV1betaPathOptions4.g.cs} | 52 +- ...oxyV1betaTokenwiseV1betaPathOptions5.g.cs} | 52 +- ...oxyV1betaTokenwiseV1betaPathOptions6.g.cs} | 52 +- ...internalGatewayV1internalPathOptions.g.cs} | 52 +- ...nternalGatewayV1internalPathOptions2.g.cs} | 52 +- ...nternalGatewayV1internalPathOptions3.g.cs} | 52 +- ...nternalGatewayV1internalPathOptions4.g.cs} | 52 +- ...nternalGatewayV1internalPathOptions5.g.cs} | 52 +- ...nternalGatewayV1internalPathOptions6.g.cs} | 52 +- ...ternalTokenwiseV1internalPathOptions.g.cs} | 52 +- ...ernalTokenwiseV1internalPathOptions2.g.cs} | 52 +- ...ernalTokenwiseV1internalPathOptions3.g.cs} | 52 +- ...ernalTokenwiseV1internalPathOptions4.g.cs} | 52 +- ...ernalTokenwiseV1internalPathOptions5.g.cs} | 52 +- ...ernalTokenwiseV1internalPathOptions6.g.cs} | 52 +- ...iderKeyGatewaySettingsProviderKeysPut.g.cs | 508 ++++++++++++++++++ ...erKeyTokenwiseSettingsProviderKeysPut.g.cs | 508 ++++++++++++++++++ ...derKeyGatewaySettingsProviderKeysPost.g.cs | 50 ++ ...rKeyTokenwiseSettingsProviderKeysPost.g.cs | 50 ++ ...rKeyGatewaySettingsProviderKeysDelete.g.cs | 32 ++ ...eyTokenwiseSettingsProviderKeysDelete.g.cs | 32 ++ ...derKeysGatewaySettingsProviderKeysGet.g.cs | 48 ++ ...rKeysTokenwiseSettingsProviderKeysGet.g.cs | 48 ++ ....ProxyHarnessApiHarnessApiPathDelete5.g.cs | 30 -- ...ent.ProxyHarnessApiHarnessApiPathPut.g.cs} | 4 +- ...nt.ProxyHarnessApiHarnessApiPathPut2.g.cs} | 4 +- ...nt.ProxyHarnessApiHarnessApiPathPut3.g.cs} | 4 +- ...nt.ProxyHarnessApiHarnessApiPathPut4.g.cs} | 4 +- ...ent.ProxyHarnessApiHarnessApiPathPut5.g.cs | 30 ++ ...ent.ProxyOffV1GatewayOffV1PathDelete6.g.cs | 36 -- ...nt.ProxyOffV1GatewayOffV1PathOptions.g.cs} | 4 +- ...t.ProxyOffV1GatewayOffV1PathOptions2.g.cs} | 4 +- ...t.ProxyOffV1GatewayOffV1PathOptions3.g.cs} | 4 +- ...t.ProxyOffV1GatewayOffV1PathOptions4.g.cs} | 4 +- ...t.ProxyOffV1GatewayOffV1PathOptions5.g.cs} | 4 +- ...nt.ProxyOffV1GatewayOffV1PathOptions6.g.cs | 36 ++ ...t.ProxyOffV1TokenwiseOffV1PathDelete6.g.cs | 36 -- ....ProxyOffV1TokenwiseOffV1PathOptions.g.cs} | 4 +- ...ProxyOffV1TokenwiseOffV1PathOptions2.g.cs} | 4 +- ...ProxyOffV1TokenwiseOffV1PathOptions3.g.cs} | 4 +- ...ProxyOffV1TokenwiseOffV1PathOptions4.g.cs} | 4 +- ...ProxyOffV1TokenwiseOffV1PathOptions5.g.cs} | 4 +- ....ProxyOffV1TokenwiseOffV1PathOptions6.g.cs | 36 ++ ...lient.ProxyOnV1GatewayOnV1PathDelete5.g.cs | 36 -- ...lient.ProxyOnV1GatewayOnV1PathDelete6.g.cs | 36 -- ...ient.ProxyOnV1GatewayOnV1PathOptions.g.cs} | 4 +- ...ent.ProxyOnV1GatewayOnV1PathOptions2.g.cs} | 4 +- ...ent.ProxyOnV1GatewayOnV1PathOptions3.g.cs} | 4 +- ...ent.ProxyOnV1GatewayOnV1PathOptions4.g.cs} | 4 +- ...ient.ProxyOnV1GatewayOnV1PathOptions5.g.cs | 36 ++ ...ient.ProxyOnV1GatewayOnV1PathOptions6.g.cs | 36 ++ ...ent.ProxyOnV1TokenwiseOnV1PathDelete6.g.cs | 36 -- ...nt.ProxyOnV1TokenwiseOnV1PathOptions.g.cs} | 4 +- ...t.ProxyOnV1TokenwiseOnV1PathOptions2.g.cs} | 4 +- ...t.ProxyOnV1TokenwiseOnV1PathOptions3.g.cs} | 4 +- ...t.ProxyOnV1TokenwiseOnV1PathOptions4.g.cs} | 4 +- ...t.ProxyOnV1TokenwiseOnV1PathOptions5.g.cs} | 4 +- ...nt.ProxyOnV1TokenwiseOnV1PathOptions6.g.cs | 36 ++ ...i21Client.ProxyV1GatewayV1PathDelete6.g.cs | 40 -- ...21Client.ProxyV1GatewayV1PathOptions.g.cs} | 4 +- ...1Client.ProxyV1GatewayV1PathOptions2.g.cs} | 4 +- ...1Client.ProxyV1GatewayV1PathOptions3.g.cs} | 4 +- ...1Client.ProxyV1GatewayV1PathOptions4.g.cs} | 4 +- ...1Client.ProxyV1GatewayV1PathOptions5.g.cs} | 4 +- ...21Client.ProxyV1GatewayV1PathOptions6.g.cs | 40 ++ ...1Client.ProxyV1TokenwiseV1PathDelete6.g.cs | 40 -- ...Client.ProxyV1TokenwiseV1PathOptions.g.cs} | 4 +- ...lient.ProxyV1TokenwiseV1PathOptions2.g.cs} | 4 +- ...lient.ProxyV1TokenwiseV1PathOptions3.g.cs} | 4 +- ...lient.ProxyV1TokenwiseV1PathOptions4.g.cs} | 4 +- ...lient.ProxyV1TokenwiseV1PathOptions5.g.cs} | 4 +- ...Client.ProxyV1TokenwiseV1PathOptions6.g.cs | 40 ++ ...t.ProxyV1betaGatewayV1betaPathDelete6.g.cs | 36 -- ....ProxyV1betaGatewayV1betaPathOptions.g.cs} | 4 +- ...ProxyV1betaGatewayV1betaPathOptions2.g.cs} | 4 +- ...ProxyV1betaGatewayV1betaPathOptions3.g.cs} | 4 +- ...ProxyV1betaGatewayV1betaPathOptions4.g.cs} | 4 +- ...ProxyV1betaGatewayV1betaPathOptions5.g.cs} | 4 +- ....ProxyV1betaGatewayV1betaPathOptions6.g.cs | 36 ++ ...ProxyV1betaTokenwiseV1betaPathDelete6.g.cs | 36 -- ...roxyV1betaTokenwiseV1betaPathOptions.g.cs} | 4 +- ...oxyV1betaTokenwiseV1betaPathOptions2.g.cs} | 4 +- ...oxyV1betaTokenwiseV1betaPathOptions3.g.cs} | 4 +- ...oxyV1betaTokenwiseV1betaPathOptions4.g.cs} | 4 +- ...oxyV1betaTokenwiseV1betaPathOptions5.g.cs} | 4 +- ...roxyV1betaTokenwiseV1betaPathOptions6.g.cs | 36 ++ ...1internalGatewayV1internalPathDelete5.g.cs | 36 -- ...1internalGatewayV1internalPathDelete6.g.cs | 36 -- ...internalGatewayV1internalPathOptions.g.cs} | 4 +- ...nternalGatewayV1internalPathOptions2.g.cs} | 4 +- ...nternalGatewayV1internalPathOptions3.g.cs} | 4 +- ...nternalGatewayV1internalPathOptions4.g.cs} | 4 +- ...internalGatewayV1internalPathOptions5.g.cs | 36 ++ ...internalGatewayV1internalPathOptions6.g.cs | 36 ++ ...internalTokenwiseV1internalPathDelete.g.cs | 36 -- ...nternalTokenwiseV1internalPathDelete2.g.cs | 36 -- ...nternalTokenwiseV1internalPathDelete3.g.cs | 36 -- ...nternalTokenwiseV1internalPathDelete4.g.cs | 36 -- ...nternalTokenwiseV1internalPathDelete5.g.cs | 36 -- ...nternalTokenwiseV1internalPathDelete6.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 ++ ...iderKeyGatewaySettingsProviderKeysPut.g.cs | 56 ++ ...erKeyTokenwiseSettingsProviderKeysPut.g.cs | 56 ++ .../Generated/AI21.JsonSerializerContext.g.cs | 11 + .../AI21.JsonSerializerContextTypes.g.cs | 124 +++-- .../AI21.Models.ProviderKeyCreate.Json.g.cs | 141 +++++ .../AI21.Models.ProviderKeyCreate.g.cs | 56 ++ .../AI21.Models.ProviderKeyOut.Json.g.cs | 141 +++++ .../Generated/AI21.Models.ProviderKeyOut.g.cs | 78 +++ .../AI21.Models.ProviderKeyUpdate.Json.g.cs | 141 +++++ .../AI21.Models.ProviderKeyUpdate.g.cs | 57 ++ ...ApiHarnessApiPathDeleteResponse5.Json.g.cs | 141 ----- ...rnessApiHarnessApiPathDeleteResponse5.g.cs | 19 - ...essApiHarnessApiPathPutResponse.Json.g.cs} | 26 +- ...yHarnessApiHarnessApiPathPutResponse.g.cs} | 2 +- ...ssApiHarnessApiPathPutResponse2.Json.g.cs} | 26 +- ...HarnessApiHarnessApiPathPutResponse2.g.cs} | 2 +- ...ssApiHarnessApiPathPutResponse3.Json.g.cs} | 26 +- ...HarnessApiHarnessApiPathPutResponse3.g.cs} | 2 +- ...ssApiHarnessApiPathPutResponse4.Json.g.cs} | 26 +- ...HarnessApiHarnessApiPathPutResponse4.g.cs} | 2 +- ...essApiHarnessApiPathPutResponse5.Json.g.cs | 141 +++++ ...HarnessApiHarnessApiPathPutResponse5.g.cs} | 2 +- ...1GatewayOffV1PathDeleteResponse5.Json.g.cs | 141 ----- ...1GatewayOffV1PathDeleteResponse6.Json.g.cs | 141 ----- ...yOffV1GatewayOffV1PathDeleteResponse6.g.cs | 19 - ...GatewayOffV1PathOptionsResponse.Json.g.cs} | 26 +- ...OffV1GatewayOffV1PathOptionsResponse.g.cs} | 2 +- ...atewayOffV1PathOptionsResponse2.Json.g.cs} | 26 +- ...OffV1GatewayOffV1PathOptionsResponse2.g.cs | 19 + ...atewayOffV1PathOptionsResponse3.Json.g.cs} | 26 +- ...OffV1GatewayOffV1PathOptionsResponse3.g.cs | 19 + ...atewayOffV1PathOptionsResponse4.Json.g.cs} | 26 +- ...OffV1GatewayOffV1PathOptionsResponse4.g.cs | 19 + ...GatewayOffV1PathOptionsResponse5.Json.g.cs | 141 +++++ ...OffV1GatewayOffV1PathOptionsResponse5.g.cs | 19 + ...GatewayOffV1PathOptionsResponse6.Json.g.cs | 141 +++++ ...OffV1GatewayOffV1PathOptionsResponse6.g.cs | 19 + ...OffV1TokenwiseOffV1PathDeleteResponse.g.cs | 19 - ...ffV1TokenwiseOffV1PathDeleteResponse2.g.cs | 19 - ...ffV1TokenwiseOffV1PathDeleteResponse3.g.cs | 19 - ...ffV1TokenwiseOffV1PathDeleteResponse4.g.cs | 19 - ...ffV1TokenwiseOffV1PathDeleteResponse5.g.cs | 19 - ...okenwiseOffV1PathDeleteResponse6.Json.g.cs | 141 ----- ...ffV1TokenwiseOffV1PathDeleteResponse6.g.cs | 19 - ...kenwiseOffV1PathOptionsResponse.Json.g.cs} | 26 +- ...fV1TokenwiseOffV1PathOptionsResponse.g.cs} | 2 +- ...enwiseOffV1PathOptionsResponse2.Json.g.cs} | 26 +- ...V1TokenwiseOffV1PathOptionsResponse2.g.cs} | 2 +- ...enwiseOffV1PathOptionsResponse3.Json.g.cs} | 26 +- ...V1TokenwiseOffV1PathOptionsResponse3.g.cs} | 2 +- ...enwiseOffV1PathOptionsResponse4.Json.g.cs} | 26 +- ...V1TokenwiseOffV1PathOptionsResponse4.g.cs} | 2 +- ...enwiseOffV1PathOptionsResponse5.Json.g.cs} | 26 +- ...fV1TokenwiseOffV1PathOptionsResponse5.g.cs | 19 + ...kenwiseOffV1PathOptionsResponse6.Json.g.cs | 141 +++++ ...fV1TokenwiseOffV1PathOptionsResponse6.g.cs | 19 + ...oxyOnV1GatewayOnV1PathDeleteResponse5.g.cs | 19 - ...V1GatewayOnV1PathDeleteResponse6.Json.g.cs | 141 ----- ...oxyOnV1GatewayOnV1PathDeleteResponse6.g.cs | 19 - ...1GatewayOnV1PathOptionsResponse.Json.g.cs} | 26 +- ...xyOnV1GatewayOnV1PathOptionsResponse.g.cs} | 2 +- ...GatewayOnV1PathOptionsResponse2.Json.g.cs} | 26 +- ...yOnV1GatewayOnV1PathOptionsResponse2.g.cs} | 2 +- ...GatewayOnV1PathOptionsResponse3.Json.g.cs} | 26 +- ...yOnV1GatewayOnV1PathOptionsResponse3.g.cs} | 2 +- ...GatewayOnV1PathOptionsResponse4.Json.g.cs} | 26 +- ...yOnV1GatewayOnV1PathOptionsResponse4.g.cs} | 2 +- ...GatewayOnV1PathOptionsResponse5.Json.g.cs} | 26 +- ...xyOnV1GatewayOnV1PathOptionsResponse5.g.cs | 19 + ...1GatewayOnV1PathOptionsResponse6.Json.g.cs | 141 +++++ ...xyOnV1GatewayOnV1PathOptionsResponse6.g.cs | 19 + ...TokenwiseOnV1PathDeleteResponse3.Json.g.cs | 141 ----- ...TokenwiseOnV1PathDeleteResponse4.Json.g.cs | 141 ----- ...yOnV1TokenwiseOnV1PathDeleteResponse4.g.cs | 19 - ...TokenwiseOnV1PathDeleteResponse5.Json.g.cs | 141 ----- ...yOnV1TokenwiseOnV1PathDeleteResponse5.g.cs | 19 - ...TokenwiseOnV1PathDeleteResponse6.Json.g.cs | 141 ----- ...yOnV1TokenwiseOnV1PathDeleteResponse6.g.cs | 19 - ...okenwiseOnV1PathOptionsResponse.Json.g.cs} | 26 +- ...OnV1TokenwiseOnV1PathOptionsResponse.g.cs} | 2 +- ...kenwiseOnV1PathOptionsResponse2.Json.g.cs} | 26 +- ...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 + ...xyV1GatewayV1PathDeleteResponse5.Json.g.cs | 141 ----- ...s.ProxyV1GatewayV1PathDeleteResponse5.g.cs | 19 - ...xyV1GatewayV1PathDeleteResponse6.Json.g.cs | 141 ----- ...s.ProxyV1GatewayV1PathDeleteResponse6.g.cs | 19 - ...yV1GatewayV1PathOptionsResponse.Json.g.cs} | 26 +- ....ProxyV1GatewayV1PathOptionsResponse.g.cs} | 2 +- ...V1GatewayV1PathOptionsResponse2.Json.g.cs} | 26 +- ...ProxyV1GatewayV1PathOptionsResponse2.g.cs} | 2 +- ...V1GatewayV1PathOptionsResponse3.Json.g.cs} | 26 +- ...ProxyV1GatewayV1PathOptionsResponse3.g.cs} | 2 +- ...V1GatewayV1PathOptionsResponse4.Json.g.cs} | 26 +- ...ProxyV1GatewayV1PathOptionsResponse4.g.cs} | 2 +- ...yV1GatewayV1PathOptionsResponse5.Json.g.cs | 141 +++++ ....ProxyV1GatewayV1PathOptionsResponse5.g.cs | 19 + ...yV1GatewayV1PathOptionsResponse6.Json.g.cs | 141 +++++ ....ProxyV1GatewayV1PathOptionsResponse6.g.cs | 19 + ....ProxyV1TokenwiseV1PathDeleteResponse.g.cs | 19 - ...ProxyV1TokenwiseV1PathDeleteResponse2.g.cs | 19 - ...ProxyV1TokenwiseV1PathDeleteResponse3.g.cs | 19 - ...ProxyV1TokenwiseV1PathDeleteResponse4.g.cs | 19 - ...ProxyV1TokenwiseV1PathDeleteResponse5.g.cs | 19 - ...V1TokenwiseV1PathDeleteResponse6.Json.g.cs | 141 ----- ...ProxyV1TokenwiseV1PathDeleteResponse6.g.cs | 19 - ...1TokenwiseV1PathOptionsResponse.Json.g.cs} | 26 +- ...ProxyV1TokenwiseV1PathOptionsResponse.g.cs | 19 + ...TokenwiseV1PathOptionsResponse2.Json.g.cs} | 26 +- ...oxyV1TokenwiseV1PathOptionsResponse2.g.cs} | 2 +- ...TokenwiseV1PathOptionsResponse3.Json.g.cs} | 26 +- ...roxyV1TokenwiseV1PathOptionsResponse3.g.cs | 19 + ...TokenwiseV1PathOptionsResponse4.Json.g.cs} | 26 +- ...roxyV1TokenwiseV1PathOptionsResponse4.g.cs | 19 + ...TokenwiseV1PathOptionsResponse5.Json.g.cs} | 26 +- ...roxyV1TokenwiseV1PathOptionsResponse5.g.cs | 19 + ...1TokenwiseV1PathOptionsResponse6.Json.g.cs | 141 +++++ ...roxyV1TokenwiseV1PathOptionsResponse6.g.cs | 19 + ...V1betaGatewayV1betaPathDeleteResponse.g.cs | 19 - ...1betaGatewayV1betaPathDeleteResponse2.g.cs | 19 - ...1betaGatewayV1betaPathDeleteResponse3.g.cs | 19 - ...1betaGatewayV1betaPathDeleteResponse4.g.cs | 19 - ...GatewayV1betaPathDeleteResponse5.Json.g.cs | 141 ----- ...1betaGatewayV1betaPathDeleteResponse5.g.cs | 19 - ...GatewayV1betaPathDeleteResponse6.Json.g.cs | 141 ----- ...1betaGatewayV1betaPathDeleteResponse6.g.cs | 19 - ...atewayV1betaPathOptionsResponse.Json.g.cs} | 26 +- ...1betaGatewayV1betaPathOptionsResponse.g.cs | 19 + ...tewayV1betaPathOptionsResponse2.Json.g.cs} | 26 +- ...betaGatewayV1betaPathOptionsResponse2.g.cs | 19 + ...tewayV1betaPathOptionsResponse3.Json.g.cs} | 26 +- ...betaGatewayV1betaPathOptionsResponse3.g.cs | 19 + ...tewayV1betaPathOptionsResponse4.Json.g.cs} | 26 +- ...betaGatewayV1betaPathOptionsResponse4.g.cs | 19 + ...atewayV1betaPathOptionsResponse5.Json.g.cs | 141 +++++ ...betaGatewayV1betaPathOptionsResponse5.g.cs | 19 + ...atewayV1betaPathOptionsResponse6.Json.g.cs | 141 +++++ ...betaGatewayV1betaPathOptionsResponse6.g.cs | 19 + ...betaTokenwiseV1betaPathDeleteResponse.g.cs | 19 - ...etaTokenwiseV1betaPathDeleteResponse2.g.cs | 19 - ...etaTokenwiseV1betaPathDeleteResponse3.g.cs | 19 - ...etaTokenwiseV1betaPathDeleteResponse4.g.cs | 19 - ...etaTokenwiseV1betaPathDeleteResponse5.g.cs | 19 - ...kenwiseV1betaPathDeleteResponse6.Json.g.cs | 141 ----- ...etaTokenwiseV1betaPathDeleteResponse6.g.cs | 19 - ...enwiseV1betaPathOptionsResponse.Json.g.cs} | 26 +- ...etaTokenwiseV1betaPathOptionsResponse.g.cs | 19 + ...nwiseV1betaPathOptionsResponse2.Json.g.cs} | 26 +- ...taTokenwiseV1betaPathOptionsResponse2.g.cs | 19 + ...nwiseV1betaPathOptionsResponse3.Json.g.cs} | 26 +- ...taTokenwiseV1betaPathOptionsResponse3.g.cs | 19 + ...nwiseV1betaPathOptionsResponse4.Json.g.cs} | 26 +- ...aTokenwiseV1betaPathOptionsResponse4.g.cs} | 2 +- ...nwiseV1betaPathOptionsResponse5.Json.g.cs} | 26 +- ...aTokenwiseV1betaPathOptionsResponse5.g.cs} | 2 +- ...enwiseV1betaPathOptionsResponse6.Json.g.cs | 141 +++++ ...taTokenwiseV1betaPathOptionsResponse6.g.cs | 19 + ...wayV1internalPathDeleteResponse6.Json.g.cs | 141 ----- ...ayV1internalPathOptionsResponse.Json.g.cs} | 26 +- ...GatewayV1internalPathOptionsResponse.g.cs} | 2 +- ...yV1internalPathOptionsResponse2.Json.g.cs} | 26 +- ...atewayV1internalPathOptionsResponse2.g.cs} | 2 +- ...yV1internalPathOptionsResponse3.Json.g.cs} | 26 +- ...atewayV1internalPathOptionsResponse3.g.cs} | 2 +- ...yV1internalPathOptionsResponse4.Json.g.cs} | 26 +- ...atewayV1internalPathOptionsResponse4.g.cs} | 2 +- ...yV1internalPathOptionsResponse5.Json.g.cs} | 26 +- ...GatewayV1internalPathOptionsResponse5.g.cs | 19 + ...ayV1internalPathOptionsResponse6.Json.g.cs | 141 +++++ ...GatewayV1internalPathOptionsResponse6.g.cs | 19 + ...iseV1internalPathDeleteResponse5.Json.g.cs | 141 ----- ...okenwiseV1internalPathDeleteResponse5.g.cs | 19 - ...iseV1internalPathDeleteResponse6.Json.g.cs | 141 ----- ...okenwiseV1internalPathDeleteResponse6.g.cs | 19 - ...seV1internalPathOptionsResponse.Json.g.cs} | 26 +- ...kenwiseV1internalPathOptionsResponse.g.cs} | 2 +- ...eV1internalPathOptionsResponse2.Json.g.cs} | 26 +- ...enwiseV1internalPathOptionsResponse2.g.cs} | 2 +- ...eV1internalPathOptionsResponse3.Json.g.cs} | 26 +- ...enwiseV1internalPathOptionsResponse3.g.cs} | 2 +- ...eV1internalPathOptionsResponse4.Json.g.cs} | 26 +- ...enwiseV1internalPathOptionsResponse4.g.cs} | 2 +- ...seV1internalPathOptionsResponse5.Json.g.cs | 141 +++++ ...kenwiseV1internalPathOptionsResponse5.g.cs | 19 + ...seV1internalPathOptionsResponse6.Json.g.cs | 141 +++++ ...kenwiseV1internalPathOptionsResponse6.g.cs | 19 + src/libs/AI21/openapi.json | 2 +- 455 files changed, 13790 insertions(+), 8205 deletions(-) create mode 100644 src/cli/AI21.CLI/Commands/CreateProviderKeyGatewaySettingsProviderKeysPostCommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/CreateProviderKeyTokenwiseSettingsProviderKeysPostCommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/DeleteProviderKeyGatewaySettingsProviderKeysDeleteCommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/DeleteProviderKeyTokenwiseSettingsProviderKeysDeleteCommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ListProviderKeysGatewaySettingsProviderKeysGetCommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ListProviderKeysTokenwiseSettingsProviderKeysGetCommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ProviderKeyCreateOptionSet.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ProviderKeyUpdateOptionSet.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathDelete2CommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyHarnessApiHarnessApiPathDeleteCommandApiCommand.g.cs => ProxyHarnessApiHarnessApiPathPut2CommandApiCommand.g.cs} (93%) rename src/cli/AI21.CLI/Commands/{ProxyHarnessApiHarnessApiPathDelete3CommandApiCommand.g.cs => ProxyHarnessApiHarnessApiPathPut3CommandApiCommand.g.cs} (93%) rename src/cli/AI21.CLI/Commands/{ProxyHarnessApiHarnessApiPathDelete4CommandApiCommand.g.cs => ProxyHarnessApiHarnessApiPathPut4CommandApiCommand.g.cs} (93%) rename src/cli/AI21.CLI/Commands/{ProxyHarnessApiHarnessApiPathDelete5CommandApiCommand.g.cs => ProxyHarnessApiHarnessApiPathPut5CommandApiCommand.g.cs} (93%) create mode 100644 src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPutCommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathDelete6CommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathDeleteCommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyOffV1GatewayOffV1PathDelete3CommandApiCommand.g.cs => ProxyOffV1GatewayOffV1PathOptions2CommandApiCommand.g.cs} (95%) rename src/cli/AI21.CLI/Commands/{ProxyOffV1GatewayOffV1PathDelete4CommandApiCommand.g.cs => ProxyOffV1GatewayOffV1PathOptions3CommandApiCommand.g.cs} (95%) rename src/cli/AI21.CLI/Commands/{ProxyOffV1GatewayOffV1PathDelete5CommandApiCommand.g.cs => ProxyOffV1GatewayOffV1PathOptions4CommandApiCommand.g.cs} (95%) create mode 100644 src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions5CommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions6CommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyOffV1GatewayOffV1PathDelete2CommandApiCommand.g.cs => ProxyOffV1GatewayOffV1PathOptionsCommandApiCommand.g.cs} (95%) delete mode 100644 src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathDelete6CommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathDeleteCommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyOffV1TokenwiseOffV1PathDelete3CommandApiCommand.g.cs => ProxyOffV1TokenwiseOffV1PathOptions2CommandApiCommand.g.cs} (94%) rename src/cli/AI21.CLI/Commands/{ProxyOffV1TokenwiseOffV1PathDelete4CommandApiCommand.g.cs => ProxyOffV1TokenwiseOffV1PathOptions3CommandApiCommand.g.cs} (94%) rename src/cli/AI21.CLI/Commands/{ProxyOffV1TokenwiseOffV1PathDelete5CommandApiCommand.g.cs => ProxyOffV1TokenwiseOffV1PathOptions4CommandApiCommand.g.cs} (94%) create mode 100644 src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions5CommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions6CommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyOffV1TokenwiseOffV1PathDelete2CommandApiCommand.g.cs => ProxyOffV1TokenwiseOffV1PathOptionsCommandApiCommand.g.cs} (94%) delete mode 100644 src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathDelete6CommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathDeleteCommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyOnV1GatewayOnV1PathDelete2CommandApiCommand.g.cs => ProxyOnV1GatewayOnV1PathOptions2CommandApiCommand.g.cs} (95%) rename src/cli/AI21.CLI/Commands/{ProxyOnV1GatewayOnV1PathDelete3CommandApiCommand.g.cs => ProxyOnV1GatewayOnV1PathOptions3CommandApiCommand.g.cs} (95%) rename src/cli/AI21.CLI/Commands/{ProxyOnV1GatewayOnV1PathDelete4CommandApiCommand.g.cs => ProxyOnV1GatewayOnV1PathOptions4CommandApiCommand.g.cs} (95%) create mode 100644 src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions5CommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions6CommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyOnV1GatewayOnV1PathDelete5CommandApiCommand.g.cs => ProxyOnV1GatewayOnV1PathOptionsCommandApiCommand.g.cs} (95%) delete mode 100644 src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathDelete6CommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathDeleteCommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyOnV1TokenwiseOnV1PathDelete3CommandApiCommand.g.cs => ProxyOnV1TokenwiseOnV1PathOptions2CommandApiCommand.g.cs} (95%) rename src/cli/AI21.CLI/Commands/{ProxyOnV1TokenwiseOnV1PathDelete4CommandApiCommand.g.cs => ProxyOnV1TokenwiseOnV1PathOptions3CommandApiCommand.g.cs} (95%) rename src/cli/AI21.CLI/Commands/{ProxyOnV1TokenwiseOnV1PathDelete5CommandApiCommand.g.cs => ProxyOnV1TokenwiseOnV1PathOptions4CommandApiCommand.g.cs} (95%) create mode 100644 src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions5CommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions6CommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyOnV1TokenwiseOnV1PathDelete2CommandApiCommand.g.cs => ProxyOnV1TokenwiseOnV1PathOptionsCommandApiCommand.g.cs} (95%) delete mode 100644 src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathDelete6CommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathDeleteCommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyV1TokenwiseV1PathDeleteCommandApiCommand.g.cs => ProxyV1GatewayV1PathOptions2CommandApiCommand.g.cs} (94%) rename src/cli/AI21.CLI/Commands/{ProxyV1GatewayV1PathDelete3CommandApiCommand.g.cs => ProxyV1GatewayV1PathOptions3CommandApiCommand.g.cs} (93%) rename src/cli/AI21.CLI/Commands/{ProxyV1GatewayV1PathDelete4CommandApiCommand.g.cs => ProxyV1GatewayV1PathOptions4CommandApiCommand.g.cs} (93%) rename src/cli/AI21.CLI/Commands/{ProxyV1GatewayV1PathDelete5CommandApiCommand.g.cs => ProxyV1GatewayV1PathOptions5CommandApiCommand.g.cs} (93%) create mode 100644 src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions6CommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyV1GatewayV1PathDelete2CommandApiCommand.g.cs => ProxyV1GatewayV1PathOptionsCommandApiCommand.g.cs} (94%) delete mode 100644 src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathDelete3CommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathDelete4CommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathDelete5CommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathDelete6CommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions2CommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions3CommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions4CommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions5CommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions6CommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyV1TokenwiseV1PathDelete2CommandApiCommand.g.cs => ProxyV1TokenwiseV1PathOptionsCommandApiCommand.g.cs} (94%) delete mode 100644 src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathDelete6CommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathDeleteCommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyV1betaGatewayV1betaPathDelete3CommandApiCommand.g.cs => ProxyV1betaGatewayV1betaPathOptions2CommandApiCommand.g.cs} (94%) rename src/cli/AI21.CLI/Commands/{ProxyV1betaGatewayV1betaPathDelete4CommandApiCommand.g.cs => ProxyV1betaGatewayV1betaPathOptions3CommandApiCommand.g.cs} (94%) rename src/cli/AI21.CLI/Commands/{ProxyV1betaGatewayV1betaPathDelete5CommandApiCommand.g.cs => ProxyV1betaGatewayV1betaPathOptions4CommandApiCommand.g.cs} (94%) create mode 100644 src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions5CommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions6CommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyV1betaGatewayV1betaPathDelete2CommandApiCommand.g.cs => ProxyV1betaGatewayV1betaPathOptionsCommandApiCommand.g.cs} (95%) delete mode 100644 src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathDelete6CommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathDeleteCommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyV1betaTokenwiseV1betaPathDelete3CommandApiCommand.g.cs => ProxyV1betaTokenwiseV1betaPathOptions2CommandApiCommand.g.cs} (94%) rename src/cli/AI21.CLI/Commands/{ProxyV1betaTokenwiseV1betaPathDelete4CommandApiCommand.g.cs => ProxyV1betaTokenwiseV1betaPathOptions3CommandApiCommand.g.cs} (94%) rename src/cli/AI21.CLI/Commands/{ProxyV1betaTokenwiseV1betaPathDelete5CommandApiCommand.g.cs => ProxyV1betaTokenwiseV1betaPathOptions4CommandApiCommand.g.cs} (94%) create mode 100644 src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions5CommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions6CommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyV1betaTokenwiseV1betaPathDelete2CommandApiCommand.g.cs => ProxyV1betaTokenwiseV1betaPathOptionsCommandApiCommand.g.cs} (94%) delete mode 100644 src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathDelete6CommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathDeleteCommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyV1internalGatewayV1internalPathDelete3CommandApiCommand.g.cs => ProxyV1internalGatewayV1internalPathOptions2CommandApiCommand.g.cs} (96%) rename src/cli/AI21.CLI/Commands/{ProxyV1internalGatewayV1internalPathDelete4CommandApiCommand.g.cs => ProxyV1internalGatewayV1internalPathOptions3CommandApiCommand.g.cs} (96%) rename src/cli/AI21.CLI/Commands/{ProxyV1internalGatewayV1internalPathDelete5CommandApiCommand.g.cs => ProxyV1internalGatewayV1internalPathOptions4CommandApiCommand.g.cs} (96%) create mode 100644 src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions5CommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions6CommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyV1internalGatewayV1internalPathDelete2CommandApiCommand.g.cs => ProxyV1internalGatewayV1internalPathOptionsCommandApiCommand.g.cs} (96%) delete mode 100644 src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathDelete6CommandApiCommand.g.cs delete mode 100644 src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathDeleteCommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyV1internalTokenwiseV1internalPathDelete3CommandApiCommand.g.cs => ProxyV1internalTokenwiseV1internalPathOptions2CommandApiCommand.g.cs} (95%) rename src/cli/AI21.CLI/Commands/{ProxyV1internalTokenwiseV1internalPathDelete4CommandApiCommand.g.cs => ProxyV1internalTokenwiseV1internalPathOptions3CommandApiCommand.g.cs} (95%) rename src/cli/AI21.CLI/Commands/{ProxyV1internalTokenwiseV1internalPathDelete5CommandApiCommand.g.cs => ProxyV1internalTokenwiseV1internalPathOptions4CommandApiCommand.g.cs} (95%) create mode 100644 src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions5CommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions6CommandApiCommand.g.cs rename src/cli/AI21.CLI/Commands/{ProxyV1internalTokenwiseV1internalPathDelete2CommandApiCommand.g.cs => ProxyV1internalTokenwiseV1internalPathOptionsCommandApiCommand.g.cs} (96%) create mode 100644 src/cli/AI21.CLI/Commands/UpdateProviderKeyGatewaySettingsProviderKeysPutCommandApiCommand.g.cs create mode 100644 src/cli/AI21.CLI/Commands/UpdateProviderKeyTokenwiseSettingsProviderKeysPutCommandApiCommand.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Ai21Client.CreateProviderKeyGatewaySettingsProviderKeysPost.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Ai21Client.CreateProviderKeyTokenwiseSettingsProviderKeysPost.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Ai21Client.DeleteProviderKeyGatewaySettingsProviderKeysDelete.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Ai21Client.DeleteProviderKeyTokenwiseSettingsProviderKeysDelete.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Ai21Client.ListProviderKeysGatewaySettingsProviderKeysGet.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Ai21Client.ListProviderKeysTokenwiseSettingsProviderKeysGet.g.cs rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyHarnessApiHarnessApiPathDelete.g.cs => AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyHarnessApiHarnessApiPathDelete2.g.cs => AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut2.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyHarnessApiHarnessApiPathDelete3.g.cs => AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut3.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyHarnessApiHarnessApiPathDelete4.g.cs => AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut4.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyHarnessApiHarnessApiPathDelete5.g.cs => AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut5.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOffV1GatewayOffV1PathDelete.g.cs => AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOffV1GatewayOffV1PathDelete2.g.cs => AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions2.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOffV1GatewayOffV1PathDelete3.g.cs => AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions3.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOffV1GatewayOffV1PathDelete4.g.cs => AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions4.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOffV1GatewayOffV1PathDelete5.g.cs => AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions5.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOffV1GatewayOffV1PathDelete6.g.cs => AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions6.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathDelete.g.cs => AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathDelete2.g.cs => AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions2.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathDelete3.g.cs => AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions3.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathDelete4.g.cs => AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions4.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathDelete5.g.cs => AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions5.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathDelete6.g.cs => AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions6.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOnV1GatewayOnV1PathDelete.g.cs => AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOnV1GatewayOnV1PathDelete2.g.cs => AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions2.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOnV1GatewayOnV1PathDelete3.g.cs => AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions3.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOnV1GatewayOnV1PathDelete4.g.cs => AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions4.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOnV1GatewayOnV1PathDelete5.g.cs => AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions5.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOnV1GatewayOnV1PathDelete6.g.cs => AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions6.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathDelete.g.cs => AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathDelete2.g.cs => AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions2.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathDelete3.g.cs => AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions3.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathDelete4.g.cs => AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions4.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathDelete5.g.cs => AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions5.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathDelete6.g.cs => AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions6.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1GatewayV1PathDelete.g.cs => AI21.Ai21Client.ProxyV1GatewayV1PathOptions.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1GatewayV1PathDelete2.g.cs => AI21.Ai21Client.ProxyV1GatewayV1PathOptions2.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1GatewayV1PathDelete3.g.cs => AI21.Ai21Client.ProxyV1GatewayV1PathOptions3.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1GatewayV1PathDelete4.g.cs => AI21.Ai21Client.ProxyV1GatewayV1PathOptions4.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1GatewayV1PathDelete5.g.cs => AI21.Ai21Client.ProxyV1GatewayV1PathOptions5.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1GatewayV1PathDelete6.g.cs => AI21.Ai21Client.ProxyV1GatewayV1PathOptions6.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1TokenwiseV1PathDelete.g.cs => AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1TokenwiseV1PathDelete2.g.cs => AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions2.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1TokenwiseV1PathDelete3.g.cs => AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions3.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1TokenwiseV1PathDelete4.g.cs => AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions4.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1TokenwiseV1PathDelete5.g.cs => AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions5.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1TokenwiseV1PathDelete6.g.cs => AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions6.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1betaGatewayV1betaPathDelete.g.cs => AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1betaGatewayV1betaPathDelete2.g.cs => AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions2.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1betaGatewayV1betaPathDelete3.g.cs => AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions3.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1betaGatewayV1betaPathDelete4.g.cs => AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions4.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1betaGatewayV1betaPathDelete5.g.cs => AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions5.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1betaGatewayV1betaPathDelete6.g.cs => AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions6.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathDelete.g.cs => AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathDelete2.g.cs => AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions2.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathDelete3.g.cs => AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions3.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathDelete4.g.cs => AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions4.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathDelete5.g.cs => AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions5.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathDelete6.g.cs => AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions6.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1internalGatewayV1internalPathDelete.g.cs => AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions.g.cs} (96%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1internalGatewayV1internalPathDelete2.g.cs => AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions2.g.cs} (96%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1internalGatewayV1internalPathDelete3.g.cs => AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions3.g.cs} (96%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1internalGatewayV1internalPathDelete4.g.cs => AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions4.g.cs} (96%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1internalGatewayV1internalPathDelete5.g.cs => AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions5.g.cs} (96%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1internalGatewayV1internalPathDelete6.g.cs => AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions6.g.cs} (96%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathDelete.g.cs => AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathDelete2.g.cs => AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions2.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathDelete3.g.cs => AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions3.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathDelete4.g.cs => AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions4.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathDelete5.g.cs => AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions5.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathDelete6.g.cs => AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions6.g.cs} (95%) create mode 100644 src/libs/AI21/Generated/AI21.Ai21Client.UpdateProviderKeyGatewaySettingsProviderKeysPut.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Ai21Client.UpdateProviderKeyTokenwiseSettingsProviderKeysPut.g.cs create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.CreateProviderKeyGatewaySettingsProviderKeysPost.g.cs create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.CreateProviderKeyTokenwiseSettingsProviderKeysPost.g.cs create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.DeleteProviderKeyGatewaySettingsProviderKeysDelete.g.cs create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.DeleteProviderKeyTokenwiseSettingsProviderKeysDelete.g.cs create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ListProviderKeysGatewaySettingsProviderKeysGet.g.cs create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ListProviderKeysTokenwiseSettingsProviderKeysGet.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathDelete5.g.cs rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyHarnessApiHarnessApiPathDelete.g.cs => AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut.g.cs} (93%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyHarnessApiHarnessApiPathDelete4.g.cs => AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut2.g.cs} (93%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyHarnessApiHarnessApiPathDelete2.g.cs => AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut3.g.cs} (93%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyHarnessApiHarnessApiPathDelete3.g.cs => AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut4.g.cs} (93%) create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathDelete6.g.cs rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOffV1GatewayOffV1PathDelete5.g.cs => AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOffV1GatewayOffV1PathDelete.g.cs => AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions2.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOffV1GatewayOffV1PathDelete2.g.cs => AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions3.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOffV1GatewayOffV1PathDelete3.g.cs => AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions4.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOffV1GatewayOffV1PathDelete4.g.cs => AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions5.g.cs} (94%) create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathDelete6.g.cs rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathDelete5.g.cs => AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathDelete.g.cs => AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions2.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathDelete2.g.cs => AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions3.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathDelete3.g.cs => AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions4.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathDelete4.g.cs => AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions5.g.cs} (94%) create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathDelete5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathDelete6.g.cs rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOnV1GatewayOnV1PathDelete4.g.cs => AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOnV1GatewayOnV1PathDelete.g.cs => AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions2.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOnV1GatewayOnV1PathDelete2.g.cs => AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions3.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOnV1GatewayOnV1PathDelete3.g.cs => AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions4.g.cs} (94%) create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions5.g.cs create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathDelete6.g.cs rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathDelete5.g.cs => AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathDelete.g.cs => AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions2.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathDelete2.g.cs => AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions3.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathDelete3.g.cs => AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions4.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathDelete4.g.cs => AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions5.g.cs} (94%) create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathDelete6.g.cs rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1GatewayV1PathDelete5.g.cs => AI21.IAi21Client.ProxyV1GatewayV1PathOptions.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1GatewayV1PathDelete.g.cs => AI21.IAi21Client.ProxyV1GatewayV1PathOptions2.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1GatewayV1PathDelete2.g.cs => AI21.IAi21Client.ProxyV1GatewayV1PathOptions3.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1GatewayV1PathDelete3.g.cs => AI21.IAi21Client.ProxyV1GatewayV1PathOptions4.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1GatewayV1PathDelete4.g.cs => AI21.IAi21Client.ProxyV1GatewayV1PathOptions5.g.cs} (95%) create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathDelete6.g.cs rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1TokenwiseV1PathDelete5.g.cs => AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1TokenwiseV1PathDelete.g.cs => AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions2.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1TokenwiseV1PathDelete2.g.cs => AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions3.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1TokenwiseV1PathDelete3.g.cs => AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions4.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1TokenwiseV1PathDelete4.g.cs => AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions5.g.cs} (95%) create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathDelete6.g.cs rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1betaGatewayV1betaPathDelete5.g.cs => AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1betaGatewayV1betaPathDelete.g.cs => AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions2.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1betaGatewayV1betaPathDelete2.g.cs => AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions3.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1betaGatewayV1betaPathDelete3.g.cs => AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions4.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1betaGatewayV1betaPathDelete4.g.cs => AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions5.g.cs} (94%) create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathDelete6.g.cs rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathDelete5.g.cs => AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathDelete.g.cs => AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions2.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathDelete2.g.cs => AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions3.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathDelete3.g.cs => AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions4.g.cs} (94%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathDelete4.g.cs => AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions5.g.cs} (94%) create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathDelete5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathDelete6.g.cs rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1internalGatewayV1internalPathDelete.g.cs => AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions.g.cs} (93%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1internalGatewayV1internalPathDelete2.g.cs => AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions2.g.cs} (93%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1internalGatewayV1internalPathDelete3.g.cs => AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions3.g.cs} (93%) rename src/libs/AI21/Generated/{AI21.IAi21Client.ProxyV1internalGatewayV1internalPathDelete4.g.cs => AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions4.g.cs} (93%) create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions5.g.cs create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathDelete.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathDelete2.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathDelete3.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathDelete4.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathDelete5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathDelete6.g.cs create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions.g.cs create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions2.g.cs create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions3.g.cs create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions4.g.cs create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions5.g.cs create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions6.g.cs create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.UpdateProviderKeyGatewaySettingsProviderKeysPut.g.cs create mode 100644 src/libs/AI21/Generated/AI21.IAi21Client.UpdateProviderKeyTokenwiseSettingsProviderKeysPut.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProviderKeyCreate.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProviderKeyCreate.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProviderKeyOut.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProviderKeyOut.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProviderKeyUpdate.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProviderKeyUpdate.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse5.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse5.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse.Json.g.cs => AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse.Json.g.cs} (90%) rename src/libs/AI21/Generated/{AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse.g.cs => AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse.g.cs} (88%) rename src/libs/AI21/Generated/{AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse2.Json.g.cs => AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse2.Json.g.cs} (90%) rename src/libs/AI21/Generated/{AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse2.g.cs => AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse2.g.cs} (88%) rename src/libs/AI21/Generated/{AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse3.Json.g.cs => AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse3.Json.g.cs} (90%) rename src/libs/AI21/Generated/{AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse3.g.cs => AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse3.g.cs} (88%) rename src/libs/AI21/Generated/{AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse4.Json.g.cs => AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse4.Json.g.cs} (90%) rename src/libs/AI21/Generated/{AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse4.g.cs => AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse4.g.cs} (88%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse5.Json.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse5.g.cs => AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse5.g.cs} (88%) delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse5.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse6.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse6.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse4.Json.g.cs => AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse.Json.g.cs} (87%) rename src/libs/AI21/Generated/{AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse2.g.cs => AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse.g.cs} (86%) rename src/libs/AI21/Generated/{AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse.Json.g.cs => AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse2.Json.g.cs} (86%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse2.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse2.Json.g.cs => AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse3.Json.g.cs} (86%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse3.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse3.Json.g.cs => AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse4.Json.g.cs} (86%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse4.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse5.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse5.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse6.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse2.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse3.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse4.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse6.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse6.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse5.Json.g.cs => AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse.Json.g.cs} (88%) rename src/libs/AI21/Generated/{AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse.g.cs => AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse.g.cs} (86%) rename src/libs/AI21/Generated/{AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse.Json.g.cs => AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse2.Json.g.cs} (87%) rename src/libs/AI21/Generated/{AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse2.g.cs => AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse2.g.cs} (85%) rename src/libs/AI21/Generated/{AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse2.Json.g.cs => AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse3.Json.g.cs} (87%) rename src/libs/AI21/Generated/{AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse3.g.cs => AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse3.g.cs} (85%) rename src/libs/AI21/Generated/{AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse3.Json.g.cs => AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse4.Json.g.cs} (87%) rename src/libs/AI21/Generated/{AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse4.g.cs => AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse4.g.cs} (85%) rename src/libs/AI21/Generated/{AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse4.Json.g.cs => AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse5.Json.g.cs} (87%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse5.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse6.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse6.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse6.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse5.Json.g.cs => AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse.Json.g.cs} (87%) rename src/libs/AI21/Generated/{AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse4.g.cs => AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse.g.cs} (86%) rename src/libs/AI21/Generated/{AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse.Json.g.cs => AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse2.Json.g.cs} (87%) rename src/libs/AI21/Generated/{AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse.g.cs => AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse2.g.cs} (86%) rename src/libs/AI21/Generated/{AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse4.Json.g.cs => AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse3.Json.g.cs} (86%) rename src/libs/AI21/Generated/{AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse2.g.cs => AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse3.g.cs} (86%) rename src/libs/AI21/Generated/{AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse2.Json.g.cs => AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse4.Json.g.cs} (86%) rename src/libs/AI21/Generated/{AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse3.g.cs => AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse4.g.cs} (86%) rename src/libs/AI21/Generated/{AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse3.Json.g.cs => AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse5.Json.g.cs} (86%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse5.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse6.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse3.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse4.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse4.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse5.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse6.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse6.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse2.Json.g.cs => AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse.Json.g.cs} (87%) rename src/libs/AI21/Generated/{AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse3.g.cs => AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse.g.cs} (86%) rename src/libs/AI21/Generated/{AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse.Json.g.cs => AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse2.Json.g.cs} (86%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse2.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse3.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse3.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse4.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse4.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse5.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse5.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse6.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathDeleteResponse5.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathDeleteResponse5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathDeleteResponse6.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathDeleteResponse6.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyV1GatewayV1PathDeleteResponse4.Json.g.cs => AI21.Models.ProxyV1GatewayV1PathOptionsResponse.Json.g.cs} (87%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1GatewayV1PathDeleteResponse4.g.cs => AI21.Models.ProxyV1GatewayV1PathOptionsResponse.g.cs} (87%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1GatewayV1PathDeleteResponse.Json.g.cs => AI21.Models.ProxyV1GatewayV1PathOptionsResponse2.Json.g.cs} (87%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1GatewayV1PathDeleteResponse.g.cs => AI21.Models.ProxyV1GatewayV1PathOptionsResponse2.g.cs} (87%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1GatewayV1PathDeleteResponse2.Json.g.cs => AI21.Models.ProxyV1GatewayV1PathOptionsResponse3.Json.g.cs} (87%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1GatewayV1PathDeleteResponse2.g.cs => AI21.Models.ProxyV1GatewayV1PathOptionsResponse3.g.cs} (87%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1GatewayV1PathDeleteResponse3.Json.g.cs => AI21.Models.ProxyV1GatewayV1PathOptionsResponse4.Json.g.cs} (87%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1GatewayV1PathDeleteResponse3.g.cs => AI21.Models.ProxyV1GatewayV1PathOptionsResponse4.g.cs} (87%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse5.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse5.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse6.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse2.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse3.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse4.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse6.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse6.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse5.Json.g.cs => AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse.Json.g.cs} (87%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse.Json.g.cs => AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse2.Json.g.cs} (86%) rename src/libs/AI21/Generated/{AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse.g.cs => AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse2.g.cs} (86%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse4.Json.g.cs => AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse3.Json.g.cs} (86%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse3.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse2.Json.g.cs => AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse4.Json.g.cs} (86%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse4.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse3.Json.g.cs => AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse5.Json.g.cs} (86%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse5.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse6.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse2.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse3.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse4.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse5.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse6.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse6.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse4.Json.g.cs => AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse.Json.g.cs} (88%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse.Json.g.cs => AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse2.Json.g.cs} (87%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse2.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse2.Json.g.cs => AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse3.Json.g.cs} (87%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse3.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse3.Json.g.cs => AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse4.Json.g.cs} (87%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse4.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse5.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse5.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse6.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse2.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse3.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse4.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse6.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse6.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse5.Json.g.cs => AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse.Json.g.cs} (91%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse.Json.g.cs => AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse2.Json.g.cs} (90%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse2.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse2.Json.g.cs => AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse3.Json.g.cs} (90%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse3.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse3.Json.g.cs => AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse4.Json.g.cs} (90%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse5.g.cs => AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse4.g.cs} (87%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse4.Json.g.cs => AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse5.Json.g.cs} (90%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse6.g.cs => AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse5.g.cs} (87%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse6.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse6.Json.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse5.Json.g.cs => AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse.Json.g.cs} (90%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse.g.cs => AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse.g.cs} (96%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse.Json.g.cs => AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse2.Json.g.cs} (90%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse2.g.cs => AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse2.g.cs} (96%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse2.Json.g.cs => AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse3.Json.g.cs} (90%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse3.g.cs => AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse3.g.cs} (96%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse3.Json.g.cs => AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse4.Json.g.cs} (90%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse4.g.cs => AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse4.g.cs} (96%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse4.Json.g.cs => AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse5.Json.g.cs} (90%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse5.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse6.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse6.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse5.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse5.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse6.Json.g.cs delete mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse6.g.cs rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse.Json.g.cs => AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse.Json.g.cs} (89%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse.g.cs => AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse.g.cs} (96%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse2.Json.g.cs => AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse2.Json.g.cs} (89%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse2.g.cs => AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse2.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse3.Json.g.cs => AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse3.Json.g.cs} (89%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse3.g.cs => AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse3.g.cs} (95%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse4.Json.g.cs => AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse4.Json.g.cs} (89%) rename src/libs/AI21/Generated/{AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse4.g.cs => AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse4.g.cs} (95%) create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse5.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse5.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse6.Json.g.cs create mode 100644 src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse6.g.cs diff --git a/src/cli/AI21.CLI/Commands/CreateProviderKeyGatewaySettingsProviderKeysPostCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/CreateProviderKeyGatewaySettingsProviderKeysPostCommandApiCommand.g.cs new file mode 100644 index 00000000..c44b631c --- /dev/null +++ b/src/cli/AI21.CLI/Commands/CreateProviderKeyGatewaySettingsProviderKeysPostCommandApiCommand.g.cs @@ -0,0 +1,98 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class CreateProviderKeyGatewaySettingsProviderKeysPostCommandApiCommand +{ + private static readonly ProviderKeyCreateOptionSet ProviderKeyCreateOptionSetOptions = ProviderKeyCreateOptionSet.Create(); + private static Option Input { get; } = new(@"--input") + { + Description = "Load request JSON from a file path, '-' for stdin, or an inline JSON object/array string.", + }; + + private static Option RequestJson { get; } = new(@"--request-json") + { + Description = "Request body as JSON.", + Hidden = true, + }; + + private static Option RequestFile { get; } = new(@"--request-file") + { + Description = "Path to a JSON request file, or '-' for stdin.", + Hidden = true, + }; + + private static string FormatResponse(ParseResult parseResult, global::AI21.ProviderKeyOut 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, global::AI21.ProviderKeyOut value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + public static Command Create() + { + var command = new Command(@"create-provider-key-gateway-settings-provider-keys-post", @"Create Provider Key +Store a provider key for the workspace. 409 if one already exists."); + command.Options.Add(ProviderKeyCreateOptionSetOptions.Provider); + command.Options.Add(ProviderKeyCreateOptionSetOptions.ApiKey); + command.Options.Add(Input); + command.Options.Add(RequestJson); + command.Options.Add(RequestFile); + command.Validators.Add(result => + { + var hasInput = result.GetResult(Input) is not null; + var hasRequestJson = result.GetResult(RequestJson) is not null; + var hasRequestFile = result.GetResult(RequestFile) is not null; + var specifiedCount = (hasInput ? 1 : 0) + (hasRequestJson ? 1 : 0) + (hasRequestFile ? 1 : 0); + if (specifiedCount > 1) + { + result.AddError(@"Specify at most one of --input, --request-json, or --request-file."); + } + }); + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var __requestBase = await CliRuntime.ReadRequestOrDefaultAsync( + parseResult, + Input, + RequestJson, + RequestFile, + global::AI21.SourceGenerationContext.Default, + cancellationToken).ConfigureAwait(false); var provider = parseResult.GetRequiredValue(ProviderKeyCreateOptionSetOptions.Provider); + var apiKey = CliRuntime.WasSpecified(parseResult, ProviderKeyCreateOptionSetOptions.ApiKey) ? parseResult.GetValue(ProviderKeyCreateOptionSetOptions.ApiKey) : (__requestBase is { } __ApiKeyBaseValue ? __ApiKeyBaseValue.ApiKey : default); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.CreateProviderKeyGatewaySettingsProviderKeysPostAsync( + provider: provider, + apiKey: apiKey, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/CreateProviderKeyTokenwiseSettingsProviderKeysPostCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/CreateProviderKeyTokenwiseSettingsProviderKeysPostCommandApiCommand.g.cs new file mode 100644 index 00000000..d7398190 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/CreateProviderKeyTokenwiseSettingsProviderKeysPostCommandApiCommand.g.cs @@ -0,0 +1,98 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class CreateProviderKeyTokenwiseSettingsProviderKeysPostCommandApiCommand +{ + private static readonly ProviderKeyCreateOptionSet ProviderKeyCreateOptionSetOptions = ProviderKeyCreateOptionSet.Create(); + private static Option Input { get; } = new(@"--input") + { + Description = "Load request JSON from a file path, '-' for stdin, or an inline JSON object/array string.", + }; + + private static Option RequestJson { get; } = new(@"--request-json") + { + Description = "Request body as JSON.", + Hidden = true, + }; + + private static Option RequestFile { get; } = new(@"--request-file") + { + Description = "Path to a JSON request file, or '-' for stdin.", + Hidden = true, + }; + + private static string FormatResponse(ParseResult parseResult, global::AI21.ProviderKeyOut 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, global::AI21.ProviderKeyOut value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + public static Command Create() + { + var command = new Command(@"create-provider-key-tokenwise-settings-provider-keys-post", @"Create Provider Key +Store a provider key for the workspace. 409 if one already exists."); + command.Options.Add(ProviderKeyCreateOptionSetOptions.Provider); + command.Options.Add(ProviderKeyCreateOptionSetOptions.ApiKey); + command.Options.Add(Input); + command.Options.Add(RequestJson); + command.Options.Add(RequestFile); + command.Validators.Add(result => + { + var hasInput = result.GetResult(Input) is not null; + var hasRequestJson = result.GetResult(RequestJson) is not null; + var hasRequestFile = result.GetResult(RequestFile) is not null; + var specifiedCount = (hasInput ? 1 : 0) + (hasRequestJson ? 1 : 0) + (hasRequestFile ? 1 : 0); + if (specifiedCount > 1) + { + result.AddError(@"Specify at most one of --input, --request-json, or --request-file."); + } + }); + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var __requestBase = await CliRuntime.ReadRequestOrDefaultAsync( + parseResult, + Input, + RequestJson, + RequestFile, + global::AI21.SourceGenerationContext.Default, + cancellationToken).ConfigureAwait(false); var provider = parseResult.GetRequiredValue(ProviderKeyCreateOptionSetOptions.Provider); + var apiKey = CliRuntime.WasSpecified(parseResult, ProviderKeyCreateOptionSetOptions.ApiKey) ? parseResult.GetValue(ProviderKeyCreateOptionSetOptions.ApiKey) : (__requestBase is { } __ApiKeyBaseValue ? __ApiKeyBaseValue.ApiKey : default); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.CreateProviderKeyTokenwiseSettingsProviderKeysPostAsync( + provider: provider, + apiKey: apiKey, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/DefaultApiGroupCommand.g.cs b/src/cli/AI21.CLI/Commands/DefaultApiGroupCommand.g.cs index 1f9e548c..05fe479e 100644 --- a/src/cli/AI21.CLI/Commands/DefaultApiGroupCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/DefaultApiGroupCommand.g.cs @@ -47,6 +47,8 @@ public static Command Create() command.Subcommands.Add(CreateDemoStudioV1DemosPostCommandApiCommand.Create()); command.Subcommands.Add(CreateMcpStorageStudioV1McpStoragePostCommandApiCommand.Create()); command.Subcommands.Add(CreateOrganizationSchemaStudioV1StructuredRagOrganizationsOrganizationIdSchemasPostCommandApiCommand.Create()); + command.Subcommands.Add(CreateProviderKeyGatewaySettingsProviderKeysPostCommandApiCommand.Create()); + command.Subcommands.Add(CreateProviderKeyTokenwiseSettingsProviderKeysPostCommandApiCommand.Create()); command.Subcommands.Add(DeleteAgentGatewaySettingsAgentsAgentIdDeleteCommandApiCommand.Create()); command.Subcommands.Add(DeleteAgentTokenwiseSettingsAgentsAgentIdDeleteCommandApiCommand.Create()); command.Subcommands.Add(DeleteConfigGatewaySettingsConfigsConfigIdDeleteCommandApiCommand.Create()); @@ -54,6 +56,8 @@ public static Command Create() command.Subcommands.Add(DeleteDemoStudioV1DemosDemoIdDeleteCommandApiCommand.Create()); command.Subcommands.Add(DeleteMcpStorageStudioV1McpStorageMcpIdDeleteCommandApiCommand.Create()); command.Subcommands.Add(DeleteOrganizationSchemaStudioV1StructuredRagOrganizationsOrganizationIdSchemasSchemaNameDeleteCommandApiCommand.Create()); + command.Subcommands.Add(DeleteProviderKeyGatewaySettingsProviderKeysDeleteCommandApiCommand.Create()); + command.Subcommands.Add(DeleteProviderKeyTokenwiseSettingsProviderKeysDeleteCommandApiCommand.Create()); command.Subcommands.Add(DetectSchemaStudioV1StructuredRagOrganizationsOrganizationIdSchemaDetectionPostCommandApiCommand.Create()); command.Subcommands.Add(DismissInsightGatewayInsightsInsightIdDismissPostCommandApiCommand.Create()); command.Subcommands.Add(DismissInsightTokenwiseInsightsInsightIdDismissPostCommandApiCommand.Create()); @@ -89,74 +93,76 @@ public static Command Create() command.Subcommands.Add(ListInsightsGatewayInsightsGetCommandApiCommand.Create()); command.Subcommands.Add(ListInsightsTokenwiseInsightsGetCommandApiCommand.Create()); command.Subcommands.Add(ListMcpStorageStudioV1McpStorageGetCommandApiCommand.Create()); + command.Subcommands.Add(ListProviderKeysGatewaySettingsProviderKeysGetCommandApiCommand.Create()); + command.Subcommands.Add(ListProviderKeysTokenwiseSettingsProviderKeysGetCommandApiCommand.Create()); command.Subcommands.Add(ParsePdfStudioV1DemosDocumentModifierParsePdfPostCommandApiCommand.Create()); command.Subcommands.Add(ProcessRfiDocumentStudioV1DemosRfiProcessRfiPostCommandApiCommand.Create()); command.Subcommands.Add(ProxyCliConfigHarnessApiAuthCliConfigGetCommandApiCommand.Create()); - command.Subcommands.Add(ProxyHarnessApiHarnessApiPathDeleteCommandApiCommand.Create()); - command.Subcommands.Add(ProxyHarnessApiHarnessApiPathDelete2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyHarnessApiHarnessApiPathDelete3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyHarnessApiHarnessApiPathDelete4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyHarnessApiHarnessApiPathDelete5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1GatewayOffV1PathDeleteCommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1GatewayOffV1PathDelete2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1GatewayOffV1PathDelete3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1GatewayOffV1PathDelete4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1GatewayOffV1PathDelete5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1GatewayOffV1PathDelete6CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathDeleteCommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathDelete2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathDelete3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathDelete4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathDelete5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOffV1TokenwiseOffV1PathDelete6CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1GatewayOnV1PathDeleteCommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1GatewayOnV1PathDelete2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1GatewayOnV1PathDelete3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1GatewayOnV1PathDelete4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1GatewayOnV1PathDelete5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1GatewayOnV1PathDelete6CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathDeleteCommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathDelete2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathDelete3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathDelete4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathDelete5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyOnV1TokenwiseOnV1PathDelete6CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1GatewayV1PathDeleteCommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1GatewayV1PathDelete2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1GatewayV1PathDelete3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1GatewayV1PathDelete4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1GatewayV1PathDelete5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1GatewayV1PathDelete6CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1TokenwiseV1PathDeleteCommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1TokenwiseV1PathDelete2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1TokenwiseV1PathDelete3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1TokenwiseV1PathDelete4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1TokenwiseV1PathDelete5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1TokenwiseV1PathDelete6CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaGatewayV1betaPathDeleteCommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaGatewayV1betaPathDelete2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaGatewayV1betaPathDelete3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaGatewayV1betaPathDelete4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaGatewayV1betaPathDelete5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaGatewayV1betaPathDelete6CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathDeleteCommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathDelete2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathDelete3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathDelete4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathDelete5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1betaTokenwiseV1betaPathDelete6CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalGatewayV1internalPathDeleteCommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalGatewayV1internalPathDelete2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalGatewayV1internalPathDelete3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalGatewayV1internalPathDelete4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalGatewayV1internalPathDelete5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalGatewayV1internalPathDelete6CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathDeleteCommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathDelete2CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathDelete3CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathDelete4CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathDelete5CommandApiCommand.Create()); - command.Subcommands.Add(ProxyV1internalTokenwiseV1internalPathDelete6CommandApiCommand.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(SubmitInsightFeedbackGatewayInsightsInsightIdFeedbackPostCommandApiCommand.Create()); command.Subcommands.Add(SubmitInsightFeedbackTokenwiseInsightsInsightIdFeedbackPostCommandApiCommand.Create()); command.Subcommands.Add(UpdateAgentGatewaySettingsAgentsAgentIdPutCommandApiCommand.Create()); @@ -165,6 +171,8 @@ public static Command Create() command.Subcommands.Add(UpdateConfigTokenwiseSettingsConfigsConfigIdPutCommandApiCommand.Create()); command.Subcommands.Add(UpdateDemoStudioV1DemosDemoIdPutCommandApiCommand.Create()); command.Subcommands.Add(UpdateMcpStorageStudioV1McpStorageMcpIdPatchCommandApiCommand.Create()); + command.Subcommands.Add(UpdateProviderKeyGatewaySettingsProviderKeysPutCommandApiCommand.Create()); + command.Subcommands.Add(UpdateProviderKeyTokenwiseSettingsProviderKeysPutCommandApiCommand.Create()); command.Subcommands.Add(UpdateWorkspaceModelEndpointStudioV1SettingsModelsNamePatchCommandApiCommand.Create()); command.Subcommands.Add(UploadCheckComplianceStudioV1DemosRegulationsUploadCheckCompliancePostCommandApiCommand.Create()); command.Subcommands.Add(V1CreateAssistantCommandApiCommand.Create()); diff --git a/src/cli/AI21.CLI/Commands/DeleteProviderKeyGatewaySettingsProviderKeysDeleteCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/DeleteProviderKeyGatewaySettingsProviderKeysDeleteCommandApiCommand.g.cs new file mode 100644 index 00000000..c6790e6c --- /dev/null +++ b/src/cli/AI21.CLI/Commands/DeleteProviderKeyGatewaySettingsProviderKeysDeleteCommandApiCommand.g.cs @@ -0,0 +1,39 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class DeleteProviderKeyGatewaySettingsProviderKeysDeleteCommandApiCommand +{ + private static Option Provider { get; } = new( + name: @"--provider") + { + Description = @"", + Required = true, + }; + + public static Command Create() + { + var command = new Command(@"delete-provider-key-gateway-settings-provider-keys-delete", @"Delete Provider Key +Delete the workspace's key for a provider. 404 if none is configured."); + command.Options.Add(Provider); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var provider = parseResult.GetRequiredValue(Provider); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + await client.DeleteProviderKeyGatewaySettingsProviderKeysDeleteAsync( + provider: provider, + cancellationToken: cancellationToken).ConfigureAwait(false); + + await CliRuntime.WriteSuccessAsync(parseResult, cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/DeleteProviderKeyTokenwiseSettingsProviderKeysDeleteCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/DeleteProviderKeyTokenwiseSettingsProviderKeysDeleteCommandApiCommand.g.cs new file mode 100644 index 00000000..b6846281 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/DeleteProviderKeyTokenwiseSettingsProviderKeysDeleteCommandApiCommand.g.cs @@ -0,0 +1,39 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class DeleteProviderKeyTokenwiseSettingsProviderKeysDeleteCommandApiCommand +{ + private static Option Provider { get; } = new( + name: @"--provider") + { + Description = @"", + Required = true, + }; + + public static Command Create() + { + var command = new Command(@"delete-provider-key-tokenwise-settings-provider-keys-delete", @"Delete Provider Key +Delete the workspace's key for a provider. 404 if none is configured."); + command.Options.Add(Provider); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var provider = parseResult.GetRequiredValue(Provider); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + await client.DeleteProviderKeyTokenwiseSettingsProviderKeysDeleteAsync( + provider: provider, + cancellationToken: cancellationToken).ConfigureAwait(false); + + await CliRuntime.WriteSuccessAsync(parseResult, cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ListProviderKeysGatewaySettingsProviderKeysGetCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ListProviderKeysGatewaySettingsProviderKeysGetCommandApiCommand.g.cs new file mode 100644 index 00000000..5b32b4c3 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ListProviderKeysGatewaySettingsProviderKeysGetCommandApiCommand.g.cs @@ -0,0 +1,74 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ListProviderKeysGatewaySettingsProviderKeysGetCommandApiCommand +{ + private static Option Provider { get; } = new( + name: @"--provider") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, global::AI21.AnyOf, global::AI21.ProviderKeyOut> 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, global::AI21.AnyOf, global::AI21.ProviderKeyOut> value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + public static Command Create() + { + var command = new Command(@"list-provider-keys-gateway-settings-provider-keys-get", @"List Provider Keys +The workspace's provider keys, masked. + +One endpoint, two shapes, mirroring the BFF: without ``provider`` it lists +every key for the workspace; with one it returns that single key, or 404 if +the workspace has none for it. The union response model is the honest +declaration of that — see ``provider_keys/router.py::list_provider_keys``. + +``provider`` is bounded here so an explicitly empty ``?provider=`` fails with +422 at this edge rather than making the round trip (the BFF rejects it too); +omitting it entirely is the list case. It rides through on the forwarded query +string — see ``tokenwise_service._build_gateway_request``."); + command.Options.Add(Provider); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var provider = parseResult.GetValue(Provider); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ListProviderKeysGatewaySettingsProviderKeysGetAsync( + provider: provider, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ListProviderKeysTokenwiseSettingsProviderKeysGetCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ListProviderKeysTokenwiseSettingsProviderKeysGetCommandApiCommand.g.cs new file mode 100644 index 00000000..b4ab9ca6 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ListProviderKeysTokenwiseSettingsProviderKeysGetCommandApiCommand.g.cs @@ -0,0 +1,74 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ListProviderKeysTokenwiseSettingsProviderKeysGetCommandApiCommand +{ + private static Option Provider { get; } = new( + name: @"--provider") + { + Description = @"", + }; + + private static string FormatResponse(ParseResult parseResult, global::AI21.AnyOf, global::AI21.ProviderKeyOut> 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, global::AI21.AnyOf, global::AI21.ProviderKeyOut> value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + public static Command Create() + { + var command = new Command(@"list-provider-keys-tokenwise-settings-provider-keys-get", @"List Provider Keys +The workspace's provider keys, masked. + +One endpoint, two shapes, mirroring the BFF: without ``provider`` it lists +every key for the workspace; with one it returns that single key, or 404 if +the workspace has none for it. The union response model is the honest +declaration of that — see ``provider_keys/router.py::list_provider_keys``. + +``provider`` is bounded here so an explicitly empty ``?provider=`` fails with +422 at this edge rather than making the round trip (the BFF rejects it too); +omitting it entirely is the list case. It rides through on the forwarded query +string — see ``tokenwise_service._build_gateway_request``."); + command.Options.Add(Provider); + + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var provider = parseResult.GetValue(Provider); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.ListProviderKeysTokenwiseSettingsProviderKeysGetAsync( + provider: provider, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProviderKeyCreateOptionSet.g.cs b/src/cli/AI21.CLI/Commands/ProviderKeyCreateOptionSet.g.cs new file mode 100644 index 00000000..7e31c86d --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProviderKeyCreateOptionSet.g.cs @@ -0,0 +1,29 @@ +#nullable enable + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal sealed record ProviderKeyCreateOptionSet( + Option Provider, + Option ApiKey) +{ + public static ProviderKeyCreateOptionSet Create(string? prefix = null) + { + var normalizedPrefix = string.IsNullOrWhiteSpace(prefix) + ? string.Empty + : prefix.Trim().Trim('-') + "-"; + return new ProviderKeyCreateOptionSet( + Provider: new Option($"--{normalizedPrefix}provider") + { + Description = @"", + Required = true, + }, + ApiKey: new Option($"--{normalizedPrefix}api-key") + { + Description = @"", + Required = true, + } + ); + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProviderKeyUpdateOptionSet.g.cs b/src/cli/AI21.CLI/Commands/ProviderKeyUpdateOptionSet.g.cs new file mode 100644 index 00000000..e170a464 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProviderKeyUpdateOptionSet.g.cs @@ -0,0 +1,29 @@ +#nullable enable + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal sealed record ProviderKeyUpdateOptionSet( + Option Provider, + Option ApiKey) +{ + public static ProviderKeyUpdateOptionSet Create(string? prefix = null) + { + var normalizedPrefix = string.IsNullOrWhiteSpace(prefix) + ? string.Empty + : prefix.Trim().Trim('-') + "-"; + return new ProviderKeyUpdateOptionSet( + Provider: new Option($"--{normalizedPrefix}provider") + { + Description = @"", + Required = true, + }, + ApiKey: new Option($"--{normalizedPrefix}api-key") + { + Description = @"", + Required = true, + } + ); + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathDelete2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathDelete2CommandApiCommand.g.cs deleted file mode 100644 index 41e979d1..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathDelete2CommandApiCommand.g.cs +++ /dev/null @@ -1,63 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyHarnessApiHarnessApiPathDelete2CommandApiCommand -{ - 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); - - - public static Command Create() - { - var command = new Command(@"proxy-harness-api-harness-api-path-delete2", @"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.ProxyHarnessApiHarnessApiPathDelete2Async( - path: path, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathDeleteCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPut2CommandApiCommand.g.cs similarity index 93% rename from src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathDeleteCommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPut2CommandApiCommand.g.cs index 9a526bd2..f05b74de 100644 --- a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathDeleteCommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPut2CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyHarnessApiHarnessApiPathDeleteCommandApiCommand +internal static partial class ProxyHarnessApiHarnessApiPathPut2CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -35,7 +35,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-harness-api-harness-api-path-delete", @"Proxy Harness Api"); + var command = new Command(@"proxy-harness-api-harness-api-path-put2", @"Proxy Harness Api"); command.Arguments.Add(Path); @@ -46,7 +46,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyHarnessApiHarnessApiPathDeleteAsync( + var response = await client.ProxyHarnessApiHarnessApiPathPut2Async( path: path, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathDelete3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPut3CommandApiCommand.g.cs similarity index 93% rename from src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathDelete3CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPut3CommandApiCommand.g.cs index 52ddf852..e0b0dc33 100644 --- a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathDelete3CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPut3CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyHarnessApiHarnessApiPathDelete3CommandApiCommand +internal static partial class ProxyHarnessApiHarnessApiPathPut3CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -35,7 +35,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-harness-api-harness-api-path-delete3", @"Proxy Harness Api"); + var command = new Command(@"proxy-harness-api-harness-api-path-put3", @"Proxy Harness Api"); command.Arguments.Add(Path); @@ -46,7 +46,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyHarnessApiHarnessApiPathDelete3Async( + var response = await client.ProxyHarnessApiHarnessApiPathPut3Async( path: path, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathDelete4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPut4CommandApiCommand.g.cs similarity index 93% rename from src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathDelete4CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPut4CommandApiCommand.g.cs index 389728b3..ef877d71 100644 --- a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathDelete4CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPut4CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyHarnessApiHarnessApiPathDelete4CommandApiCommand +internal static partial class ProxyHarnessApiHarnessApiPathPut4CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -35,7 +35,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-harness-api-harness-api-path-delete4", @"Proxy Harness Api"); + var command = new Command(@"proxy-harness-api-harness-api-path-put4", @"Proxy Harness Api"); command.Arguments.Add(Path); @@ -46,7 +46,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyHarnessApiHarnessApiPathDelete4Async( + var response = await client.ProxyHarnessApiHarnessApiPathPut4Async( path: path, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathDelete5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPut5CommandApiCommand.g.cs similarity index 93% rename from src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathDelete5CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPut5CommandApiCommand.g.cs index 1b8b8682..4f1df62e 100644 --- a/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathDelete5CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPut5CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyHarnessApiHarnessApiPathDelete5CommandApiCommand +internal static partial class ProxyHarnessApiHarnessApiPathPut5CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -35,7 +35,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-harness-api-harness-api-path-delete5", @"Proxy Harness Api"); + var command = new Command(@"proxy-harness-api-harness-api-path-put5", @"Proxy Harness Api"); command.Arguments.Add(Path); @@ -46,7 +46,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyHarnessApiHarnessApiPathDelete5Async( + var response = await client.ProxyHarnessApiHarnessApiPathPut5Async( 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 new file mode 100644 index 00000000..9b3ab7b6 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyHarnessApiHarnessApiPathPutCommandApiCommand.g.cs @@ -0,0 +1,63 @@ +#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); + + + public static Command Create() + { + var command = new Command(@"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)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathDelete6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathDelete6CommandApiCommand.g.cs deleted file mode 100644 index 38d81259..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathDelete6CommandApiCommand.g.cs +++ /dev/null @@ -1,73 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyOffV1GatewayOffV1PathDelete6CommandApiCommand -{ - 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); - - - public static Command Create() - { - var command = new Command(@"proxy-off-v1-gateway-off-v1-path-delete6", @"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.ProxyOffV1GatewayOffV1PathDelete6Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathDeleteCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathDeleteCommandApiCommand.g.cs deleted file mode 100644 index 486fa78c..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathDeleteCommandApiCommand.g.cs +++ /dev/null @@ -1,73 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyOffV1GatewayOffV1PathDeleteCommandApiCommand -{ - 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); - - - public static Command Create() - { - var command = new Command(@"proxy-off-v1-gateway-off-v1-path-delete", @"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.ProxyOffV1GatewayOffV1PathDeleteAsync( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathDelete3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions2CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathDelete3CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions2CommandApiCommand.g.cs index c8096b96..304bfab9 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathDelete3CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions2CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOffV1GatewayOffV1PathDelete3CommandApiCommand +internal static partial class ProxyOffV1GatewayOffV1PathOptions2CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-off-v1-gateway-off-v1-path-delete3", @"Proxy Off V1 + var command = new Command(@"proxy-off-v1-gateway-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); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOffV1GatewayOffV1PathDelete3Async( + var response = await client.ProxyOffV1GatewayOffV1PathOptions2Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathDelete4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions3CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathDelete4CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions3CommandApiCommand.g.cs index 9911cb46..79be0af5 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathDelete4CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions3CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOffV1GatewayOffV1PathDelete4CommandApiCommand +internal static partial class ProxyOffV1GatewayOffV1PathOptions3CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-off-v1-gateway-off-v1-path-delete4", @"Proxy Off V1 + var command = new Command(@"proxy-off-v1-gateway-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); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOffV1GatewayOffV1PathDelete4Async( + var response = await client.ProxyOffV1GatewayOffV1PathOptions3Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathDelete5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions4CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathDelete5CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions4CommandApiCommand.g.cs index 2f5f1773..763552ed 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathDelete5CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions4CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOffV1GatewayOffV1PathDelete5CommandApiCommand +internal static partial class ProxyOffV1GatewayOffV1PathOptions4CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-off-v1-gateway-off-v1-path-delete5", @"Proxy Off V1 + var command = new Command(@"proxy-off-v1-gateway-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); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOffV1GatewayOffV1PathDelete5Async( + var response = await client.ProxyOffV1GatewayOffV1PathOptions4Async( 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/ProxyOffV1GatewayOffV1PathOptions5CommandApiCommand.g.cs new file mode 100644 index 00000000..aad704ca --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions5CommandApiCommand.g.cs @@ -0,0 +1,73 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyOffV1GatewayOffV1PathOptions5CommandApiCommand +{ + 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); + + + public static Command Create() + { + var command = new Command(@"proxy-off-v1-gateway-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.ProxyOffV1GatewayOffV1PathOptions5Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + 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 new file mode 100644 index 00000000..b6b1f38f --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptions6CommandApiCommand.g.cs @@ -0,0 +1,73 @@ +#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); + + + public static Command Create() + { + var command = new Command(@"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)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathDelete2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptionsCommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathDelete2CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptionsCommandApiCommand.g.cs index e3785ee3..bcb4788f 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathDelete2CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1GatewayOffV1PathOptionsCommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOffV1GatewayOffV1PathDelete2CommandApiCommand +internal static partial class ProxyOffV1GatewayOffV1PathOptionsCommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-off-v1-gateway-off-v1-path-delete2", @"Proxy Off V1 + var command = new Command(@"proxy-off-v1-gateway-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); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOffV1GatewayOffV1PathDelete2Async( + var response = await client.ProxyOffV1GatewayOffV1PathOptionsAsync( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathDelete6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathDelete6CommandApiCommand.g.cs deleted file mode 100644 index 8e11e5f4..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathDelete6CommandApiCommand.g.cs +++ /dev/null @@ -1,73 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyOffV1TokenwiseOffV1PathDelete6CommandApiCommand -{ - 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); - - - public static Command Create() - { - var command = new Command(@"proxy-off-v1-tokenwise-off-v1-path-delete6", @"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.ProxyOffV1TokenwiseOffV1PathDelete6Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathDeleteCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathDeleteCommandApiCommand.g.cs deleted file mode 100644 index 860d1d77..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathDeleteCommandApiCommand.g.cs +++ /dev/null @@ -1,73 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyOffV1TokenwiseOffV1PathDeleteCommandApiCommand -{ - 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); - - - public static Command Create() - { - var command = new Command(@"proxy-off-v1-tokenwise-off-v1-path-delete", @"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.ProxyOffV1TokenwiseOffV1PathDeleteAsync( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathDelete3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions2CommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathDelete3CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions2CommandApiCommand.g.cs index 7142e90c..e6ca4426 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathDelete3CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions2CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOffV1TokenwiseOffV1PathDelete3CommandApiCommand +internal static partial class ProxyOffV1TokenwiseOffV1PathOptions2CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-off-v1-tokenwise-off-v1-path-delete3", @"Proxy Off V1 + var command = new Command(@"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); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOffV1TokenwiseOffV1PathDelete3Async( + var response = await client.ProxyOffV1TokenwiseOffV1PathOptions2Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathDelete4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions3CommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathDelete4CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions3CommandApiCommand.g.cs index d453fddd..92259336 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathDelete4CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions3CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOffV1TokenwiseOffV1PathDelete4CommandApiCommand +internal static partial class ProxyOffV1TokenwiseOffV1PathOptions3CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-off-v1-tokenwise-off-v1-path-delete4", @"Proxy Off V1 + var command = new Command(@"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); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOffV1TokenwiseOffV1PathDelete4Async( + var response = await client.ProxyOffV1TokenwiseOffV1PathOptions3Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathDelete5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions4CommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathDelete5CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions4CommandApiCommand.g.cs index c47b06fa..96b26686 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathDelete5CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions4CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOffV1TokenwiseOffV1PathDelete5CommandApiCommand +internal static partial class ProxyOffV1TokenwiseOffV1PathOptions4CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-off-v1-tokenwise-off-v1-path-delete5", @"Proxy Off V1 + var command = new Command(@"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); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOffV1TokenwiseOffV1PathDelete5Async( + var response = await client.ProxyOffV1TokenwiseOffV1PathOptions4Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions5CommandApiCommand.g.cs new file mode 100644 index 00000000..3485a8f1 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions5CommandApiCommand.g.cs @@ -0,0 +1,73 @@ +#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); + + + public static Command Create() + { + var command = new Command(@"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)); + 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 new file mode 100644 index 00000000..d952f047 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptions6CommandApiCommand.g.cs @@ -0,0 +1,73 @@ +#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); + + + public static Command Create() + { + var command = new Command(@"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)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathDelete2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptionsCommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathDelete2CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptionsCommandApiCommand.g.cs index 173309ec..44682df2 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathDelete2CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOffV1TokenwiseOffV1PathOptionsCommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOffV1TokenwiseOffV1PathDelete2CommandApiCommand +internal static partial class ProxyOffV1TokenwiseOffV1PathOptionsCommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-off-v1-tokenwise-off-v1-path-delete2", @"Proxy Off V1 + var command = new Command(@"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); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOffV1TokenwiseOffV1PathDelete2Async( + var response = await client.ProxyOffV1TokenwiseOffV1PathOptionsAsync( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathDelete6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathDelete6CommandApiCommand.g.cs deleted file mode 100644 index f4976980..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathDelete6CommandApiCommand.g.cs +++ /dev/null @@ -1,73 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyOnV1GatewayOnV1PathDelete6CommandApiCommand -{ - 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); - - - public static Command Create() - { - var command = new Command(@"proxy-on-v1-gateway-on-v1-path-delete6", @"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.ProxyOnV1GatewayOnV1PathDelete6Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathDeleteCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathDeleteCommandApiCommand.g.cs deleted file mode 100644 index 12522f54..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathDeleteCommandApiCommand.g.cs +++ /dev/null @@ -1,73 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyOnV1GatewayOnV1PathDeleteCommandApiCommand -{ - 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); - - - public static Command Create() - { - var command = new Command(@"proxy-on-v1-gateway-on-v1-path-delete", @"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.ProxyOnV1GatewayOnV1PathDeleteAsync( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathDelete2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions2CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathDelete2CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions2CommandApiCommand.g.cs index d7d50a9d..cd05ea88 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathDelete2CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions2CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOnV1GatewayOnV1PathDelete2CommandApiCommand +internal static partial class ProxyOnV1GatewayOnV1PathOptions2CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-on-v1-gateway-on-v1-path-delete2", @"Proxy On V1 + var command = new Command(@"proxy-on-v1-gateway-on-v1-path-options2", @"Proxy On V1 A/B on-arm — forces gateway transformers on for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOnV1GatewayOnV1PathDelete2Async( + var response = await client.ProxyOnV1GatewayOnV1PathOptions2Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathDelete3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions3CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathDelete3CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions3CommandApiCommand.g.cs index 13452c69..2404fe59 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathDelete3CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions3CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOnV1GatewayOnV1PathDelete3CommandApiCommand +internal static partial class ProxyOnV1GatewayOnV1PathOptions3CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-on-v1-gateway-on-v1-path-delete3", @"Proxy On V1 + var command = new Command(@"proxy-on-v1-gateway-on-v1-path-options3", @"Proxy On V1 A/B on-arm — forces gateway transformers on for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOnV1GatewayOnV1PathDelete3Async( + var response = await client.ProxyOnV1GatewayOnV1PathOptions3Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathDelete4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions4CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathDelete4CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions4CommandApiCommand.g.cs index 8215dfcb..95947899 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathDelete4CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions4CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOnV1GatewayOnV1PathDelete4CommandApiCommand +internal static partial class ProxyOnV1GatewayOnV1PathOptions4CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-on-v1-gateway-on-v1-path-delete4", @"Proxy On V1 + var command = new Command(@"proxy-on-v1-gateway-on-v1-path-options4", @"Proxy On V1 A/B on-arm — forces gateway transformers on for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOnV1GatewayOnV1PathDelete4Async( + var response = await client.ProxyOnV1GatewayOnV1PathOptions4Async( 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 new file mode 100644 index 00000000..a5fc64bc --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions5CommandApiCommand.g.cs @@ -0,0 +1,73 @@ +#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); + + + public static Command Create() + { + var command = new Command(@"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)); + 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 new file mode 100644 index 00000000..ddd4ed41 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptions6CommandApiCommand.g.cs @@ -0,0 +1,73 @@ +#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); + + + public static Command Create() + { + var command = new Command(@"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)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathDelete5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptionsCommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathDelete5CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptionsCommandApiCommand.g.cs index d59f7c9d..8c405ab6 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathDelete5CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1GatewayOnV1PathOptionsCommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOnV1GatewayOnV1PathDelete5CommandApiCommand +internal static partial class ProxyOnV1GatewayOnV1PathOptionsCommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-on-v1-gateway-on-v1-path-delete5", @"Proxy On V1 + var command = new Command(@"proxy-on-v1-gateway-on-v1-path-options", @"Proxy On V1 A/B on-arm — forces gateway transformers on for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOnV1GatewayOnV1PathDelete5Async( + var response = await client.ProxyOnV1GatewayOnV1PathOptionsAsync( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathDelete6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathDelete6CommandApiCommand.g.cs deleted file mode 100644 index 612e5cbf..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathDelete6CommandApiCommand.g.cs +++ /dev/null @@ -1,73 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyOnV1TokenwiseOnV1PathDelete6CommandApiCommand -{ - 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); - - - public static Command Create() - { - var command = new Command(@"proxy-on-v1-tokenwise-on-v1-path-delete6", @"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.ProxyOnV1TokenwiseOnV1PathDelete6Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathDeleteCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathDeleteCommandApiCommand.g.cs deleted file mode 100644 index 9a72ad16..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathDeleteCommandApiCommand.g.cs +++ /dev/null @@ -1,73 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyOnV1TokenwiseOnV1PathDeleteCommandApiCommand -{ - 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); - - - public static Command Create() - { - var command = new Command(@"proxy-on-v1-tokenwise-on-v1-path-delete", @"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.ProxyOnV1TokenwiseOnV1PathDeleteAsync( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathDelete3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions2CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathDelete3CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions2CommandApiCommand.g.cs index 1abaf5dc..7f2d1a6e 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathDelete3CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions2CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOnV1TokenwiseOnV1PathDelete3CommandApiCommand +internal static partial class ProxyOnV1TokenwiseOnV1PathOptions2CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-on-v1-tokenwise-on-v1-path-delete3", @"Proxy On V1 + var command = new Command(@"proxy-on-v1-tokenwise-on-v1-path-options2", @"Proxy On V1 A/B on-arm — forces gateway transformers on for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOnV1TokenwiseOnV1PathDelete3Async( + var response = await client.ProxyOnV1TokenwiseOnV1PathOptions2Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathDelete4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions3CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathDelete4CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions3CommandApiCommand.g.cs index d4656873..347a8715 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathDelete4CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions3CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOnV1TokenwiseOnV1PathDelete4CommandApiCommand +internal static partial class ProxyOnV1TokenwiseOnV1PathOptions3CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-on-v1-tokenwise-on-v1-path-delete4", @"Proxy On V1 + var command = new Command(@"proxy-on-v1-tokenwise-on-v1-path-options3", @"Proxy On V1 A/B on-arm — forces gateway transformers on for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOnV1TokenwiseOnV1PathDelete4Async( + var response = await client.ProxyOnV1TokenwiseOnV1PathOptions3Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathDelete5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions4CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathDelete5CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions4CommandApiCommand.g.cs index 3d45a9fe..c1452fa7 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathDelete5CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions4CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOnV1TokenwiseOnV1PathDelete5CommandApiCommand +internal static partial class ProxyOnV1TokenwiseOnV1PathOptions4CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-on-v1-tokenwise-on-v1-path-delete5", @"Proxy On V1 + var command = new Command(@"proxy-on-v1-tokenwise-on-v1-path-options4", @"Proxy On V1 A/B on-arm — forces gateway transformers on for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOnV1TokenwiseOnV1PathDelete5Async( + var response = await client.ProxyOnV1TokenwiseOnV1PathOptions4Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions5CommandApiCommand.g.cs new file mode 100644 index 00000000..e1c291e5 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions5CommandApiCommand.g.cs @@ -0,0 +1,73 @@ +#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); + + + public static Command Create() + { + var command = new Command(@"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)); + 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 new file mode 100644 index 00000000..7c29ac43 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptions6CommandApiCommand.g.cs @@ -0,0 +1,73 @@ +#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); + + + public static Command Create() + { + var command = new Command(@"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)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathDelete2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptionsCommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathDelete2CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptionsCommandApiCommand.g.cs index 6aa1838d..bea79690 100644 --- a/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathDelete2CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyOnV1TokenwiseOnV1PathOptionsCommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyOnV1TokenwiseOnV1PathDelete2CommandApiCommand +internal static partial class ProxyOnV1TokenwiseOnV1PathOptionsCommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-on-v1-tokenwise-on-v1-path-delete2", @"Proxy On V1 + var command = new Command(@"proxy-on-v1-tokenwise-on-v1-path-options", @"Proxy On V1 A/B on-arm — forces gateway transformers on for this request only."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyOnV1TokenwiseOnV1PathDelete2Async( + var response = await client.ProxyOnV1TokenwiseOnV1PathOptionsAsync( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathDelete6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathDelete6CommandApiCommand.g.cs deleted file mode 100644 index e3fc59be..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathDelete6CommandApiCommand.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 ProxyV1GatewayV1PathDelete6CommandApiCommand -{ - 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); - - - public static Command Create() - { - var command = new Command(@"proxy-v1-gateway-v1-path-delete6", @"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.ProxyV1GatewayV1PathDelete6Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathDeleteCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathDeleteCommandApiCommand.g.cs deleted file mode 100644 index 0ee77e21..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathDeleteCommandApiCommand.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 ProxyV1GatewayV1PathDeleteCommandApiCommand -{ - 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); - - - public static Command Create() - { - var command = new Command(@"proxy-v1-gateway-v1-path-delete", @"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.ProxyV1GatewayV1PathDeleteAsync( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathDeleteCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions2CommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathDeleteCommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions2CommandApiCommand.g.cs index 630f2793..868c195c 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathDeleteCommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions2CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1TokenwiseV1PathDeleteCommandApiCommand +internal static partial class ProxyV1GatewayV1PathOptions2CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1-tokenwise-v1-path-delete", @"Proxy V1 + var command = new Command(@"proxy-v1-gateway-v1-path-options2", @"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 @@ -58,7 +58,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1TokenwiseV1PathDeleteAsync( + var response = await client.ProxyV1GatewayV1PathOptions2Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathDelete3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions3CommandApiCommand.g.cs similarity index 93% rename from src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathDelete3CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions3CommandApiCommand.g.cs index 17e07609..28872540 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathDelete3CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions3CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1GatewayV1PathDelete3CommandApiCommand +internal static partial class ProxyV1GatewayV1PathOptions3CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1-gateway-v1-path-delete3", @"Proxy V1 + var command = new Command(@"proxy-v1-gateway-v1-path-options3", @"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 @@ -58,7 +58,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1GatewayV1PathDelete3Async( + var response = await client.ProxyV1GatewayV1PathOptions3Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathDelete4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions4CommandApiCommand.g.cs similarity index 93% rename from src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathDelete4CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions4CommandApiCommand.g.cs index 9fb26496..80afe672 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathDelete4CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions4CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1GatewayV1PathDelete4CommandApiCommand +internal static partial class ProxyV1GatewayV1PathOptions4CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1-gateway-v1-path-delete4", @"Proxy V1 + var command = new Command(@"proxy-v1-gateway-v1-path-options4", @"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 @@ -58,7 +58,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1GatewayV1PathDelete4Async( + var response = await client.ProxyV1GatewayV1PathOptions4Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathDelete5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions5CommandApiCommand.g.cs similarity index 93% rename from src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathDelete5CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions5CommandApiCommand.g.cs index df7b74f4..5ba7f9c3 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathDelete5CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions5CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1GatewayV1PathDelete5CommandApiCommand +internal static partial class ProxyV1GatewayV1PathOptions5CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1-gateway-v1-path-delete5", @"Proxy V1 + var command = new Command(@"proxy-v1-gateway-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 @@ -58,7 +58,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1GatewayV1PathDelete5Async( + var response = await client.ProxyV1GatewayV1PathOptions5Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions6CommandApiCommand.g.cs new file mode 100644 index 00000000..5312864d --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptions6CommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#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); + + + public static Command Create() + { + var command = new Command(@"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)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathDelete2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptionsCommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathDelete2CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptionsCommandApiCommand.g.cs index 4a4fabcb..e2bda216 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathDelete2CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1GatewayV1PathOptionsCommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1GatewayV1PathDelete2CommandApiCommand +internal static partial class ProxyV1GatewayV1PathOptionsCommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1-gateway-v1-path-delete2", @"Proxy V1 + var command = new Command(@"proxy-v1-gateway-v1-path-options", @"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 @@ -58,7 +58,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1GatewayV1PathDelete2Async( + var response = await client.ProxyV1GatewayV1PathOptionsAsync( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathDelete3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathDelete3CommandApiCommand.g.cs deleted file mode 100644 index 4aed902b..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathDelete3CommandApiCommand.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 ProxyV1TokenwiseV1PathDelete3CommandApiCommand -{ - 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); - - - public static Command Create() - { - var command = new Command(@"proxy-v1-tokenwise-v1-path-delete3", @"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.ProxyV1TokenwiseV1PathDelete3Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathDelete4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathDelete4CommandApiCommand.g.cs deleted file mode 100644 index 2d08592b..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathDelete4CommandApiCommand.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 ProxyV1TokenwiseV1PathDelete4CommandApiCommand -{ - 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); - - - public static Command Create() - { - var command = new Command(@"proxy-v1-tokenwise-v1-path-delete4", @"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.ProxyV1TokenwiseV1PathDelete4Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathDelete5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathDelete5CommandApiCommand.g.cs deleted file mode 100644 index 43b50c34..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathDelete5CommandApiCommand.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 ProxyV1TokenwiseV1PathDelete5CommandApiCommand -{ - 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); - - - public static Command Create() - { - var command = new Command(@"proxy-v1-tokenwise-v1-path-delete5", @"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.ProxyV1TokenwiseV1PathDelete5Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathDelete6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathDelete6CommandApiCommand.g.cs deleted file mode 100644 index 93c9f636..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathDelete6CommandApiCommand.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 ProxyV1TokenwiseV1PathDelete6CommandApiCommand -{ - 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); - - - public static Command Create() - { - var command = new Command(@"proxy-v1-tokenwise-v1-path-delete6", @"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.ProxyV1TokenwiseV1PathDelete6Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions2CommandApiCommand.g.cs new file mode 100644 index 00000000..7b494e40 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions2CommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyV1TokenwiseV1PathOptions2CommandApiCommand +{ + 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); + + + public static Command Create() + { + var command = new Command(@"proxy-v1-tokenwise-v1-path-options2", @"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.ProxyV1TokenwiseV1PathOptions2Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions3CommandApiCommand.g.cs new file mode 100644 index 00000000..7069dcdb --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions3CommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyV1TokenwiseV1PathOptions3CommandApiCommand +{ + 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); + + + public static Command Create() + { + var command = new Command(@"proxy-v1-tokenwise-v1-path-options3", @"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.ProxyV1TokenwiseV1PathOptions3Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions4CommandApiCommand.g.cs new file mode 100644 index 00000000..ae177217 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions4CommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyV1TokenwiseV1PathOptions4CommandApiCommand +{ + 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); + + + public static Command Create() + { + var command = new Command(@"proxy-v1-tokenwise-v1-path-options4", @"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.ProxyV1TokenwiseV1PathOptions4Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + 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 new file mode 100644 index 00000000..c609f3d0 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions5CommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#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); + + + public static Command Create() + { + var command = new Command(@"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)); + 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 new file mode 100644 index 00000000..7f6adb5c --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptions6CommandApiCommand.g.cs @@ -0,0 +1,76 @@ +#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); + + + public static Command Create() + { + var command = new Command(@"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)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathDelete2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptionsCommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathDelete2CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptionsCommandApiCommand.g.cs index 89082d22..6818df78 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathDelete2CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1TokenwiseV1PathOptionsCommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1TokenwiseV1PathDelete2CommandApiCommand +internal static partial class ProxyV1TokenwiseV1PathOptionsCommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1-tokenwise-v1-path-delete2", @"Proxy V1 + var command = new Command(@"proxy-v1-tokenwise-v1-path-options", @"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 @@ -58,7 +58,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1TokenwiseV1PathDelete2Async( + var response = await client.ProxyV1TokenwiseV1PathOptionsAsync( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathDelete6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathDelete6CommandApiCommand.g.cs deleted file mode 100644 index 34b07c5f..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathDelete6CommandApiCommand.g.cs +++ /dev/null @@ -1,73 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1betaGatewayV1betaPathDelete6CommandApiCommand -{ - 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); - - - public static Command Create() - { - var command = new Command(@"proxy-v1beta-gateway-v1beta-path-delete6", @"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.ProxyV1betaGatewayV1betaPathDelete6Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathDeleteCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathDeleteCommandApiCommand.g.cs deleted file mode 100644 index f9ea7c8d..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathDeleteCommandApiCommand.g.cs +++ /dev/null @@ -1,73 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1betaGatewayV1betaPathDeleteCommandApiCommand -{ - 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); - - - public static Command Create() - { - var command = new Command(@"proxy-v1beta-gateway-v1beta-path-delete", @"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.ProxyV1betaGatewayV1betaPathDeleteAsync( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathDelete3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions2CommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathDelete3CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions2CommandApiCommand.g.cs index f5cf91e2..c877b80b 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathDelete3CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions2CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1betaGatewayV1betaPathDelete3CommandApiCommand +internal static partial class ProxyV1betaGatewayV1betaPathOptions2CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1beta-gateway-v1beta-path-delete3", @"Proxy V1Beta + var command = new Command(@"proxy-v1beta-gateway-v1beta-path-options2", @"Proxy V1Beta Native Gemini API surface (``/v1beta/models/*:generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1betaGatewayV1betaPathDelete3Async( + var response = await client.ProxyV1betaGatewayV1betaPathOptions2Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathDelete4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions3CommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathDelete4CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions3CommandApiCommand.g.cs index 1d8b758e..8e51c8a9 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathDelete4CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions3CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1betaGatewayV1betaPathDelete4CommandApiCommand +internal static partial class ProxyV1betaGatewayV1betaPathOptions3CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1beta-gateway-v1beta-path-delete4", @"Proxy V1Beta + var command = new Command(@"proxy-v1beta-gateway-v1beta-path-options3", @"Proxy V1Beta Native Gemini API surface (``/v1beta/models/*:generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1betaGatewayV1betaPathDelete4Async( + var response = await client.ProxyV1betaGatewayV1betaPathOptions3Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathDelete5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions4CommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathDelete5CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions4CommandApiCommand.g.cs index fe7846fe..176b71c3 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathDelete5CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions4CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1betaGatewayV1betaPathDelete5CommandApiCommand +internal static partial class ProxyV1betaGatewayV1betaPathOptions4CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1beta-gateway-v1beta-path-delete5", @"Proxy V1Beta + var command = new Command(@"proxy-v1beta-gateway-v1beta-path-options4", @"Proxy V1Beta Native Gemini API surface (``/v1beta/models/*:generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1betaGatewayV1betaPathDelete5Async( + var response = await client.ProxyV1betaGatewayV1betaPathOptions4Async( 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/ProxyV1betaGatewayV1betaPathOptions5CommandApiCommand.g.cs new file mode 100644 index 00000000..a681930f --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions5CommandApiCommand.g.cs @@ -0,0 +1,73 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyV1betaGatewayV1betaPathOptions5CommandApiCommand +{ + 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); + + + public static Command Create() + { + var command = new Command(@"proxy-v1beta-gateway-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.ProxyV1betaGatewayV1betaPathOptions5Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + 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 new file mode 100644 index 00000000..6937b4fc --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptions6CommandApiCommand.g.cs @@ -0,0 +1,73 @@ +#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); + + + public static Command Create() + { + var command = new Command(@"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)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathDelete2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptionsCommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathDelete2CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptionsCommandApiCommand.g.cs index f0774a37..78548252 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathDelete2CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaGatewayV1betaPathOptionsCommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1betaGatewayV1betaPathDelete2CommandApiCommand +internal static partial class ProxyV1betaGatewayV1betaPathOptionsCommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1beta-gateway-v1beta-path-delete2", @"Proxy V1Beta + var command = new Command(@"proxy-v1beta-gateway-v1beta-path-options", @"Proxy V1Beta Native Gemini API surface (``/v1beta/models/*:generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1betaGatewayV1betaPathDelete2Async( + var response = await client.ProxyV1betaGatewayV1betaPathOptionsAsync( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathDelete6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathDelete6CommandApiCommand.g.cs deleted file mode 100644 index 20f9f44a..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathDelete6CommandApiCommand.g.cs +++ /dev/null @@ -1,73 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1betaTokenwiseV1betaPathDelete6CommandApiCommand -{ - 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); - - - public static Command Create() - { - var command = new Command(@"proxy-v1beta-tokenwise-v1beta-path-delete6", @"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.ProxyV1betaTokenwiseV1betaPathDelete6Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathDeleteCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathDeleteCommandApiCommand.g.cs deleted file mode 100644 index a31dc77b..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathDeleteCommandApiCommand.g.cs +++ /dev/null @@ -1,73 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1betaTokenwiseV1betaPathDeleteCommandApiCommand -{ - 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); - - - public static Command Create() - { - var command = new Command(@"proxy-v1beta-tokenwise-v1beta-path-delete", @"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.ProxyV1betaTokenwiseV1betaPathDeleteAsync( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathDelete3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions2CommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathDelete3CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions2CommandApiCommand.g.cs index 8a591dda..f615b45f 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathDelete3CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions2CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1betaTokenwiseV1betaPathDelete3CommandApiCommand +internal static partial class ProxyV1betaTokenwiseV1betaPathOptions2CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1beta-tokenwise-v1beta-path-delete3", @"Proxy V1Beta + var command = new Command(@"proxy-v1beta-tokenwise-v1beta-path-options2", @"Proxy V1Beta Native Gemini API surface (``/v1beta/models/*:generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1betaTokenwiseV1betaPathDelete3Async( + var response = await client.ProxyV1betaTokenwiseV1betaPathOptions2Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathDelete4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions3CommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathDelete4CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions3CommandApiCommand.g.cs index 802eb28c..77405c55 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathDelete4CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions3CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1betaTokenwiseV1betaPathDelete4CommandApiCommand +internal static partial class ProxyV1betaTokenwiseV1betaPathOptions3CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1beta-tokenwise-v1beta-path-delete4", @"Proxy V1Beta + var command = new Command(@"proxy-v1beta-tokenwise-v1beta-path-options3", @"Proxy V1Beta Native Gemini API surface (``/v1beta/models/*:generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1betaTokenwiseV1betaPathDelete4Async( + var response = await client.ProxyV1betaTokenwiseV1betaPathOptions3Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathDelete5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions4CommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathDelete5CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions4CommandApiCommand.g.cs index 4c68fbad..93315e8e 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathDelete5CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions4CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1betaTokenwiseV1betaPathDelete5CommandApiCommand +internal static partial class ProxyV1betaTokenwiseV1betaPathOptions4CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1beta-tokenwise-v1beta-path-delete5", @"Proxy V1Beta + var command = new Command(@"proxy-v1beta-tokenwise-v1beta-path-options4", @"Proxy V1Beta Native Gemini API surface (``/v1beta/models/*:generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1betaTokenwiseV1betaPathDelete5Async( + var response = await client.ProxyV1betaTokenwiseV1betaPathOptions4Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions5CommandApiCommand.g.cs new file mode 100644 index 00000000..954d0793 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions5CommandApiCommand.g.cs @@ -0,0 +1,73 @@ +#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); + + + public static Command Create() + { + var command = new Command(@"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)); + 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 new file mode 100644 index 00000000..bbdc12db --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptions6CommandApiCommand.g.cs @@ -0,0 +1,73 @@ +#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); + + + public static Command Create() + { + var command = new Command(@"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)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathDelete2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptionsCommandApiCommand.g.cs similarity index 94% rename from src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathDelete2CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptionsCommandApiCommand.g.cs index 5c8ac1c0..ab206bfe 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathDelete2CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1betaTokenwiseV1betaPathOptionsCommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1betaTokenwiseV1betaPathDelete2CommandApiCommand +internal static partial class ProxyV1betaTokenwiseV1betaPathOptionsCommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1beta-tokenwise-v1beta-path-delete2", @"Proxy V1Beta + var command = new Command(@"proxy-v1beta-tokenwise-v1beta-path-options", @"Proxy V1Beta Native Gemini API surface (``/v1beta/models/*:generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1betaTokenwiseV1betaPathDelete2Async( + var response = await client.ProxyV1betaTokenwiseV1betaPathOptionsAsync( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathDelete6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathDelete6CommandApiCommand.g.cs deleted file mode 100644 index 291f3f63..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathDelete6CommandApiCommand.g.cs +++ /dev/null @@ -1,73 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1internalGatewayV1internalPathDelete6CommandApiCommand -{ - 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); - - - public static Command Create() - { - var command = new Command(@"proxy-v1internal-gateway-v1internal-path-delete6", @"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.ProxyV1internalGatewayV1internalPathDelete6Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathDeleteCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathDeleteCommandApiCommand.g.cs deleted file mode 100644 index 4879810e..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathDeleteCommandApiCommand.g.cs +++ /dev/null @@ -1,73 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1internalGatewayV1internalPathDeleteCommandApiCommand -{ - 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); - - - public static Command Create() - { - var command = new Command(@"proxy-v1internal-gateway-v1internal-path-delete", @"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.ProxyV1internalGatewayV1internalPathDeleteAsync( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathDelete3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions2CommandApiCommand.g.cs similarity index 96% rename from src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathDelete3CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions2CommandApiCommand.g.cs index 5df018f3..f5eae3ce 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathDelete3CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions2CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1internalGatewayV1internalPathDelete3CommandApiCommand +internal static partial class ProxyV1internalGatewayV1internalPathOptions2CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1internal-gateway-v1internal-path-delete3", @"Proxy V1Internal + var command = new Command(@"proxy-v1internal-gateway-v1internal-path-options2", @"Proxy V1Internal Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1internalGatewayV1internalPathDelete3Async( + var response = await client.ProxyV1internalGatewayV1internalPathOptions2Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathDelete4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions3CommandApiCommand.g.cs similarity index 96% rename from src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathDelete4CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions3CommandApiCommand.g.cs index a41e0558..31a10e95 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathDelete4CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions3CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1internalGatewayV1internalPathDelete4CommandApiCommand +internal static partial class ProxyV1internalGatewayV1internalPathOptions3CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1internal-gateway-v1internal-path-delete4", @"Proxy V1Internal + var command = new Command(@"proxy-v1internal-gateway-v1internal-path-options3", @"Proxy V1Internal Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1internalGatewayV1internalPathDelete4Async( + var response = await client.ProxyV1internalGatewayV1internalPathOptions3Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathDelete5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions4CommandApiCommand.g.cs similarity index 96% rename from src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathDelete5CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions4CommandApiCommand.g.cs index 7554e329..1b42a52f 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathDelete5CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions4CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1internalGatewayV1internalPathDelete5CommandApiCommand +internal static partial class ProxyV1internalGatewayV1internalPathOptions4CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1internal-gateway-v1internal-path-delete5", @"Proxy V1Internal + var command = new Command(@"proxy-v1internal-gateway-v1internal-path-options4", @"Proxy V1Internal Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1internalGatewayV1internalPathDelete5Async( + var response = await client.ProxyV1internalGatewayV1internalPathOptions4Async( 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/ProxyV1internalGatewayV1internalPathOptions5CommandApiCommand.g.cs new file mode 100644 index 00000000..f049873a --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions5CommandApiCommand.g.cs @@ -0,0 +1,73 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class ProxyV1internalGatewayV1internalPathOptions5CommandApiCommand +{ + 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); + + + public static Command Create() + { + var command = new Command(@"proxy-v1internal-gateway-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.ProxyV1internalGatewayV1internalPathOptions5Async( + path: path, + xAi21Key: xAi21Key, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + 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 new file mode 100644 index 00000000..7f4feb9e --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptions6CommandApiCommand.g.cs @@ -0,0 +1,73 @@ +#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); + + + public static Command Create() + { + var command = new Command(@"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)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathDelete2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptionsCommandApiCommand.g.cs similarity index 96% rename from src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathDelete2CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptionsCommandApiCommand.g.cs index 1a285c8b..10e4cda3 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathDelete2CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalGatewayV1internalPathOptionsCommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1internalGatewayV1internalPathDelete2CommandApiCommand +internal static partial class ProxyV1internalGatewayV1internalPathOptionsCommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1internal-gateway-v1internal-path-delete2", @"Proxy V1Internal + var command = new Command(@"proxy-v1internal-gateway-v1internal-path-options", @"Proxy V1Internal Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1internalGatewayV1internalPathDelete2Async( + var response = await client.ProxyV1internalGatewayV1internalPathOptionsAsync( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathDelete6CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathDelete6CommandApiCommand.g.cs deleted file mode 100644 index dca7bff0..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathDelete6CommandApiCommand.g.cs +++ /dev/null @@ -1,73 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1internalTokenwiseV1internalPathDelete6CommandApiCommand -{ - 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); - - - public static Command Create() - { - var command = new Command(@"proxy-v1internal-tokenwise-v1internal-path-delete6", @"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.ProxyV1internalTokenwiseV1internalPathDelete6Async( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathDeleteCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathDeleteCommandApiCommand.g.cs deleted file mode 100644 index b003083b..00000000 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathDeleteCommandApiCommand.g.cs +++ /dev/null @@ -1,73 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 - -using System.CommandLine; - -namespace AI21.CLI.Commands; - -internal static partial class ProxyV1internalTokenwiseV1internalPathDeleteCommandApiCommand -{ - 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); - - - public static Command Create() - { - var command = new Command(@"proxy-v1internal-tokenwise-v1internal-path-delete", @"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.ProxyV1internalTokenwiseV1internalPathDeleteAsync( - path: path, - xAi21Key: xAi21Key, - cancellationToken: cancellationToken).ConfigureAwait(false); - - - await CliRuntime.WriteResponseAsync( - parseResult, - response, - global::AI21.SourceGenerationContext.Default, - FormatResponse, - cancellationToken).ConfigureAwait(false); - }, cancellationToken).ConfigureAwait(false)); - return command; - } -} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathDelete3CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions2CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathDelete3CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions2CommandApiCommand.g.cs index 80db9d16..d1eadc4c 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathDelete3CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions2CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1internalTokenwiseV1internalPathDelete3CommandApiCommand +internal static partial class ProxyV1internalTokenwiseV1internalPathOptions2CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1internal-tokenwise-v1internal-path-delete3", @"Proxy V1Internal + var command = new Command(@"proxy-v1internal-tokenwise-v1internal-path-options2", @"Proxy V1Internal Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1internalTokenwiseV1internalPathDelete3Async( + var response = await client.ProxyV1internalTokenwiseV1internalPathOptions2Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathDelete4CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions3CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathDelete4CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions3CommandApiCommand.g.cs index bce61bbe..bb18affe 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathDelete4CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions3CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1internalTokenwiseV1internalPathDelete4CommandApiCommand +internal static partial class ProxyV1internalTokenwiseV1internalPathOptions3CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1internal-tokenwise-v1internal-path-delete4", @"Proxy V1Internal + var command = new Command(@"proxy-v1internal-tokenwise-v1internal-path-options3", @"Proxy V1Internal Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1internalTokenwiseV1internalPathDelete4Async( + var response = await client.ProxyV1internalTokenwiseV1internalPathOptions3Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathDelete5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions4CommandApiCommand.g.cs similarity index 95% rename from src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathDelete5CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions4CommandApiCommand.g.cs index efea65df..0d4d9785 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathDelete5CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions4CommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1internalTokenwiseV1internalPathDelete5CommandApiCommand +internal static partial class ProxyV1internalTokenwiseV1internalPathOptions4CommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1internal-tokenwise-v1internal-path-delete5", @"Proxy V1Internal + var command = new Command(@"proxy-v1internal-tokenwise-v1internal-path-options4", @"Proxy V1Internal Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1internalTokenwiseV1internalPathDelete5Async( + var response = await client.ProxyV1internalTokenwiseV1internalPathOptions4Async( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions5CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions5CommandApiCommand.g.cs new file mode 100644 index 00000000..b1dad6a8 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions5CommandApiCommand.g.cs @@ -0,0 +1,73 @@ +#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); + + + public static Command Create() + { + var command = new Command(@"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)); + 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 new file mode 100644 index 00000000..5c53e0d2 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptions6CommandApiCommand.g.cs @@ -0,0 +1,73 @@ +#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); + + + public static Command Create() + { + var command = new Command(@"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)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathDelete2CommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptionsCommandApiCommand.g.cs similarity index 96% rename from src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathDelete2CommandApiCommand.g.cs rename to src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptionsCommandApiCommand.g.cs index 5c11c90b..c771f4b7 100644 --- a/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathDelete2CommandApiCommand.g.cs +++ b/src/cli/AI21.CLI/Commands/ProxyV1internalTokenwiseV1internalPathOptionsCommandApiCommand.g.cs @@ -5,7 +5,7 @@ namespace AI21.CLI.Commands; -internal static partial class ProxyV1internalTokenwiseV1internalPathDelete2CommandApiCommand +internal static partial class ProxyV1internalTokenwiseV1internalPathOptionsCommandApiCommand { private static Argument Path { get; } = new( name: @"path") @@ -41,7 +41,7 @@ private static string FormatResponse(ParseResult parseResult, string value, glob public static Command Create() { - var command = new Command(@"proxy-v1internal-tokenwise-v1internal-path-delete2", @"Proxy V1Internal + var command = new Command(@"proxy-v1internal-tokenwise-v1internal-path-options", @"Proxy V1Internal Cloud Code native Gemini surface (``/v1internal:*generateContent``)."); command.Arguments.Add(Path); command.Options.Add(XAi21Key); @@ -55,7 +55,7 @@ await CliRuntime.RunAsync(async () => using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); - var response = await client.ProxyV1internalTokenwiseV1internalPathDelete2Async( + var response = await client.ProxyV1internalTokenwiseV1internalPathOptionsAsync( path: path, xAi21Key: xAi21Key, cancellationToken: cancellationToken).ConfigureAwait(false); diff --git a/src/cli/AI21.CLI/Commands/UpdateProviderKeyGatewaySettingsProviderKeysPutCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/UpdateProviderKeyGatewaySettingsProviderKeysPutCommandApiCommand.g.cs new file mode 100644 index 00000000..80b922e5 --- /dev/null +++ b/src/cli/AI21.CLI/Commands/UpdateProviderKeyGatewaySettingsProviderKeysPutCommandApiCommand.g.cs @@ -0,0 +1,101 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class UpdateProviderKeyGatewaySettingsProviderKeysPutCommandApiCommand +{ + private static readonly ProviderKeyUpdateOptionSet ProviderKeyUpdateOptionSetOptions = ProviderKeyUpdateOptionSet.Create(); + private static Option Input { get; } = new(@"--input") + { + Description = "Load request JSON from a file path, '-' for stdin, or an inline JSON object/array string.", + }; + + private static Option RequestJson { get; } = new(@"--request-json") + { + Description = "Request body as JSON.", + Hidden = true, + }; + + private static Option RequestFile { get; } = new(@"--request-file") + { + Description = "Path to a JSON request file, or '-' for stdin.", + Hidden = true, + }; + + private static string FormatResponse(ParseResult parseResult, global::AI21.ProviderKeyOut 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, global::AI21.ProviderKeyOut value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + public static Command Create() + { + var command = new Command(@"update-provider-key-gateway-settings-provider-keys-put", @"Update Provider Key +Rotate the workspace's key for a provider. 404 if none is configured. + +Full replacement, not a partial update — unlike the agent/config mirrors there +is no ``exclude_unset``, because ``api_key`` is the whole point of the call."); + command.Options.Add(ProviderKeyUpdateOptionSetOptions.Provider); + command.Options.Add(ProviderKeyUpdateOptionSetOptions.ApiKey); + command.Options.Add(Input); + command.Options.Add(RequestJson); + command.Options.Add(RequestFile); + command.Validators.Add(result => + { + var hasInput = result.GetResult(Input) is not null; + var hasRequestJson = result.GetResult(RequestJson) is not null; + var hasRequestFile = result.GetResult(RequestFile) is not null; + var specifiedCount = (hasInput ? 1 : 0) + (hasRequestJson ? 1 : 0) + (hasRequestFile ? 1 : 0); + if (specifiedCount > 1) + { + result.AddError(@"Specify at most one of --input, --request-json, or --request-file."); + } + }); + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var __requestBase = await CliRuntime.ReadRequestOrDefaultAsync( + parseResult, + Input, + RequestJson, + RequestFile, + global::AI21.SourceGenerationContext.Default, + cancellationToken).ConfigureAwait(false); var provider = parseResult.GetRequiredValue(ProviderKeyUpdateOptionSetOptions.Provider); + var apiKey = CliRuntime.WasSpecified(parseResult, ProviderKeyUpdateOptionSetOptions.ApiKey) ? parseResult.GetValue(ProviderKeyUpdateOptionSetOptions.ApiKey) : (__requestBase is { } __ApiKeyBaseValue ? __ApiKeyBaseValue.ApiKey : default); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.UpdateProviderKeyGatewaySettingsProviderKeysPutAsync( + provider: provider, + apiKey: apiKey, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + return command; + } +} \ No newline at end of file diff --git a/src/cli/AI21.CLI/Commands/UpdateProviderKeyTokenwiseSettingsProviderKeysPutCommandApiCommand.g.cs b/src/cli/AI21.CLI/Commands/UpdateProviderKeyTokenwiseSettingsProviderKeysPutCommandApiCommand.g.cs new file mode 100644 index 00000000..7a3dc61c --- /dev/null +++ b/src/cli/AI21.CLI/Commands/UpdateProviderKeyTokenwiseSettingsProviderKeysPutCommandApiCommand.g.cs @@ -0,0 +1,101 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace AI21.CLI.Commands; + +internal static partial class UpdateProviderKeyTokenwiseSettingsProviderKeysPutCommandApiCommand +{ + private static readonly ProviderKeyUpdateOptionSet ProviderKeyUpdateOptionSetOptions = ProviderKeyUpdateOptionSet.Create(); + private static Option Input { get; } = new(@"--input") + { + Description = "Load request JSON from a file path, '-' for stdin, or an inline JSON object/array string.", + }; + + private static Option RequestJson { get; } = new(@"--request-json") + { + Description = "Request body as JSON.", + Hidden = true, + }; + + private static Option RequestFile { get; } = new(@"--request-file") + { + Description = "Path to a JSON request file, or '-' for stdin.", + Hidden = true, + }; + + private static string FormatResponse(ParseResult parseResult, global::AI21.ProviderKeyOut 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, global::AI21.ProviderKeyOut value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + public static Command Create() + { + var command = new Command(@"update-provider-key-tokenwise-settings-provider-keys-put", @"Update Provider Key +Rotate the workspace's key for a provider. 404 if none is configured. + +Full replacement, not a partial update — unlike the agent/config mirrors there +is no ``exclude_unset``, because ``api_key`` is the whole point of the call."); + command.Options.Add(ProviderKeyUpdateOptionSetOptions.Provider); + command.Options.Add(ProviderKeyUpdateOptionSetOptions.ApiKey); + command.Options.Add(Input); + command.Options.Add(RequestJson); + command.Options.Add(RequestFile); + command.Validators.Add(result => + { + var hasInput = result.GetResult(Input) is not null; + var hasRequestJson = result.GetResult(RequestJson) is not null; + var hasRequestFile = result.GetResult(RequestFile) is not null; + var specifiedCount = (hasInput ? 1 : 0) + (hasRequestJson ? 1 : 0) + (hasRequestFile ? 1 : 0); + if (specifiedCount > 1) + { + result.AddError(@"Specify at most one of --input, --request-json, or --request-file."); + } + }); + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var __requestBase = await CliRuntime.ReadRequestOrDefaultAsync( + parseResult, + Input, + RequestJson, + RequestFile, + global::AI21.SourceGenerationContext.Default, + cancellationToken).ConfigureAwait(false); var provider = parseResult.GetRequiredValue(ProviderKeyUpdateOptionSetOptions.Provider); + var apiKey = CliRuntime.WasSpecified(parseResult, ProviderKeyUpdateOptionSetOptions.ApiKey) ? parseResult.GetValue(ProviderKeyUpdateOptionSetOptions.ApiKey) : (__requestBase is { } __ApiKeyBaseValue ? __ApiKeyBaseValue.ApiKey : default); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.UpdateProviderKeyTokenwiseSettingsProviderKeysPutAsync( + provider: provider, + apiKey: apiKey, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::AI21.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + return command; + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.CreateProviderKeyGatewaySettingsProviderKeysPost.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.CreateProviderKeyGatewaySettingsProviderKeysPost.g.cs new file mode 100644 index 00000000..9525b486 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Ai21Client.CreateProviderKeyGatewaySettingsProviderKeysPost.g.cs @@ -0,0 +1,502 @@ + +#nullable enable + +namespace AI21 +{ + public partial class Ai21Client + { + + + private static readonly global::AI21.EndPointSecurityRequirement s_CreateProviderKeyGatewaySettingsProviderKeysPostSecurityRequirement0 = + new global::AI21.EndPointSecurityRequirement + { + Authorizations = new global::AI21.EndPointAuthorizationRequirement[] + { new global::AI21.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AI21.EndPointSecurityRequirement[] s_CreateProviderKeyGatewaySettingsProviderKeysPostSecurityRequirements = + new global::AI21.EndPointSecurityRequirement[] + { s_CreateProviderKeyGatewaySettingsProviderKeysPostSecurityRequirement0, + }; + partial void PrepareCreateProviderKeyGatewaySettingsProviderKeysPostArguments( + global::System.Net.Http.HttpClient httpClient, + global::AI21.ProviderKeyCreate request); + partial void PrepareCreateProviderKeyGatewaySettingsProviderKeysPostRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::AI21.ProviderKeyCreate request); + partial void ProcessCreateProviderKeyGatewaySettingsProviderKeysPostResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCreateProviderKeyGatewaySettingsProviderKeysPostResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Create Provider Key
+ /// Store a provider key for the workspace. 409 if one already exists. + ///
+ /// + /// 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 CreateProviderKeyGatewaySettingsProviderKeysPostAsync( + + global::AI21.ProviderKeyCreate request, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await CreateProviderKeyGatewaySettingsProviderKeysPostAsResponseAsync( + + request: request, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Create Provider Key
+ /// Store a provider key for the workspace. 409 if one already exists. + ///
+ /// + /// 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> CreateProviderKeyGatewaySettingsProviderKeysPostAsResponseAsync( + + global::AI21.ProviderKeyCreate request, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PrepareCreateProviderKeyGatewaySettingsProviderKeysPostArguments( + httpClient: HttpClient, + request: request); + + + var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_CreateProviderKeyGatewaySettingsProviderKeysPostSecurityRequirements, + operationName: "CreateProviderKeyGatewaySettingsProviderKeysPostAsync"); + + using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AI21.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AI21.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AI21.PathBuilder( + path: "/gateway/settings/provider-keys", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::AI21.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + __httpRequest.Content = __httpRequestContent; + global::AI21.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareCreateProviderKeyGatewaySettingsProviderKeysPostRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + request: request); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateProviderKeyGatewaySettingsProviderKeysPost", + methodName: "CreateProviderKeyGatewaySettingsProviderKeysPostAsync", + pathTemplate: "\"/gateway/settings/provider-keys\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AI21.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateProviderKeyGatewaySettingsProviderKeysPost", + methodName: "CreateProviderKeyGatewaySettingsProviderKeysPostAsync", + pathTemplate: "\"/gateway/settings/provider-keys\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AI21.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AI21.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AI21.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateProviderKeyGatewaySettingsProviderKeysPost", + methodName: "CreateProviderKeyGatewaySettingsProviderKeysPostAsync", + pathTemplate: "\"/gateway/settings/provider-keys\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AI21.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessCreateProviderKeyGatewaySettingsProviderKeysPostResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateProviderKeyGatewaySettingsProviderKeysPost", + methodName: "CreateProviderKeyGatewaySettingsProviderKeysPostAsync", + pathTemplate: "\"/gateway/settings/provider-keys\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateProviderKeyGatewaySettingsProviderKeysPost", + methodName: "CreateProviderKeyGatewaySettingsProviderKeysPostAsync", + pathTemplate: "\"/gateway/settings/provider-keys\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Validation Error + if ((int)__response.StatusCode == 422) + { + string? __content_422 = null; + global::System.Exception? __exception_422 = null; + global::AI21.HTTPValidationError? __value_422 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_422 = global::AI21.HTTPValidationError.FromJson(__content_422, JsonSerializerContext); + } + else + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_422 = global::AI21.HTTPValidationError.FromJson(__content_422, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_422 = __ex; + } + + + throw global::AI21.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_422 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_422, + responseBody: __content_422, + responseObject: __value_422, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessCreateProviderKeyGatewaySettingsProviderKeysPostResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AI21.ProviderKeyOut.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AI21.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AI21.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AI21.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AI21.ProviderKeyOut.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AI21.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AI21.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AI21.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// Create Provider Key
+ /// Store a provider key for the workspace. 409 if one already exists. + ///
+ /// + /// + /// Included only in requests + /// + /// 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 CreateProviderKeyGatewaySettingsProviderKeysPostAsync( + string provider, + string? apiKey = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::AI21.ProviderKeyCreate + { + Provider = provider, + ApiKey = apiKey, + }; + + return await CreateProviderKeyGatewaySettingsProviderKeysPostAsync( + request: __request, + requestOptions: requestOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.CreateProviderKeyTokenwiseSettingsProviderKeysPost.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.CreateProviderKeyTokenwiseSettingsProviderKeysPost.g.cs new file mode 100644 index 00000000..bed387f4 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Ai21Client.CreateProviderKeyTokenwiseSettingsProviderKeysPost.g.cs @@ -0,0 +1,502 @@ + +#nullable enable + +namespace AI21 +{ + public partial class Ai21Client + { + + + private static readonly global::AI21.EndPointSecurityRequirement s_CreateProviderKeyTokenwiseSettingsProviderKeysPostSecurityRequirement0 = + new global::AI21.EndPointSecurityRequirement + { + Authorizations = new global::AI21.EndPointAuthorizationRequirement[] + { new global::AI21.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AI21.EndPointSecurityRequirement[] s_CreateProviderKeyTokenwiseSettingsProviderKeysPostSecurityRequirements = + new global::AI21.EndPointSecurityRequirement[] + { s_CreateProviderKeyTokenwiseSettingsProviderKeysPostSecurityRequirement0, + }; + partial void PrepareCreateProviderKeyTokenwiseSettingsProviderKeysPostArguments( + global::System.Net.Http.HttpClient httpClient, + global::AI21.ProviderKeyCreate request); + partial void PrepareCreateProviderKeyTokenwiseSettingsProviderKeysPostRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::AI21.ProviderKeyCreate request); + partial void ProcessCreateProviderKeyTokenwiseSettingsProviderKeysPostResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCreateProviderKeyTokenwiseSettingsProviderKeysPostResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Create Provider Key
+ /// Store a provider key for the workspace. 409 if one already exists. + ///
+ /// + /// 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 CreateProviderKeyTokenwiseSettingsProviderKeysPostAsync( + + global::AI21.ProviderKeyCreate request, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await CreateProviderKeyTokenwiseSettingsProviderKeysPostAsResponseAsync( + + request: request, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Create Provider Key
+ /// Store a provider key for the workspace. 409 if one already exists. + ///
+ /// + /// 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> CreateProviderKeyTokenwiseSettingsProviderKeysPostAsResponseAsync( + + global::AI21.ProviderKeyCreate request, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PrepareCreateProviderKeyTokenwiseSettingsProviderKeysPostArguments( + httpClient: HttpClient, + request: request); + + + var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_CreateProviderKeyTokenwiseSettingsProviderKeysPostSecurityRequirements, + operationName: "CreateProviderKeyTokenwiseSettingsProviderKeysPostAsync"); + + using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AI21.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AI21.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AI21.PathBuilder( + path: "/tokenwise/settings/provider-keys", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::AI21.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + __httpRequest.Content = __httpRequestContent; + global::AI21.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareCreateProviderKeyTokenwiseSettingsProviderKeysPostRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + request: request); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateProviderKeyTokenwiseSettingsProviderKeysPost", + methodName: "CreateProviderKeyTokenwiseSettingsProviderKeysPostAsync", + pathTemplate: "\"/tokenwise/settings/provider-keys\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AI21.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateProviderKeyTokenwiseSettingsProviderKeysPost", + methodName: "CreateProviderKeyTokenwiseSettingsProviderKeysPostAsync", + pathTemplate: "\"/tokenwise/settings/provider-keys\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AI21.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AI21.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AI21.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateProviderKeyTokenwiseSettingsProviderKeysPost", + methodName: "CreateProviderKeyTokenwiseSettingsProviderKeysPostAsync", + pathTemplate: "\"/tokenwise/settings/provider-keys\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AI21.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessCreateProviderKeyTokenwiseSettingsProviderKeysPostResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateProviderKeyTokenwiseSettingsProviderKeysPost", + methodName: "CreateProviderKeyTokenwiseSettingsProviderKeysPostAsync", + pathTemplate: "\"/tokenwise/settings/provider-keys\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateProviderKeyTokenwiseSettingsProviderKeysPost", + methodName: "CreateProviderKeyTokenwiseSettingsProviderKeysPostAsync", + pathTemplate: "\"/tokenwise/settings/provider-keys\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Validation Error + if ((int)__response.StatusCode == 422) + { + string? __content_422 = null; + global::System.Exception? __exception_422 = null; + global::AI21.HTTPValidationError? __value_422 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_422 = global::AI21.HTTPValidationError.FromJson(__content_422, JsonSerializerContext); + } + else + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_422 = global::AI21.HTTPValidationError.FromJson(__content_422, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_422 = __ex; + } + + + throw global::AI21.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_422 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_422, + responseBody: __content_422, + responseObject: __value_422, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessCreateProviderKeyTokenwiseSettingsProviderKeysPostResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AI21.ProviderKeyOut.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AI21.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AI21.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AI21.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AI21.ProviderKeyOut.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AI21.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AI21.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AI21.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// Create Provider Key
+ /// Store a provider key for the workspace. 409 if one already exists. + ///
+ /// + /// + /// Included only in requests + /// + /// 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 CreateProviderKeyTokenwiseSettingsProviderKeysPostAsync( + string provider, + string? apiKey = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::AI21.ProviderKeyCreate + { + Provider = provider, + ApiKey = apiKey, + }; + + return await CreateProviderKeyTokenwiseSettingsProviderKeysPostAsync( + request: __request, + requestOptions: requestOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.DeleteProviderKeyGatewaySettingsProviderKeysDelete.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.DeleteProviderKeyGatewaySettingsProviderKeysDelete.g.cs new file mode 100644 index 00000000..befce355 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Ai21Client.DeleteProviderKeyGatewaySettingsProviderKeysDelete.g.cs @@ -0,0 +1,443 @@ + +#nullable enable + +namespace AI21 +{ + public partial class Ai21Client + { + + + private static readonly global::AI21.EndPointSecurityRequirement s_DeleteProviderKeyGatewaySettingsProviderKeysDeleteSecurityRequirement0 = + new global::AI21.EndPointSecurityRequirement + { + Authorizations = new global::AI21.EndPointAuthorizationRequirement[] + { new global::AI21.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AI21.EndPointSecurityRequirement[] s_DeleteProviderKeyGatewaySettingsProviderKeysDeleteSecurityRequirements = + new global::AI21.EndPointSecurityRequirement[] + { s_DeleteProviderKeyGatewaySettingsProviderKeysDeleteSecurityRequirement0, + }; + partial void PrepareDeleteProviderKeyGatewaySettingsProviderKeysDeleteArguments( + global::System.Net.Http.HttpClient httpClient, + ref string provider); + partial void PrepareDeleteProviderKeyGatewaySettingsProviderKeysDeleteRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string provider); + partial void ProcessDeleteProviderKeyGatewaySettingsProviderKeysDeleteResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + /// + /// Delete Provider Key
+ /// Delete the workspace's key for a provider. 404 if none is configured. + ///
+ /// + /// 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 DeleteProviderKeyGatewaySettingsProviderKeysDeleteAsync( + string provider, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + await DeleteProviderKeyGatewaySettingsProviderKeysDeleteAsResponseAsync( + provider: provider, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + } + /// + /// Delete Provider Key
+ /// Delete the workspace's key for a provider. 404 if none is configured. + ///
+ /// + /// 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 DeleteProviderKeyGatewaySettingsProviderKeysDeleteAsResponseAsync( + string provider, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareDeleteProviderKeyGatewaySettingsProviderKeysDeleteArguments( + httpClient: HttpClient, + provider: ref provider); + + + var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_DeleteProviderKeyGatewaySettingsProviderKeysDeleteSecurityRequirements, + operationName: "DeleteProviderKeyGatewaySettingsProviderKeysDeleteAsync"); + + using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AI21.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AI21.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AI21.PathBuilder( + path: "/gateway/settings/provider-keys", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddRequiredParameter("provider", provider) + ; + var __path = __pathBuilder.ToString(); + __path = global::AI21.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Delete, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::AI21.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareDeleteProviderKeyGatewaySettingsProviderKeysDeleteRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + provider: provider!); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "DeleteProviderKeyGatewaySettingsProviderKeysDelete", + methodName: "DeleteProviderKeyGatewaySettingsProviderKeysDeleteAsync", + pathTemplate: "\"/gateway/settings/provider-keys\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AI21.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "DeleteProviderKeyGatewaySettingsProviderKeysDelete", + methodName: "DeleteProviderKeyGatewaySettingsProviderKeysDeleteAsync", + pathTemplate: "\"/gateway/settings/provider-keys\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AI21.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AI21.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AI21.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "DeleteProviderKeyGatewaySettingsProviderKeysDelete", + methodName: "DeleteProviderKeyGatewaySettingsProviderKeysDeleteAsync", + pathTemplate: "\"/gateway/settings/provider-keys\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AI21.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessDeleteProviderKeyGatewaySettingsProviderKeysDeleteResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "DeleteProviderKeyGatewaySettingsProviderKeysDelete", + methodName: "DeleteProviderKeyGatewaySettingsProviderKeysDeleteAsync", + pathTemplate: "\"/gateway/settings/provider-keys\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "DeleteProviderKeyGatewaySettingsProviderKeysDelete", + methodName: "DeleteProviderKeyGatewaySettingsProviderKeysDeleteAsync", + pathTemplate: "\"/gateway/settings/provider-keys\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Validation Error + if ((int)__response.StatusCode == 422) + { + string? __content_422 = null; + global::System.Exception? __exception_422 = null; + global::AI21.HTTPValidationError? __value_422 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_422 = global::AI21.HTTPValidationError.FromJson(__content_422, JsonSerializerContext); + } + else + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_422 = global::AI21.HTTPValidationError.FromJson(__content_422, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_422 = __ex; + } + + + throw global::AI21.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_422 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_422, + responseBody: __content_422, + responseObject: __value_422, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + return new global::AI21.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AI21.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri); + } + catch (global::System.Exception __ex) + { + throw global::AI21.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + return new global::AI21.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AI21.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AI21.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.DeleteProviderKeyTokenwiseSettingsProviderKeysDelete.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.DeleteProviderKeyTokenwiseSettingsProviderKeysDelete.g.cs new file mode 100644 index 00000000..c009f431 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Ai21Client.DeleteProviderKeyTokenwiseSettingsProviderKeysDelete.g.cs @@ -0,0 +1,443 @@ + +#nullable enable + +namespace AI21 +{ + public partial class Ai21Client + { + + + private static readonly global::AI21.EndPointSecurityRequirement s_DeleteProviderKeyTokenwiseSettingsProviderKeysDeleteSecurityRequirement0 = + new global::AI21.EndPointSecurityRequirement + { + Authorizations = new global::AI21.EndPointAuthorizationRequirement[] + { new global::AI21.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AI21.EndPointSecurityRequirement[] s_DeleteProviderKeyTokenwiseSettingsProviderKeysDeleteSecurityRequirements = + new global::AI21.EndPointSecurityRequirement[] + { s_DeleteProviderKeyTokenwiseSettingsProviderKeysDeleteSecurityRequirement0, + }; + partial void PrepareDeleteProviderKeyTokenwiseSettingsProviderKeysDeleteArguments( + global::System.Net.Http.HttpClient httpClient, + ref string provider); + partial void PrepareDeleteProviderKeyTokenwiseSettingsProviderKeysDeleteRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string provider); + partial void ProcessDeleteProviderKeyTokenwiseSettingsProviderKeysDeleteResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + /// + /// Delete Provider Key
+ /// Delete the workspace's key for a provider. 404 if none is configured. + ///
+ /// + /// 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 DeleteProviderKeyTokenwiseSettingsProviderKeysDeleteAsync( + string provider, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + await DeleteProviderKeyTokenwiseSettingsProviderKeysDeleteAsResponseAsync( + provider: provider, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + } + /// + /// Delete Provider Key
+ /// Delete the workspace's key for a provider. 404 if none is configured. + ///
+ /// + /// 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 DeleteProviderKeyTokenwiseSettingsProviderKeysDeleteAsResponseAsync( + string provider, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareDeleteProviderKeyTokenwiseSettingsProviderKeysDeleteArguments( + httpClient: HttpClient, + provider: ref provider); + + + var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_DeleteProviderKeyTokenwiseSettingsProviderKeysDeleteSecurityRequirements, + operationName: "DeleteProviderKeyTokenwiseSettingsProviderKeysDeleteAsync"); + + using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AI21.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AI21.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AI21.PathBuilder( + path: "/tokenwise/settings/provider-keys", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddRequiredParameter("provider", provider) + ; + var __path = __pathBuilder.ToString(); + __path = global::AI21.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Delete, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::AI21.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareDeleteProviderKeyTokenwiseSettingsProviderKeysDeleteRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + provider: provider!); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "DeleteProviderKeyTokenwiseSettingsProviderKeysDelete", + methodName: "DeleteProviderKeyTokenwiseSettingsProviderKeysDeleteAsync", + pathTemplate: "\"/tokenwise/settings/provider-keys\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AI21.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "DeleteProviderKeyTokenwiseSettingsProviderKeysDelete", + methodName: "DeleteProviderKeyTokenwiseSettingsProviderKeysDeleteAsync", + pathTemplate: "\"/tokenwise/settings/provider-keys\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AI21.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AI21.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AI21.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "DeleteProviderKeyTokenwiseSettingsProviderKeysDelete", + methodName: "DeleteProviderKeyTokenwiseSettingsProviderKeysDeleteAsync", + pathTemplate: "\"/tokenwise/settings/provider-keys\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AI21.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessDeleteProviderKeyTokenwiseSettingsProviderKeysDeleteResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "DeleteProviderKeyTokenwiseSettingsProviderKeysDelete", + methodName: "DeleteProviderKeyTokenwiseSettingsProviderKeysDeleteAsync", + pathTemplate: "\"/tokenwise/settings/provider-keys\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "DeleteProviderKeyTokenwiseSettingsProviderKeysDelete", + methodName: "DeleteProviderKeyTokenwiseSettingsProviderKeysDeleteAsync", + pathTemplate: "\"/tokenwise/settings/provider-keys\"", + httpMethod: "DELETE", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Validation Error + if ((int)__response.StatusCode == 422) + { + string? __content_422 = null; + global::System.Exception? __exception_422 = null; + global::AI21.HTTPValidationError? __value_422 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_422 = global::AI21.HTTPValidationError.FromJson(__content_422, JsonSerializerContext); + } + else + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_422 = global::AI21.HTTPValidationError.FromJson(__content_422, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_422 = __ex; + } + + + throw global::AI21.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_422 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_422, + responseBody: __content_422, + responseObject: __value_422, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + return new global::AI21.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AI21.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri); + } + catch (global::System.Exception __ex) + { + throw global::AI21.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + return new global::AI21.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AI21.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AI21.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ListProviderKeysGatewaySettingsProviderKeysGet.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ListProviderKeysGatewaySettingsProviderKeysGet.g.cs new file mode 100644 index 00000000..c3d20a30 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ListProviderKeysGatewaySettingsProviderKeysGet.g.cs @@ -0,0 +1,482 @@ + +#nullable enable + +namespace AI21 +{ + public partial class Ai21Client + { + + + private static readonly global::AI21.EndPointSecurityRequirement s_ListProviderKeysGatewaySettingsProviderKeysGetSecurityRequirement0 = + new global::AI21.EndPointSecurityRequirement + { + Authorizations = new global::AI21.EndPointAuthorizationRequirement[] + { new global::AI21.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AI21.EndPointSecurityRequirement[] s_ListProviderKeysGatewaySettingsProviderKeysGetSecurityRequirements = + new global::AI21.EndPointSecurityRequirement[] + { s_ListProviderKeysGatewaySettingsProviderKeysGetSecurityRequirement0, + }; + partial void PrepareListProviderKeysGatewaySettingsProviderKeysGetArguments( + global::System.Net.Http.HttpClient httpClient, + ref string? provider); + partial void PrepareListProviderKeysGatewaySettingsProviderKeysGetRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string? provider); + partial void ProcessListProviderKeysGatewaySettingsProviderKeysGetResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessListProviderKeysGatewaySettingsProviderKeysGetResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// List Provider Keys
+ /// The workspace's provider keys, masked.
+ /// One endpoint, two shapes, mirroring the BFF: without ``provider`` it lists
+ /// every key for the workspace; with one it returns that single key, or 404 if
+ /// the workspace has none for it. The union response model is the honest
+ /// declaration of that — see ``provider_keys/router.py::list_provider_keys``.
+ /// ``provider`` is bounded here so an explicitly empty ``?provider=`` fails with
+ /// 422 at this edge rather than making the round trip (the BFF rejects it too);
+ /// omitting it entirely is the list case. It rides through on the forwarded query
+ /// string — see ``tokenwise_service._build_gateway_request``. + ///
+ /// + /// 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, global::AI21.ProviderKeyOut>> ListProviderKeysGatewaySettingsProviderKeysGetAsync( + string? provider = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await ListProviderKeysGatewaySettingsProviderKeysGetAsResponseAsync( + provider: provider, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// List Provider Keys
+ /// The workspace's provider keys, masked.
+ /// One endpoint, two shapes, mirroring the BFF: without ``provider`` it lists
+ /// every key for the workspace; with one it returns that single key, or 404 if
+ /// the workspace has none for it. The union response model is the honest
+ /// declaration of that — see ``provider_keys/router.py::list_provider_keys``.
+ /// ``provider`` is bounded here so an explicitly empty ``?provider=`` fails with
+ /// 422 at this edge rather than making the round trip (the BFF rejects it too);
+ /// omitting it entirely is the list case. It rides through on the forwarded query
+ /// string — see ``tokenwise_service._build_gateway_request``. + ///
+ /// + /// 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, global::AI21.ProviderKeyOut>>> ListProviderKeysGatewaySettingsProviderKeysGetAsResponseAsync( + string? provider = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareListProviderKeysGatewaySettingsProviderKeysGetArguments( + httpClient: HttpClient, + provider: ref provider); + + + var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_ListProviderKeysGatewaySettingsProviderKeysGetSecurityRequirements, + operationName: "ListProviderKeysGatewaySettingsProviderKeysGetAsync"); + + using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AI21.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AI21.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AI21.PathBuilder( + path: "/gateway/settings/provider-keys", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("provider", provider) + ; + var __path = __pathBuilder.ToString(); + __path = global::AI21.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::AI21.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareListProviderKeysGatewaySettingsProviderKeysGetRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + provider: provider); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListProviderKeysGatewaySettingsProviderKeysGet", + methodName: "ListProviderKeysGatewaySettingsProviderKeysGetAsync", + pathTemplate: "\"/gateway/settings/provider-keys\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AI21.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListProviderKeysGatewaySettingsProviderKeysGet", + methodName: "ListProviderKeysGatewaySettingsProviderKeysGetAsync", + pathTemplate: "\"/gateway/settings/provider-keys\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AI21.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AI21.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AI21.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListProviderKeysGatewaySettingsProviderKeysGet", + methodName: "ListProviderKeysGatewaySettingsProviderKeysGetAsync", + pathTemplate: "\"/gateway/settings/provider-keys\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AI21.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessListProviderKeysGatewaySettingsProviderKeysGetResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListProviderKeysGatewaySettingsProviderKeysGet", + methodName: "ListProviderKeysGatewaySettingsProviderKeysGetAsync", + pathTemplate: "\"/gateway/settings/provider-keys\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListProviderKeysGatewaySettingsProviderKeysGet", + methodName: "ListProviderKeysGatewaySettingsProviderKeysGetAsync", + pathTemplate: "\"/gateway/settings/provider-keys\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Validation Error + if ((int)__response.StatusCode == 422) + { + string? __content_422 = null; + global::System.Exception? __exception_422 = null; + global::AI21.HTTPValidationError? __value_422 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_422 = global::AI21.HTTPValidationError.FromJson(__content_422, JsonSerializerContext); + } + else + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_422 = global::AI21.HTTPValidationError.FromJson(__content_422, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_422 = __ex; + } + + + throw global::AI21.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_422 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_422, + responseBody: __content_422, + responseObject: __value_422, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessListProviderKeysGatewaySettingsProviderKeysGetResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AI21.AnyOf, global::AI21.ProviderKeyOut>.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AI21.AutoSDKHttpResponse, global::AI21.ProviderKeyOut>>( + statusCode: __response.StatusCode, + headers: global::AI21.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AI21.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AI21.AnyOf, global::AI21.ProviderKeyOut>.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AI21.AutoSDKHttpResponse, global::AI21.ProviderKeyOut>>( + statusCode: __response.StatusCode, + headers: global::AI21.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AI21.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ListProviderKeysTokenwiseSettingsProviderKeysGet.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ListProviderKeysTokenwiseSettingsProviderKeysGet.g.cs new file mode 100644 index 00000000..19e2ef09 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ListProviderKeysTokenwiseSettingsProviderKeysGet.g.cs @@ -0,0 +1,482 @@ + +#nullable enable + +namespace AI21 +{ + public partial class Ai21Client + { + + + private static readonly global::AI21.EndPointSecurityRequirement s_ListProviderKeysTokenwiseSettingsProviderKeysGetSecurityRequirement0 = + new global::AI21.EndPointSecurityRequirement + { + Authorizations = new global::AI21.EndPointAuthorizationRequirement[] + { new global::AI21.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AI21.EndPointSecurityRequirement[] s_ListProviderKeysTokenwiseSettingsProviderKeysGetSecurityRequirements = + new global::AI21.EndPointSecurityRequirement[] + { s_ListProviderKeysTokenwiseSettingsProviderKeysGetSecurityRequirement0, + }; + partial void PrepareListProviderKeysTokenwiseSettingsProviderKeysGetArguments( + global::System.Net.Http.HttpClient httpClient, + ref string? provider); + partial void PrepareListProviderKeysTokenwiseSettingsProviderKeysGetRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string? provider); + partial void ProcessListProviderKeysTokenwiseSettingsProviderKeysGetResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessListProviderKeysTokenwiseSettingsProviderKeysGetResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// List Provider Keys
+ /// The workspace's provider keys, masked.
+ /// One endpoint, two shapes, mirroring the BFF: without ``provider`` it lists
+ /// every key for the workspace; with one it returns that single key, or 404 if
+ /// the workspace has none for it. The union response model is the honest
+ /// declaration of that — see ``provider_keys/router.py::list_provider_keys``.
+ /// ``provider`` is bounded here so an explicitly empty ``?provider=`` fails with
+ /// 422 at this edge rather than making the round trip (the BFF rejects it too);
+ /// omitting it entirely is the list case. It rides through on the forwarded query
+ /// string — see ``tokenwise_service._build_gateway_request``. + ///
+ /// + /// 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, global::AI21.ProviderKeyOut>> ListProviderKeysTokenwiseSettingsProviderKeysGetAsync( + string? provider = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await ListProviderKeysTokenwiseSettingsProviderKeysGetAsResponseAsync( + provider: provider, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// List Provider Keys
+ /// The workspace's provider keys, masked.
+ /// One endpoint, two shapes, mirroring the BFF: without ``provider`` it lists
+ /// every key for the workspace; with one it returns that single key, or 404 if
+ /// the workspace has none for it. The union response model is the honest
+ /// declaration of that — see ``provider_keys/router.py::list_provider_keys``.
+ /// ``provider`` is bounded here so an explicitly empty ``?provider=`` fails with
+ /// 422 at this edge rather than making the round trip (the BFF rejects it too);
+ /// omitting it entirely is the list case. It rides through on the forwarded query
+ /// string — see ``tokenwise_service._build_gateway_request``. + ///
+ /// + /// 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, global::AI21.ProviderKeyOut>>> ListProviderKeysTokenwiseSettingsProviderKeysGetAsResponseAsync( + string? provider = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareListProviderKeysTokenwiseSettingsProviderKeysGetArguments( + httpClient: HttpClient, + provider: ref provider); + + + var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_ListProviderKeysTokenwiseSettingsProviderKeysGetSecurityRequirements, + operationName: "ListProviderKeysTokenwiseSettingsProviderKeysGetAsync"); + + using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AI21.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AI21.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AI21.PathBuilder( + path: "/tokenwise/settings/provider-keys", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("provider", provider) + ; + var __path = __pathBuilder.ToString(); + __path = global::AI21.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::AI21.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareListProviderKeysTokenwiseSettingsProviderKeysGetRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + provider: provider); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListProviderKeysTokenwiseSettingsProviderKeysGet", + methodName: "ListProviderKeysTokenwiseSettingsProviderKeysGetAsync", + pathTemplate: "\"/tokenwise/settings/provider-keys\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AI21.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListProviderKeysTokenwiseSettingsProviderKeysGet", + methodName: "ListProviderKeysTokenwiseSettingsProviderKeysGetAsync", + pathTemplate: "\"/tokenwise/settings/provider-keys\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AI21.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AI21.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AI21.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListProviderKeysTokenwiseSettingsProviderKeysGet", + methodName: "ListProviderKeysTokenwiseSettingsProviderKeysGetAsync", + pathTemplate: "\"/tokenwise/settings/provider-keys\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AI21.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessListProviderKeysTokenwiseSettingsProviderKeysGetResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListProviderKeysTokenwiseSettingsProviderKeysGet", + methodName: "ListProviderKeysTokenwiseSettingsProviderKeysGetAsync", + pathTemplate: "\"/tokenwise/settings/provider-keys\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListProviderKeysTokenwiseSettingsProviderKeysGet", + methodName: "ListProviderKeysTokenwiseSettingsProviderKeysGetAsync", + pathTemplate: "\"/tokenwise/settings/provider-keys\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Validation Error + if ((int)__response.StatusCode == 422) + { + string? __content_422 = null; + global::System.Exception? __exception_422 = null; + global::AI21.HTTPValidationError? __value_422 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_422 = global::AI21.HTTPValidationError.FromJson(__content_422, JsonSerializerContext); + } + else + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_422 = global::AI21.HTTPValidationError.FromJson(__content_422, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_422 = __ex; + } + + + throw global::AI21.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_422 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_422, + responseBody: __content_422, + responseObject: __value_422, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessListProviderKeysTokenwiseSettingsProviderKeysGetResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AI21.AnyOf, global::AI21.ProviderKeyOut>.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AI21.AutoSDKHttpResponse, global::AI21.ProviderKeyOut>>( + statusCode: __response.StatusCode, + headers: global::AI21.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AI21.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AI21.AnyOf, global::AI21.ProviderKeyOut>.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AI21.AutoSDKHttpResponse, global::AI21.ProviderKeyOut>>( + statusCode: __response.StatusCode, + headers: global::AI21.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AI21.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathDelete.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathDelete.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut.g.cs index 5771b2ab..0c98ca59 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathDelete.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyHarnessApiHarnessApiPathDeleteSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyHarnessApiHarnessApiPathPutSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,22 +21,22 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyHarnessApiHarnessApiPathDeleteSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyHarnessApiHarnessApiPathPutSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyHarnessApiHarnessApiPathDeleteSecurityRequirement0, + { s_ProxyHarnessApiHarnessApiPathPutSecurityRequirement0, }; - partial void PrepareProxyHarnessApiHarnessApiPathDeleteArguments( + partial void PrepareProxyHarnessApiHarnessApiPathPutArguments( global::System.Net.Http.HttpClient httpClient, ref string path); - partial void PrepareProxyHarnessApiHarnessApiPathDeleteRequest( + partial void PrepareProxyHarnessApiHarnessApiPathPutRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path); - partial void ProcessProxyHarnessApiHarnessApiPathDeleteResponse( + partial void ProcessProxyHarnessApiHarnessApiPathPutResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyHarnessApiHarnessApiPathDeleteResponseContent( + partial void ProcessProxyHarnessApiHarnessApiPathPutResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -48,12 +48,12 @@ partial void ProcessProxyHarnessApiHarnessApiPathDeleteResponseContent( /// 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 ProxyHarnessApiHarnessApiPathDeleteAsync( + public async global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPutAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyHarnessApiHarnessApiPathDeleteAsResponseAsync( + var __response = await ProxyHarnessApiHarnessApiPathPutAsResponseAsync( path: path, requestOptions: requestOptions, cancellationToken: cancellationToken @@ -68,22 +68,22 @@ partial void ProcessProxyHarnessApiHarnessApiPathDeleteResponseContent( /// 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> ProxyHarnessApiHarnessApiPathDeleteAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPutAsResponseAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareProxyHarnessApiHarnessApiPathDeleteArguments( + PrepareProxyHarnessApiHarnessApiPathPutArguments( httpClient: HttpClient, path: ref path); var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyHarnessApiHarnessApiPathDeleteSecurityRequirements, - operationName: "ProxyHarnessApiHarnessApiPathDeleteAsync"); + securityRequirements: s_ProxyHarnessApiHarnessApiPathPutSecurityRequirements, + operationName: "ProxyHarnessApiHarnessApiPathPutAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -142,7 +142,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathDeleteResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyHarnessApiHarnessApiPathDeleteRequest( + PrepareProxyHarnessApiHarnessApiPathPutRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!); @@ -162,8 +162,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathDelete", - methodName: "ProxyHarnessApiHarnessApiPathDeleteAsync", + operationId: "ProxyHarnessApiHarnessApiPathPut", + methodName: "ProxyHarnessApiHarnessApiPathPutAsync", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -196,8 +196,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathDelete", - methodName: "ProxyHarnessApiHarnessApiPathDeleteAsync", + operationId: "ProxyHarnessApiHarnessApiPathPut", + methodName: "ProxyHarnessApiHarnessApiPathPutAsync", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -237,8 +237,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathDelete", - methodName: "ProxyHarnessApiHarnessApiPathDeleteAsync", + operationId: "ProxyHarnessApiHarnessApiPathPut", + methodName: "ProxyHarnessApiHarnessApiPathPutAsync", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -277,7 +277,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathDeleteResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyHarnessApiHarnessApiPathDeleteResponse( + ProcessProxyHarnessApiHarnessApiPathPutResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -285,8 +285,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathDelete", - methodName: "ProxyHarnessApiHarnessApiPathDeleteAsync", + operationId: "ProxyHarnessApiHarnessApiPathPut", + methodName: "ProxyHarnessApiHarnessApiPathPutAsync", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -307,8 +307,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathDelete", - methodName: "ProxyHarnessApiHarnessApiPathDeleteAsync", + operationId: "ProxyHarnessApiHarnessApiPathPut", + methodName: "ProxyHarnessApiHarnessApiPathPutAsync", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -374,7 +374,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathDeleteResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyHarnessApiHarnessApiPathDeleteResponseContent( + ProcessProxyHarnessApiHarnessApiPathPutResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathDelete2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut2.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathDelete2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut2.g.cs index 4f85e3c3..b77d9333 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathDelete2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyHarnessApiHarnessApiPathDelete2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyHarnessApiHarnessApiPathPut2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,22 +21,22 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyHarnessApiHarnessApiPathDelete2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyHarnessApiHarnessApiPathPut2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyHarnessApiHarnessApiPathDelete2SecurityRequirement0, + { s_ProxyHarnessApiHarnessApiPathPut2SecurityRequirement0, }; - partial void PrepareProxyHarnessApiHarnessApiPathDelete2Arguments( + partial void PrepareProxyHarnessApiHarnessApiPathPut2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path); - partial void PrepareProxyHarnessApiHarnessApiPathDelete2Request( + partial void PrepareProxyHarnessApiHarnessApiPathPut2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path); - partial void ProcessProxyHarnessApiHarnessApiPathDelete2Response( + partial void ProcessProxyHarnessApiHarnessApiPathPut2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyHarnessApiHarnessApiPathDelete2ResponseContent( + partial void ProcessProxyHarnessApiHarnessApiPathPut2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -48,12 +48,12 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete2ResponseContent( /// 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 ProxyHarnessApiHarnessApiPathDelete2Async( + public async global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPut2Async( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyHarnessApiHarnessApiPathDelete2AsResponseAsync( + var __response = await ProxyHarnessApiHarnessApiPathPut2AsResponseAsync( path: path, requestOptions: requestOptions, cancellationToken: cancellationToken @@ -68,22 +68,22 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete2ResponseContent( /// 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> ProxyHarnessApiHarnessApiPathDelete2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPut2AsResponseAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareProxyHarnessApiHarnessApiPathDelete2Arguments( + PrepareProxyHarnessApiHarnessApiPathPut2Arguments( httpClient: HttpClient, path: ref path); var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyHarnessApiHarnessApiPathDelete2SecurityRequirements, - operationName: "ProxyHarnessApiHarnessApiPathDelete2Async"); + securityRequirements: s_ProxyHarnessApiHarnessApiPathPut2SecurityRequirements, + operationName: "ProxyHarnessApiHarnessApiPathPut2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -142,7 +142,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyHarnessApiHarnessApiPathDelete2Request( + PrepareProxyHarnessApiHarnessApiPathPut2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!); @@ -162,8 +162,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathDelete2", - methodName: "ProxyHarnessApiHarnessApiPathDelete2Async", + operationId: "ProxyHarnessApiHarnessApiPathPut2", + methodName: "ProxyHarnessApiHarnessApiPathPut2Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -196,8 +196,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathDelete2", - methodName: "ProxyHarnessApiHarnessApiPathDelete2Async", + operationId: "ProxyHarnessApiHarnessApiPathPut2", + methodName: "ProxyHarnessApiHarnessApiPathPut2Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -237,8 +237,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathDelete2", - methodName: "ProxyHarnessApiHarnessApiPathDelete2Async", + operationId: "ProxyHarnessApiHarnessApiPathPut2", + methodName: "ProxyHarnessApiHarnessApiPathPut2Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -277,7 +277,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyHarnessApiHarnessApiPathDelete2Response( + ProcessProxyHarnessApiHarnessApiPathPut2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -285,8 +285,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathDelete2", - methodName: "ProxyHarnessApiHarnessApiPathDelete2Async", + operationId: "ProxyHarnessApiHarnessApiPathPut2", + methodName: "ProxyHarnessApiHarnessApiPathPut2Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -307,8 +307,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathDelete2", - methodName: "ProxyHarnessApiHarnessApiPathDelete2Async", + operationId: "ProxyHarnessApiHarnessApiPathPut2", + methodName: "ProxyHarnessApiHarnessApiPathPut2Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -374,7 +374,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyHarnessApiHarnessApiPathDelete2ResponseContent( + ProcessProxyHarnessApiHarnessApiPathPut2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathDelete3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut3.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathDelete3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut3.g.cs index 55c900df..df70eff7 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathDelete3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyHarnessApiHarnessApiPathDelete3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyHarnessApiHarnessApiPathPut3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,22 +21,22 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyHarnessApiHarnessApiPathDelete3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyHarnessApiHarnessApiPathPut3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyHarnessApiHarnessApiPathDelete3SecurityRequirement0, + { s_ProxyHarnessApiHarnessApiPathPut3SecurityRequirement0, }; - partial void PrepareProxyHarnessApiHarnessApiPathDelete3Arguments( + partial void PrepareProxyHarnessApiHarnessApiPathPut3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path); - partial void PrepareProxyHarnessApiHarnessApiPathDelete3Request( + partial void PrepareProxyHarnessApiHarnessApiPathPut3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path); - partial void ProcessProxyHarnessApiHarnessApiPathDelete3Response( + partial void ProcessProxyHarnessApiHarnessApiPathPut3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyHarnessApiHarnessApiPathDelete3ResponseContent( + partial void ProcessProxyHarnessApiHarnessApiPathPut3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -48,12 +48,12 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete3ResponseContent( /// 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 ProxyHarnessApiHarnessApiPathDelete3Async( + public async global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPut3Async( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyHarnessApiHarnessApiPathDelete3AsResponseAsync( + var __response = await ProxyHarnessApiHarnessApiPathPut3AsResponseAsync( path: path, requestOptions: requestOptions, cancellationToken: cancellationToken @@ -68,22 +68,22 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete3ResponseContent( /// 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> ProxyHarnessApiHarnessApiPathDelete3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPut3AsResponseAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareProxyHarnessApiHarnessApiPathDelete3Arguments( + PrepareProxyHarnessApiHarnessApiPathPut3Arguments( httpClient: HttpClient, path: ref path); var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyHarnessApiHarnessApiPathDelete3SecurityRequirements, - operationName: "ProxyHarnessApiHarnessApiPathDelete3Async"); + securityRequirements: s_ProxyHarnessApiHarnessApiPathPut3SecurityRequirements, + operationName: "ProxyHarnessApiHarnessApiPathPut3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -142,7 +142,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyHarnessApiHarnessApiPathDelete3Request( + PrepareProxyHarnessApiHarnessApiPathPut3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!); @@ -162,8 +162,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathDelete3", - methodName: "ProxyHarnessApiHarnessApiPathDelete3Async", + operationId: "ProxyHarnessApiHarnessApiPathPut3", + methodName: "ProxyHarnessApiHarnessApiPathPut3Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -196,8 +196,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathDelete3", - methodName: "ProxyHarnessApiHarnessApiPathDelete3Async", + operationId: "ProxyHarnessApiHarnessApiPathPut3", + methodName: "ProxyHarnessApiHarnessApiPathPut3Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -237,8 +237,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathDelete3", - methodName: "ProxyHarnessApiHarnessApiPathDelete3Async", + operationId: "ProxyHarnessApiHarnessApiPathPut3", + methodName: "ProxyHarnessApiHarnessApiPathPut3Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -277,7 +277,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyHarnessApiHarnessApiPathDelete3Response( + ProcessProxyHarnessApiHarnessApiPathPut3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -285,8 +285,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathDelete3", - methodName: "ProxyHarnessApiHarnessApiPathDelete3Async", + operationId: "ProxyHarnessApiHarnessApiPathPut3", + methodName: "ProxyHarnessApiHarnessApiPathPut3Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -307,8 +307,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathDelete3", - methodName: "ProxyHarnessApiHarnessApiPathDelete3Async", + operationId: "ProxyHarnessApiHarnessApiPathPut3", + methodName: "ProxyHarnessApiHarnessApiPathPut3Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -374,7 +374,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyHarnessApiHarnessApiPathDelete3ResponseContent( + ProcessProxyHarnessApiHarnessApiPathPut3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathDelete4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut4.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathDelete4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut4.g.cs index 23bba758..5df98ba8 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathDelete4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyHarnessApiHarnessApiPathDelete4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyHarnessApiHarnessApiPathPut4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,22 +21,22 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyHarnessApiHarnessApiPathDelete4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyHarnessApiHarnessApiPathPut4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyHarnessApiHarnessApiPathDelete4SecurityRequirement0, + { s_ProxyHarnessApiHarnessApiPathPut4SecurityRequirement0, }; - partial void PrepareProxyHarnessApiHarnessApiPathDelete4Arguments( + partial void PrepareProxyHarnessApiHarnessApiPathPut4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path); - partial void PrepareProxyHarnessApiHarnessApiPathDelete4Request( + partial void PrepareProxyHarnessApiHarnessApiPathPut4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path); - partial void ProcessProxyHarnessApiHarnessApiPathDelete4Response( + partial void ProcessProxyHarnessApiHarnessApiPathPut4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyHarnessApiHarnessApiPathDelete4ResponseContent( + partial void ProcessProxyHarnessApiHarnessApiPathPut4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -48,12 +48,12 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete4ResponseContent( /// 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 ProxyHarnessApiHarnessApiPathDelete4Async( + public async global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPut4Async( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyHarnessApiHarnessApiPathDelete4AsResponseAsync( + var __response = await ProxyHarnessApiHarnessApiPathPut4AsResponseAsync( path: path, requestOptions: requestOptions, cancellationToken: cancellationToken @@ -68,22 +68,22 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete4ResponseContent( /// 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> ProxyHarnessApiHarnessApiPathDelete4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPut4AsResponseAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareProxyHarnessApiHarnessApiPathDelete4Arguments( + PrepareProxyHarnessApiHarnessApiPathPut4Arguments( httpClient: HttpClient, path: ref path); var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyHarnessApiHarnessApiPathDelete4SecurityRequirements, - operationName: "ProxyHarnessApiHarnessApiPathDelete4Async"); + securityRequirements: s_ProxyHarnessApiHarnessApiPathPut4SecurityRequirements, + operationName: "ProxyHarnessApiHarnessApiPathPut4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -142,7 +142,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyHarnessApiHarnessApiPathDelete4Request( + PrepareProxyHarnessApiHarnessApiPathPut4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!); @@ -162,8 +162,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathDelete4", - methodName: "ProxyHarnessApiHarnessApiPathDelete4Async", + operationId: "ProxyHarnessApiHarnessApiPathPut4", + methodName: "ProxyHarnessApiHarnessApiPathPut4Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -196,8 +196,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathDelete4", - methodName: "ProxyHarnessApiHarnessApiPathDelete4Async", + operationId: "ProxyHarnessApiHarnessApiPathPut4", + methodName: "ProxyHarnessApiHarnessApiPathPut4Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -237,8 +237,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathDelete4", - methodName: "ProxyHarnessApiHarnessApiPathDelete4Async", + operationId: "ProxyHarnessApiHarnessApiPathPut4", + methodName: "ProxyHarnessApiHarnessApiPathPut4Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -277,7 +277,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyHarnessApiHarnessApiPathDelete4Response( + ProcessProxyHarnessApiHarnessApiPathPut4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -285,8 +285,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathDelete4", - methodName: "ProxyHarnessApiHarnessApiPathDelete4Async", + operationId: "ProxyHarnessApiHarnessApiPathPut4", + methodName: "ProxyHarnessApiHarnessApiPathPut4Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -307,8 +307,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathDelete4", - methodName: "ProxyHarnessApiHarnessApiPathDelete4Async", + operationId: "ProxyHarnessApiHarnessApiPathPut4", + methodName: "ProxyHarnessApiHarnessApiPathPut4Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -374,7 +374,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyHarnessApiHarnessApiPathDelete4ResponseContent( + ProcessProxyHarnessApiHarnessApiPathPut4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathDelete5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut5.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathDelete5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut5.g.cs index 5fa91859..901177f3 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathDelete5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyHarnessApiHarnessApiPathPut5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyHarnessApiHarnessApiPathDelete5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyHarnessApiHarnessApiPathPut5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,22 +21,22 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyHarnessApiHarnessApiPathDelete5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyHarnessApiHarnessApiPathPut5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyHarnessApiHarnessApiPathDelete5SecurityRequirement0, + { s_ProxyHarnessApiHarnessApiPathPut5SecurityRequirement0, }; - partial void PrepareProxyHarnessApiHarnessApiPathDelete5Arguments( + partial void PrepareProxyHarnessApiHarnessApiPathPut5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path); - partial void PrepareProxyHarnessApiHarnessApiPathDelete5Request( + partial void PrepareProxyHarnessApiHarnessApiPathPut5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path); - partial void ProcessProxyHarnessApiHarnessApiPathDelete5Response( + partial void ProcessProxyHarnessApiHarnessApiPathPut5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyHarnessApiHarnessApiPathDelete5ResponseContent( + partial void ProcessProxyHarnessApiHarnessApiPathPut5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -48,12 +48,12 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete5ResponseContent( /// 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 ProxyHarnessApiHarnessApiPathDelete5Async( + public async global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPut5Async( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyHarnessApiHarnessApiPathDelete5AsResponseAsync( + var __response = await ProxyHarnessApiHarnessApiPathPut5AsResponseAsync( path: path, requestOptions: requestOptions, cancellationToken: cancellationToken @@ -68,22 +68,22 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete5ResponseContent( /// 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> ProxyHarnessApiHarnessApiPathDelete5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPut5AsResponseAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareProxyHarnessApiHarnessApiPathDelete5Arguments( + PrepareProxyHarnessApiHarnessApiPathPut5Arguments( httpClient: HttpClient, path: ref path); var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyHarnessApiHarnessApiPathDelete5SecurityRequirements, - operationName: "ProxyHarnessApiHarnessApiPathDelete5Async"); + securityRequirements: s_ProxyHarnessApiHarnessApiPathPut5SecurityRequirements, + operationName: "ProxyHarnessApiHarnessApiPathPut5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -142,7 +142,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyHarnessApiHarnessApiPathDelete5Request( + PrepareProxyHarnessApiHarnessApiPathPut5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!); @@ -162,8 +162,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathDelete5", - methodName: "ProxyHarnessApiHarnessApiPathDelete5Async", + operationId: "ProxyHarnessApiHarnessApiPathPut5", + methodName: "ProxyHarnessApiHarnessApiPathPut5Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -196,8 +196,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathDelete5", - methodName: "ProxyHarnessApiHarnessApiPathDelete5Async", + operationId: "ProxyHarnessApiHarnessApiPathPut5", + methodName: "ProxyHarnessApiHarnessApiPathPut5Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -237,8 +237,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathDelete5", - methodName: "ProxyHarnessApiHarnessApiPathDelete5Async", + operationId: "ProxyHarnessApiHarnessApiPathPut5", + methodName: "ProxyHarnessApiHarnessApiPathPut5Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -277,7 +277,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyHarnessApiHarnessApiPathDelete5Response( + ProcessProxyHarnessApiHarnessApiPathPut5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -285,8 +285,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathDelete5", - methodName: "ProxyHarnessApiHarnessApiPathDelete5Async", + operationId: "ProxyHarnessApiHarnessApiPathPut5", + methodName: "ProxyHarnessApiHarnessApiPathPut5Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -307,8 +307,8 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyHarnessApiHarnessApiPathDelete5", - methodName: "ProxyHarnessApiHarnessApiPathDelete5Async", + operationId: "ProxyHarnessApiHarnessApiPathPut5", + methodName: "ProxyHarnessApiHarnessApiPathPut5Async", pathTemplate: "$\"/harness/api/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -374,7 +374,7 @@ partial void ProcessProxyHarnessApiHarnessApiPathDelete5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyHarnessApiHarnessApiPathDelete5ResponseContent( + ProcessProxyHarnessApiHarnessApiPathPut5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathDelete.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathDelete.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions.g.cs index e0aa4347..9ceb8ea6 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathDelete.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathDeleteSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathOptionsSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathDeleteSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathOptionsSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1GatewayOffV1PathDeleteSecurityRequirement0, + { s_ProxyOffV1GatewayOffV1PathOptionsSecurityRequirement0, }; - partial void PrepareProxyOffV1GatewayOffV1PathDeleteArguments( + partial void PrepareProxyOffV1GatewayOffV1PathOptionsArguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1GatewayOffV1PathDeleteRequest( + partial void PrepareProxyOffV1GatewayOffV1PathOptionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1GatewayOffV1PathDeleteResponse( + partial void ProcessProxyOffV1GatewayOffV1PathOptionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1GatewayOffV1PathDeleteResponseContent( + partial void ProcessProxyOffV1GatewayOffV1PathOptionsResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1GatewayOffV1PathDeleteResponseContent( /// 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 ProxyOffV1GatewayOffV1PathDeleteAsync( + public async global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathOptionsAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1GatewayOffV1PathDeleteAsResponseAsync( + var __response = await ProxyOffV1GatewayOffV1PathOptionsAsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathDeleteResponseContent( /// 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> ProxyOffV1GatewayOffV1PathDeleteAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathOptionsAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathDeleteResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1GatewayOffV1PathDeleteArguments( + PrepareProxyOffV1GatewayOffV1PathOptionsArguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDeleteResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1GatewayOffV1PathDeleteSecurityRequirements, - operationName: "ProxyOffV1GatewayOffV1PathDeleteAsync"); + securityRequirements: s_ProxyOffV1GatewayOffV1PathOptionsSecurityRequirements, + operationName: "ProxyOffV1GatewayOffV1PathOptionsAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathDeleteResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1GatewayOffV1PathDeleteRequest( + PrepareProxyOffV1GatewayOffV1PathOptionsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathDelete", - methodName: "ProxyOffV1GatewayOffV1PathDeleteAsync", + operationId: "ProxyOffV1GatewayOffV1PathOptions", + methodName: "ProxyOffV1GatewayOffV1PathOptionsAsync", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathDelete", - methodName: "ProxyOffV1GatewayOffV1PathDeleteAsync", + operationId: "ProxyOffV1GatewayOffV1PathOptions", + methodName: "ProxyOffV1GatewayOffV1PathOptionsAsync", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathDelete", - methodName: "ProxyOffV1GatewayOffV1PathDeleteAsync", + operationId: "ProxyOffV1GatewayOffV1PathOptions", + methodName: "ProxyOffV1GatewayOffV1PathOptionsAsync", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathDeleteResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1GatewayOffV1PathDeleteResponse( + ProcessProxyOffV1GatewayOffV1PathOptionsResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathDelete", - methodName: "ProxyOffV1GatewayOffV1PathDeleteAsync", + operationId: "ProxyOffV1GatewayOffV1PathOptions", + methodName: "ProxyOffV1GatewayOffV1PathOptionsAsync", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathDelete", - methodName: "ProxyOffV1GatewayOffV1PathDeleteAsync", + operationId: "ProxyOffV1GatewayOffV1PathOptions", + methodName: "ProxyOffV1GatewayOffV1PathOptionsAsync", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathDeleteResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1GatewayOffV1PathDeleteResponseContent( + ProcessProxyOffV1GatewayOffV1PathOptionsResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathDelete2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions2.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathDelete2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions2.g.cs index d5b3acfd..c2815d20 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathDelete2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathDelete2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathOptions2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathDelete2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathOptions2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1GatewayOffV1PathDelete2SecurityRequirement0, + { s_ProxyOffV1GatewayOffV1PathOptions2SecurityRequirement0, }; - partial void PrepareProxyOffV1GatewayOffV1PathDelete2Arguments( + partial void PrepareProxyOffV1GatewayOffV1PathOptions2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1GatewayOffV1PathDelete2Request( + partial void PrepareProxyOffV1GatewayOffV1PathOptions2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1GatewayOffV1PathDelete2Response( + partial void ProcessProxyOffV1GatewayOffV1PathOptions2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1GatewayOffV1PathDelete2ResponseContent( + partial void ProcessProxyOffV1GatewayOffV1PathOptions2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete2ResponseContent( /// 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 ProxyOffV1GatewayOffV1PathDelete2Async( + public async global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathOptions2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1GatewayOffV1PathDelete2AsResponseAsync( + var __response = await ProxyOffV1GatewayOffV1PathOptions2AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete2ResponseContent( /// 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> ProxyOffV1GatewayOffV1PathDelete2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathOptions2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete2ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1GatewayOffV1PathDelete2Arguments( + PrepareProxyOffV1GatewayOffV1PathOptions2Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete2ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1GatewayOffV1PathDelete2SecurityRequirements, - operationName: "ProxyOffV1GatewayOffV1PathDelete2Async"); + securityRequirements: s_ProxyOffV1GatewayOffV1PathOptions2SecurityRequirements, + operationName: "ProxyOffV1GatewayOffV1PathOptions2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1GatewayOffV1PathDelete2Request( + PrepareProxyOffV1GatewayOffV1PathOptions2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathDelete2", - methodName: "ProxyOffV1GatewayOffV1PathDelete2Async", + operationId: "ProxyOffV1GatewayOffV1PathOptions2", + methodName: "ProxyOffV1GatewayOffV1PathOptions2Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathDelete2", - methodName: "ProxyOffV1GatewayOffV1PathDelete2Async", + operationId: "ProxyOffV1GatewayOffV1PathOptions2", + methodName: "ProxyOffV1GatewayOffV1PathOptions2Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathDelete2", - methodName: "ProxyOffV1GatewayOffV1PathDelete2Async", + operationId: "ProxyOffV1GatewayOffV1PathOptions2", + methodName: "ProxyOffV1GatewayOffV1PathOptions2Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1GatewayOffV1PathDelete2Response( + ProcessProxyOffV1GatewayOffV1PathOptions2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathDelete2", - methodName: "ProxyOffV1GatewayOffV1PathDelete2Async", + operationId: "ProxyOffV1GatewayOffV1PathOptions2", + methodName: "ProxyOffV1GatewayOffV1PathOptions2Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathDelete2", - methodName: "ProxyOffV1GatewayOffV1PathDelete2Async", + operationId: "ProxyOffV1GatewayOffV1PathOptions2", + methodName: "ProxyOffV1GatewayOffV1PathOptions2Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1GatewayOffV1PathDelete2ResponseContent( + ProcessProxyOffV1GatewayOffV1PathOptions2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathDelete3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions3.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathDelete3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions3.g.cs index 278fcdb4..13d3f2d2 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathDelete3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathDelete3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathOptions3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathDelete3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathOptions3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1GatewayOffV1PathDelete3SecurityRequirement0, + { s_ProxyOffV1GatewayOffV1PathOptions3SecurityRequirement0, }; - partial void PrepareProxyOffV1GatewayOffV1PathDelete3Arguments( + partial void PrepareProxyOffV1GatewayOffV1PathOptions3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1GatewayOffV1PathDelete3Request( + partial void PrepareProxyOffV1GatewayOffV1PathOptions3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1GatewayOffV1PathDelete3Response( + partial void ProcessProxyOffV1GatewayOffV1PathOptions3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1GatewayOffV1PathDelete3ResponseContent( + partial void ProcessProxyOffV1GatewayOffV1PathOptions3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete3ResponseContent( /// 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 ProxyOffV1GatewayOffV1PathDelete3Async( + public async global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathOptions3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1GatewayOffV1PathDelete3AsResponseAsync( + var __response = await ProxyOffV1GatewayOffV1PathOptions3AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete3ResponseContent( /// 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> ProxyOffV1GatewayOffV1PathDelete3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathOptions3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete3ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1GatewayOffV1PathDelete3Arguments( + PrepareProxyOffV1GatewayOffV1PathOptions3Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete3ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1GatewayOffV1PathDelete3SecurityRequirements, - operationName: "ProxyOffV1GatewayOffV1PathDelete3Async"); + securityRequirements: s_ProxyOffV1GatewayOffV1PathOptions3SecurityRequirements, + operationName: "ProxyOffV1GatewayOffV1PathOptions3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1GatewayOffV1PathDelete3Request( + PrepareProxyOffV1GatewayOffV1PathOptions3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathDelete3", - methodName: "ProxyOffV1GatewayOffV1PathDelete3Async", + operationId: "ProxyOffV1GatewayOffV1PathOptions3", + methodName: "ProxyOffV1GatewayOffV1PathOptions3Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathDelete3", - methodName: "ProxyOffV1GatewayOffV1PathDelete3Async", + operationId: "ProxyOffV1GatewayOffV1PathOptions3", + methodName: "ProxyOffV1GatewayOffV1PathOptions3Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathDelete3", - methodName: "ProxyOffV1GatewayOffV1PathDelete3Async", + operationId: "ProxyOffV1GatewayOffV1PathOptions3", + methodName: "ProxyOffV1GatewayOffV1PathOptions3Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1GatewayOffV1PathDelete3Response( + ProcessProxyOffV1GatewayOffV1PathOptions3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathDelete3", - methodName: "ProxyOffV1GatewayOffV1PathDelete3Async", + operationId: "ProxyOffV1GatewayOffV1PathOptions3", + methodName: "ProxyOffV1GatewayOffV1PathOptions3Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathDelete3", - methodName: "ProxyOffV1GatewayOffV1PathDelete3Async", + operationId: "ProxyOffV1GatewayOffV1PathOptions3", + methodName: "ProxyOffV1GatewayOffV1PathOptions3Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1GatewayOffV1PathDelete3ResponseContent( + ProcessProxyOffV1GatewayOffV1PathOptions3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathDelete4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions4.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathDelete4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions4.g.cs index 8b05bf81..6067b1f7 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathDelete4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathDelete4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathOptions4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathDelete4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathOptions4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1GatewayOffV1PathDelete4SecurityRequirement0, + { s_ProxyOffV1GatewayOffV1PathOptions4SecurityRequirement0, }; - partial void PrepareProxyOffV1GatewayOffV1PathDelete4Arguments( + partial void PrepareProxyOffV1GatewayOffV1PathOptions4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1GatewayOffV1PathDelete4Request( + partial void PrepareProxyOffV1GatewayOffV1PathOptions4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1GatewayOffV1PathDelete4Response( + partial void ProcessProxyOffV1GatewayOffV1PathOptions4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1GatewayOffV1PathDelete4ResponseContent( + partial void ProcessProxyOffV1GatewayOffV1PathOptions4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete4ResponseContent( /// 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 ProxyOffV1GatewayOffV1PathDelete4Async( + public async global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathOptions4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1GatewayOffV1PathDelete4AsResponseAsync( + var __response = await ProxyOffV1GatewayOffV1PathOptions4AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete4ResponseContent( /// 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> ProxyOffV1GatewayOffV1PathDelete4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathOptions4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete4ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1GatewayOffV1PathDelete4Arguments( + PrepareProxyOffV1GatewayOffV1PathOptions4Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete4ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1GatewayOffV1PathDelete4SecurityRequirements, - operationName: "ProxyOffV1GatewayOffV1PathDelete4Async"); + securityRequirements: s_ProxyOffV1GatewayOffV1PathOptions4SecurityRequirements, + operationName: "ProxyOffV1GatewayOffV1PathOptions4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1GatewayOffV1PathDelete4Request( + PrepareProxyOffV1GatewayOffV1PathOptions4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathDelete4", - methodName: "ProxyOffV1GatewayOffV1PathDelete4Async", + operationId: "ProxyOffV1GatewayOffV1PathOptions4", + methodName: "ProxyOffV1GatewayOffV1PathOptions4Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathDelete4", - methodName: "ProxyOffV1GatewayOffV1PathDelete4Async", + operationId: "ProxyOffV1GatewayOffV1PathOptions4", + methodName: "ProxyOffV1GatewayOffV1PathOptions4Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathDelete4", - methodName: "ProxyOffV1GatewayOffV1PathDelete4Async", + operationId: "ProxyOffV1GatewayOffV1PathOptions4", + methodName: "ProxyOffV1GatewayOffV1PathOptions4Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1GatewayOffV1PathDelete4Response( + ProcessProxyOffV1GatewayOffV1PathOptions4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathDelete4", - methodName: "ProxyOffV1GatewayOffV1PathDelete4Async", + operationId: "ProxyOffV1GatewayOffV1PathOptions4", + methodName: "ProxyOffV1GatewayOffV1PathOptions4Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathDelete4", - methodName: "ProxyOffV1GatewayOffV1PathDelete4Async", + operationId: "ProxyOffV1GatewayOffV1PathOptions4", + methodName: "ProxyOffV1GatewayOffV1PathOptions4Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1GatewayOffV1PathDelete4ResponseContent( + ProcessProxyOffV1GatewayOffV1PathOptions4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathDelete5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions5.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathDelete5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions5.g.cs index e5288940..d8a8f695 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathDelete5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathDelete5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathOptions5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathDelete5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathOptions5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1GatewayOffV1PathDelete5SecurityRequirement0, + { s_ProxyOffV1GatewayOffV1PathOptions5SecurityRequirement0, }; - partial void PrepareProxyOffV1GatewayOffV1PathDelete5Arguments( + partial void PrepareProxyOffV1GatewayOffV1PathOptions5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1GatewayOffV1PathDelete5Request( + partial void PrepareProxyOffV1GatewayOffV1PathOptions5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1GatewayOffV1PathDelete5Response( + partial void ProcessProxyOffV1GatewayOffV1PathOptions5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1GatewayOffV1PathDelete5ResponseContent( + partial void ProcessProxyOffV1GatewayOffV1PathOptions5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete5ResponseContent( /// 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 ProxyOffV1GatewayOffV1PathDelete5Async( + public async global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathOptions5Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1GatewayOffV1PathDelete5AsResponseAsync( + var __response = await ProxyOffV1GatewayOffV1PathOptions5AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete5ResponseContent( /// 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> ProxyOffV1GatewayOffV1PathDelete5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathOptions5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete5ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1GatewayOffV1PathDelete5Arguments( + PrepareProxyOffV1GatewayOffV1PathOptions5Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete5ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1GatewayOffV1PathDelete5SecurityRequirements, - operationName: "ProxyOffV1GatewayOffV1PathDelete5Async"); + securityRequirements: s_ProxyOffV1GatewayOffV1PathOptions5SecurityRequirements, + operationName: "ProxyOffV1GatewayOffV1PathOptions5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1GatewayOffV1PathDelete5Request( + PrepareProxyOffV1GatewayOffV1PathOptions5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathDelete5", - methodName: "ProxyOffV1GatewayOffV1PathDelete5Async", + operationId: "ProxyOffV1GatewayOffV1PathOptions5", + methodName: "ProxyOffV1GatewayOffV1PathOptions5Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathDelete5", - methodName: "ProxyOffV1GatewayOffV1PathDelete5Async", + operationId: "ProxyOffV1GatewayOffV1PathOptions5", + methodName: "ProxyOffV1GatewayOffV1PathOptions5Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathDelete5", - methodName: "ProxyOffV1GatewayOffV1PathDelete5Async", + operationId: "ProxyOffV1GatewayOffV1PathOptions5", + methodName: "ProxyOffV1GatewayOffV1PathOptions5Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1GatewayOffV1PathDelete5Response( + ProcessProxyOffV1GatewayOffV1PathOptions5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathDelete5", - methodName: "ProxyOffV1GatewayOffV1PathDelete5Async", + operationId: "ProxyOffV1GatewayOffV1PathOptions5", + methodName: "ProxyOffV1GatewayOffV1PathOptions5Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathDelete5", - methodName: "ProxyOffV1GatewayOffV1PathDelete5Async", + operationId: "ProxyOffV1GatewayOffV1PathOptions5", + methodName: "ProxyOffV1GatewayOffV1PathOptions5Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1GatewayOffV1PathDelete5ResponseContent( + ProcessProxyOffV1GatewayOffV1PathOptions5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathDelete6.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions6.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathDelete6.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions6.g.cs index 62d9dba7..9b0a21d0 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathDelete6.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1GatewayOffV1PathOptions6.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathDelete6SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1GatewayOffV1PathOptions6SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathDelete6SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1GatewayOffV1PathOptions6SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1GatewayOffV1PathDelete6SecurityRequirement0, + { s_ProxyOffV1GatewayOffV1PathOptions6SecurityRequirement0, }; - partial void PrepareProxyOffV1GatewayOffV1PathDelete6Arguments( + partial void PrepareProxyOffV1GatewayOffV1PathOptions6Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1GatewayOffV1PathDelete6Request( + partial void PrepareProxyOffV1GatewayOffV1PathOptions6Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1GatewayOffV1PathDelete6Response( + partial void ProcessProxyOffV1GatewayOffV1PathOptions6Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1GatewayOffV1PathDelete6ResponseContent( + partial void ProcessProxyOffV1GatewayOffV1PathOptions6ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete6ResponseContent( /// 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 ProxyOffV1GatewayOffV1PathDelete6Async( + public async global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathOptions6Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1GatewayOffV1PathDelete6AsResponseAsync( + var __response = await ProxyOffV1GatewayOffV1PathOptions6AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete6ResponseContent( /// 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> ProxyOffV1GatewayOffV1PathDelete6AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathOptions6AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete6ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1GatewayOffV1PathDelete6Arguments( + PrepareProxyOffV1GatewayOffV1PathOptions6Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete6ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1GatewayOffV1PathDelete6SecurityRequirements, - operationName: "ProxyOffV1GatewayOffV1PathDelete6Async"); + securityRequirements: s_ProxyOffV1GatewayOffV1PathOptions6SecurityRequirements, + operationName: "ProxyOffV1GatewayOffV1PathOptions6Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete6ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1GatewayOffV1PathDelete6Request( + PrepareProxyOffV1GatewayOffV1PathOptions6Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathDelete6", - methodName: "ProxyOffV1GatewayOffV1PathDelete6Async", + operationId: "ProxyOffV1GatewayOffV1PathOptions6", + methodName: "ProxyOffV1GatewayOffV1PathOptions6Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathDelete6", - methodName: "ProxyOffV1GatewayOffV1PathDelete6Async", + operationId: "ProxyOffV1GatewayOffV1PathOptions6", + methodName: "ProxyOffV1GatewayOffV1PathOptions6Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathDelete6", - methodName: "ProxyOffV1GatewayOffV1PathDelete6Async", + operationId: "ProxyOffV1GatewayOffV1PathOptions6", + methodName: "ProxyOffV1GatewayOffV1PathOptions6Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete6ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1GatewayOffV1PathDelete6Response( + ProcessProxyOffV1GatewayOffV1PathOptions6Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathDelete6", - methodName: "ProxyOffV1GatewayOffV1PathDelete6Async", + operationId: "ProxyOffV1GatewayOffV1PathOptions6", + methodName: "ProxyOffV1GatewayOffV1PathOptions6Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1GatewayOffV1PathDelete6", - methodName: "ProxyOffV1GatewayOffV1PathDelete6Async", + operationId: "ProxyOffV1GatewayOffV1PathOptions6", + methodName: "ProxyOffV1GatewayOffV1PathOptions6Async", pathTemplate: "$\"/gateway/off/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1GatewayOffV1PathDelete6ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1GatewayOffV1PathDelete6ResponseContent( + ProcessProxyOffV1GatewayOffV1PathOptions6ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathDelete.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathDelete.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions.g.cs index b7a26d5e..8de48f05 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathDelete.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathDeleteSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathOptionsSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathDeleteSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathOptionsSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1TokenwiseOffV1PathDeleteSecurityRequirement0, + { s_ProxyOffV1TokenwiseOffV1PathOptionsSecurityRequirement0, }; - partial void PrepareProxyOffV1TokenwiseOffV1PathDeleteArguments( + partial void PrepareProxyOffV1TokenwiseOffV1PathOptionsArguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1TokenwiseOffV1PathDeleteRequest( + partial void PrepareProxyOffV1TokenwiseOffV1PathOptionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1TokenwiseOffV1PathDeleteResponse( + partial void ProcessProxyOffV1TokenwiseOffV1PathOptionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1TokenwiseOffV1PathDeleteResponseContent( + partial void ProcessProxyOffV1TokenwiseOffV1PathOptionsResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDeleteResponseContent( /// 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 ProxyOffV1TokenwiseOffV1PathDeleteAsync( + public async global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathOptionsAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1TokenwiseOffV1PathDeleteAsResponseAsync( + var __response = await ProxyOffV1TokenwiseOffV1PathOptionsAsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDeleteResponseContent( /// 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> ProxyOffV1TokenwiseOffV1PathDeleteAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathOptionsAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDeleteResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1TokenwiseOffV1PathDeleteArguments( + PrepareProxyOffV1TokenwiseOffV1PathOptionsArguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDeleteResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1TokenwiseOffV1PathDeleteSecurityRequirements, - operationName: "ProxyOffV1TokenwiseOffV1PathDeleteAsync"); + securityRequirements: s_ProxyOffV1TokenwiseOffV1PathOptionsSecurityRequirements, + operationName: "ProxyOffV1TokenwiseOffV1PathOptionsAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDeleteResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1TokenwiseOffV1PathDeleteRequest( + PrepareProxyOffV1TokenwiseOffV1PathOptionsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathDelete", - methodName: "ProxyOffV1TokenwiseOffV1PathDeleteAsync", + operationId: "ProxyOffV1TokenwiseOffV1PathOptions", + methodName: "ProxyOffV1TokenwiseOffV1PathOptionsAsync", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathDelete", - methodName: "ProxyOffV1TokenwiseOffV1PathDeleteAsync", + operationId: "ProxyOffV1TokenwiseOffV1PathOptions", + methodName: "ProxyOffV1TokenwiseOffV1PathOptionsAsync", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathDelete", - methodName: "ProxyOffV1TokenwiseOffV1PathDeleteAsync", + operationId: "ProxyOffV1TokenwiseOffV1PathOptions", + methodName: "ProxyOffV1TokenwiseOffV1PathOptionsAsync", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDeleteResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1TokenwiseOffV1PathDeleteResponse( + ProcessProxyOffV1TokenwiseOffV1PathOptionsResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathDelete", - methodName: "ProxyOffV1TokenwiseOffV1PathDeleteAsync", + operationId: "ProxyOffV1TokenwiseOffV1PathOptions", + methodName: "ProxyOffV1TokenwiseOffV1PathOptionsAsync", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathDelete", - methodName: "ProxyOffV1TokenwiseOffV1PathDeleteAsync", + operationId: "ProxyOffV1TokenwiseOffV1PathOptions", + methodName: "ProxyOffV1TokenwiseOffV1PathOptionsAsync", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDeleteResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1TokenwiseOffV1PathDeleteResponseContent( + ProcessProxyOffV1TokenwiseOffV1PathOptionsResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathDelete2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions2.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathDelete2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions2.g.cs index 1b8ed6d6..f8801584 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathDelete2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathDelete2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathOptions2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathDelete2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathOptions2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1TokenwiseOffV1PathDelete2SecurityRequirement0, + { s_ProxyOffV1TokenwiseOffV1PathOptions2SecurityRequirement0, }; - partial void PrepareProxyOffV1TokenwiseOffV1PathDelete2Arguments( + partial void PrepareProxyOffV1TokenwiseOffV1PathOptions2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1TokenwiseOffV1PathDelete2Request( + partial void PrepareProxyOffV1TokenwiseOffV1PathOptions2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1TokenwiseOffV1PathDelete2Response( + partial void ProcessProxyOffV1TokenwiseOffV1PathOptions2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1TokenwiseOffV1PathDelete2ResponseContent( + partial void ProcessProxyOffV1TokenwiseOffV1PathOptions2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete2ResponseContent( /// 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 ProxyOffV1TokenwiseOffV1PathDelete2Async( + public async global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathOptions2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1TokenwiseOffV1PathDelete2AsResponseAsync( + var __response = await ProxyOffV1TokenwiseOffV1PathOptions2AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete2ResponseContent( /// 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> ProxyOffV1TokenwiseOffV1PathDelete2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathOptions2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete2ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1TokenwiseOffV1PathDelete2Arguments( + PrepareProxyOffV1TokenwiseOffV1PathOptions2Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete2ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1TokenwiseOffV1PathDelete2SecurityRequirements, - operationName: "ProxyOffV1TokenwiseOffV1PathDelete2Async"); + securityRequirements: s_ProxyOffV1TokenwiseOffV1PathOptions2SecurityRequirements, + operationName: "ProxyOffV1TokenwiseOffV1PathOptions2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1TokenwiseOffV1PathDelete2Request( + PrepareProxyOffV1TokenwiseOffV1PathOptions2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathDelete2", - methodName: "ProxyOffV1TokenwiseOffV1PathDelete2Async", + operationId: "ProxyOffV1TokenwiseOffV1PathOptions2", + methodName: "ProxyOffV1TokenwiseOffV1PathOptions2Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathDelete2", - methodName: "ProxyOffV1TokenwiseOffV1PathDelete2Async", + operationId: "ProxyOffV1TokenwiseOffV1PathOptions2", + methodName: "ProxyOffV1TokenwiseOffV1PathOptions2Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathDelete2", - methodName: "ProxyOffV1TokenwiseOffV1PathDelete2Async", + operationId: "ProxyOffV1TokenwiseOffV1PathOptions2", + methodName: "ProxyOffV1TokenwiseOffV1PathOptions2Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1TokenwiseOffV1PathDelete2Response( + ProcessProxyOffV1TokenwiseOffV1PathOptions2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathDelete2", - methodName: "ProxyOffV1TokenwiseOffV1PathDelete2Async", + operationId: "ProxyOffV1TokenwiseOffV1PathOptions2", + methodName: "ProxyOffV1TokenwiseOffV1PathOptions2Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathDelete2", - methodName: "ProxyOffV1TokenwiseOffV1PathDelete2Async", + operationId: "ProxyOffV1TokenwiseOffV1PathOptions2", + methodName: "ProxyOffV1TokenwiseOffV1PathOptions2Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1TokenwiseOffV1PathDelete2ResponseContent( + ProcessProxyOffV1TokenwiseOffV1PathOptions2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathDelete3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions3.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathDelete3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions3.g.cs index 77998ae0..e1e819bc 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathDelete3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathDelete3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathOptions3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathDelete3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathOptions3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1TokenwiseOffV1PathDelete3SecurityRequirement0, + { s_ProxyOffV1TokenwiseOffV1PathOptions3SecurityRequirement0, }; - partial void PrepareProxyOffV1TokenwiseOffV1PathDelete3Arguments( + partial void PrepareProxyOffV1TokenwiseOffV1PathOptions3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1TokenwiseOffV1PathDelete3Request( + partial void PrepareProxyOffV1TokenwiseOffV1PathOptions3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1TokenwiseOffV1PathDelete3Response( + partial void ProcessProxyOffV1TokenwiseOffV1PathOptions3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1TokenwiseOffV1PathDelete3ResponseContent( + partial void ProcessProxyOffV1TokenwiseOffV1PathOptions3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete3ResponseContent( /// 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 ProxyOffV1TokenwiseOffV1PathDelete3Async( + public async global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathOptions3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1TokenwiseOffV1PathDelete3AsResponseAsync( + var __response = await ProxyOffV1TokenwiseOffV1PathOptions3AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete3ResponseContent( /// 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> ProxyOffV1TokenwiseOffV1PathDelete3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathOptions3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete3ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1TokenwiseOffV1PathDelete3Arguments( + PrepareProxyOffV1TokenwiseOffV1PathOptions3Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete3ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1TokenwiseOffV1PathDelete3SecurityRequirements, - operationName: "ProxyOffV1TokenwiseOffV1PathDelete3Async"); + securityRequirements: s_ProxyOffV1TokenwiseOffV1PathOptions3SecurityRequirements, + operationName: "ProxyOffV1TokenwiseOffV1PathOptions3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1TokenwiseOffV1PathDelete3Request( + PrepareProxyOffV1TokenwiseOffV1PathOptions3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathDelete3", - methodName: "ProxyOffV1TokenwiseOffV1PathDelete3Async", + operationId: "ProxyOffV1TokenwiseOffV1PathOptions3", + methodName: "ProxyOffV1TokenwiseOffV1PathOptions3Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathDelete3", - methodName: "ProxyOffV1TokenwiseOffV1PathDelete3Async", + operationId: "ProxyOffV1TokenwiseOffV1PathOptions3", + methodName: "ProxyOffV1TokenwiseOffV1PathOptions3Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathDelete3", - methodName: "ProxyOffV1TokenwiseOffV1PathDelete3Async", + operationId: "ProxyOffV1TokenwiseOffV1PathOptions3", + methodName: "ProxyOffV1TokenwiseOffV1PathOptions3Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1TokenwiseOffV1PathDelete3Response( + ProcessProxyOffV1TokenwiseOffV1PathOptions3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathDelete3", - methodName: "ProxyOffV1TokenwiseOffV1PathDelete3Async", + operationId: "ProxyOffV1TokenwiseOffV1PathOptions3", + methodName: "ProxyOffV1TokenwiseOffV1PathOptions3Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathDelete3", - methodName: "ProxyOffV1TokenwiseOffV1PathDelete3Async", + operationId: "ProxyOffV1TokenwiseOffV1PathOptions3", + methodName: "ProxyOffV1TokenwiseOffV1PathOptions3Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1TokenwiseOffV1PathDelete3ResponseContent( + ProcessProxyOffV1TokenwiseOffV1PathOptions3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathDelete4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions4.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathDelete4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions4.g.cs index 4edcd316..b13a3e2c 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathDelete4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathDelete4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathOptions4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathDelete4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathOptions4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1TokenwiseOffV1PathDelete4SecurityRequirement0, + { s_ProxyOffV1TokenwiseOffV1PathOptions4SecurityRequirement0, }; - partial void PrepareProxyOffV1TokenwiseOffV1PathDelete4Arguments( + partial void PrepareProxyOffV1TokenwiseOffV1PathOptions4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1TokenwiseOffV1PathDelete4Request( + partial void PrepareProxyOffV1TokenwiseOffV1PathOptions4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1TokenwiseOffV1PathDelete4Response( + partial void ProcessProxyOffV1TokenwiseOffV1PathOptions4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1TokenwiseOffV1PathDelete4ResponseContent( + partial void ProcessProxyOffV1TokenwiseOffV1PathOptions4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete4ResponseContent( /// 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 ProxyOffV1TokenwiseOffV1PathDelete4Async( + public async global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathOptions4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1TokenwiseOffV1PathDelete4AsResponseAsync( + var __response = await ProxyOffV1TokenwiseOffV1PathOptions4AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete4ResponseContent( /// 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> ProxyOffV1TokenwiseOffV1PathDelete4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathOptions4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete4ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1TokenwiseOffV1PathDelete4Arguments( + PrepareProxyOffV1TokenwiseOffV1PathOptions4Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete4ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1TokenwiseOffV1PathDelete4SecurityRequirements, - operationName: "ProxyOffV1TokenwiseOffV1PathDelete4Async"); + securityRequirements: s_ProxyOffV1TokenwiseOffV1PathOptions4SecurityRequirements, + operationName: "ProxyOffV1TokenwiseOffV1PathOptions4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1TokenwiseOffV1PathDelete4Request( + PrepareProxyOffV1TokenwiseOffV1PathOptions4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathDelete4", - methodName: "ProxyOffV1TokenwiseOffV1PathDelete4Async", + operationId: "ProxyOffV1TokenwiseOffV1PathOptions4", + methodName: "ProxyOffV1TokenwiseOffV1PathOptions4Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathDelete4", - methodName: "ProxyOffV1TokenwiseOffV1PathDelete4Async", + operationId: "ProxyOffV1TokenwiseOffV1PathOptions4", + methodName: "ProxyOffV1TokenwiseOffV1PathOptions4Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathDelete4", - methodName: "ProxyOffV1TokenwiseOffV1PathDelete4Async", + operationId: "ProxyOffV1TokenwiseOffV1PathOptions4", + methodName: "ProxyOffV1TokenwiseOffV1PathOptions4Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1TokenwiseOffV1PathDelete4Response( + ProcessProxyOffV1TokenwiseOffV1PathOptions4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathDelete4", - methodName: "ProxyOffV1TokenwiseOffV1PathDelete4Async", + operationId: "ProxyOffV1TokenwiseOffV1PathOptions4", + methodName: "ProxyOffV1TokenwiseOffV1PathOptions4Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathDelete4", - methodName: "ProxyOffV1TokenwiseOffV1PathDelete4Async", + operationId: "ProxyOffV1TokenwiseOffV1PathOptions4", + methodName: "ProxyOffV1TokenwiseOffV1PathOptions4Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1TokenwiseOffV1PathDelete4ResponseContent( + ProcessProxyOffV1TokenwiseOffV1PathOptions4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathDelete5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions5.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathDelete5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions5.g.cs index 44ce02a9..3a7854ec 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathDelete5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathDelete5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathOptions5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathDelete5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathOptions5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1TokenwiseOffV1PathDelete5SecurityRequirement0, + { s_ProxyOffV1TokenwiseOffV1PathOptions5SecurityRequirement0, }; - partial void PrepareProxyOffV1TokenwiseOffV1PathDelete5Arguments( + partial void PrepareProxyOffV1TokenwiseOffV1PathOptions5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1TokenwiseOffV1PathDelete5Request( + partial void PrepareProxyOffV1TokenwiseOffV1PathOptions5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1TokenwiseOffV1PathDelete5Response( + partial void ProcessProxyOffV1TokenwiseOffV1PathOptions5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1TokenwiseOffV1PathDelete5ResponseContent( + partial void ProcessProxyOffV1TokenwiseOffV1PathOptions5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete5ResponseContent( /// 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 ProxyOffV1TokenwiseOffV1PathDelete5Async( + public async global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathOptions5Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1TokenwiseOffV1PathDelete5AsResponseAsync( + var __response = await ProxyOffV1TokenwiseOffV1PathOptions5AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete5ResponseContent( /// 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> ProxyOffV1TokenwiseOffV1PathDelete5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathOptions5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete5ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1TokenwiseOffV1PathDelete5Arguments( + PrepareProxyOffV1TokenwiseOffV1PathOptions5Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete5ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1TokenwiseOffV1PathDelete5SecurityRequirements, - operationName: "ProxyOffV1TokenwiseOffV1PathDelete5Async"); + securityRequirements: s_ProxyOffV1TokenwiseOffV1PathOptions5SecurityRequirements, + operationName: "ProxyOffV1TokenwiseOffV1PathOptions5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1TokenwiseOffV1PathDelete5Request( + PrepareProxyOffV1TokenwiseOffV1PathOptions5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathDelete5", - methodName: "ProxyOffV1TokenwiseOffV1PathDelete5Async", + operationId: "ProxyOffV1TokenwiseOffV1PathOptions5", + methodName: "ProxyOffV1TokenwiseOffV1PathOptions5Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathDelete5", - methodName: "ProxyOffV1TokenwiseOffV1PathDelete5Async", + operationId: "ProxyOffV1TokenwiseOffV1PathOptions5", + methodName: "ProxyOffV1TokenwiseOffV1PathOptions5Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathDelete5", - methodName: "ProxyOffV1TokenwiseOffV1PathDelete5Async", + operationId: "ProxyOffV1TokenwiseOffV1PathOptions5", + methodName: "ProxyOffV1TokenwiseOffV1PathOptions5Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1TokenwiseOffV1PathDelete5Response( + ProcessProxyOffV1TokenwiseOffV1PathOptions5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathDelete5", - methodName: "ProxyOffV1TokenwiseOffV1PathDelete5Async", + operationId: "ProxyOffV1TokenwiseOffV1PathOptions5", + methodName: "ProxyOffV1TokenwiseOffV1PathOptions5Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathDelete5", - methodName: "ProxyOffV1TokenwiseOffV1PathDelete5Async", + operationId: "ProxyOffV1TokenwiseOffV1PathOptions5", + methodName: "ProxyOffV1TokenwiseOffV1PathOptions5Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1TokenwiseOffV1PathDelete5ResponseContent( + ProcessProxyOffV1TokenwiseOffV1PathOptions5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathDelete6.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions6.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathDelete6.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions6.g.cs index 30fcd51f..1754a1c1 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathDelete6.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOffV1TokenwiseOffV1PathOptions6.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathDelete6SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOffV1TokenwiseOffV1PathOptions6SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathDelete6SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOffV1TokenwiseOffV1PathOptions6SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOffV1TokenwiseOffV1PathDelete6SecurityRequirement0, + { s_ProxyOffV1TokenwiseOffV1PathOptions6SecurityRequirement0, }; - partial void PrepareProxyOffV1TokenwiseOffV1PathDelete6Arguments( + partial void PrepareProxyOffV1TokenwiseOffV1PathOptions6Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOffV1TokenwiseOffV1PathDelete6Request( + partial void PrepareProxyOffV1TokenwiseOffV1PathOptions6Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOffV1TokenwiseOffV1PathDelete6Response( + partial void ProcessProxyOffV1TokenwiseOffV1PathOptions6Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOffV1TokenwiseOffV1PathDelete6ResponseContent( + partial void ProcessProxyOffV1TokenwiseOffV1PathOptions6ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete6ResponseContent( /// 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 ProxyOffV1TokenwiseOffV1PathDelete6Async( + public async global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathOptions6Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOffV1TokenwiseOffV1PathDelete6AsResponseAsync( + var __response = await ProxyOffV1TokenwiseOffV1PathOptions6AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete6ResponseContent( /// 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> ProxyOffV1TokenwiseOffV1PathDelete6AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathOptions6AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete6ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOffV1TokenwiseOffV1PathDelete6Arguments( + PrepareProxyOffV1TokenwiseOffV1PathOptions6Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete6ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOffV1TokenwiseOffV1PathDelete6SecurityRequirements, - operationName: "ProxyOffV1TokenwiseOffV1PathDelete6Async"); + securityRequirements: s_ProxyOffV1TokenwiseOffV1PathOptions6SecurityRequirements, + operationName: "ProxyOffV1TokenwiseOffV1PathOptions6Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete6ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOffV1TokenwiseOffV1PathDelete6Request( + PrepareProxyOffV1TokenwiseOffV1PathOptions6Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathDelete6", - methodName: "ProxyOffV1TokenwiseOffV1PathDelete6Async", + operationId: "ProxyOffV1TokenwiseOffV1PathOptions6", + methodName: "ProxyOffV1TokenwiseOffV1PathOptions6Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathDelete6", - methodName: "ProxyOffV1TokenwiseOffV1PathDelete6Async", + operationId: "ProxyOffV1TokenwiseOffV1PathOptions6", + methodName: "ProxyOffV1TokenwiseOffV1PathOptions6Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathDelete6", - methodName: "ProxyOffV1TokenwiseOffV1PathDelete6Async", + operationId: "ProxyOffV1TokenwiseOffV1PathOptions6", + methodName: "ProxyOffV1TokenwiseOffV1PathOptions6Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete6ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOffV1TokenwiseOffV1PathDelete6Response( + ProcessProxyOffV1TokenwiseOffV1PathOptions6Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathDelete6", - methodName: "ProxyOffV1TokenwiseOffV1PathDelete6Async", + operationId: "ProxyOffV1TokenwiseOffV1PathOptions6", + methodName: "ProxyOffV1TokenwiseOffV1PathOptions6Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOffV1TokenwiseOffV1PathDelete6", - methodName: "ProxyOffV1TokenwiseOffV1PathDelete6Async", + operationId: "ProxyOffV1TokenwiseOffV1PathOptions6", + methodName: "ProxyOffV1TokenwiseOffV1PathOptions6Async", pathTemplate: "$\"/tokenwise/off/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOffV1TokenwiseOffV1PathDelete6ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOffV1TokenwiseOffV1PathDelete6ResponseContent( + ProcessProxyOffV1TokenwiseOffV1PathOptions6ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathDelete.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathDelete.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions.g.cs index c419657b..1cbcdcfe 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathDelete.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathDeleteSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathOptionsSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathDeleteSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathOptionsSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1GatewayOnV1PathDeleteSecurityRequirement0, + { s_ProxyOnV1GatewayOnV1PathOptionsSecurityRequirement0, }; - partial void PrepareProxyOnV1GatewayOnV1PathDeleteArguments( + partial void PrepareProxyOnV1GatewayOnV1PathOptionsArguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1GatewayOnV1PathDeleteRequest( + partial void PrepareProxyOnV1GatewayOnV1PathOptionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1GatewayOnV1PathDeleteResponse( + partial void ProcessProxyOnV1GatewayOnV1PathOptionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1GatewayOnV1PathDeleteResponseContent( + partial void ProcessProxyOnV1GatewayOnV1PathOptionsResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1GatewayOnV1PathDeleteResponseContent( /// 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 ProxyOnV1GatewayOnV1PathDeleteAsync( + public async global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathOptionsAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1GatewayOnV1PathDeleteAsResponseAsync( + var __response = await ProxyOnV1GatewayOnV1PathOptionsAsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathDeleteResponseContent( /// 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> ProxyOnV1GatewayOnV1PathDeleteAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathOptionsAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathDeleteResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1GatewayOnV1PathDeleteArguments( + PrepareProxyOnV1GatewayOnV1PathOptionsArguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDeleteResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1GatewayOnV1PathDeleteSecurityRequirements, - operationName: "ProxyOnV1GatewayOnV1PathDeleteAsync"); + securityRequirements: s_ProxyOnV1GatewayOnV1PathOptionsSecurityRequirements, + operationName: "ProxyOnV1GatewayOnV1PathOptionsAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathDeleteResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1GatewayOnV1PathDeleteRequest( + PrepareProxyOnV1GatewayOnV1PathOptionsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathDelete", - methodName: "ProxyOnV1GatewayOnV1PathDeleteAsync", + operationId: "ProxyOnV1GatewayOnV1PathOptions", + methodName: "ProxyOnV1GatewayOnV1PathOptionsAsync", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathDelete", - methodName: "ProxyOnV1GatewayOnV1PathDeleteAsync", + operationId: "ProxyOnV1GatewayOnV1PathOptions", + methodName: "ProxyOnV1GatewayOnV1PathOptionsAsync", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathDelete", - methodName: "ProxyOnV1GatewayOnV1PathDeleteAsync", + operationId: "ProxyOnV1GatewayOnV1PathOptions", + methodName: "ProxyOnV1GatewayOnV1PathOptionsAsync", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathDeleteResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1GatewayOnV1PathDeleteResponse( + ProcessProxyOnV1GatewayOnV1PathOptionsResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathDelete", - methodName: "ProxyOnV1GatewayOnV1PathDeleteAsync", + operationId: "ProxyOnV1GatewayOnV1PathOptions", + methodName: "ProxyOnV1GatewayOnV1PathOptionsAsync", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathDelete", - methodName: "ProxyOnV1GatewayOnV1PathDeleteAsync", + operationId: "ProxyOnV1GatewayOnV1PathOptions", + methodName: "ProxyOnV1GatewayOnV1PathOptionsAsync", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathDeleteResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1GatewayOnV1PathDeleteResponseContent( + ProcessProxyOnV1GatewayOnV1PathOptionsResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathDelete2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions2.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathDelete2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions2.g.cs index f654b792..6714e508 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathDelete2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathDelete2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathOptions2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathDelete2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathOptions2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1GatewayOnV1PathDelete2SecurityRequirement0, + { s_ProxyOnV1GatewayOnV1PathOptions2SecurityRequirement0, }; - partial void PrepareProxyOnV1GatewayOnV1PathDelete2Arguments( + partial void PrepareProxyOnV1GatewayOnV1PathOptions2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1GatewayOnV1PathDelete2Request( + partial void PrepareProxyOnV1GatewayOnV1PathOptions2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1GatewayOnV1PathDelete2Response( + partial void ProcessProxyOnV1GatewayOnV1PathOptions2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1GatewayOnV1PathDelete2ResponseContent( + partial void ProcessProxyOnV1GatewayOnV1PathOptions2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete2ResponseContent( /// 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 ProxyOnV1GatewayOnV1PathDelete2Async( + public async global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathOptions2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1GatewayOnV1PathDelete2AsResponseAsync( + var __response = await ProxyOnV1GatewayOnV1PathOptions2AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete2ResponseContent( /// 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> ProxyOnV1GatewayOnV1PathDelete2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathOptions2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete2ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1GatewayOnV1PathDelete2Arguments( + PrepareProxyOnV1GatewayOnV1PathOptions2Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete2ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1GatewayOnV1PathDelete2SecurityRequirements, - operationName: "ProxyOnV1GatewayOnV1PathDelete2Async"); + securityRequirements: s_ProxyOnV1GatewayOnV1PathOptions2SecurityRequirements, + operationName: "ProxyOnV1GatewayOnV1PathOptions2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1GatewayOnV1PathDelete2Request( + PrepareProxyOnV1GatewayOnV1PathOptions2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathDelete2", - methodName: "ProxyOnV1GatewayOnV1PathDelete2Async", + operationId: "ProxyOnV1GatewayOnV1PathOptions2", + methodName: "ProxyOnV1GatewayOnV1PathOptions2Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathDelete2", - methodName: "ProxyOnV1GatewayOnV1PathDelete2Async", + operationId: "ProxyOnV1GatewayOnV1PathOptions2", + methodName: "ProxyOnV1GatewayOnV1PathOptions2Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathDelete2", - methodName: "ProxyOnV1GatewayOnV1PathDelete2Async", + operationId: "ProxyOnV1GatewayOnV1PathOptions2", + methodName: "ProxyOnV1GatewayOnV1PathOptions2Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1GatewayOnV1PathDelete2Response( + ProcessProxyOnV1GatewayOnV1PathOptions2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathDelete2", - methodName: "ProxyOnV1GatewayOnV1PathDelete2Async", + operationId: "ProxyOnV1GatewayOnV1PathOptions2", + methodName: "ProxyOnV1GatewayOnV1PathOptions2Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathDelete2", - methodName: "ProxyOnV1GatewayOnV1PathDelete2Async", + operationId: "ProxyOnV1GatewayOnV1PathOptions2", + methodName: "ProxyOnV1GatewayOnV1PathOptions2Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1GatewayOnV1PathDelete2ResponseContent( + ProcessProxyOnV1GatewayOnV1PathOptions2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathDelete3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions3.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathDelete3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions3.g.cs index 8cfc6a7f..f0a15011 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathDelete3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathDelete3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathOptions3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathDelete3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathOptions3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1GatewayOnV1PathDelete3SecurityRequirement0, + { s_ProxyOnV1GatewayOnV1PathOptions3SecurityRequirement0, }; - partial void PrepareProxyOnV1GatewayOnV1PathDelete3Arguments( + partial void PrepareProxyOnV1GatewayOnV1PathOptions3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1GatewayOnV1PathDelete3Request( + partial void PrepareProxyOnV1GatewayOnV1PathOptions3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1GatewayOnV1PathDelete3Response( + partial void ProcessProxyOnV1GatewayOnV1PathOptions3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1GatewayOnV1PathDelete3ResponseContent( + partial void ProcessProxyOnV1GatewayOnV1PathOptions3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete3ResponseContent( /// 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 ProxyOnV1GatewayOnV1PathDelete3Async( + public async global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathOptions3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1GatewayOnV1PathDelete3AsResponseAsync( + var __response = await ProxyOnV1GatewayOnV1PathOptions3AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete3ResponseContent( /// 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> ProxyOnV1GatewayOnV1PathDelete3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathOptions3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete3ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1GatewayOnV1PathDelete3Arguments( + PrepareProxyOnV1GatewayOnV1PathOptions3Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete3ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1GatewayOnV1PathDelete3SecurityRequirements, - operationName: "ProxyOnV1GatewayOnV1PathDelete3Async"); + securityRequirements: s_ProxyOnV1GatewayOnV1PathOptions3SecurityRequirements, + operationName: "ProxyOnV1GatewayOnV1PathOptions3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1GatewayOnV1PathDelete3Request( + PrepareProxyOnV1GatewayOnV1PathOptions3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathDelete3", - methodName: "ProxyOnV1GatewayOnV1PathDelete3Async", + operationId: "ProxyOnV1GatewayOnV1PathOptions3", + methodName: "ProxyOnV1GatewayOnV1PathOptions3Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathDelete3", - methodName: "ProxyOnV1GatewayOnV1PathDelete3Async", + operationId: "ProxyOnV1GatewayOnV1PathOptions3", + methodName: "ProxyOnV1GatewayOnV1PathOptions3Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathDelete3", - methodName: "ProxyOnV1GatewayOnV1PathDelete3Async", + operationId: "ProxyOnV1GatewayOnV1PathOptions3", + methodName: "ProxyOnV1GatewayOnV1PathOptions3Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1GatewayOnV1PathDelete3Response( + ProcessProxyOnV1GatewayOnV1PathOptions3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathDelete3", - methodName: "ProxyOnV1GatewayOnV1PathDelete3Async", + operationId: "ProxyOnV1GatewayOnV1PathOptions3", + methodName: "ProxyOnV1GatewayOnV1PathOptions3Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathDelete3", - methodName: "ProxyOnV1GatewayOnV1PathDelete3Async", + operationId: "ProxyOnV1GatewayOnV1PathOptions3", + methodName: "ProxyOnV1GatewayOnV1PathOptions3Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1GatewayOnV1PathDelete3ResponseContent( + ProcessProxyOnV1GatewayOnV1PathOptions3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathDelete4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions4.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathDelete4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions4.g.cs index 3101ed42..0c3087e6 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathDelete4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathDelete4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathOptions4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathDelete4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathOptions4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1GatewayOnV1PathDelete4SecurityRequirement0, + { s_ProxyOnV1GatewayOnV1PathOptions4SecurityRequirement0, }; - partial void PrepareProxyOnV1GatewayOnV1PathDelete4Arguments( + partial void PrepareProxyOnV1GatewayOnV1PathOptions4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1GatewayOnV1PathDelete4Request( + partial void PrepareProxyOnV1GatewayOnV1PathOptions4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1GatewayOnV1PathDelete4Response( + partial void ProcessProxyOnV1GatewayOnV1PathOptions4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1GatewayOnV1PathDelete4ResponseContent( + partial void ProcessProxyOnV1GatewayOnV1PathOptions4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete4ResponseContent( /// 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 ProxyOnV1GatewayOnV1PathDelete4Async( + public async global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathOptions4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1GatewayOnV1PathDelete4AsResponseAsync( + var __response = await ProxyOnV1GatewayOnV1PathOptions4AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete4ResponseContent( /// 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> ProxyOnV1GatewayOnV1PathDelete4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathOptions4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete4ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1GatewayOnV1PathDelete4Arguments( + PrepareProxyOnV1GatewayOnV1PathOptions4Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete4ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1GatewayOnV1PathDelete4SecurityRequirements, - operationName: "ProxyOnV1GatewayOnV1PathDelete4Async"); + securityRequirements: s_ProxyOnV1GatewayOnV1PathOptions4SecurityRequirements, + operationName: "ProxyOnV1GatewayOnV1PathOptions4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1GatewayOnV1PathDelete4Request( + PrepareProxyOnV1GatewayOnV1PathOptions4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathDelete4", - methodName: "ProxyOnV1GatewayOnV1PathDelete4Async", + operationId: "ProxyOnV1GatewayOnV1PathOptions4", + methodName: "ProxyOnV1GatewayOnV1PathOptions4Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathDelete4", - methodName: "ProxyOnV1GatewayOnV1PathDelete4Async", + operationId: "ProxyOnV1GatewayOnV1PathOptions4", + methodName: "ProxyOnV1GatewayOnV1PathOptions4Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathDelete4", - methodName: "ProxyOnV1GatewayOnV1PathDelete4Async", + operationId: "ProxyOnV1GatewayOnV1PathOptions4", + methodName: "ProxyOnV1GatewayOnV1PathOptions4Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1GatewayOnV1PathDelete4Response( + ProcessProxyOnV1GatewayOnV1PathOptions4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathDelete4", - methodName: "ProxyOnV1GatewayOnV1PathDelete4Async", + operationId: "ProxyOnV1GatewayOnV1PathOptions4", + methodName: "ProxyOnV1GatewayOnV1PathOptions4Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathDelete4", - methodName: "ProxyOnV1GatewayOnV1PathDelete4Async", + operationId: "ProxyOnV1GatewayOnV1PathOptions4", + methodName: "ProxyOnV1GatewayOnV1PathOptions4Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1GatewayOnV1PathDelete4ResponseContent( + ProcessProxyOnV1GatewayOnV1PathOptions4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathDelete5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions5.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathDelete5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions5.g.cs index b83e5727..62f68a77 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathDelete5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathDelete5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathOptions5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathDelete5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathOptions5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1GatewayOnV1PathDelete5SecurityRequirement0, + { s_ProxyOnV1GatewayOnV1PathOptions5SecurityRequirement0, }; - partial void PrepareProxyOnV1GatewayOnV1PathDelete5Arguments( + partial void PrepareProxyOnV1GatewayOnV1PathOptions5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1GatewayOnV1PathDelete5Request( + partial void PrepareProxyOnV1GatewayOnV1PathOptions5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1GatewayOnV1PathDelete5Response( + partial void ProcessProxyOnV1GatewayOnV1PathOptions5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1GatewayOnV1PathDelete5ResponseContent( + partial void ProcessProxyOnV1GatewayOnV1PathOptions5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete5ResponseContent( /// 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 ProxyOnV1GatewayOnV1PathDelete5Async( + public async global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathOptions5Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1GatewayOnV1PathDelete5AsResponseAsync( + var __response = await ProxyOnV1GatewayOnV1PathOptions5AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete5ResponseContent( /// 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> ProxyOnV1GatewayOnV1PathDelete5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathOptions5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete5ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1GatewayOnV1PathDelete5Arguments( + PrepareProxyOnV1GatewayOnV1PathOptions5Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete5ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1GatewayOnV1PathDelete5SecurityRequirements, - operationName: "ProxyOnV1GatewayOnV1PathDelete5Async"); + securityRequirements: s_ProxyOnV1GatewayOnV1PathOptions5SecurityRequirements, + operationName: "ProxyOnV1GatewayOnV1PathOptions5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1GatewayOnV1PathDelete5Request( + PrepareProxyOnV1GatewayOnV1PathOptions5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathDelete5", - methodName: "ProxyOnV1GatewayOnV1PathDelete5Async", + operationId: "ProxyOnV1GatewayOnV1PathOptions5", + methodName: "ProxyOnV1GatewayOnV1PathOptions5Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathDelete5", - methodName: "ProxyOnV1GatewayOnV1PathDelete5Async", + operationId: "ProxyOnV1GatewayOnV1PathOptions5", + methodName: "ProxyOnV1GatewayOnV1PathOptions5Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathDelete5", - methodName: "ProxyOnV1GatewayOnV1PathDelete5Async", + operationId: "ProxyOnV1GatewayOnV1PathOptions5", + methodName: "ProxyOnV1GatewayOnV1PathOptions5Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1GatewayOnV1PathDelete5Response( + ProcessProxyOnV1GatewayOnV1PathOptions5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathDelete5", - methodName: "ProxyOnV1GatewayOnV1PathDelete5Async", + operationId: "ProxyOnV1GatewayOnV1PathOptions5", + methodName: "ProxyOnV1GatewayOnV1PathOptions5Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathDelete5", - methodName: "ProxyOnV1GatewayOnV1PathDelete5Async", + operationId: "ProxyOnV1GatewayOnV1PathOptions5", + methodName: "ProxyOnV1GatewayOnV1PathOptions5Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1GatewayOnV1PathDelete5ResponseContent( + ProcessProxyOnV1GatewayOnV1PathOptions5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathDelete6.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions6.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathDelete6.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions6.g.cs index 830682b5..51cd8479 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathDelete6.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1GatewayOnV1PathOptions6.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathDelete6SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1GatewayOnV1PathOptions6SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathDelete6SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1GatewayOnV1PathOptions6SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1GatewayOnV1PathDelete6SecurityRequirement0, + { s_ProxyOnV1GatewayOnV1PathOptions6SecurityRequirement0, }; - partial void PrepareProxyOnV1GatewayOnV1PathDelete6Arguments( + partial void PrepareProxyOnV1GatewayOnV1PathOptions6Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1GatewayOnV1PathDelete6Request( + partial void PrepareProxyOnV1GatewayOnV1PathOptions6Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1GatewayOnV1PathDelete6Response( + partial void ProcessProxyOnV1GatewayOnV1PathOptions6Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1GatewayOnV1PathDelete6ResponseContent( + partial void ProcessProxyOnV1GatewayOnV1PathOptions6ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete6ResponseContent( /// 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 ProxyOnV1GatewayOnV1PathDelete6Async( + public async global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathOptions6Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1GatewayOnV1PathDelete6AsResponseAsync( + var __response = await ProxyOnV1GatewayOnV1PathOptions6AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete6ResponseContent( /// 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> ProxyOnV1GatewayOnV1PathDelete6AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathOptions6AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete6ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1GatewayOnV1PathDelete6Arguments( + PrepareProxyOnV1GatewayOnV1PathOptions6Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete6ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1GatewayOnV1PathDelete6SecurityRequirements, - operationName: "ProxyOnV1GatewayOnV1PathDelete6Async"); + securityRequirements: s_ProxyOnV1GatewayOnV1PathOptions6SecurityRequirements, + operationName: "ProxyOnV1GatewayOnV1PathOptions6Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete6ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1GatewayOnV1PathDelete6Request( + PrepareProxyOnV1GatewayOnV1PathOptions6Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathDelete6", - methodName: "ProxyOnV1GatewayOnV1PathDelete6Async", + operationId: "ProxyOnV1GatewayOnV1PathOptions6", + methodName: "ProxyOnV1GatewayOnV1PathOptions6Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathDelete6", - methodName: "ProxyOnV1GatewayOnV1PathDelete6Async", + operationId: "ProxyOnV1GatewayOnV1PathOptions6", + methodName: "ProxyOnV1GatewayOnV1PathOptions6Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathDelete6", - methodName: "ProxyOnV1GatewayOnV1PathDelete6Async", + operationId: "ProxyOnV1GatewayOnV1PathOptions6", + methodName: "ProxyOnV1GatewayOnV1PathOptions6Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete6ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1GatewayOnV1PathDelete6Response( + ProcessProxyOnV1GatewayOnV1PathOptions6Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathDelete6", - methodName: "ProxyOnV1GatewayOnV1PathDelete6Async", + operationId: "ProxyOnV1GatewayOnV1PathOptions6", + methodName: "ProxyOnV1GatewayOnV1PathOptions6Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1GatewayOnV1PathDelete6", - methodName: "ProxyOnV1GatewayOnV1PathDelete6Async", + operationId: "ProxyOnV1GatewayOnV1PathOptions6", + methodName: "ProxyOnV1GatewayOnV1PathOptions6Async", pathTemplate: "$\"/gateway/on/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1GatewayOnV1PathDelete6ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1GatewayOnV1PathDelete6ResponseContent( + ProcessProxyOnV1GatewayOnV1PathOptions6ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathDelete.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathDelete.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions.g.cs index a6cab78b..b756e2fd 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathDelete.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathDeleteSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathOptionsSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathDeleteSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathOptionsSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1TokenwiseOnV1PathDeleteSecurityRequirement0, + { s_ProxyOnV1TokenwiseOnV1PathOptionsSecurityRequirement0, }; - partial void PrepareProxyOnV1TokenwiseOnV1PathDeleteArguments( + partial void PrepareProxyOnV1TokenwiseOnV1PathOptionsArguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1TokenwiseOnV1PathDeleteRequest( + partial void PrepareProxyOnV1TokenwiseOnV1PathOptionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1TokenwiseOnV1PathDeleteResponse( + partial void ProcessProxyOnV1TokenwiseOnV1PathOptionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1TokenwiseOnV1PathDeleteResponseContent( + partial void ProcessProxyOnV1TokenwiseOnV1PathOptionsResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDeleteResponseContent( /// 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 ProxyOnV1TokenwiseOnV1PathDeleteAsync( + public async global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathOptionsAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1TokenwiseOnV1PathDeleteAsResponseAsync( + var __response = await ProxyOnV1TokenwiseOnV1PathOptionsAsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDeleteResponseContent( /// 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> ProxyOnV1TokenwiseOnV1PathDeleteAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathOptionsAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDeleteResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1TokenwiseOnV1PathDeleteArguments( + PrepareProxyOnV1TokenwiseOnV1PathOptionsArguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDeleteResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1TokenwiseOnV1PathDeleteSecurityRequirements, - operationName: "ProxyOnV1TokenwiseOnV1PathDeleteAsync"); + securityRequirements: s_ProxyOnV1TokenwiseOnV1PathOptionsSecurityRequirements, + operationName: "ProxyOnV1TokenwiseOnV1PathOptionsAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDeleteResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1TokenwiseOnV1PathDeleteRequest( + PrepareProxyOnV1TokenwiseOnV1PathOptionsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathDelete", - methodName: "ProxyOnV1TokenwiseOnV1PathDeleteAsync", + operationId: "ProxyOnV1TokenwiseOnV1PathOptions", + methodName: "ProxyOnV1TokenwiseOnV1PathOptionsAsync", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathDelete", - methodName: "ProxyOnV1TokenwiseOnV1PathDeleteAsync", + operationId: "ProxyOnV1TokenwiseOnV1PathOptions", + methodName: "ProxyOnV1TokenwiseOnV1PathOptionsAsync", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathDelete", - methodName: "ProxyOnV1TokenwiseOnV1PathDeleteAsync", + operationId: "ProxyOnV1TokenwiseOnV1PathOptions", + methodName: "ProxyOnV1TokenwiseOnV1PathOptionsAsync", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDeleteResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1TokenwiseOnV1PathDeleteResponse( + ProcessProxyOnV1TokenwiseOnV1PathOptionsResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathDelete", - methodName: "ProxyOnV1TokenwiseOnV1PathDeleteAsync", + operationId: "ProxyOnV1TokenwiseOnV1PathOptions", + methodName: "ProxyOnV1TokenwiseOnV1PathOptionsAsync", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathDelete", - methodName: "ProxyOnV1TokenwiseOnV1PathDeleteAsync", + operationId: "ProxyOnV1TokenwiseOnV1PathOptions", + methodName: "ProxyOnV1TokenwiseOnV1PathOptionsAsync", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDeleteResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1TokenwiseOnV1PathDeleteResponseContent( + ProcessProxyOnV1TokenwiseOnV1PathOptionsResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathDelete2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions2.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathDelete2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions2.g.cs index 4fb89d87..c88c3313 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathDelete2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathDelete2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathOptions2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathDelete2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathOptions2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1TokenwiseOnV1PathDelete2SecurityRequirement0, + { s_ProxyOnV1TokenwiseOnV1PathOptions2SecurityRequirement0, }; - partial void PrepareProxyOnV1TokenwiseOnV1PathDelete2Arguments( + partial void PrepareProxyOnV1TokenwiseOnV1PathOptions2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1TokenwiseOnV1PathDelete2Request( + partial void PrepareProxyOnV1TokenwiseOnV1PathOptions2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1TokenwiseOnV1PathDelete2Response( + partial void ProcessProxyOnV1TokenwiseOnV1PathOptions2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1TokenwiseOnV1PathDelete2ResponseContent( + partial void ProcessProxyOnV1TokenwiseOnV1PathOptions2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete2ResponseContent( /// 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 ProxyOnV1TokenwiseOnV1PathDelete2Async( + public async global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathOptions2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1TokenwiseOnV1PathDelete2AsResponseAsync( + var __response = await ProxyOnV1TokenwiseOnV1PathOptions2AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete2ResponseContent( /// 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> ProxyOnV1TokenwiseOnV1PathDelete2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathOptions2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete2ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1TokenwiseOnV1PathDelete2Arguments( + PrepareProxyOnV1TokenwiseOnV1PathOptions2Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete2ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1TokenwiseOnV1PathDelete2SecurityRequirements, - operationName: "ProxyOnV1TokenwiseOnV1PathDelete2Async"); + securityRequirements: s_ProxyOnV1TokenwiseOnV1PathOptions2SecurityRequirements, + operationName: "ProxyOnV1TokenwiseOnV1PathOptions2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1TokenwiseOnV1PathDelete2Request( + PrepareProxyOnV1TokenwiseOnV1PathOptions2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathDelete2", - methodName: "ProxyOnV1TokenwiseOnV1PathDelete2Async", + operationId: "ProxyOnV1TokenwiseOnV1PathOptions2", + methodName: "ProxyOnV1TokenwiseOnV1PathOptions2Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathDelete2", - methodName: "ProxyOnV1TokenwiseOnV1PathDelete2Async", + operationId: "ProxyOnV1TokenwiseOnV1PathOptions2", + methodName: "ProxyOnV1TokenwiseOnV1PathOptions2Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathDelete2", - methodName: "ProxyOnV1TokenwiseOnV1PathDelete2Async", + operationId: "ProxyOnV1TokenwiseOnV1PathOptions2", + methodName: "ProxyOnV1TokenwiseOnV1PathOptions2Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1TokenwiseOnV1PathDelete2Response( + ProcessProxyOnV1TokenwiseOnV1PathOptions2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathDelete2", - methodName: "ProxyOnV1TokenwiseOnV1PathDelete2Async", + operationId: "ProxyOnV1TokenwiseOnV1PathOptions2", + methodName: "ProxyOnV1TokenwiseOnV1PathOptions2Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathDelete2", - methodName: "ProxyOnV1TokenwiseOnV1PathDelete2Async", + operationId: "ProxyOnV1TokenwiseOnV1PathOptions2", + methodName: "ProxyOnV1TokenwiseOnV1PathOptions2Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1TokenwiseOnV1PathDelete2ResponseContent( + ProcessProxyOnV1TokenwiseOnV1PathOptions2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathDelete3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions3.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathDelete3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions3.g.cs index 8f1801f1..2ccc1efa 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathDelete3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathDelete3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathOptions3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathDelete3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathOptions3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1TokenwiseOnV1PathDelete3SecurityRequirement0, + { s_ProxyOnV1TokenwiseOnV1PathOptions3SecurityRequirement0, }; - partial void PrepareProxyOnV1TokenwiseOnV1PathDelete3Arguments( + partial void PrepareProxyOnV1TokenwiseOnV1PathOptions3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1TokenwiseOnV1PathDelete3Request( + partial void PrepareProxyOnV1TokenwiseOnV1PathOptions3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1TokenwiseOnV1PathDelete3Response( + partial void ProcessProxyOnV1TokenwiseOnV1PathOptions3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1TokenwiseOnV1PathDelete3ResponseContent( + partial void ProcessProxyOnV1TokenwiseOnV1PathOptions3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete3ResponseContent( /// 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 ProxyOnV1TokenwiseOnV1PathDelete3Async( + public async global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathOptions3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1TokenwiseOnV1PathDelete3AsResponseAsync( + var __response = await ProxyOnV1TokenwiseOnV1PathOptions3AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete3ResponseContent( /// 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> ProxyOnV1TokenwiseOnV1PathDelete3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathOptions3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete3ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1TokenwiseOnV1PathDelete3Arguments( + PrepareProxyOnV1TokenwiseOnV1PathOptions3Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete3ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1TokenwiseOnV1PathDelete3SecurityRequirements, - operationName: "ProxyOnV1TokenwiseOnV1PathDelete3Async"); + securityRequirements: s_ProxyOnV1TokenwiseOnV1PathOptions3SecurityRequirements, + operationName: "ProxyOnV1TokenwiseOnV1PathOptions3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1TokenwiseOnV1PathDelete3Request( + PrepareProxyOnV1TokenwiseOnV1PathOptions3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathDelete3", - methodName: "ProxyOnV1TokenwiseOnV1PathDelete3Async", + operationId: "ProxyOnV1TokenwiseOnV1PathOptions3", + methodName: "ProxyOnV1TokenwiseOnV1PathOptions3Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathDelete3", - methodName: "ProxyOnV1TokenwiseOnV1PathDelete3Async", + operationId: "ProxyOnV1TokenwiseOnV1PathOptions3", + methodName: "ProxyOnV1TokenwiseOnV1PathOptions3Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathDelete3", - methodName: "ProxyOnV1TokenwiseOnV1PathDelete3Async", + operationId: "ProxyOnV1TokenwiseOnV1PathOptions3", + methodName: "ProxyOnV1TokenwiseOnV1PathOptions3Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1TokenwiseOnV1PathDelete3Response( + ProcessProxyOnV1TokenwiseOnV1PathOptions3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathDelete3", - methodName: "ProxyOnV1TokenwiseOnV1PathDelete3Async", + operationId: "ProxyOnV1TokenwiseOnV1PathOptions3", + methodName: "ProxyOnV1TokenwiseOnV1PathOptions3Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathDelete3", - methodName: "ProxyOnV1TokenwiseOnV1PathDelete3Async", + operationId: "ProxyOnV1TokenwiseOnV1PathOptions3", + methodName: "ProxyOnV1TokenwiseOnV1PathOptions3Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1TokenwiseOnV1PathDelete3ResponseContent( + ProcessProxyOnV1TokenwiseOnV1PathOptions3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathDelete4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions4.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathDelete4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions4.g.cs index b86b1139..877a87ea 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathDelete4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathDelete4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathOptions4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathDelete4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathOptions4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1TokenwiseOnV1PathDelete4SecurityRequirement0, + { s_ProxyOnV1TokenwiseOnV1PathOptions4SecurityRequirement0, }; - partial void PrepareProxyOnV1TokenwiseOnV1PathDelete4Arguments( + partial void PrepareProxyOnV1TokenwiseOnV1PathOptions4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1TokenwiseOnV1PathDelete4Request( + partial void PrepareProxyOnV1TokenwiseOnV1PathOptions4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1TokenwiseOnV1PathDelete4Response( + partial void ProcessProxyOnV1TokenwiseOnV1PathOptions4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1TokenwiseOnV1PathDelete4ResponseContent( + partial void ProcessProxyOnV1TokenwiseOnV1PathOptions4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete4ResponseContent( /// 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 ProxyOnV1TokenwiseOnV1PathDelete4Async( + public async global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathOptions4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1TokenwiseOnV1PathDelete4AsResponseAsync( + var __response = await ProxyOnV1TokenwiseOnV1PathOptions4AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete4ResponseContent( /// 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> ProxyOnV1TokenwiseOnV1PathDelete4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathOptions4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete4ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1TokenwiseOnV1PathDelete4Arguments( + PrepareProxyOnV1TokenwiseOnV1PathOptions4Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete4ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1TokenwiseOnV1PathDelete4SecurityRequirements, - operationName: "ProxyOnV1TokenwiseOnV1PathDelete4Async"); + securityRequirements: s_ProxyOnV1TokenwiseOnV1PathOptions4SecurityRequirements, + operationName: "ProxyOnV1TokenwiseOnV1PathOptions4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1TokenwiseOnV1PathDelete4Request( + PrepareProxyOnV1TokenwiseOnV1PathOptions4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathDelete4", - methodName: "ProxyOnV1TokenwiseOnV1PathDelete4Async", + operationId: "ProxyOnV1TokenwiseOnV1PathOptions4", + methodName: "ProxyOnV1TokenwiseOnV1PathOptions4Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathDelete4", - methodName: "ProxyOnV1TokenwiseOnV1PathDelete4Async", + operationId: "ProxyOnV1TokenwiseOnV1PathOptions4", + methodName: "ProxyOnV1TokenwiseOnV1PathOptions4Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathDelete4", - methodName: "ProxyOnV1TokenwiseOnV1PathDelete4Async", + operationId: "ProxyOnV1TokenwiseOnV1PathOptions4", + methodName: "ProxyOnV1TokenwiseOnV1PathOptions4Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1TokenwiseOnV1PathDelete4Response( + ProcessProxyOnV1TokenwiseOnV1PathOptions4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathDelete4", - methodName: "ProxyOnV1TokenwiseOnV1PathDelete4Async", + operationId: "ProxyOnV1TokenwiseOnV1PathOptions4", + methodName: "ProxyOnV1TokenwiseOnV1PathOptions4Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathDelete4", - methodName: "ProxyOnV1TokenwiseOnV1PathDelete4Async", + operationId: "ProxyOnV1TokenwiseOnV1PathOptions4", + methodName: "ProxyOnV1TokenwiseOnV1PathOptions4Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1TokenwiseOnV1PathDelete4ResponseContent( + ProcessProxyOnV1TokenwiseOnV1PathOptions4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathDelete5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions5.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathDelete5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions5.g.cs index 94c8c0c2..2cdf8e30 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathDelete5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathDelete5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathOptions5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathDelete5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathOptions5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1TokenwiseOnV1PathDelete5SecurityRequirement0, + { s_ProxyOnV1TokenwiseOnV1PathOptions5SecurityRequirement0, }; - partial void PrepareProxyOnV1TokenwiseOnV1PathDelete5Arguments( + partial void PrepareProxyOnV1TokenwiseOnV1PathOptions5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1TokenwiseOnV1PathDelete5Request( + partial void PrepareProxyOnV1TokenwiseOnV1PathOptions5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1TokenwiseOnV1PathDelete5Response( + partial void ProcessProxyOnV1TokenwiseOnV1PathOptions5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1TokenwiseOnV1PathDelete5ResponseContent( + partial void ProcessProxyOnV1TokenwiseOnV1PathOptions5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete5ResponseContent( /// 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 ProxyOnV1TokenwiseOnV1PathDelete5Async( + public async global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathOptions5Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1TokenwiseOnV1PathDelete5AsResponseAsync( + var __response = await ProxyOnV1TokenwiseOnV1PathOptions5AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete5ResponseContent( /// 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> ProxyOnV1TokenwiseOnV1PathDelete5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathOptions5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete5ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1TokenwiseOnV1PathDelete5Arguments( + PrepareProxyOnV1TokenwiseOnV1PathOptions5Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete5ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1TokenwiseOnV1PathDelete5SecurityRequirements, - operationName: "ProxyOnV1TokenwiseOnV1PathDelete5Async"); + securityRequirements: s_ProxyOnV1TokenwiseOnV1PathOptions5SecurityRequirements, + operationName: "ProxyOnV1TokenwiseOnV1PathOptions5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1TokenwiseOnV1PathDelete5Request( + PrepareProxyOnV1TokenwiseOnV1PathOptions5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathDelete5", - methodName: "ProxyOnV1TokenwiseOnV1PathDelete5Async", + operationId: "ProxyOnV1TokenwiseOnV1PathOptions5", + methodName: "ProxyOnV1TokenwiseOnV1PathOptions5Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathDelete5", - methodName: "ProxyOnV1TokenwiseOnV1PathDelete5Async", + operationId: "ProxyOnV1TokenwiseOnV1PathOptions5", + methodName: "ProxyOnV1TokenwiseOnV1PathOptions5Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathDelete5", - methodName: "ProxyOnV1TokenwiseOnV1PathDelete5Async", + operationId: "ProxyOnV1TokenwiseOnV1PathOptions5", + methodName: "ProxyOnV1TokenwiseOnV1PathOptions5Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1TokenwiseOnV1PathDelete5Response( + ProcessProxyOnV1TokenwiseOnV1PathOptions5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathDelete5", - methodName: "ProxyOnV1TokenwiseOnV1PathDelete5Async", + operationId: "ProxyOnV1TokenwiseOnV1PathOptions5", + methodName: "ProxyOnV1TokenwiseOnV1PathOptions5Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathDelete5", - methodName: "ProxyOnV1TokenwiseOnV1PathDelete5Async", + operationId: "ProxyOnV1TokenwiseOnV1PathOptions5", + methodName: "ProxyOnV1TokenwiseOnV1PathOptions5Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1TokenwiseOnV1PathDelete5ResponseContent( + ProcessProxyOnV1TokenwiseOnV1PathOptions5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathDelete6.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions6.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathDelete6.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions6.g.cs index f0f7cd5d..c0c0df1e 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathDelete6.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyOnV1TokenwiseOnV1PathOptions6.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathDelete6SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyOnV1TokenwiseOnV1PathOptions6SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathDelete6SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyOnV1TokenwiseOnV1PathOptions6SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyOnV1TokenwiseOnV1PathDelete6SecurityRequirement0, + { s_ProxyOnV1TokenwiseOnV1PathOptions6SecurityRequirement0, }; - partial void PrepareProxyOnV1TokenwiseOnV1PathDelete6Arguments( + partial void PrepareProxyOnV1TokenwiseOnV1PathOptions6Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyOnV1TokenwiseOnV1PathDelete6Request( + partial void PrepareProxyOnV1TokenwiseOnV1PathOptions6Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyOnV1TokenwiseOnV1PathDelete6Response( + partial void ProcessProxyOnV1TokenwiseOnV1PathOptions6Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyOnV1TokenwiseOnV1PathDelete6ResponseContent( + partial void ProcessProxyOnV1TokenwiseOnV1PathOptions6ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete6ResponseContent( /// 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 ProxyOnV1TokenwiseOnV1PathDelete6Async( + public async global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathOptions6Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyOnV1TokenwiseOnV1PathDelete6AsResponseAsync( + var __response = await ProxyOnV1TokenwiseOnV1PathOptions6AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete6ResponseContent( /// 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> ProxyOnV1TokenwiseOnV1PathDelete6AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathOptions6AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete6ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyOnV1TokenwiseOnV1PathDelete6Arguments( + PrepareProxyOnV1TokenwiseOnV1PathOptions6Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete6ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyOnV1TokenwiseOnV1PathDelete6SecurityRequirements, - operationName: "ProxyOnV1TokenwiseOnV1PathDelete6Async"); + securityRequirements: s_ProxyOnV1TokenwiseOnV1PathOptions6SecurityRequirements, + operationName: "ProxyOnV1TokenwiseOnV1PathOptions6Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete6ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyOnV1TokenwiseOnV1PathDelete6Request( + PrepareProxyOnV1TokenwiseOnV1PathOptions6Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathDelete6", - methodName: "ProxyOnV1TokenwiseOnV1PathDelete6Async", + operationId: "ProxyOnV1TokenwiseOnV1PathOptions6", + methodName: "ProxyOnV1TokenwiseOnV1PathOptions6Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathDelete6", - methodName: "ProxyOnV1TokenwiseOnV1PathDelete6Async", + operationId: "ProxyOnV1TokenwiseOnV1PathOptions6", + methodName: "ProxyOnV1TokenwiseOnV1PathOptions6Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathDelete6", - methodName: "ProxyOnV1TokenwiseOnV1PathDelete6Async", + operationId: "ProxyOnV1TokenwiseOnV1PathOptions6", + methodName: "ProxyOnV1TokenwiseOnV1PathOptions6Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete6ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyOnV1TokenwiseOnV1PathDelete6Response( + ProcessProxyOnV1TokenwiseOnV1PathOptions6Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathDelete6", - methodName: "ProxyOnV1TokenwiseOnV1PathDelete6Async", + operationId: "ProxyOnV1TokenwiseOnV1PathOptions6", + methodName: "ProxyOnV1TokenwiseOnV1PathOptions6Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyOnV1TokenwiseOnV1PathDelete6", - methodName: "ProxyOnV1TokenwiseOnV1PathDelete6Async", + operationId: "ProxyOnV1TokenwiseOnV1PathOptions6", + methodName: "ProxyOnV1TokenwiseOnV1PathOptions6Async", pathTemplate: "$\"/tokenwise/on/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyOnV1TokenwiseOnV1PathDelete6ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyOnV1TokenwiseOnV1PathDelete6ResponseContent( + ProcessProxyOnV1TokenwiseOnV1PathOptions6ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathDelete.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathDelete.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions.g.cs index 4ac79648..3902f830 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathDelete.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathDeleteSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathOptionsSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathDeleteSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathOptionsSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1GatewayV1PathDeleteSecurityRequirement0, + { s_ProxyV1GatewayV1PathOptionsSecurityRequirement0, }; - partial void PrepareProxyV1GatewayV1PathDeleteArguments( + partial void PrepareProxyV1GatewayV1PathOptionsArguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1GatewayV1PathDeleteRequest( + partial void PrepareProxyV1GatewayV1PathOptionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1GatewayV1PathDeleteResponse( + partial void ProcessProxyV1GatewayV1PathOptionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1GatewayV1PathDeleteResponseContent( + partial void ProcessProxyV1GatewayV1PathOptionsResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1GatewayV1PathDeleteResponseContent( /// 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 ProxyV1GatewayV1PathDeleteAsync( + public async global::System.Threading.Tasks.Task ProxyV1GatewayV1PathOptionsAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1GatewayV1PathDeleteAsResponseAsync( + var __response = await ProxyV1GatewayV1PathOptionsAsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1GatewayV1PathDeleteResponseContent( /// 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> ProxyV1GatewayV1PathDeleteAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathOptionsAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1GatewayV1PathDeleteResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1GatewayV1PathDeleteArguments( + PrepareProxyV1GatewayV1PathOptionsArguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1GatewayV1PathDeleteResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1GatewayV1PathDeleteSecurityRequirements, - operationName: "ProxyV1GatewayV1PathDeleteAsync"); + securityRequirements: s_ProxyV1GatewayV1PathOptionsSecurityRequirements, + operationName: "ProxyV1GatewayV1PathOptionsAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1GatewayV1PathDeleteResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1GatewayV1PathDeleteRequest( + PrepareProxyV1GatewayV1PathOptionsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -183,8 +183,8 @@ partial void ProcessProxyV1GatewayV1PathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathDelete", - methodName: "ProxyV1GatewayV1PathDeleteAsync", + operationId: "ProxyV1GatewayV1PathOptions", + methodName: "ProxyV1GatewayV1PathOptionsAsync", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1GatewayV1PathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathDelete", - methodName: "ProxyV1GatewayV1PathDeleteAsync", + operationId: "ProxyV1GatewayV1PathOptions", + methodName: "ProxyV1GatewayV1PathOptionsAsync", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1GatewayV1PathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathDelete", - methodName: "ProxyV1GatewayV1PathDeleteAsync", + operationId: "ProxyV1GatewayV1PathOptions", + methodName: "ProxyV1GatewayV1PathOptionsAsync", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1GatewayV1PathDeleteResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1GatewayV1PathDeleteResponse( + ProcessProxyV1GatewayV1PathOptionsResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1GatewayV1PathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathDelete", - methodName: "ProxyV1GatewayV1PathDeleteAsync", + operationId: "ProxyV1GatewayV1PathOptions", + methodName: "ProxyV1GatewayV1PathOptionsAsync", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1GatewayV1PathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathDelete", - methodName: "ProxyV1GatewayV1PathDeleteAsync", + operationId: "ProxyV1GatewayV1PathOptions", + methodName: "ProxyV1GatewayV1PathOptionsAsync", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1GatewayV1PathDeleteResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1GatewayV1PathDeleteResponseContent( + ProcessProxyV1GatewayV1PathOptionsResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathDelete2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions2.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathDelete2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions2.g.cs index e01a7cdb..5abb58bf 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathDelete2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathDelete2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathOptions2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathDelete2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathOptions2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1GatewayV1PathDelete2SecurityRequirement0, + { s_ProxyV1GatewayV1PathOptions2SecurityRequirement0, }; - partial void PrepareProxyV1GatewayV1PathDelete2Arguments( + partial void PrepareProxyV1GatewayV1PathOptions2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1GatewayV1PathDelete2Request( + partial void PrepareProxyV1GatewayV1PathOptions2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1GatewayV1PathDelete2Response( + partial void ProcessProxyV1GatewayV1PathOptions2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1GatewayV1PathDelete2ResponseContent( + partial void ProcessProxyV1GatewayV1PathOptions2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1GatewayV1PathDelete2ResponseContent( /// 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 ProxyV1GatewayV1PathDelete2Async( + public async global::System.Threading.Tasks.Task ProxyV1GatewayV1PathOptions2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1GatewayV1PathDelete2AsResponseAsync( + var __response = await ProxyV1GatewayV1PathOptions2AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1GatewayV1PathDelete2ResponseContent( /// 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> ProxyV1GatewayV1PathDelete2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathOptions2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1GatewayV1PathDelete2ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1GatewayV1PathDelete2Arguments( + PrepareProxyV1GatewayV1PathOptions2Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1GatewayV1PathDelete2ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1GatewayV1PathDelete2SecurityRequirements, - operationName: "ProxyV1GatewayV1PathDelete2Async"); + securityRequirements: s_ProxyV1GatewayV1PathOptions2SecurityRequirements, + operationName: "ProxyV1GatewayV1PathOptions2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1GatewayV1PathDelete2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1GatewayV1PathDelete2Request( + PrepareProxyV1GatewayV1PathOptions2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -183,8 +183,8 @@ partial void ProcessProxyV1GatewayV1PathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathDelete2", - methodName: "ProxyV1GatewayV1PathDelete2Async", + operationId: "ProxyV1GatewayV1PathOptions2", + methodName: "ProxyV1GatewayV1PathOptions2Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1GatewayV1PathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathDelete2", - methodName: "ProxyV1GatewayV1PathDelete2Async", + operationId: "ProxyV1GatewayV1PathOptions2", + methodName: "ProxyV1GatewayV1PathOptions2Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1GatewayV1PathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathDelete2", - methodName: "ProxyV1GatewayV1PathDelete2Async", + operationId: "ProxyV1GatewayV1PathOptions2", + methodName: "ProxyV1GatewayV1PathOptions2Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1GatewayV1PathDelete2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1GatewayV1PathDelete2Response( + ProcessProxyV1GatewayV1PathOptions2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1GatewayV1PathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathDelete2", - methodName: "ProxyV1GatewayV1PathDelete2Async", + operationId: "ProxyV1GatewayV1PathOptions2", + methodName: "ProxyV1GatewayV1PathOptions2Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1GatewayV1PathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathDelete2", - methodName: "ProxyV1GatewayV1PathDelete2Async", + operationId: "ProxyV1GatewayV1PathOptions2", + methodName: "ProxyV1GatewayV1PathOptions2Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1GatewayV1PathDelete2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1GatewayV1PathDelete2ResponseContent( + ProcessProxyV1GatewayV1PathOptions2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathDelete3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions3.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathDelete3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions3.g.cs index ea7db4d6..2c4c2473 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathDelete3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathDelete3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathOptions3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathDelete3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathOptions3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1GatewayV1PathDelete3SecurityRequirement0, + { s_ProxyV1GatewayV1PathOptions3SecurityRequirement0, }; - partial void PrepareProxyV1GatewayV1PathDelete3Arguments( + partial void PrepareProxyV1GatewayV1PathOptions3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1GatewayV1PathDelete3Request( + partial void PrepareProxyV1GatewayV1PathOptions3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1GatewayV1PathDelete3Response( + partial void ProcessProxyV1GatewayV1PathOptions3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1GatewayV1PathDelete3ResponseContent( + partial void ProcessProxyV1GatewayV1PathOptions3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1GatewayV1PathDelete3ResponseContent( /// 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 ProxyV1GatewayV1PathDelete3Async( + public async global::System.Threading.Tasks.Task ProxyV1GatewayV1PathOptions3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1GatewayV1PathDelete3AsResponseAsync( + var __response = await ProxyV1GatewayV1PathOptions3AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1GatewayV1PathDelete3ResponseContent( /// 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> ProxyV1GatewayV1PathDelete3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathOptions3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1GatewayV1PathDelete3ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1GatewayV1PathDelete3Arguments( + PrepareProxyV1GatewayV1PathOptions3Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1GatewayV1PathDelete3ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1GatewayV1PathDelete3SecurityRequirements, - operationName: "ProxyV1GatewayV1PathDelete3Async"); + securityRequirements: s_ProxyV1GatewayV1PathOptions3SecurityRequirements, + operationName: "ProxyV1GatewayV1PathOptions3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1GatewayV1PathDelete3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1GatewayV1PathDelete3Request( + PrepareProxyV1GatewayV1PathOptions3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -183,8 +183,8 @@ partial void ProcessProxyV1GatewayV1PathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathDelete3", - methodName: "ProxyV1GatewayV1PathDelete3Async", + operationId: "ProxyV1GatewayV1PathOptions3", + methodName: "ProxyV1GatewayV1PathOptions3Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1GatewayV1PathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathDelete3", - methodName: "ProxyV1GatewayV1PathDelete3Async", + operationId: "ProxyV1GatewayV1PathOptions3", + methodName: "ProxyV1GatewayV1PathOptions3Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1GatewayV1PathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathDelete3", - methodName: "ProxyV1GatewayV1PathDelete3Async", + operationId: "ProxyV1GatewayV1PathOptions3", + methodName: "ProxyV1GatewayV1PathOptions3Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1GatewayV1PathDelete3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1GatewayV1PathDelete3Response( + ProcessProxyV1GatewayV1PathOptions3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1GatewayV1PathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathDelete3", - methodName: "ProxyV1GatewayV1PathDelete3Async", + operationId: "ProxyV1GatewayV1PathOptions3", + methodName: "ProxyV1GatewayV1PathOptions3Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1GatewayV1PathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathDelete3", - methodName: "ProxyV1GatewayV1PathDelete3Async", + operationId: "ProxyV1GatewayV1PathOptions3", + methodName: "ProxyV1GatewayV1PathOptions3Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1GatewayV1PathDelete3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1GatewayV1PathDelete3ResponseContent( + ProcessProxyV1GatewayV1PathOptions3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathDelete4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions4.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathDelete4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions4.g.cs index 7f0edeb5..8ce303a4 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathDelete4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathDelete4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathOptions4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathDelete4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathOptions4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1GatewayV1PathDelete4SecurityRequirement0, + { s_ProxyV1GatewayV1PathOptions4SecurityRequirement0, }; - partial void PrepareProxyV1GatewayV1PathDelete4Arguments( + partial void PrepareProxyV1GatewayV1PathOptions4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1GatewayV1PathDelete4Request( + partial void PrepareProxyV1GatewayV1PathOptions4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1GatewayV1PathDelete4Response( + partial void ProcessProxyV1GatewayV1PathOptions4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1GatewayV1PathDelete4ResponseContent( + partial void ProcessProxyV1GatewayV1PathOptions4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1GatewayV1PathDelete4ResponseContent( /// 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 ProxyV1GatewayV1PathDelete4Async( + public async global::System.Threading.Tasks.Task ProxyV1GatewayV1PathOptions4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1GatewayV1PathDelete4AsResponseAsync( + var __response = await ProxyV1GatewayV1PathOptions4AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1GatewayV1PathDelete4ResponseContent( /// 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> ProxyV1GatewayV1PathDelete4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathOptions4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1GatewayV1PathDelete4ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1GatewayV1PathDelete4Arguments( + PrepareProxyV1GatewayV1PathOptions4Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1GatewayV1PathDelete4ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1GatewayV1PathDelete4SecurityRequirements, - operationName: "ProxyV1GatewayV1PathDelete4Async"); + securityRequirements: s_ProxyV1GatewayV1PathOptions4SecurityRequirements, + operationName: "ProxyV1GatewayV1PathOptions4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1GatewayV1PathDelete4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1GatewayV1PathDelete4Request( + PrepareProxyV1GatewayV1PathOptions4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -183,8 +183,8 @@ partial void ProcessProxyV1GatewayV1PathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathDelete4", - methodName: "ProxyV1GatewayV1PathDelete4Async", + operationId: "ProxyV1GatewayV1PathOptions4", + methodName: "ProxyV1GatewayV1PathOptions4Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1GatewayV1PathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathDelete4", - methodName: "ProxyV1GatewayV1PathDelete4Async", + operationId: "ProxyV1GatewayV1PathOptions4", + methodName: "ProxyV1GatewayV1PathOptions4Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1GatewayV1PathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathDelete4", - methodName: "ProxyV1GatewayV1PathDelete4Async", + operationId: "ProxyV1GatewayV1PathOptions4", + methodName: "ProxyV1GatewayV1PathOptions4Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1GatewayV1PathDelete4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1GatewayV1PathDelete4Response( + ProcessProxyV1GatewayV1PathOptions4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1GatewayV1PathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathDelete4", - methodName: "ProxyV1GatewayV1PathDelete4Async", + operationId: "ProxyV1GatewayV1PathOptions4", + methodName: "ProxyV1GatewayV1PathOptions4Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1GatewayV1PathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathDelete4", - methodName: "ProxyV1GatewayV1PathDelete4Async", + operationId: "ProxyV1GatewayV1PathOptions4", + methodName: "ProxyV1GatewayV1PathOptions4Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1GatewayV1PathDelete4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1GatewayV1PathDelete4ResponseContent( + ProcessProxyV1GatewayV1PathOptions4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathDelete5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions5.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathDelete5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions5.g.cs index 586a7561..5f41baa1 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathDelete5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathDelete5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathOptions5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathDelete5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathOptions5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1GatewayV1PathDelete5SecurityRequirement0, + { s_ProxyV1GatewayV1PathOptions5SecurityRequirement0, }; - partial void PrepareProxyV1GatewayV1PathDelete5Arguments( + partial void PrepareProxyV1GatewayV1PathOptions5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1GatewayV1PathDelete5Request( + partial void PrepareProxyV1GatewayV1PathOptions5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1GatewayV1PathDelete5Response( + partial void ProcessProxyV1GatewayV1PathOptions5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1GatewayV1PathDelete5ResponseContent( + partial void ProcessProxyV1GatewayV1PathOptions5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1GatewayV1PathDelete5ResponseContent( /// 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 ProxyV1GatewayV1PathDelete5Async( + public async global::System.Threading.Tasks.Task ProxyV1GatewayV1PathOptions5Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1GatewayV1PathDelete5AsResponseAsync( + var __response = await ProxyV1GatewayV1PathOptions5AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1GatewayV1PathDelete5ResponseContent( /// 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> ProxyV1GatewayV1PathDelete5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathOptions5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1GatewayV1PathDelete5ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1GatewayV1PathDelete5Arguments( + PrepareProxyV1GatewayV1PathOptions5Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1GatewayV1PathDelete5ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1GatewayV1PathDelete5SecurityRequirements, - operationName: "ProxyV1GatewayV1PathDelete5Async"); + securityRequirements: s_ProxyV1GatewayV1PathOptions5SecurityRequirements, + operationName: "ProxyV1GatewayV1PathOptions5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1GatewayV1PathDelete5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1GatewayV1PathDelete5Request( + PrepareProxyV1GatewayV1PathOptions5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -183,8 +183,8 @@ partial void ProcessProxyV1GatewayV1PathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathDelete5", - methodName: "ProxyV1GatewayV1PathDelete5Async", + operationId: "ProxyV1GatewayV1PathOptions5", + methodName: "ProxyV1GatewayV1PathOptions5Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1GatewayV1PathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathDelete5", - methodName: "ProxyV1GatewayV1PathDelete5Async", + operationId: "ProxyV1GatewayV1PathOptions5", + methodName: "ProxyV1GatewayV1PathOptions5Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1GatewayV1PathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathDelete5", - methodName: "ProxyV1GatewayV1PathDelete5Async", + operationId: "ProxyV1GatewayV1PathOptions5", + methodName: "ProxyV1GatewayV1PathOptions5Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1GatewayV1PathDelete5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1GatewayV1PathDelete5Response( + ProcessProxyV1GatewayV1PathOptions5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1GatewayV1PathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathDelete5", - methodName: "ProxyV1GatewayV1PathDelete5Async", + operationId: "ProxyV1GatewayV1PathOptions5", + methodName: "ProxyV1GatewayV1PathOptions5Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1GatewayV1PathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathDelete5", - methodName: "ProxyV1GatewayV1PathDelete5Async", + operationId: "ProxyV1GatewayV1PathOptions5", + methodName: "ProxyV1GatewayV1PathOptions5Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1GatewayV1PathDelete5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1GatewayV1PathDelete5ResponseContent( + ProcessProxyV1GatewayV1PathOptions5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathDelete6.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions6.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathDelete6.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions6.g.cs index 1a1260c4..994595a0 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathDelete6.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1GatewayV1PathOptions6.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathDelete6SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1GatewayV1PathOptions6SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathDelete6SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1GatewayV1PathOptions6SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1GatewayV1PathDelete6SecurityRequirement0, + { s_ProxyV1GatewayV1PathOptions6SecurityRequirement0, }; - partial void PrepareProxyV1GatewayV1PathDelete6Arguments( + partial void PrepareProxyV1GatewayV1PathOptions6Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1GatewayV1PathDelete6Request( + partial void PrepareProxyV1GatewayV1PathOptions6Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1GatewayV1PathDelete6Response( + partial void ProcessProxyV1GatewayV1PathOptions6Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1GatewayV1PathDelete6ResponseContent( + partial void ProcessProxyV1GatewayV1PathOptions6ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1GatewayV1PathDelete6ResponseContent( /// 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 ProxyV1GatewayV1PathDelete6Async( + public async global::System.Threading.Tasks.Task ProxyV1GatewayV1PathOptions6Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1GatewayV1PathDelete6AsResponseAsync( + var __response = await ProxyV1GatewayV1PathOptions6AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1GatewayV1PathDelete6ResponseContent( /// 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> ProxyV1GatewayV1PathDelete6AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathOptions6AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1GatewayV1PathDelete6ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1GatewayV1PathDelete6Arguments( + PrepareProxyV1GatewayV1PathOptions6Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1GatewayV1PathDelete6ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1GatewayV1PathDelete6SecurityRequirements, - operationName: "ProxyV1GatewayV1PathDelete6Async"); + securityRequirements: s_ProxyV1GatewayV1PathOptions6SecurityRequirements, + operationName: "ProxyV1GatewayV1PathOptions6Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1GatewayV1PathDelete6ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1GatewayV1PathDelete6Request( + PrepareProxyV1GatewayV1PathOptions6Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -183,8 +183,8 @@ partial void ProcessProxyV1GatewayV1PathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathDelete6", - methodName: "ProxyV1GatewayV1PathDelete6Async", + operationId: "ProxyV1GatewayV1PathOptions6", + methodName: "ProxyV1GatewayV1PathOptions6Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1GatewayV1PathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathDelete6", - methodName: "ProxyV1GatewayV1PathDelete6Async", + operationId: "ProxyV1GatewayV1PathOptions6", + methodName: "ProxyV1GatewayV1PathOptions6Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1GatewayV1PathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathDelete6", - methodName: "ProxyV1GatewayV1PathDelete6Async", + operationId: "ProxyV1GatewayV1PathOptions6", + methodName: "ProxyV1GatewayV1PathOptions6Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1GatewayV1PathDelete6ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1GatewayV1PathDelete6Response( + ProcessProxyV1GatewayV1PathOptions6Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1GatewayV1PathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathDelete6", - methodName: "ProxyV1GatewayV1PathDelete6Async", + operationId: "ProxyV1GatewayV1PathOptions6", + methodName: "ProxyV1GatewayV1PathOptions6Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1GatewayV1PathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1GatewayV1PathDelete6", - methodName: "ProxyV1GatewayV1PathDelete6Async", + operationId: "ProxyV1GatewayV1PathOptions6", + methodName: "ProxyV1GatewayV1PathOptions6Async", pathTemplate: "$\"/gateway/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1GatewayV1PathDelete6ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1GatewayV1PathDelete6ResponseContent( + ProcessProxyV1GatewayV1PathOptions6ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathDelete.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathDelete.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions.g.cs index d0f2e98b..a704cf03 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathDelete.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathDeleteSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathOptionsSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathDeleteSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathOptionsSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1TokenwiseV1PathDeleteSecurityRequirement0, + { s_ProxyV1TokenwiseV1PathOptionsSecurityRequirement0, }; - partial void PrepareProxyV1TokenwiseV1PathDeleteArguments( + partial void PrepareProxyV1TokenwiseV1PathOptionsArguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1TokenwiseV1PathDeleteRequest( + partial void PrepareProxyV1TokenwiseV1PathOptionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1TokenwiseV1PathDeleteResponse( + partial void ProcessProxyV1TokenwiseV1PathOptionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1TokenwiseV1PathDeleteResponseContent( + partial void ProcessProxyV1TokenwiseV1PathOptionsResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1TokenwiseV1PathDeleteResponseContent( /// 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 ProxyV1TokenwiseV1PathDeleteAsync( + public async global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathOptionsAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1TokenwiseV1PathDeleteAsResponseAsync( + var __response = await ProxyV1TokenwiseV1PathOptionsAsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1TokenwiseV1PathDeleteResponseContent( /// 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> ProxyV1TokenwiseV1PathDeleteAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathOptionsAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1TokenwiseV1PathDeleteResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1TokenwiseV1PathDeleteArguments( + PrepareProxyV1TokenwiseV1PathOptionsArguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1TokenwiseV1PathDeleteResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1TokenwiseV1PathDeleteSecurityRequirements, - operationName: "ProxyV1TokenwiseV1PathDeleteAsync"); + securityRequirements: s_ProxyV1TokenwiseV1PathOptionsSecurityRequirements, + operationName: "ProxyV1TokenwiseV1PathOptionsAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1TokenwiseV1PathDeleteResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1TokenwiseV1PathDeleteRequest( + PrepareProxyV1TokenwiseV1PathOptionsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -183,8 +183,8 @@ partial void ProcessProxyV1TokenwiseV1PathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathDelete", - methodName: "ProxyV1TokenwiseV1PathDeleteAsync", + operationId: "ProxyV1TokenwiseV1PathOptions", + methodName: "ProxyV1TokenwiseV1PathOptionsAsync", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1TokenwiseV1PathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathDelete", - methodName: "ProxyV1TokenwiseV1PathDeleteAsync", + operationId: "ProxyV1TokenwiseV1PathOptions", + methodName: "ProxyV1TokenwiseV1PathOptionsAsync", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1TokenwiseV1PathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathDelete", - methodName: "ProxyV1TokenwiseV1PathDeleteAsync", + operationId: "ProxyV1TokenwiseV1PathOptions", + methodName: "ProxyV1TokenwiseV1PathOptionsAsync", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1TokenwiseV1PathDeleteResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1TokenwiseV1PathDeleteResponse( + ProcessProxyV1TokenwiseV1PathOptionsResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1TokenwiseV1PathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathDelete", - methodName: "ProxyV1TokenwiseV1PathDeleteAsync", + operationId: "ProxyV1TokenwiseV1PathOptions", + methodName: "ProxyV1TokenwiseV1PathOptionsAsync", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1TokenwiseV1PathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathDelete", - methodName: "ProxyV1TokenwiseV1PathDeleteAsync", + operationId: "ProxyV1TokenwiseV1PathOptions", + methodName: "ProxyV1TokenwiseV1PathOptionsAsync", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1TokenwiseV1PathDeleteResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1TokenwiseV1PathDeleteResponseContent( + ProcessProxyV1TokenwiseV1PathOptionsResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathDelete2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions2.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathDelete2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions2.g.cs index 5b48767a..ab47afee 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathDelete2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathDelete2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathOptions2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathDelete2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathOptions2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1TokenwiseV1PathDelete2SecurityRequirement0, + { s_ProxyV1TokenwiseV1PathOptions2SecurityRequirement0, }; - partial void PrepareProxyV1TokenwiseV1PathDelete2Arguments( + partial void PrepareProxyV1TokenwiseV1PathOptions2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1TokenwiseV1PathDelete2Request( + partial void PrepareProxyV1TokenwiseV1PathOptions2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1TokenwiseV1PathDelete2Response( + partial void ProcessProxyV1TokenwiseV1PathOptions2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1TokenwiseV1PathDelete2ResponseContent( + partial void ProcessProxyV1TokenwiseV1PathOptions2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1TokenwiseV1PathDelete2ResponseContent( /// 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 ProxyV1TokenwiseV1PathDelete2Async( + public async global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathOptions2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1TokenwiseV1PathDelete2AsResponseAsync( + var __response = await ProxyV1TokenwiseV1PathOptions2AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1TokenwiseV1PathDelete2ResponseContent( /// 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> ProxyV1TokenwiseV1PathDelete2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathOptions2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1TokenwiseV1PathDelete2ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1TokenwiseV1PathDelete2Arguments( + PrepareProxyV1TokenwiseV1PathOptions2Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1TokenwiseV1PathDelete2ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1TokenwiseV1PathDelete2SecurityRequirements, - operationName: "ProxyV1TokenwiseV1PathDelete2Async"); + securityRequirements: s_ProxyV1TokenwiseV1PathOptions2SecurityRequirements, + operationName: "ProxyV1TokenwiseV1PathOptions2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1TokenwiseV1PathDelete2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1TokenwiseV1PathDelete2Request( + PrepareProxyV1TokenwiseV1PathOptions2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -183,8 +183,8 @@ partial void ProcessProxyV1TokenwiseV1PathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathDelete2", - methodName: "ProxyV1TokenwiseV1PathDelete2Async", + operationId: "ProxyV1TokenwiseV1PathOptions2", + methodName: "ProxyV1TokenwiseV1PathOptions2Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1TokenwiseV1PathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathDelete2", - methodName: "ProxyV1TokenwiseV1PathDelete2Async", + operationId: "ProxyV1TokenwiseV1PathOptions2", + methodName: "ProxyV1TokenwiseV1PathOptions2Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1TokenwiseV1PathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathDelete2", - methodName: "ProxyV1TokenwiseV1PathDelete2Async", + operationId: "ProxyV1TokenwiseV1PathOptions2", + methodName: "ProxyV1TokenwiseV1PathOptions2Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1TokenwiseV1PathDelete2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1TokenwiseV1PathDelete2Response( + ProcessProxyV1TokenwiseV1PathOptions2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1TokenwiseV1PathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathDelete2", - methodName: "ProxyV1TokenwiseV1PathDelete2Async", + operationId: "ProxyV1TokenwiseV1PathOptions2", + methodName: "ProxyV1TokenwiseV1PathOptions2Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1TokenwiseV1PathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathDelete2", - methodName: "ProxyV1TokenwiseV1PathDelete2Async", + operationId: "ProxyV1TokenwiseV1PathOptions2", + methodName: "ProxyV1TokenwiseV1PathOptions2Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1TokenwiseV1PathDelete2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1TokenwiseV1PathDelete2ResponseContent( + ProcessProxyV1TokenwiseV1PathOptions2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathDelete3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions3.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathDelete3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions3.g.cs index 20b23129..27eda606 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathDelete3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathDelete3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathOptions3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathDelete3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathOptions3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1TokenwiseV1PathDelete3SecurityRequirement0, + { s_ProxyV1TokenwiseV1PathOptions3SecurityRequirement0, }; - partial void PrepareProxyV1TokenwiseV1PathDelete3Arguments( + partial void PrepareProxyV1TokenwiseV1PathOptions3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1TokenwiseV1PathDelete3Request( + partial void PrepareProxyV1TokenwiseV1PathOptions3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1TokenwiseV1PathDelete3Response( + partial void ProcessProxyV1TokenwiseV1PathOptions3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1TokenwiseV1PathDelete3ResponseContent( + partial void ProcessProxyV1TokenwiseV1PathOptions3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1TokenwiseV1PathDelete3ResponseContent( /// 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 ProxyV1TokenwiseV1PathDelete3Async( + public async global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathOptions3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1TokenwiseV1PathDelete3AsResponseAsync( + var __response = await ProxyV1TokenwiseV1PathOptions3AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1TokenwiseV1PathDelete3ResponseContent( /// 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> ProxyV1TokenwiseV1PathDelete3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathOptions3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1TokenwiseV1PathDelete3ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1TokenwiseV1PathDelete3Arguments( + PrepareProxyV1TokenwiseV1PathOptions3Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1TokenwiseV1PathDelete3ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1TokenwiseV1PathDelete3SecurityRequirements, - operationName: "ProxyV1TokenwiseV1PathDelete3Async"); + securityRequirements: s_ProxyV1TokenwiseV1PathOptions3SecurityRequirements, + operationName: "ProxyV1TokenwiseV1PathOptions3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1TokenwiseV1PathDelete3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1TokenwiseV1PathDelete3Request( + PrepareProxyV1TokenwiseV1PathOptions3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -183,8 +183,8 @@ partial void ProcessProxyV1TokenwiseV1PathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathDelete3", - methodName: "ProxyV1TokenwiseV1PathDelete3Async", + operationId: "ProxyV1TokenwiseV1PathOptions3", + methodName: "ProxyV1TokenwiseV1PathOptions3Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1TokenwiseV1PathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathDelete3", - methodName: "ProxyV1TokenwiseV1PathDelete3Async", + operationId: "ProxyV1TokenwiseV1PathOptions3", + methodName: "ProxyV1TokenwiseV1PathOptions3Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1TokenwiseV1PathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathDelete3", - methodName: "ProxyV1TokenwiseV1PathDelete3Async", + operationId: "ProxyV1TokenwiseV1PathOptions3", + methodName: "ProxyV1TokenwiseV1PathOptions3Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1TokenwiseV1PathDelete3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1TokenwiseV1PathDelete3Response( + ProcessProxyV1TokenwiseV1PathOptions3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1TokenwiseV1PathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathDelete3", - methodName: "ProxyV1TokenwiseV1PathDelete3Async", + operationId: "ProxyV1TokenwiseV1PathOptions3", + methodName: "ProxyV1TokenwiseV1PathOptions3Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1TokenwiseV1PathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathDelete3", - methodName: "ProxyV1TokenwiseV1PathDelete3Async", + operationId: "ProxyV1TokenwiseV1PathOptions3", + methodName: "ProxyV1TokenwiseV1PathOptions3Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1TokenwiseV1PathDelete3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1TokenwiseV1PathDelete3ResponseContent( + ProcessProxyV1TokenwiseV1PathOptions3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathDelete4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions4.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathDelete4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions4.g.cs index 3602804a..64a1b8d6 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathDelete4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathDelete4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathOptions4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathDelete4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathOptions4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1TokenwiseV1PathDelete4SecurityRequirement0, + { s_ProxyV1TokenwiseV1PathOptions4SecurityRequirement0, }; - partial void PrepareProxyV1TokenwiseV1PathDelete4Arguments( + partial void PrepareProxyV1TokenwiseV1PathOptions4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1TokenwiseV1PathDelete4Request( + partial void PrepareProxyV1TokenwiseV1PathOptions4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1TokenwiseV1PathDelete4Response( + partial void ProcessProxyV1TokenwiseV1PathOptions4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1TokenwiseV1PathDelete4ResponseContent( + partial void ProcessProxyV1TokenwiseV1PathOptions4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1TokenwiseV1PathDelete4ResponseContent( /// 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 ProxyV1TokenwiseV1PathDelete4Async( + public async global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathOptions4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1TokenwiseV1PathDelete4AsResponseAsync( + var __response = await ProxyV1TokenwiseV1PathOptions4AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1TokenwiseV1PathDelete4ResponseContent( /// 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> ProxyV1TokenwiseV1PathDelete4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathOptions4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1TokenwiseV1PathDelete4ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1TokenwiseV1PathDelete4Arguments( + PrepareProxyV1TokenwiseV1PathOptions4Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1TokenwiseV1PathDelete4ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1TokenwiseV1PathDelete4SecurityRequirements, - operationName: "ProxyV1TokenwiseV1PathDelete4Async"); + securityRequirements: s_ProxyV1TokenwiseV1PathOptions4SecurityRequirements, + operationName: "ProxyV1TokenwiseV1PathOptions4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1TokenwiseV1PathDelete4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1TokenwiseV1PathDelete4Request( + PrepareProxyV1TokenwiseV1PathOptions4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -183,8 +183,8 @@ partial void ProcessProxyV1TokenwiseV1PathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathDelete4", - methodName: "ProxyV1TokenwiseV1PathDelete4Async", + operationId: "ProxyV1TokenwiseV1PathOptions4", + methodName: "ProxyV1TokenwiseV1PathOptions4Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1TokenwiseV1PathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathDelete4", - methodName: "ProxyV1TokenwiseV1PathDelete4Async", + operationId: "ProxyV1TokenwiseV1PathOptions4", + methodName: "ProxyV1TokenwiseV1PathOptions4Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1TokenwiseV1PathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathDelete4", - methodName: "ProxyV1TokenwiseV1PathDelete4Async", + operationId: "ProxyV1TokenwiseV1PathOptions4", + methodName: "ProxyV1TokenwiseV1PathOptions4Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1TokenwiseV1PathDelete4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1TokenwiseV1PathDelete4Response( + ProcessProxyV1TokenwiseV1PathOptions4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1TokenwiseV1PathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathDelete4", - methodName: "ProxyV1TokenwiseV1PathDelete4Async", + operationId: "ProxyV1TokenwiseV1PathOptions4", + methodName: "ProxyV1TokenwiseV1PathOptions4Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1TokenwiseV1PathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathDelete4", - methodName: "ProxyV1TokenwiseV1PathDelete4Async", + operationId: "ProxyV1TokenwiseV1PathOptions4", + methodName: "ProxyV1TokenwiseV1PathOptions4Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1TokenwiseV1PathDelete4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1TokenwiseV1PathDelete4ResponseContent( + ProcessProxyV1TokenwiseV1PathOptions4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathDelete5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions5.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathDelete5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions5.g.cs index d0c1c66e..e6ef7b87 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathDelete5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathDelete5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathOptions5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathDelete5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathOptions5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1TokenwiseV1PathDelete5SecurityRequirement0, + { s_ProxyV1TokenwiseV1PathOptions5SecurityRequirement0, }; - partial void PrepareProxyV1TokenwiseV1PathDelete5Arguments( + partial void PrepareProxyV1TokenwiseV1PathOptions5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1TokenwiseV1PathDelete5Request( + partial void PrepareProxyV1TokenwiseV1PathOptions5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1TokenwiseV1PathDelete5Response( + partial void ProcessProxyV1TokenwiseV1PathOptions5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1TokenwiseV1PathDelete5ResponseContent( + partial void ProcessProxyV1TokenwiseV1PathOptions5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1TokenwiseV1PathDelete5ResponseContent( /// 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 ProxyV1TokenwiseV1PathDelete5Async( + public async global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathOptions5Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1TokenwiseV1PathDelete5AsResponseAsync( + var __response = await ProxyV1TokenwiseV1PathOptions5AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1TokenwiseV1PathDelete5ResponseContent( /// 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> ProxyV1TokenwiseV1PathDelete5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathOptions5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1TokenwiseV1PathDelete5ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1TokenwiseV1PathDelete5Arguments( + PrepareProxyV1TokenwiseV1PathOptions5Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1TokenwiseV1PathDelete5ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1TokenwiseV1PathDelete5SecurityRequirements, - operationName: "ProxyV1TokenwiseV1PathDelete5Async"); + securityRequirements: s_ProxyV1TokenwiseV1PathOptions5SecurityRequirements, + operationName: "ProxyV1TokenwiseV1PathOptions5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1TokenwiseV1PathDelete5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1TokenwiseV1PathDelete5Request( + PrepareProxyV1TokenwiseV1PathOptions5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -183,8 +183,8 @@ partial void ProcessProxyV1TokenwiseV1PathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathDelete5", - methodName: "ProxyV1TokenwiseV1PathDelete5Async", + operationId: "ProxyV1TokenwiseV1PathOptions5", + methodName: "ProxyV1TokenwiseV1PathOptions5Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1TokenwiseV1PathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathDelete5", - methodName: "ProxyV1TokenwiseV1PathDelete5Async", + operationId: "ProxyV1TokenwiseV1PathOptions5", + methodName: "ProxyV1TokenwiseV1PathOptions5Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1TokenwiseV1PathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathDelete5", - methodName: "ProxyV1TokenwiseV1PathDelete5Async", + operationId: "ProxyV1TokenwiseV1PathOptions5", + methodName: "ProxyV1TokenwiseV1PathOptions5Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1TokenwiseV1PathDelete5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1TokenwiseV1PathDelete5Response( + ProcessProxyV1TokenwiseV1PathOptions5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1TokenwiseV1PathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathDelete5", - methodName: "ProxyV1TokenwiseV1PathDelete5Async", + operationId: "ProxyV1TokenwiseV1PathOptions5", + methodName: "ProxyV1TokenwiseV1PathOptions5Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1TokenwiseV1PathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathDelete5", - methodName: "ProxyV1TokenwiseV1PathDelete5Async", + operationId: "ProxyV1TokenwiseV1PathOptions5", + methodName: "ProxyV1TokenwiseV1PathOptions5Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1TokenwiseV1PathDelete5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1TokenwiseV1PathDelete5ResponseContent( + ProcessProxyV1TokenwiseV1PathOptions5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathDelete6.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions6.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathDelete6.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions6.g.cs index f0c21592..f9460ac8 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathDelete6.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1TokenwiseV1PathOptions6.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathDelete6SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1TokenwiseV1PathOptions6SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathDelete6SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1TokenwiseV1PathOptions6SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1TokenwiseV1PathDelete6SecurityRequirement0, + { s_ProxyV1TokenwiseV1PathOptions6SecurityRequirement0, }; - partial void PrepareProxyV1TokenwiseV1PathDelete6Arguments( + partial void PrepareProxyV1TokenwiseV1PathOptions6Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1TokenwiseV1PathDelete6Request( + partial void PrepareProxyV1TokenwiseV1PathOptions6Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1TokenwiseV1PathDelete6Response( + partial void ProcessProxyV1TokenwiseV1PathOptions6Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1TokenwiseV1PathDelete6ResponseContent( + partial void ProcessProxyV1TokenwiseV1PathOptions6ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -54,13 +54,13 @@ partial void ProcessProxyV1TokenwiseV1PathDelete6ResponseContent( /// 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 ProxyV1TokenwiseV1PathDelete6Async( + public async global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathOptions6Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1TokenwiseV1PathDelete6AsResponseAsync( + var __response = await ProxyV1TokenwiseV1PathOptions6AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -80,7 +80,7 @@ partial void ProcessProxyV1TokenwiseV1PathDelete6ResponseContent( /// 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> ProxyV1TokenwiseV1PathDelete6AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathOptions6AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -88,7 +88,7 @@ partial void ProcessProxyV1TokenwiseV1PathDelete6ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1TokenwiseV1PathDelete6Arguments( + PrepareProxyV1TokenwiseV1PathOptions6Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -96,8 +96,8 @@ partial void ProcessProxyV1TokenwiseV1PathDelete6ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1TokenwiseV1PathDelete6SecurityRequirements, - operationName: "ProxyV1TokenwiseV1PathDelete6Async"); + securityRequirements: s_ProxyV1TokenwiseV1PathOptions6SecurityRequirements, + operationName: "ProxyV1TokenwiseV1PathOptions6Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -162,7 +162,7 @@ partial void ProcessProxyV1TokenwiseV1PathDelete6ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1TokenwiseV1PathDelete6Request( + PrepareProxyV1TokenwiseV1PathOptions6Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -183,8 +183,8 @@ partial void ProcessProxyV1TokenwiseV1PathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathDelete6", - methodName: "ProxyV1TokenwiseV1PathDelete6Async", + operationId: "ProxyV1TokenwiseV1PathOptions6", + methodName: "ProxyV1TokenwiseV1PathOptions6Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -217,8 +217,8 @@ partial void ProcessProxyV1TokenwiseV1PathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathDelete6", - methodName: "ProxyV1TokenwiseV1PathDelete6Async", + operationId: "ProxyV1TokenwiseV1PathOptions6", + methodName: "ProxyV1TokenwiseV1PathOptions6Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -258,8 +258,8 @@ partial void ProcessProxyV1TokenwiseV1PathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathDelete6", - methodName: "ProxyV1TokenwiseV1PathDelete6Async", + operationId: "ProxyV1TokenwiseV1PathOptions6", + methodName: "ProxyV1TokenwiseV1PathOptions6Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -298,7 +298,7 @@ partial void ProcessProxyV1TokenwiseV1PathDelete6ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1TokenwiseV1PathDelete6Response( + ProcessProxyV1TokenwiseV1PathOptions6Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -306,8 +306,8 @@ partial void ProcessProxyV1TokenwiseV1PathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathDelete6", - methodName: "ProxyV1TokenwiseV1PathDelete6Async", + operationId: "ProxyV1TokenwiseV1PathOptions6", + methodName: "ProxyV1TokenwiseV1PathOptions6Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -328,8 +328,8 @@ partial void ProcessProxyV1TokenwiseV1PathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1TokenwiseV1PathDelete6", - methodName: "ProxyV1TokenwiseV1PathDelete6Async", + operationId: "ProxyV1TokenwiseV1PathOptions6", + methodName: "ProxyV1TokenwiseV1PathOptions6Async", pathTemplate: "$\"/tokenwise/v1/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -395,7 +395,7 @@ partial void ProcessProxyV1TokenwiseV1PathDelete6ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1TokenwiseV1PathDelete6ResponseContent( + ProcessProxyV1TokenwiseV1PathOptions6ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathDelete.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathDelete.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions.g.cs index 500c7578..949c825a 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathDelete.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathDeleteSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathOptionsSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathDeleteSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathOptionsSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaGatewayV1betaPathDeleteSecurityRequirement0, + { s_ProxyV1betaGatewayV1betaPathOptionsSecurityRequirement0, }; - partial void PrepareProxyV1betaGatewayV1betaPathDeleteArguments( + partial void PrepareProxyV1betaGatewayV1betaPathOptionsArguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaGatewayV1betaPathDeleteRequest( + partial void PrepareProxyV1betaGatewayV1betaPathOptionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaGatewayV1betaPathDeleteResponse( + partial void ProcessProxyV1betaGatewayV1betaPathOptionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaGatewayV1betaPathDeleteResponseContent( + partial void ProcessProxyV1betaGatewayV1betaPathOptionsResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaGatewayV1betaPathDeleteResponseContent( /// 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 ProxyV1betaGatewayV1betaPathDeleteAsync( + public async global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathOptionsAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaGatewayV1betaPathDeleteAsResponseAsync( + var __response = await ProxyV1betaGatewayV1betaPathOptionsAsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathDeleteResponseContent( /// 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> ProxyV1betaGatewayV1betaPathDeleteAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathOptionsAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathDeleteResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaGatewayV1betaPathDeleteArguments( + PrepareProxyV1betaGatewayV1betaPathOptionsArguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDeleteResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaGatewayV1betaPathDeleteSecurityRequirements, - operationName: "ProxyV1betaGatewayV1betaPathDeleteAsync"); + securityRequirements: s_ProxyV1betaGatewayV1betaPathOptionsSecurityRequirements, + operationName: "ProxyV1betaGatewayV1betaPathOptionsAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathDeleteResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaGatewayV1betaPathDeleteRequest( + PrepareProxyV1betaGatewayV1betaPathOptionsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathDelete", - methodName: "ProxyV1betaGatewayV1betaPathDeleteAsync", + operationId: "ProxyV1betaGatewayV1betaPathOptions", + methodName: "ProxyV1betaGatewayV1betaPathOptionsAsync", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathDelete", - methodName: "ProxyV1betaGatewayV1betaPathDeleteAsync", + operationId: "ProxyV1betaGatewayV1betaPathOptions", + methodName: "ProxyV1betaGatewayV1betaPathOptionsAsync", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathDelete", - methodName: "ProxyV1betaGatewayV1betaPathDeleteAsync", + operationId: "ProxyV1betaGatewayV1betaPathOptions", + methodName: "ProxyV1betaGatewayV1betaPathOptionsAsync", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathDeleteResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaGatewayV1betaPathDeleteResponse( + ProcessProxyV1betaGatewayV1betaPathOptionsResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathDelete", - methodName: "ProxyV1betaGatewayV1betaPathDeleteAsync", + operationId: "ProxyV1betaGatewayV1betaPathOptions", + methodName: "ProxyV1betaGatewayV1betaPathOptionsAsync", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathDelete", - methodName: "ProxyV1betaGatewayV1betaPathDeleteAsync", + operationId: "ProxyV1betaGatewayV1betaPathOptions", + methodName: "ProxyV1betaGatewayV1betaPathOptionsAsync", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathDeleteResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaGatewayV1betaPathDeleteResponseContent( + ProcessProxyV1betaGatewayV1betaPathOptionsResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathDelete2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions2.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathDelete2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions2.g.cs index 9fb39461..16dadce2 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathDelete2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathDelete2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathOptions2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathDelete2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathOptions2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaGatewayV1betaPathDelete2SecurityRequirement0, + { s_ProxyV1betaGatewayV1betaPathOptions2SecurityRequirement0, }; - partial void PrepareProxyV1betaGatewayV1betaPathDelete2Arguments( + partial void PrepareProxyV1betaGatewayV1betaPathOptions2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaGatewayV1betaPathDelete2Request( + partial void PrepareProxyV1betaGatewayV1betaPathOptions2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaGatewayV1betaPathDelete2Response( + partial void ProcessProxyV1betaGatewayV1betaPathOptions2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaGatewayV1betaPathDelete2ResponseContent( + partial void ProcessProxyV1betaGatewayV1betaPathOptions2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete2ResponseContent( /// 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 ProxyV1betaGatewayV1betaPathDelete2Async( + public async global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathOptions2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaGatewayV1betaPathDelete2AsResponseAsync( + var __response = await ProxyV1betaGatewayV1betaPathOptions2AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete2ResponseContent( /// 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> ProxyV1betaGatewayV1betaPathDelete2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathOptions2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete2ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaGatewayV1betaPathDelete2Arguments( + PrepareProxyV1betaGatewayV1betaPathOptions2Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete2ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaGatewayV1betaPathDelete2SecurityRequirements, - operationName: "ProxyV1betaGatewayV1betaPathDelete2Async"); + securityRequirements: s_ProxyV1betaGatewayV1betaPathOptions2SecurityRequirements, + operationName: "ProxyV1betaGatewayV1betaPathOptions2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaGatewayV1betaPathDelete2Request( + PrepareProxyV1betaGatewayV1betaPathOptions2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathDelete2", - methodName: "ProxyV1betaGatewayV1betaPathDelete2Async", + operationId: "ProxyV1betaGatewayV1betaPathOptions2", + methodName: "ProxyV1betaGatewayV1betaPathOptions2Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathDelete2", - methodName: "ProxyV1betaGatewayV1betaPathDelete2Async", + operationId: "ProxyV1betaGatewayV1betaPathOptions2", + methodName: "ProxyV1betaGatewayV1betaPathOptions2Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathDelete2", - methodName: "ProxyV1betaGatewayV1betaPathDelete2Async", + operationId: "ProxyV1betaGatewayV1betaPathOptions2", + methodName: "ProxyV1betaGatewayV1betaPathOptions2Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaGatewayV1betaPathDelete2Response( + ProcessProxyV1betaGatewayV1betaPathOptions2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathDelete2", - methodName: "ProxyV1betaGatewayV1betaPathDelete2Async", + operationId: "ProxyV1betaGatewayV1betaPathOptions2", + methodName: "ProxyV1betaGatewayV1betaPathOptions2Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathDelete2", - methodName: "ProxyV1betaGatewayV1betaPathDelete2Async", + operationId: "ProxyV1betaGatewayV1betaPathOptions2", + methodName: "ProxyV1betaGatewayV1betaPathOptions2Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaGatewayV1betaPathDelete2ResponseContent( + ProcessProxyV1betaGatewayV1betaPathOptions2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathDelete3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions3.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathDelete3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions3.g.cs index a2f19206..cfc66768 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathDelete3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathDelete3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathOptions3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathDelete3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathOptions3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaGatewayV1betaPathDelete3SecurityRequirement0, + { s_ProxyV1betaGatewayV1betaPathOptions3SecurityRequirement0, }; - partial void PrepareProxyV1betaGatewayV1betaPathDelete3Arguments( + partial void PrepareProxyV1betaGatewayV1betaPathOptions3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaGatewayV1betaPathDelete3Request( + partial void PrepareProxyV1betaGatewayV1betaPathOptions3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaGatewayV1betaPathDelete3Response( + partial void ProcessProxyV1betaGatewayV1betaPathOptions3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaGatewayV1betaPathDelete3ResponseContent( + partial void ProcessProxyV1betaGatewayV1betaPathOptions3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete3ResponseContent( /// 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 ProxyV1betaGatewayV1betaPathDelete3Async( + public async global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathOptions3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaGatewayV1betaPathDelete3AsResponseAsync( + var __response = await ProxyV1betaGatewayV1betaPathOptions3AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete3ResponseContent( /// 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> ProxyV1betaGatewayV1betaPathDelete3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathOptions3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete3ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaGatewayV1betaPathDelete3Arguments( + PrepareProxyV1betaGatewayV1betaPathOptions3Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete3ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaGatewayV1betaPathDelete3SecurityRequirements, - operationName: "ProxyV1betaGatewayV1betaPathDelete3Async"); + securityRequirements: s_ProxyV1betaGatewayV1betaPathOptions3SecurityRequirements, + operationName: "ProxyV1betaGatewayV1betaPathOptions3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaGatewayV1betaPathDelete3Request( + PrepareProxyV1betaGatewayV1betaPathOptions3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathDelete3", - methodName: "ProxyV1betaGatewayV1betaPathDelete3Async", + operationId: "ProxyV1betaGatewayV1betaPathOptions3", + methodName: "ProxyV1betaGatewayV1betaPathOptions3Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathDelete3", - methodName: "ProxyV1betaGatewayV1betaPathDelete3Async", + operationId: "ProxyV1betaGatewayV1betaPathOptions3", + methodName: "ProxyV1betaGatewayV1betaPathOptions3Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathDelete3", - methodName: "ProxyV1betaGatewayV1betaPathDelete3Async", + operationId: "ProxyV1betaGatewayV1betaPathOptions3", + methodName: "ProxyV1betaGatewayV1betaPathOptions3Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaGatewayV1betaPathDelete3Response( + ProcessProxyV1betaGatewayV1betaPathOptions3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathDelete3", - methodName: "ProxyV1betaGatewayV1betaPathDelete3Async", + operationId: "ProxyV1betaGatewayV1betaPathOptions3", + methodName: "ProxyV1betaGatewayV1betaPathOptions3Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathDelete3", - methodName: "ProxyV1betaGatewayV1betaPathDelete3Async", + operationId: "ProxyV1betaGatewayV1betaPathOptions3", + methodName: "ProxyV1betaGatewayV1betaPathOptions3Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaGatewayV1betaPathDelete3ResponseContent( + ProcessProxyV1betaGatewayV1betaPathOptions3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathDelete4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions4.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathDelete4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions4.g.cs index 913cc316..76de8fe0 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathDelete4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathDelete4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathOptions4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathDelete4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathOptions4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaGatewayV1betaPathDelete4SecurityRequirement0, + { s_ProxyV1betaGatewayV1betaPathOptions4SecurityRequirement0, }; - partial void PrepareProxyV1betaGatewayV1betaPathDelete4Arguments( + partial void PrepareProxyV1betaGatewayV1betaPathOptions4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaGatewayV1betaPathDelete4Request( + partial void PrepareProxyV1betaGatewayV1betaPathOptions4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaGatewayV1betaPathDelete4Response( + partial void ProcessProxyV1betaGatewayV1betaPathOptions4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaGatewayV1betaPathDelete4ResponseContent( + partial void ProcessProxyV1betaGatewayV1betaPathOptions4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete4ResponseContent( /// 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 ProxyV1betaGatewayV1betaPathDelete4Async( + public async global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathOptions4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaGatewayV1betaPathDelete4AsResponseAsync( + var __response = await ProxyV1betaGatewayV1betaPathOptions4AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete4ResponseContent( /// 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> ProxyV1betaGatewayV1betaPathDelete4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathOptions4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete4ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaGatewayV1betaPathDelete4Arguments( + PrepareProxyV1betaGatewayV1betaPathOptions4Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete4ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaGatewayV1betaPathDelete4SecurityRequirements, - operationName: "ProxyV1betaGatewayV1betaPathDelete4Async"); + securityRequirements: s_ProxyV1betaGatewayV1betaPathOptions4SecurityRequirements, + operationName: "ProxyV1betaGatewayV1betaPathOptions4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaGatewayV1betaPathDelete4Request( + PrepareProxyV1betaGatewayV1betaPathOptions4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathDelete4", - methodName: "ProxyV1betaGatewayV1betaPathDelete4Async", + operationId: "ProxyV1betaGatewayV1betaPathOptions4", + methodName: "ProxyV1betaGatewayV1betaPathOptions4Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathDelete4", - methodName: "ProxyV1betaGatewayV1betaPathDelete4Async", + operationId: "ProxyV1betaGatewayV1betaPathOptions4", + methodName: "ProxyV1betaGatewayV1betaPathOptions4Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathDelete4", - methodName: "ProxyV1betaGatewayV1betaPathDelete4Async", + operationId: "ProxyV1betaGatewayV1betaPathOptions4", + methodName: "ProxyV1betaGatewayV1betaPathOptions4Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaGatewayV1betaPathDelete4Response( + ProcessProxyV1betaGatewayV1betaPathOptions4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathDelete4", - methodName: "ProxyV1betaGatewayV1betaPathDelete4Async", + operationId: "ProxyV1betaGatewayV1betaPathOptions4", + methodName: "ProxyV1betaGatewayV1betaPathOptions4Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathDelete4", - methodName: "ProxyV1betaGatewayV1betaPathDelete4Async", + operationId: "ProxyV1betaGatewayV1betaPathOptions4", + methodName: "ProxyV1betaGatewayV1betaPathOptions4Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaGatewayV1betaPathDelete4ResponseContent( + ProcessProxyV1betaGatewayV1betaPathOptions4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathDelete5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions5.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathDelete5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions5.g.cs index 6a63304c..4c9884c2 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathDelete5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathDelete5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathOptions5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathDelete5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathOptions5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaGatewayV1betaPathDelete5SecurityRequirement0, + { s_ProxyV1betaGatewayV1betaPathOptions5SecurityRequirement0, }; - partial void PrepareProxyV1betaGatewayV1betaPathDelete5Arguments( + partial void PrepareProxyV1betaGatewayV1betaPathOptions5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaGatewayV1betaPathDelete5Request( + partial void PrepareProxyV1betaGatewayV1betaPathOptions5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaGatewayV1betaPathDelete5Response( + partial void ProcessProxyV1betaGatewayV1betaPathOptions5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaGatewayV1betaPathDelete5ResponseContent( + partial void ProcessProxyV1betaGatewayV1betaPathOptions5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete5ResponseContent( /// 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 ProxyV1betaGatewayV1betaPathDelete5Async( + public async global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathOptions5Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaGatewayV1betaPathDelete5AsResponseAsync( + var __response = await ProxyV1betaGatewayV1betaPathOptions5AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete5ResponseContent( /// 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> ProxyV1betaGatewayV1betaPathDelete5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathOptions5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete5ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaGatewayV1betaPathDelete5Arguments( + PrepareProxyV1betaGatewayV1betaPathOptions5Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete5ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaGatewayV1betaPathDelete5SecurityRequirements, - operationName: "ProxyV1betaGatewayV1betaPathDelete5Async"); + securityRequirements: s_ProxyV1betaGatewayV1betaPathOptions5SecurityRequirements, + operationName: "ProxyV1betaGatewayV1betaPathOptions5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaGatewayV1betaPathDelete5Request( + PrepareProxyV1betaGatewayV1betaPathOptions5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathDelete5", - methodName: "ProxyV1betaGatewayV1betaPathDelete5Async", + operationId: "ProxyV1betaGatewayV1betaPathOptions5", + methodName: "ProxyV1betaGatewayV1betaPathOptions5Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathDelete5", - methodName: "ProxyV1betaGatewayV1betaPathDelete5Async", + operationId: "ProxyV1betaGatewayV1betaPathOptions5", + methodName: "ProxyV1betaGatewayV1betaPathOptions5Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathDelete5", - methodName: "ProxyV1betaGatewayV1betaPathDelete5Async", + operationId: "ProxyV1betaGatewayV1betaPathOptions5", + methodName: "ProxyV1betaGatewayV1betaPathOptions5Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaGatewayV1betaPathDelete5Response( + ProcessProxyV1betaGatewayV1betaPathOptions5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathDelete5", - methodName: "ProxyV1betaGatewayV1betaPathDelete5Async", + operationId: "ProxyV1betaGatewayV1betaPathOptions5", + methodName: "ProxyV1betaGatewayV1betaPathOptions5Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathDelete5", - methodName: "ProxyV1betaGatewayV1betaPathDelete5Async", + operationId: "ProxyV1betaGatewayV1betaPathOptions5", + methodName: "ProxyV1betaGatewayV1betaPathOptions5Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaGatewayV1betaPathDelete5ResponseContent( + ProcessProxyV1betaGatewayV1betaPathOptions5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathDelete6.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions6.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathDelete6.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions6.g.cs index 7e0ed752..f62b86ad 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathDelete6.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaGatewayV1betaPathOptions6.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathDelete6SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaGatewayV1betaPathOptions6SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathDelete6SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaGatewayV1betaPathOptions6SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaGatewayV1betaPathDelete6SecurityRequirement0, + { s_ProxyV1betaGatewayV1betaPathOptions6SecurityRequirement0, }; - partial void PrepareProxyV1betaGatewayV1betaPathDelete6Arguments( + partial void PrepareProxyV1betaGatewayV1betaPathOptions6Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaGatewayV1betaPathDelete6Request( + partial void PrepareProxyV1betaGatewayV1betaPathOptions6Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaGatewayV1betaPathDelete6Response( + partial void ProcessProxyV1betaGatewayV1betaPathOptions6Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaGatewayV1betaPathDelete6ResponseContent( + partial void ProcessProxyV1betaGatewayV1betaPathOptions6ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete6ResponseContent( /// 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 ProxyV1betaGatewayV1betaPathDelete6Async( + public async global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathOptions6Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaGatewayV1betaPathDelete6AsResponseAsync( + var __response = await ProxyV1betaGatewayV1betaPathOptions6AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete6ResponseContent( /// 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> ProxyV1betaGatewayV1betaPathDelete6AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathOptions6AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete6ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaGatewayV1betaPathDelete6Arguments( + PrepareProxyV1betaGatewayV1betaPathOptions6Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete6ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaGatewayV1betaPathDelete6SecurityRequirements, - operationName: "ProxyV1betaGatewayV1betaPathDelete6Async"); + securityRequirements: s_ProxyV1betaGatewayV1betaPathOptions6SecurityRequirements, + operationName: "ProxyV1betaGatewayV1betaPathOptions6Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete6ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaGatewayV1betaPathDelete6Request( + PrepareProxyV1betaGatewayV1betaPathOptions6Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathDelete6", - methodName: "ProxyV1betaGatewayV1betaPathDelete6Async", + operationId: "ProxyV1betaGatewayV1betaPathOptions6", + methodName: "ProxyV1betaGatewayV1betaPathOptions6Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathDelete6", - methodName: "ProxyV1betaGatewayV1betaPathDelete6Async", + operationId: "ProxyV1betaGatewayV1betaPathOptions6", + methodName: "ProxyV1betaGatewayV1betaPathOptions6Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathDelete6", - methodName: "ProxyV1betaGatewayV1betaPathDelete6Async", + operationId: "ProxyV1betaGatewayV1betaPathOptions6", + methodName: "ProxyV1betaGatewayV1betaPathOptions6Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete6ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaGatewayV1betaPathDelete6Response( + ProcessProxyV1betaGatewayV1betaPathOptions6Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathDelete6", - methodName: "ProxyV1betaGatewayV1betaPathDelete6Async", + operationId: "ProxyV1betaGatewayV1betaPathOptions6", + methodName: "ProxyV1betaGatewayV1betaPathOptions6Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaGatewayV1betaPathDelete6", - methodName: "ProxyV1betaGatewayV1betaPathDelete6Async", + operationId: "ProxyV1betaGatewayV1betaPathOptions6", + methodName: "ProxyV1betaGatewayV1betaPathOptions6Async", pathTemplate: "$\"/gateway/v1beta/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaGatewayV1betaPathDelete6ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaGatewayV1betaPathDelete6ResponseContent( + ProcessProxyV1betaGatewayV1betaPathOptions6ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathDelete.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathDelete.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions.g.cs index a8d89486..dfe256ef 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathDelete.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathDeleteSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathOptionsSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathDeleteSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathOptionsSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaTokenwiseV1betaPathDeleteSecurityRequirement0, + { s_ProxyV1betaTokenwiseV1betaPathOptionsSecurityRequirement0, }; - partial void PrepareProxyV1betaTokenwiseV1betaPathDeleteArguments( + partial void PrepareProxyV1betaTokenwiseV1betaPathOptionsArguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaTokenwiseV1betaPathDeleteRequest( + partial void PrepareProxyV1betaTokenwiseV1betaPathOptionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaTokenwiseV1betaPathDeleteResponse( + partial void ProcessProxyV1betaTokenwiseV1betaPathOptionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaTokenwiseV1betaPathDeleteResponseContent( + partial void ProcessProxyV1betaTokenwiseV1betaPathOptionsResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDeleteResponseContent( /// 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 ProxyV1betaTokenwiseV1betaPathDeleteAsync( + public async global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathOptionsAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaTokenwiseV1betaPathDeleteAsResponseAsync( + var __response = await ProxyV1betaTokenwiseV1betaPathOptionsAsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDeleteResponseContent( /// 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> ProxyV1betaTokenwiseV1betaPathDeleteAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathOptionsAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDeleteResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaTokenwiseV1betaPathDeleteArguments( + PrepareProxyV1betaTokenwiseV1betaPathOptionsArguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDeleteResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaTokenwiseV1betaPathDeleteSecurityRequirements, - operationName: "ProxyV1betaTokenwiseV1betaPathDeleteAsync"); + securityRequirements: s_ProxyV1betaTokenwiseV1betaPathOptionsSecurityRequirements, + operationName: "ProxyV1betaTokenwiseV1betaPathOptionsAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDeleteResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaTokenwiseV1betaPathDeleteRequest( + PrepareProxyV1betaTokenwiseV1betaPathOptionsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathDelete", - methodName: "ProxyV1betaTokenwiseV1betaPathDeleteAsync", + operationId: "ProxyV1betaTokenwiseV1betaPathOptions", + methodName: "ProxyV1betaTokenwiseV1betaPathOptionsAsync", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathDelete", - methodName: "ProxyV1betaTokenwiseV1betaPathDeleteAsync", + operationId: "ProxyV1betaTokenwiseV1betaPathOptions", + methodName: "ProxyV1betaTokenwiseV1betaPathOptionsAsync", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathDelete", - methodName: "ProxyV1betaTokenwiseV1betaPathDeleteAsync", + operationId: "ProxyV1betaTokenwiseV1betaPathOptions", + methodName: "ProxyV1betaTokenwiseV1betaPathOptionsAsync", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDeleteResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaTokenwiseV1betaPathDeleteResponse( + ProcessProxyV1betaTokenwiseV1betaPathOptionsResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathDelete", - methodName: "ProxyV1betaTokenwiseV1betaPathDeleteAsync", + operationId: "ProxyV1betaTokenwiseV1betaPathOptions", + methodName: "ProxyV1betaTokenwiseV1betaPathOptionsAsync", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathDelete", - methodName: "ProxyV1betaTokenwiseV1betaPathDeleteAsync", + operationId: "ProxyV1betaTokenwiseV1betaPathOptions", + methodName: "ProxyV1betaTokenwiseV1betaPathOptionsAsync", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDeleteResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaTokenwiseV1betaPathDeleteResponseContent( + ProcessProxyV1betaTokenwiseV1betaPathOptionsResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathDelete2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions2.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathDelete2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions2.g.cs index d7b4015f..84fa7506 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathDelete2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathDelete2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathOptions2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathDelete2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathOptions2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaTokenwiseV1betaPathDelete2SecurityRequirement0, + { s_ProxyV1betaTokenwiseV1betaPathOptions2SecurityRequirement0, }; - partial void PrepareProxyV1betaTokenwiseV1betaPathDelete2Arguments( + partial void PrepareProxyV1betaTokenwiseV1betaPathOptions2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaTokenwiseV1betaPathDelete2Request( + partial void PrepareProxyV1betaTokenwiseV1betaPathOptions2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaTokenwiseV1betaPathDelete2Response( + partial void ProcessProxyV1betaTokenwiseV1betaPathOptions2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaTokenwiseV1betaPathDelete2ResponseContent( + partial void ProcessProxyV1betaTokenwiseV1betaPathOptions2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete2ResponseContent( /// 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 ProxyV1betaTokenwiseV1betaPathDelete2Async( + public async global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathOptions2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaTokenwiseV1betaPathDelete2AsResponseAsync( + var __response = await ProxyV1betaTokenwiseV1betaPathOptions2AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete2ResponseContent( /// 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> ProxyV1betaTokenwiseV1betaPathDelete2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathOptions2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete2ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaTokenwiseV1betaPathDelete2Arguments( + PrepareProxyV1betaTokenwiseV1betaPathOptions2Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete2ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaTokenwiseV1betaPathDelete2SecurityRequirements, - operationName: "ProxyV1betaTokenwiseV1betaPathDelete2Async"); + securityRequirements: s_ProxyV1betaTokenwiseV1betaPathOptions2SecurityRequirements, + operationName: "ProxyV1betaTokenwiseV1betaPathOptions2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaTokenwiseV1betaPathDelete2Request( + PrepareProxyV1betaTokenwiseV1betaPathOptions2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathDelete2", - methodName: "ProxyV1betaTokenwiseV1betaPathDelete2Async", + operationId: "ProxyV1betaTokenwiseV1betaPathOptions2", + methodName: "ProxyV1betaTokenwiseV1betaPathOptions2Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathDelete2", - methodName: "ProxyV1betaTokenwiseV1betaPathDelete2Async", + operationId: "ProxyV1betaTokenwiseV1betaPathOptions2", + methodName: "ProxyV1betaTokenwiseV1betaPathOptions2Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathDelete2", - methodName: "ProxyV1betaTokenwiseV1betaPathDelete2Async", + operationId: "ProxyV1betaTokenwiseV1betaPathOptions2", + methodName: "ProxyV1betaTokenwiseV1betaPathOptions2Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaTokenwiseV1betaPathDelete2Response( + ProcessProxyV1betaTokenwiseV1betaPathOptions2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathDelete2", - methodName: "ProxyV1betaTokenwiseV1betaPathDelete2Async", + operationId: "ProxyV1betaTokenwiseV1betaPathOptions2", + methodName: "ProxyV1betaTokenwiseV1betaPathOptions2Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathDelete2", - methodName: "ProxyV1betaTokenwiseV1betaPathDelete2Async", + operationId: "ProxyV1betaTokenwiseV1betaPathOptions2", + methodName: "ProxyV1betaTokenwiseV1betaPathOptions2Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaTokenwiseV1betaPathDelete2ResponseContent( + ProcessProxyV1betaTokenwiseV1betaPathOptions2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathDelete3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions3.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathDelete3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions3.g.cs index ab00283c..cbff17f0 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathDelete3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathDelete3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathOptions3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathDelete3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathOptions3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaTokenwiseV1betaPathDelete3SecurityRequirement0, + { s_ProxyV1betaTokenwiseV1betaPathOptions3SecurityRequirement0, }; - partial void PrepareProxyV1betaTokenwiseV1betaPathDelete3Arguments( + partial void PrepareProxyV1betaTokenwiseV1betaPathOptions3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaTokenwiseV1betaPathDelete3Request( + partial void PrepareProxyV1betaTokenwiseV1betaPathOptions3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaTokenwiseV1betaPathDelete3Response( + partial void ProcessProxyV1betaTokenwiseV1betaPathOptions3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaTokenwiseV1betaPathDelete3ResponseContent( + partial void ProcessProxyV1betaTokenwiseV1betaPathOptions3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete3ResponseContent( /// 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 ProxyV1betaTokenwiseV1betaPathDelete3Async( + public async global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathOptions3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaTokenwiseV1betaPathDelete3AsResponseAsync( + var __response = await ProxyV1betaTokenwiseV1betaPathOptions3AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete3ResponseContent( /// 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> ProxyV1betaTokenwiseV1betaPathDelete3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathOptions3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete3ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaTokenwiseV1betaPathDelete3Arguments( + PrepareProxyV1betaTokenwiseV1betaPathOptions3Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete3ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaTokenwiseV1betaPathDelete3SecurityRequirements, - operationName: "ProxyV1betaTokenwiseV1betaPathDelete3Async"); + securityRequirements: s_ProxyV1betaTokenwiseV1betaPathOptions3SecurityRequirements, + operationName: "ProxyV1betaTokenwiseV1betaPathOptions3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaTokenwiseV1betaPathDelete3Request( + PrepareProxyV1betaTokenwiseV1betaPathOptions3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathDelete3", - methodName: "ProxyV1betaTokenwiseV1betaPathDelete3Async", + operationId: "ProxyV1betaTokenwiseV1betaPathOptions3", + methodName: "ProxyV1betaTokenwiseV1betaPathOptions3Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathDelete3", - methodName: "ProxyV1betaTokenwiseV1betaPathDelete3Async", + operationId: "ProxyV1betaTokenwiseV1betaPathOptions3", + methodName: "ProxyV1betaTokenwiseV1betaPathOptions3Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathDelete3", - methodName: "ProxyV1betaTokenwiseV1betaPathDelete3Async", + operationId: "ProxyV1betaTokenwiseV1betaPathOptions3", + methodName: "ProxyV1betaTokenwiseV1betaPathOptions3Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaTokenwiseV1betaPathDelete3Response( + ProcessProxyV1betaTokenwiseV1betaPathOptions3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathDelete3", - methodName: "ProxyV1betaTokenwiseV1betaPathDelete3Async", + operationId: "ProxyV1betaTokenwiseV1betaPathOptions3", + methodName: "ProxyV1betaTokenwiseV1betaPathOptions3Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathDelete3", - methodName: "ProxyV1betaTokenwiseV1betaPathDelete3Async", + operationId: "ProxyV1betaTokenwiseV1betaPathOptions3", + methodName: "ProxyV1betaTokenwiseV1betaPathOptions3Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaTokenwiseV1betaPathDelete3ResponseContent( + ProcessProxyV1betaTokenwiseV1betaPathOptions3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathDelete4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions4.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathDelete4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions4.g.cs index cae69e5c..418c73a0 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathDelete4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathDelete4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathOptions4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathDelete4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathOptions4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaTokenwiseV1betaPathDelete4SecurityRequirement0, + { s_ProxyV1betaTokenwiseV1betaPathOptions4SecurityRequirement0, }; - partial void PrepareProxyV1betaTokenwiseV1betaPathDelete4Arguments( + partial void PrepareProxyV1betaTokenwiseV1betaPathOptions4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaTokenwiseV1betaPathDelete4Request( + partial void PrepareProxyV1betaTokenwiseV1betaPathOptions4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaTokenwiseV1betaPathDelete4Response( + partial void ProcessProxyV1betaTokenwiseV1betaPathOptions4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaTokenwiseV1betaPathDelete4ResponseContent( + partial void ProcessProxyV1betaTokenwiseV1betaPathOptions4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete4ResponseContent( /// 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 ProxyV1betaTokenwiseV1betaPathDelete4Async( + public async global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathOptions4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaTokenwiseV1betaPathDelete4AsResponseAsync( + var __response = await ProxyV1betaTokenwiseV1betaPathOptions4AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete4ResponseContent( /// 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> ProxyV1betaTokenwiseV1betaPathDelete4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathOptions4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete4ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaTokenwiseV1betaPathDelete4Arguments( + PrepareProxyV1betaTokenwiseV1betaPathOptions4Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete4ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaTokenwiseV1betaPathDelete4SecurityRequirements, - operationName: "ProxyV1betaTokenwiseV1betaPathDelete4Async"); + securityRequirements: s_ProxyV1betaTokenwiseV1betaPathOptions4SecurityRequirements, + operationName: "ProxyV1betaTokenwiseV1betaPathOptions4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaTokenwiseV1betaPathDelete4Request( + PrepareProxyV1betaTokenwiseV1betaPathOptions4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathDelete4", - methodName: "ProxyV1betaTokenwiseV1betaPathDelete4Async", + operationId: "ProxyV1betaTokenwiseV1betaPathOptions4", + methodName: "ProxyV1betaTokenwiseV1betaPathOptions4Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathDelete4", - methodName: "ProxyV1betaTokenwiseV1betaPathDelete4Async", + operationId: "ProxyV1betaTokenwiseV1betaPathOptions4", + methodName: "ProxyV1betaTokenwiseV1betaPathOptions4Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathDelete4", - methodName: "ProxyV1betaTokenwiseV1betaPathDelete4Async", + operationId: "ProxyV1betaTokenwiseV1betaPathOptions4", + methodName: "ProxyV1betaTokenwiseV1betaPathOptions4Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaTokenwiseV1betaPathDelete4Response( + ProcessProxyV1betaTokenwiseV1betaPathOptions4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathDelete4", - methodName: "ProxyV1betaTokenwiseV1betaPathDelete4Async", + operationId: "ProxyV1betaTokenwiseV1betaPathOptions4", + methodName: "ProxyV1betaTokenwiseV1betaPathOptions4Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathDelete4", - methodName: "ProxyV1betaTokenwiseV1betaPathDelete4Async", + operationId: "ProxyV1betaTokenwiseV1betaPathOptions4", + methodName: "ProxyV1betaTokenwiseV1betaPathOptions4Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaTokenwiseV1betaPathDelete4ResponseContent( + ProcessProxyV1betaTokenwiseV1betaPathOptions4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathDelete5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions5.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathDelete5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions5.g.cs index c3122570..fb761f5c 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathDelete5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathDelete5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathOptions5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathDelete5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathOptions5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaTokenwiseV1betaPathDelete5SecurityRequirement0, + { s_ProxyV1betaTokenwiseV1betaPathOptions5SecurityRequirement0, }; - partial void PrepareProxyV1betaTokenwiseV1betaPathDelete5Arguments( + partial void PrepareProxyV1betaTokenwiseV1betaPathOptions5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaTokenwiseV1betaPathDelete5Request( + partial void PrepareProxyV1betaTokenwiseV1betaPathOptions5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaTokenwiseV1betaPathDelete5Response( + partial void ProcessProxyV1betaTokenwiseV1betaPathOptions5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaTokenwiseV1betaPathDelete5ResponseContent( + partial void ProcessProxyV1betaTokenwiseV1betaPathOptions5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete5ResponseContent( /// 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 ProxyV1betaTokenwiseV1betaPathDelete5Async( + public async global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathOptions5Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaTokenwiseV1betaPathDelete5AsResponseAsync( + var __response = await ProxyV1betaTokenwiseV1betaPathOptions5AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete5ResponseContent( /// 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> ProxyV1betaTokenwiseV1betaPathDelete5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathOptions5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete5ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaTokenwiseV1betaPathDelete5Arguments( + PrepareProxyV1betaTokenwiseV1betaPathOptions5Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete5ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaTokenwiseV1betaPathDelete5SecurityRequirements, - operationName: "ProxyV1betaTokenwiseV1betaPathDelete5Async"); + securityRequirements: s_ProxyV1betaTokenwiseV1betaPathOptions5SecurityRequirements, + operationName: "ProxyV1betaTokenwiseV1betaPathOptions5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaTokenwiseV1betaPathDelete5Request( + PrepareProxyV1betaTokenwiseV1betaPathOptions5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathDelete5", - methodName: "ProxyV1betaTokenwiseV1betaPathDelete5Async", + operationId: "ProxyV1betaTokenwiseV1betaPathOptions5", + methodName: "ProxyV1betaTokenwiseV1betaPathOptions5Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathDelete5", - methodName: "ProxyV1betaTokenwiseV1betaPathDelete5Async", + operationId: "ProxyV1betaTokenwiseV1betaPathOptions5", + methodName: "ProxyV1betaTokenwiseV1betaPathOptions5Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathDelete5", - methodName: "ProxyV1betaTokenwiseV1betaPathDelete5Async", + operationId: "ProxyV1betaTokenwiseV1betaPathOptions5", + methodName: "ProxyV1betaTokenwiseV1betaPathOptions5Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaTokenwiseV1betaPathDelete5Response( + ProcessProxyV1betaTokenwiseV1betaPathOptions5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathDelete5", - methodName: "ProxyV1betaTokenwiseV1betaPathDelete5Async", + operationId: "ProxyV1betaTokenwiseV1betaPathOptions5", + methodName: "ProxyV1betaTokenwiseV1betaPathOptions5Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathDelete5", - methodName: "ProxyV1betaTokenwiseV1betaPathDelete5Async", + operationId: "ProxyV1betaTokenwiseV1betaPathOptions5", + methodName: "ProxyV1betaTokenwiseV1betaPathOptions5Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaTokenwiseV1betaPathDelete5ResponseContent( + ProcessProxyV1betaTokenwiseV1betaPathOptions5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathDelete6.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions6.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathDelete6.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions6.g.cs index 4626eb9a..f458f2a3 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathDelete6.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1betaTokenwiseV1betaPathOptions6.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathDelete6SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1betaTokenwiseV1betaPathOptions6SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathDelete6SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1betaTokenwiseV1betaPathOptions6SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1betaTokenwiseV1betaPathDelete6SecurityRequirement0, + { s_ProxyV1betaTokenwiseV1betaPathOptions6SecurityRequirement0, }; - partial void PrepareProxyV1betaTokenwiseV1betaPathDelete6Arguments( + partial void PrepareProxyV1betaTokenwiseV1betaPathOptions6Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1betaTokenwiseV1betaPathDelete6Request( + partial void PrepareProxyV1betaTokenwiseV1betaPathOptions6Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1betaTokenwiseV1betaPathDelete6Response( + partial void ProcessProxyV1betaTokenwiseV1betaPathOptions6Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1betaTokenwiseV1betaPathDelete6ResponseContent( + partial void ProcessProxyV1betaTokenwiseV1betaPathOptions6ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete6ResponseContent( /// 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 ProxyV1betaTokenwiseV1betaPathDelete6Async( + public async global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathOptions6Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1betaTokenwiseV1betaPathDelete6AsResponseAsync( + var __response = await ProxyV1betaTokenwiseV1betaPathOptions6AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete6ResponseContent( /// 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> ProxyV1betaTokenwiseV1betaPathDelete6AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathOptions6AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete6ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1betaTokenwiseV1betaPathDelete6Arguments( + PrepareProxyV1betaTokenwiseV1betaPathOptions6Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete6ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1betaTokenwiseV1betaPathDelete6SecurityRequirements, - operationName: "ProxyV1betaTokenwiseV1betaPathDelete6Async"); + securityRequirements: s_ProxyV1betaTokenwiseV1betaPathOptions6SecurityRequirements, + operationName: "ProxyV1betaTokenwiseV1betaPathOptions6Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete6ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1betaTokenwiseV1betaPathDelete6Request( + PrepareProxyV1betaTokenwiseV1betaPathOptions6Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathDelete6", - methodName: "ProxyV1betaTokenwiseV1betaPathDelete6Async", + operationId: "ProxyV1betaTokenwiseV1betaPathOptions6", + methodName: "ProxyV1betaTokenwiseV1betaPathOptions6Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathDelete6", - methodName: "ProxyV1betaTokenwiseV1betaPathDelete6Async", + operationId: "ProxyV1betaTokenwiseV1betaPathOptions6", + methodName: "ProxyV1betaTokenwiseV1betaPathOptions6Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathDelete6", - methodName: "ProxyV1betaTokenwiseV1betaPathDelete6Async", + operationId: "ProxyV1betaTokenwiseV1betaPathOptions6", + methodName: "ProxyV1betaTokenwiseV1betaPathOptions6Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete6ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1betaTokenwiseV1betaPathDelete6Response( + ProcessProxyV1betaTokenwiseV1betaPathOptions6Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathDelete6", - methodName: "ProxyV1betaTokenwiseV1betaPathDelete6Async", + operationId: "ProxyV1betaTokenwiseV1betaPathOptions6", + methodName: "ProxyV1betaTokenwiseV1betaPathOptions6Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1betaTokenwiseV1betaPathDelete6", - methodName: "ProxyV1betaTokenwiseV1betaPathDelete6Async", + operationId: "ProxyV1betaTokenwiseV1betaPathOptions6", + methodName: "ProxyV1betaTokenwiseV1betaPathOptions6Async", pathTemplate: "$\"/tokenwise/v1beta/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1betaTokenwiseV1betaPathDelete6ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1betaTokenwiseV1betaPathDelete6ResponseContent( + ProcessProxyV1betaTokenwiseV1betaPathOptions6ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathDelete.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathDelete.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions.g.cs index 126fd15a..450ce898 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathDelete.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathDeleteSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathOptionsSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathDeleteSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathOptionsSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalGatewayV1internalPathDeleteSecurityRequirement0, + { s_ProxyV1internalGatewayV1internalPathOptionsSecurityRequirement0, }; - partial void PrepareProxyV1internalGatewayV1internalPathDeleteArguments( + partial void PrepareProxyV1internalGatewayV1internalPathOptionsArguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalGatewayV1internalPathDeleteRequest( + partial void PrepareProxyV1internalGatewayV1internalPathOptionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalGatewayV1internalPathDeleteResponse( + partial void ProcessProxyV1internalGatewayV1internalPathOptionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalGatewayV1internalPathDeleteResponseContent( + partial void ProcessProxyV1internalGatewayV1internalPathOptionsResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalGatewayV1internalPathDeleteResponseContent( /// 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 ProxyV1internalGatewayV1internalPathDeleteAsync( + public async global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathOptionsAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalGatewayV1internalPathDeleteAsResponseAsync( + var __response = await ProxyV1internalGatewayV1internalPathOptionsAsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathDeleteResponseContent( /// 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> ProxyV1internalGatewayV1internalPathDeleteAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathOptionsAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathDeleteResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1internalGatewayV1internalPathDeleteArguments( + PrepareProxyV1internalGatewayV1internalPathOptionsArguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDeleteResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalGatewayV1internalPathDeleteSecurityRequirements, - operationName: "ProxyV1internalGatewayV1internalPathDeleteAsync"); + securityRequirements: s_ProxyV1internalGatewayV1internalPathOptionsSecurityRequirements, + operationName: "ProxyV1internalGatewayV1internalPathOptionsAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathDeleteResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalGatewayV1internalPathDeleteRequest( + PrepareProxyV1internalGatewayV1internalPathOptionsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathDelete", - methodName: "ProxyV1internalGatewayV1internalPathDeleteAsync", + operationId: "ProxyV1internalGatewayV1internalPathOptions", + methodName: "ProxyV1internalGatewayV1internalPathOptionsAsync", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathDelete", - methodName: "ProxyV1internalGatewayV1internalPathDeleteAsync", + operationId: "ProxyV1internalGatewayV1internalPathOptions", + methodName: "ProxyV1internalGatewayV1internalPathOptionsAsync", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathDelete", - methodName: "ProxyV1internalGatewayV1internalPathDeleteAsync", + operationId: "ProxyV1internalGatewayV1internalPathOptions", + methodName: "ProxyV1internalGatewayV1internalPathOptionsAsync", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathDeleteResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalGatewayV1internalPathDeleteResponse( + ProcessProxyV1internalGatewayV1internalPathOptionsResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathDelete", - methodName: "ProxyV1internalGatewayV1internalPathDeleteAsync", + operationId: "ProxyV1internalGatewayV1internalPathOptions", + methodName: "ProxyV1internalGatewayV1internalPathOptionsAsync", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathDelete", - methodName: "ProxyV1internalGatewayV1internalPathDeleteAsync", + operationId: "ProxyV1internalGatewayV1internalPathOptions", + methodName: "ProxyV1internalGatewayV1internalPathOptionsAsync", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathDeleteResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalGatewayV1internalPathDeleteResponseContent( + ProcessProxyV1internalGatewayV1internalPathOptionsResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathDelete2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions2.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathDelete2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions2.g.cs index 1c27cf04..23ecd169 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathDelete2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathDelete2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathOptions2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathDelete2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathOptions2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalGatewayV1internalPathDelete2SecurityRequirement0, + { s_ProxyV1internalGatewayV1internalPathOptions2SecurityRequirement0, }; - partial void PrepareProxyV1internalGatewayV1internalPathDelete2Arguments( + partial void PrepareProxyV1internalGatewayV1internalPathOptions2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalGatewayV1internalPathDelete2Request( + partial void PrepareProxyV1internalGatewayV1internalPathOptions2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalGatewayV1internalPathDelete2Response( + partial void ProcessProxyV1internalGatewayV1internalPathOptions2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalGatewayV1internalPathDelete2ResponseContent( + partial void ProcessProxyV1internalGatewayV1internalPathOptions2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete2ResponseContent( /// 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 ProxyV1internalGatewayV1internalPathDelete2Async( + public async global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathOptions2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalGatewayV1internalPathDelete2AsResponseAsync( + var __response = await ProxyV1internalGatewayV1internalPathOptions2AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete2ResponseContent( /// 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> ProxyV1internalGatewayV1internalPathDelete2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathOptions2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete2ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1internalGatewayV1internalPathDelete2Arguments( + PrepareProxyV1internalGatewayV1internalPathOptions2Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete2ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalGatewayV1internalPathDelete2SecurityRequirements, - operationName: "ProxyV1internalGatewayV1internalPathDelete2Async"); + securityRequirements: s_ProxyV1internalGatewayV1internalPathOptions2SecurityRequirements, + operationName: "ProxyV1internalGatewayV1internalPathOptions2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalGatewayV1internalPathDelete2Request( + PrepareProxyV1internalGatewayV1internalPathOptions2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathDelete2", - methodName: "ProxyV1internalGatewayV1internalPathDelete2Async", + operationId: "ProxyV1internalGatewayV1internalPathOptions2", + methodName: "ProxyV1internalGatewayV1internalPathOptions2Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathDelete2", - methodName: "ProxyV1internalGatewayV1internalPathDelete2Async", + operationId: "ProxyV1internalGatewayV1internalPathOptions2", + methodName: "ProxyV1internalGatewayV1internalPathOptions2Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathDelete2", - methodName: "ProxyV1internalGatewayV1internalPathDelete2Async", + operationId: "ProxyV1internalGatewayV1internalPathOptions2", + methodName: "ProxyV1internalGatewayV1internalPathOptions2Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalGatewayV1internalPathDelete2Response( + ProcessProxyV1internalGatewayV1internalPathOptions2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathDelete2", - methodName: "ProxyV1internalGatewayV1internalPathDelete2Async", + operationId: "ProxyV1internalGatewayV1internalPathOptions2", + methodName: "ProxyV1internalGatewayV1internalPathOptions2Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete2ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathDelete2", - methodName: "ProxyV1internalGatewayV1internalPathDelete2Async", + operationId: "ProxyV1internalGatewayV1internalPathOptions2", + methodName: "ProxyV1internalGatewayV1internalPathOptions2Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalGatewayV1internalPathDelete2ResponseContent( + ProcessProxyV1internalGatewayV1internalPathOptions2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathDelete3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions3.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathDelete3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions3.g.cs index 8b10007d..7958f6ba 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathDelete3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathDelete3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathOptions3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathDelete3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathOptions3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalGatewayV1internalPathDelete3SecurityRequirement0, + { s_ProxyV1internalGatewayV1internalPathOptions3SecurityRequirement0, }; - partial void PrepareProxyV1internalGatewayV1internalPathDelete3Arguments( + partial void PrepareProxyV1internalGatewayV1internalPathOptions3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalGatewayV1internalPathDelete3Request( + partial void PrepareProxyV1internalGatewayV1internalPathOptions3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalGatewayV1internalPathDelete3Response( + partial void ProcessProxyV1internalGatewayV1internalPathOptions3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalGatewayV1internalPathDelete3ResponseContent( + partial void ProcessProxyV1internalGatewayV1internalPathOptions3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete3ResponseContent( /// 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 ProxyV1internalGatewayV1internalPathDelete3Async( + public async global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathOptions3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalGatewayV1internalPathDelete3AsResponseAsync( + var __response = await ProxyV1internalGatewayV1internalPathOptions3AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete3ResponseContent( /// 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> ProxyV1internalGatewayV1internalPathDelete3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathOptions3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete3ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1internalGatewayV1internalPathDelete3Arguments( + PrepareProxyV1internalGatewayV1internalPathOptions3Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete3ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalGatewayV1internalPathDelete3SecurityRequirements, - operationName: "ProxyV1internalGatewayV1internalPathDelete3Async"); + securityRequirements: s_ProxyV1internalGatewayV1internalPathOptions3SecurityRequirements, + operationName: "ProxyV1internalGatewayV1internalPathOptions3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalGatewayV1internalPathDelete3Request( + PrepareProxyV1internalGatewayV1internalPathOptions3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathDelete3", - methodName: "ProxyV1internalGatewayV1internalPathDelete3Async", + operationId: "ProxyV1internalGatewayV1internalPathOptions3", + methodName: "ProxyV1internalGatewayV1internalPathOptions3Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathDelete3", - methodName: "ProxyV1internalGatewayV1internalPathDelete3Async", + operationId: "ProxyV1internalGatewayV1internalPathOptions3", + methodName: "ProxyV1internalGatewayV1internalPathOptions3Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathDelete3", - methodName: "ProxyV1internalGatewayV1internalPathDelete3Async", + operationId: "ProxyV1internalGatewayV1internalPathOptions3", + methodName: "ProxyV1internalGatewayV1internalPathOptions3Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalGatewayV1internalPathDelete3Response( + ProcessProxyV1internalGatewayV1internalPathOptions3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathDelete3", - methodName: "ProxyV1internalGatewayV1internalPathDelete3Async", + operationId: "ProxyV1internalGatewayV1internalPathOptions3", + methodName: "ProxyV1internalGatewayV1internalPathOptions3Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete3ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathDelete3", - methodName: "ProxyV1internalGatewayV1internalPathDelete3Async", + operationId: "ProxyV1internalGatewayV1internalPathOptions3", + methodName: "ProxyV1internalGatewayV1internalPathOptions3Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalGatewayV1internalPathDelete3ResponseContent( + ProcessProxyV1internalGatewayV1internalPathOptions3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathDelete4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions4.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathDelete4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions4.g.cs index 5f070b61..07ae5ee3 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathDelete4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathDelete4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathOptions4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathDelete4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathOptions4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalGatewayV1internalPathDelete4SecurityRequirement0, + { s_ProxyV1internalGatewayV1internalPathOptions4SecurityRequirement0, }; - partial void PrepareProxyV1internalGatewayV1internalPathDelete4Arguments( + partial void PrepareProxyV1internalGatewayV1internalPathOptions4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalGatewayV1internalPathDelete4Request( + partial void PrepareProxyV1internalGatewayV1internalPathOptions4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalGatewayV1internalPathDelete4Response( + partial void ProcessProxyV1internalGatewayV1internalPathOptions4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalGatewayV1internalPathDelete4ResponseContent( + partial void ProcessProxyV1internalGatewayV1internalPathOptions4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete4ResponseContent( /// 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 ProxyV1internalGatewayV1internalPathDelete4Async( + public async global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathOptions4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalGatewayV1internalPathDelete4AsResponseAsync( + var __response = await ProxyV1internalGatewayV1internalPathOptions4AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete4ResponseContent( /// 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> ProxyV1internalGatewayV1internalPathDelete4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathOptions4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete4ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1internalGatewayV1internalPathDelete4Arguments( + PrepareProxyV1internalGatewayV1internalPathOptions4Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete4ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalGatewayV1internalPathDelete4SecurityRequirements, - operationName: "ProxyV1internalGatewayV1internalPathDelete4Async"); + securityRequirements: s_ProxyV1internalGatewayV1internalPathOptions4SecurityRequirements, + operationName: "ProxyV1internalGatewayV1internalPathOptions4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalGatewayV1internalPathDelete4Request( + PrepareProxyV1internalGatewayV1internalPathOptions4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathDelete4", - methodName: "ProxyV1internalGatewayV1internalPathDelete4Async", + operationId: "ProxyV1internalGatewayV1internalPathOptions4", + methodName: "ProxyV1internalGatewayV1internalPathOptions4Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathDelete4", - methodName: "ProxyV1internalGatewayV1internalPathDelete4Async", + operationId: "ProxyV1internalGatewayV1internalPathOptions4", + methodName: "ProxyV1internalGatewayV1internalPathOptions4Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathDelete4", - methodName: "ProxyV1internalGatewayV1internalPathDelete4Async", + operationId: "ProxyV1internalGatewayV1internalPathOptions4", + methodName: "ProxyV1internalGatewayV1internalPathOptions4Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalGatewayV1internalPathDelete4Response( + ProcessProxyV1internalGatewayV1internalPathOptions4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathDelete4", - methodName: "ProxyV1internalGatewayV1internalPathDelete4Async", + operationId: "ProxyV1internalGatewayV1internalPathOptions4", + methodName: "ProxyV1internalGatewayV1internalPathOptions4Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete4ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathDelete4", - methodName: "ProxyV1internalGatewayV1internalPathDelete4Async", + operationId: "ProxyV1internalGatewayV1internalPathOptions4", + methodName: "ProxyV1internalGatewayV1internalPathOptions4Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalGatewayV1internalPathDelete4ResponseContent( + ProcessProxyV1internalGatewayV1internalPathOptions4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathDelete5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions5.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathDelete5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions5.g.cs index c18c18d4..08f3d07b 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathDelete5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathDelete5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathOptions5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathDelete5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathOptions5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalGatewayV1internalPathDelete5SecurityRequirement0, + { s_ProxyV1internalGatewayV1internalPathOptions5SecurityRequirement0, }; - partial void PrepareProxyV1internalGatewayV1internalPathDelete5Arguments( + partial void PrepareProxyV1internalGatewayV1internalPathOptions5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalGatewayV1internalPathDelete5Request( + partial void PrepareProxyV1internalGatewayV1internalPathOptions5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalGatewayV1internalPathDelete5Response( + partial void ProcessProxyV1internalGatewayV1internalPathOptions5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalGatewayV1internalPathDelete5ResponseContent( + partial void ProcessProxyV1internalGatewayV1internalPathOptions5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete5ResponseContent( /// 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 ProxyV1internalGatewayV1internalPathDelete5Async( + public async global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathOptions5Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalGatewayV1internalPathDelete5AsResponseAsync( + var __response = await ProxyV1internalGatewayV1internalPathOptions5AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete5ResponseContent( /// 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> ProxyV1internalGatewayV1internalPathDelete5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathOptions5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete5ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1internalGatewayV1internalPathDelete5Arguments( + PrepareProxyV1internalGatewayV1internalPathOptions5Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete5ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalGatewayV1internalPathDelete5SecurityRequirements, - operationName: "ProxyV1internalGatewayV1internalPathDelete5Async"); + securityRequirements: s_ProxyV1internalGatewayV1internalPathOptions5SecurityRequirements, + operationName: "ProxyV1internalGatewayV1internalPathOptions5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalGatewayV1internalPathDelete5Request( + PrepareProxyV1internalGatewayV1internalPathOptions5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathDelete5", - methodName: "ProxyV1internalGatewayV1internalPathDelete5Async", + operationId: "ProxyV1internalGatewayV1internalPathOptions5", + methodName: "ProxyV1internalGatewayV1internalPathOptions5Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathDelete5", - methodName: "ProxyV1internalGatewayV1internalPathDelete5Async", + operationId: "ProxyV1internalGatewayV1internalPathOptions5", + methodName: "ProxyV1internalGatewayV1internalPathOptions5Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathDelete5", - methodName: "ProxyV1internalGatewayV1internalPathDelete5Async", + operationId: "ProxyV1internalGatewayV1internalPathOptions5", + methodName: "ProxyV1internalGatewayV1internalPathOptions5Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalGatewayV1internalPathDelete5Response( + ProcessProxyV1internalGatewayV1internalPathOptions5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathDelete5", - methodName: "ProxyV1internalGatewayV1internalPathDelete5Async", + operationId: "ProxyV1internalGatewayV1internalPathOptions5", + methodName: "ProxyV1internalGatewayV1internalPathOptions5Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete5ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathDelete5", - methodName: "ProxyV1internalGatewayV1internalPathDelete5Async", + operationId: "ProxyV1internalGatewayV1internalPathOptions5", + methodName: "ProxyV1internalGatewayV1internalPathOptions5Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalGatewayV1internalPathDelete5ResponseContent( + ProcessProxyV1internalGatewayV1internalPathOptions5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathDelete6.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions6.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathDelete6.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions6.g.cs index e0c3c731..957634c9 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathDelete6.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalGatewayV1internalPathOptions6.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathDelete6SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalGatewayV1internalPathOptions6SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathDelete6SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalGatewayV1internalPathOptions6SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalGatewayV1internalPathDelete6SecurityRequirement0, + { s_ProxyV1internalGatewayV1internalPathOptions6SecurityRequirement0, }; - partial void PrepareProxyV1internalGatewayV1internalPathDelete6Arguments( + partial void PrepareProxyV1internalGatewayV1internalPathOptions6Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalGatewayV1internalPathDelete6Request( + partial void PrepareProxyV1internalGatewayV1internalPathOptions6Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalGatewayV1internalPathDelete6Response( + partial void ProcessProxyV1internalGatewayV1internalPathOptions6Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalGatewayV1internalPathDelete6ResponseContent( + partial void ProcessProxyV1internalGatewayV1internalPathOptions6ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete6ResponseContent( /// 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 ProxyV1internalGatewayV1internalPathDelete6Async( + public async global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathOptions6Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalGatewayV1internalPathDelete6AsResponseAsync( + var __response = await ProxyV1internalGatewayV1internalPathOptions6AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete6ResponseContent( /// 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> ProxyV1internalGatewayV1internalPathDelete6AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathOptions6AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete6ResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1internalGatewayV1internalPathDelete6Arguments( + PrepareProxyV1internalGatewayV1internalPathOptions6Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete6ResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalGatewayV1internalPathDelete6SecurityRequirements, - operationName: "ProxyV1internalGatewayV1internalPathDelete6Async"); + securityRequirements: s_ProxyV1internalGatewayV1internalPathOptions6SecurityRequirements, + operationName: "ProxyV1internalGatewayV1internalPathOptions6Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete6ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalGatewayV1internalPathDelete6Request( + PrepareProxyV1internalGatewayV1internalPathOptions6Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathDelete6", - methodName: "ProxyV1internalGatewayV1internalPathDelete6Async", + operationId: "ProxyV1internalGatewayV1internalPathOptions6", + methodName: "ProxyV1internalGatewayV1internalPathOptions6Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathDelete6", - methodName: "ProxyV1internalGatewayV1internalPathDelete6Async", + operationId: "ProxyV1internalGatewayV1internalPathOptions6", + methodName: "ProxyV1internalGatewayV1internalPathOptions6Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathDelete6", - methodName: "ProxyV1internalGatewayV1internalPathDelete6Async", + operationId: "ProxyV1internalGatewayV1internalPathOptions6", + methodName: "ProxyV1internalGatewayV1internalPathOptions6Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete6ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalGatewayV1internalPathDelete6Response( + ProcessProxyV1internalGatewayV1internalPathOptions6Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathDelete6", - methodName: "ProxyV1internalGatewayV1internalPathDelete6Async", + operationId: "ProxyV1internalGatewayV1internalPathOptions6", + methodName: "ProxyV1internalGatewayV1internalPathOptions6Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete6ResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalGatewayV1internalPathDelete6", - methodName: "ProxyV1internalGatewayV1internalPathDelete6Async", + operationId: "ProxyV1internalGatewayV1internalPathOptions6", + methodName: "ProxyV1internalGatewayV1internalPathOptions6Async", pathTemplate: "$\"/gateway/v1internal{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalGatewayV1internalPathDelete6ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalGatewayV1internalPathDelete6ResponseContent( + ProcessProxyV1internalGatewayV1internalPathOptions6ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathDelete.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathDelete.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions.g.cs index e21d27cc..1acb6dad 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathDelete.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathDeleteSecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathOptionsSecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathDeleteSecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathOptionsSecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalTokenwiseV1internalPathDeleteSecurityRequirement0, + { s_ProxyV1internalTokenwiseV1internalPathOptionsSecurityRequirement0, }; - partial void PrepareProxyV1internalTokenwiseV1internalPathDeleteArguments( + partial void PrepareProxyV1internalTokenwiseV1internalPathOptionsArguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalTokenwiseV1internalPathDeleteRequest( + partial void PrepareProxyV1internalTokenwiseV1internalPathOptionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalTokenwiseV1internalPathDeleteResponse( + partial void ProcessProxyV1internalTokenwiseV1internalPathOptionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalTokenwiseV1internalPathDeleteResponseContent( + partial void ProcessProxyV1internalTokenwiseV1internalPathOptionsResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDeleteResponseContent( /// 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 ProxyV1internalTokenwiseV1internalPathDeleteAsync( + public async global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathOptionsAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalTokenwiseV1internalPathDeleteAsResponseAsync( + var __response = await ProxyV1internalTokenwiseV1internalPathOptionsAsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDeleteResponseContent( /// 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> ProxyV1internalTokenwiseV1internalPathDeleteAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathOptionsAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDeleteResponseContent( { PrepareArguments( client: HttpClient); - PrepareProxyV1internalTokenwiseV1internalPathDeleteArguments( + PrepareProxyV1internalTokenwiseV1internalPathOptionsArguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDeleteResponseContent( var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalTokenwiseV1internalPathDeleteSecurityRequirements, - operationName: "ProxyV1internalTokenwiseV1internalPathDeleteAsync"); + securityRequirements: s_ProxyV1internalTokenwiseV1internalPathOptionsSecurityRequirements, + operationName: "ProxyV1internalTokenwiseV1internalPathOptionsAsync"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDeleteResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalTokenwiseV1internalPathDeleteRequest( + PrepareProxyV1internalTokenwiseV1internalPathOptionsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathDelete", - methodName: "ProxyV1internalTokenwiseV1internalPathDeleteAsync", + operationId: "ProxyV1internalTokenwiseV1internalPathOptions", + methodName: "ProxyV1internalTokenwiseV1internalPathOptionsAsync", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathDelete", - methodName: "ProxyV1internalTokenwiseV1internalPathDeleteAsync", + operationId: "ProxyV1internalTokenwiseV1internalPathOptions", + methodName: "ProxyV1internalTokenwiseV1internalPathOptionsAsync", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathDelete", - methodName: "ProxyV1internalTokenwiseV1internalPathDeleteAsync", + operationId: "ProxyV1internalTokenwiseV1internalPathOptions", + methodName: "ProxyV1internalTokenwiseV1internalPathOptionsAsync", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDeleteResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalTokenwiseV1internalPathDeleteResponse( + ProcessProxyV1internalTokenwiseV1internalPathOptionsResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathDelete", - methodName: "ProxyV1internalTokenwiseV1internalPathDeleteAsync", + operationId: "ProxyV1internalTokenwiseV1internalPathOptions", + methodName: "ProxyV1internalTokenwiseV1internalPathOptionsAsync", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDeleteResponseContent( await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathDelete", - methodName: "ProxyV1internalTokenwiseV1internalPathDeleteAsync", + operationId: "ProxyV1internalTokenwiseV1internalPathOptions", + methodName: "ProxyV1internalTokenwiseV1internalPathOptionsAsync", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDeleteResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalTokenwiseV1internalPathDeleteResponseContent( + ProcessProxyV1internalTokenwiseV1internalPathOptionsResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathDelete2.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions2.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathDelete2.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions2.g.cs index 57dd14a8..efc7abd2 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathDelete2.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions2.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathDelete2SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathOptions2SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathDelete2SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathOptions2SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalTokenwiseV1internalPathDelete2SecurityRequirement0, + { s_ProxyV1internalTokenwiseV1internalPathOptions2SecurityRequirement0, }; - partial void PrepareProxyV1internalTokenwiseV1internalPathDelete2Arguments( + partial void PrepareProxyV1internalTokenwiseV1internalPathOptions2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalTokenwiseV1internalPathDelete2Request( + partial void PrepareProxyV1internalTokenwiseV1internalPathOptions2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalTokenwiseV1internalPathDelete2Response( + partial void ProcessProxyV1internalTokenwiseV1internalPathOptions2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalTokenwiseV1internalPathDelete2ResponseContent( + partial void ProcessProxyV1internalTokenwiseV1internalPathOptions2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete2ResponseContent /// 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 ProxyV1internalTokenwiseV1internalPathDelete2Async( + public async global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathOptions2Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalTokenwiseV1internalPathDelete2AsResponseAsync( + var __response = await ProxyV1internalTokenwiseV1internalPathOptions2AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete2ResponseContent /// 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> ProxyV1internalTokenwiseV1internalPathDelete2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathOptions2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete2ResponseContent { PrepareArguments( client: HttpClient); - PrepareProxyV1internalTokenwiseV1internalPathDelete2Arguments( + PrepareProxyV1internalTokenwiseV1internalPathOptions2Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete2ResponseContent var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalTokenwiseV1internalPathDelete2SecurityRequirements, - operationName: "ProxyV1internalTokenwiseV1internalPathDelete2Async"); + securityRequirements: s_ProxyV1internalTokenwiseV1internalPathOptions2SecurityRequirements, + operationName: "ProxyV1internalTokenwiseV1internalPathOptions2Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete2ResponseContent PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalTokenwiseV1internalPathDelete2Request( + PrepareProxyV1internalTokenwiseV1internalPathOptions2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete2ResponseContent await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathDelete2", - methodName: "ProxyV1internalTokenwiseV1internalPathDelete2Async", + operationId: "ProxyV1internalTokenwiseV1internalPathOptions2", + methodName: "ProxyV1internalTokenwiseV1internalPathOptions2Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete2ResponseContent await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathDelete2", - methodName: "ProxyV1internalTokenwiseV1internalPathDelete2Async", + operationId: "ProxyV1internalTokenwiseV1internalPathOptions2", + methodName: "ProxyV1internalTokenwiseV1internalPathOptions2Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete2ResponseContent await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathDelete2", - methodName: "ProxyV1internalTokenwiseV1internalPathDelete2Async", + operationId: "ProxyV1internalTokenwiseV1internalPathOptions2", + methodName: "ProxyV1internalTokenwiseV1internalPathOptions2Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete2ResponseContent ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalTokenwiseV1internalPathDelete2Response( + ProcessProxyV1internalTokenwiseV1internalPathOptions2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete2ResponseContent await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathDelete2", - methodName: "ProxyV1internalTokenwiseV1internalPathDelete2Async", + operationId: "ProxyV1internalTokenwiseV1internalPathOptions2", + methodName: "ProxyV1internalTokenwiseV1internalPathOptions2Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete2ResponseContent await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathDelete2", - methodName: "ProxyV1internalTokenwiseV1internalPathDelete2Async", + operationId: "ProxyV1internalTokenwiseV1internalPathOptions2", + methodName: "ProxyV1internalTokenwiseV1internalPathOptions2Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete2ResponseContent client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalTokenwiseV1internalPathDelete2ResponseContent( + ProcessProxyV1internalTokenwiseV1internalPathOptions2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathDelete3.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions3.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathDelete3.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions3.g.cs index 192947cd..e664fb91 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathDelete3.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions3.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathDelete3SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathOptions3SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathDelete3SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathOptions3SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalTokenwiseV1internalPathDelete3SecurityRequirement0, + { s_ProxyV1internalTokenwiseV1internalPathOptions3SecurityRequirement0, }; - partial void PrepareProxyV1internalTokenwiseV1internalPathDelete3Arguments( + partial void PrepareProxyV1internalTokenwiseV1internalPathOptions3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalTokenwiseV1internalPathDelete3Request( + partial void PrepareProxyV1internalTokenwiseV1internalPathOptions3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalTokenwiseV1internalPathDelete3Response( + partial void ProcessProxyV1internalTokenwiseV1internalPathOptions3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalTokenwiseV1internalPathDelete3ResponseContent( + partial void ProcessProxyV1internalTokenwiseV1internalPathOptions3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete3ResponseContent /// 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 ProxyV1internalTokenwiseV1internalPathDelete3Async( + public async global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathOptions3Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalTokenwiseV1internalPathDelete3AsResponseAsync( + var __response = await ProxyV1internalTokenwiseV1internalPathOptions3AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete3ResponseContent /// 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> ProxyV1internalTokenwiseV1internalPathDelete3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathOptions3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete3ResponseContent { PrepareArguments( client: HttpClient); - PrepareProxyV1internalTokenwiseV1internalPathDelete3Arguments( + PrepareProxyV1internalTokenwiseV1internalPathOptions3Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete3ResponseContent var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalTokenwiseV1internalPathDelete3SecurityRequirements, - operationName: "ProxyV1internalTokenwiseV1internalPathDelete3Async"); + securityRequirements: s_ProxyV1internalTokenwiseV1internalPathOptions3SecurityRequirements, + operationName: "ProxyV1internalTokenwiseV1internalPathOptions3Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete3ResponseContent PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalTokenwiseV1internalPathDelete3Request( + PrepareProxyV1internalTokenwiseV1internalPathOptions3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete3ResponseContent await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathDelete3", - methodName: "ProxyV1internalTokenwiseV1internalPathDelete3Async", + operationId: "ProxyV1internalTokenwiseV1internalPathOptions3", + methodName: "ProxyV1internalTokenwiseV1internalPathOptions3Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete3ResponseContent await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathDelete3", - methodName: "ProxyV1internalTokenwiseV1internalPathDelete3Async", + operationId: "ProxyV1internalTokenwiseV1internalPathOptions3", + methodName: "ProxyV1internalTokenwiseV1internalPathOptions3Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete3ResponseContent await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathDelete3", - methodName: "ProxyV1internalTokenwiseV1internalPathDelete3Async", + operationId: "ProxyV1internalTokenwiseV1internalPathOptions3", + methodName: "ProxyV1internalTokenwiseV1internalPathOptions3Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete3ResponseContent ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalTokenwiseV1internalPathDelete3Response( + ProcessProxyV1internalTokenwiseV1internalPathOptions3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete3ResponseContent await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathDelete3", - methodName: "ProxyV1internalTokenwiseV1internalPathDelete3Async", + operationId: "ProxyV1internalTokenwiseV1internalPathOptions3", + methodName: "ProxyV1internalTokenwiseV1internalPathOptions3Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete3ResponseContent await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathDelete3", - methodName: "ProxyV1internalTokenwiseV1internalPathDelete3Async", + operationId: "ProxyV1internalTokenwiseV1internalPathOptions3", + methodName: "ProxyV1internalTokenwiseV1internalPathOptions3Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete3ResponseContent client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalTokenwiseV1internalPathDelete3ResponseContent( + ProcessProxyV1internalTokenwiseV1internalPathOptions3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathDelete4.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions4.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathDelete4.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions4.g.cs index 2191c0e5..6dbf5087 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathDelete4.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions4.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathDelete4SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathOptions4SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathDelete4SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathOptions4SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalTokenwiseV1internalPathDelete4SecurityRequirement0, + { s_ProxyV1internalTokenwiseV1internalPathOptions4SecurityRequirement0, }; - partial void PrepareProxyV1internalTokenwiseV1internalPathDelete4Arguments( + partial void PrepareProxyV1internalTokenwiseV1internalPathOptions4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalTokenwiseV1internalPathDelete4Request( + partial void PrepareProxyV1internalTokenwiseV1internalPathOptions4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalTokenwiseV1internalPathDelete4Response( + partial void ProcessProxyV1internalTokenwiseV1internalPathOptions4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalTokenwiseV1internalPathDelete4ResponseContent( + partial void ProcessProxyV1internalTokenwiseV1internalPathOptions4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete4ResponseContent /// 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 ProxyV1internalTokenwiseV1internalPathDelete4Async( + public async global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathOptions4Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalTokenwiseV1internalPathDelete4AsResponseAsync( + var __response = await ProxyV1internalTokenwiseV1internalPathOptions4AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete4ResponseContent /// 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> ProxyV1internalTokenwiseV1internalPathDelete4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathOptions4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete4ResponseContent { PrepareArguments( client: HttpClient); - PrepareProxyV1internalTokenwiseV1internalPathDelete4Arguments( + PrepareProxyV1internalTokenwiseV1internalPathOptions4Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete4ResponseContent var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalTokenwiseV1internalPathDelete4SecurityRequirements, - operationName: "ProxyV1internalTokenwiseV1internalPathDelete4Async"); + securityRequirements: s_ProxyV1internalTokenwiseV1internalPathOptions4SecurityRequirements, + operationName: "ProxyV1internalTokenwiseV1internalPathOptions4Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete4ResponseContent PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalTokenwiseV1internalPathDelete4Request( + PrepareProxyV1internalTokenwiseV1internalPathOptions4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete4ResponseContent await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathDelete4", - methodName: "ProxyV1internalTokenwiseV1internalPathDelete4Async", + operationId: "ProxyV1internalTokenwiseV1internalPathOptions4", + methodName: "ProxyV1internalTokenwiseV1internalPathOptions4Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete4ResponseContent await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathDelete4", - methodName: "ProxyV1internalTokenwiseV1internalPathDelete4Async", + operationId: "ProxyV1internalTokenwiseV1internalPathOptions4", + methodName: "ProxyV1internalTokenwiseV1internalPathOptions4Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete4ResponseContent await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathDelete4", - methodName: "ProxyV1internalTokenwiseV1internalPathDelete4Async", + operationId: "ProxyV1internalTokenwiseV1internalPathOptions4", + methodName: "ProxyV1internalTokenwiseV1internalPathOptions4Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete4ResponseContent ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalTokenwiseV1internalPathDelete4Response( + ProcessProxyV1internalTokenwiseV1internalPathOptions4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete4ResponseContent await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathDelete4", - methodName: "ProxyV1internalTokenwiseV1internalPathDelete4Async", + operationId: "ProxyV1internalTokenwiseV1internalPathOptions4", + methodName: "ProxyV1internalTokenwiseV1internalPathOptions4Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete4ResponseContent await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathDelete4", - methodName: "ProxyV1internalTokenwiseV1internalPathDelete4Async", + operationId: "ProxyV1internalTokenwiseV1internalPathOptions4", + methodName: "ProxyV1internalTokenwiseV1internalPathOptions4Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete4ResponseContent client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalTokenwiseV1internalPathDelete4ResponseContent( + ProcessProxyV1internalTokenwiseV1internalPathOptions4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathDelete5.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions5.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathDelete5.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions5.g.cs index 923822c6..54c535f8 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathDelete5.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions5.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathDelete5SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathOptions5SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathDelete5SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathOptions5SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalTokenwiseV1internalPathDelete5SecurityRequirement0, + { s_ProxyV1internalTokenwiseV1internalPathOptions5SecurityRequirement0, }; - partial void PrepareProxyV1internalTokenwiseV1internalPathDelete5Arguments( + partial void PrepareProxyV1internalTokenwiseV1internalPathOptions5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalTokenwiseV1internalPathDelete5Request( + partial void PrepareProxyV1internalTokenwiseV1internalPathOptions5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalTokenwiseV1internalPathDelete5Response( + partial void ProcessProxyV1internalTokenwiseV1internalPathOptions5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalTokenwiseV1internalPathDelete5ResponseContent( + partial void ProcessProxyV1internalTokenwiseV1internalPathOptions5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete5ResponseContent /// 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 ProxyV1internalTokenwiseV1internalPathDelete5Async( + public async global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathOptions5Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalTokenwiseV1internalPathDelete5AsResponseAsync( + var __response = await ProxyV1internalTokenwiseV1internalPathOptions5AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete5ResponseContent /// 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> ProxyV1internalTokenwiseV1internalPathDelete5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathOptions5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete5ResponseContent { PrepareArguments( client: HttpClient); - PrepareProxyV1internalTokenwiseV1internalPathDelete5Arguments( + PrepareProxyV1internalTokenwiseV1internalPathOptions5Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete5ResponseContent var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalTokenwiseV1internalPathDelete5SecurityRequirements, - operationName: "ProxyV1internalTokenwiseV1internalPathDelete5Async"); + securityRequirements: s_ProxyV1internalTokenwiseV1internalPathOptions5SecurityRequirements, + operationName: "ProxyV1internalTokenwiseV1internalPathOptions5Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete5ResponseContent PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalTokenwiseV1internalPathDelete5Request( + PrepareProxyV1internalTokenwiseV1internalPathOptions5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete5ResponseContent await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathDelete5", - methodName: "ProxyV1internalTokenwiseV1internalPathDelete5Async", + operationId: "ProxyV1internalTokenwiseV1internalPathOptions5", + methodName: "ProxyV1internalTokenwiseV1internalPathOptions5Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete5ResponseContent await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathDelete5", - methodName: "ProxyV1internalTokenwiseV1internalPathDelete5Async", + operationId: "ProxyV1internalTokenwiseV1internalPathOptions5", + methodName: "ProxyV1internalTokenwiseV1internalPathOptions5Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete5ResponseContent await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathDelete5", - methodName: "ProxyV1internalTokenwiseV1internalPathDelete5Async", + operationId: "ProxyV1internalTokenwiseV1internalPathOptions5", + methodName: "ProxyV1internalTokenwiseV1internalPathOptions5Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete5ResponseContent ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalTokenwiseV1internalPathDelete5Response( + ProcessProxyV1internalTokenwiseV1internalPathOptions5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete5ResponseContent await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathDelete5", - methodName: "ProxyV1internalTokenwiseV1internalPathDelete5Async", + operationId: "ProxyV1internalTokenwiseV1internalPathOptions5", + methodName: "ProxyV1internalTokenwiseV1internalPathOptions5Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete5ResponseContent await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathDelete5", - methodName: "ProxyV1internalTokenwiseV1internalPathDelete5Async", + operationId: "ProxyV1internalTokenwiseV1internalPathOptions5", + methodName: "ProxyV1internalTokenwiseV1internalPathOptions5Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "OPTIONS", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete5ResponseContent client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalTokenwiseV1internalPathDelete5ResponseContent( + ProcessProxyV1internalTokenwiseV1internalPathOptions5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathDelete6.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions6.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathDelete6.g.cs rename to src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions6.g.cs index 9da48b0a..9d2d7003 100644 --- a/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathDelete6.g.cs +++ b/src/libs/AI21/Generated/AI21.Ai21Client.ProxyV1internalTokenwiseV1internalPathOptions6.g.cs @@ -7,7 +7,7 @@ public partial class Ai21Client { - private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathDelete6SecurityRequirement0 = + private static readonly global::AI21.EndPointSecurityRequirement s_ProxyV1internalTokenwiseV1internalPathOptions6SecurityRequirement0 = new global::AI21.EndPointSecurityRequirement { Authorizations = new global::AI21.EndPointAuthorizationRequirement[] @@ -21,24 +21,24 @@ public partial class Ai21Client }, }, }; - private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathDelete6SecurityRequirements = + private static readonly global::AI21.EndPointSecurityRequirement[] s_ProxyV1internalTokenwiseV1internalPathOptions6SecurityRequirements = new global::AI21.EndPointSecurityRequirement[] - { s_ProxyV1internalTokenwiseV1internalPathDelete6SecurityRequirement0, + { s_ProxyV1internalTokenwiseV1internalPathOptions6SecurityRequirement0, }; - partial void PrepareProxyV1internalTokenwiseV1internalPathDelete6Arguments( + partial void PrepareProxyV1internalTokenwiseV1internalPathOptions6Arguments( global::System.Net.Http.HttpClient httpClient, ref string path, ref string? xAi21Key); - partial void PrepareProxyV1internalTokenwiseV1internalPathDelete6Request( + partial void PrepareProxyV1internalTokenwiseV1internalPathOptions6Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path, string? xAi21Key); - partial void ProcessProxyV1internalTokenwiseV1internalPathDelete6Response( + partial void ProcessProxyV1internalTokenwiseV1internalPathOptions6Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyV1internalTokenwiseV1internalPathDelete6ResponseContent( + partial void ProcessProxyV1internalTokenwiseV1internalPathOptions6ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -52,13 +52,13 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete6ResponseContent /// 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 ProxyV1internalTokenwiseV1internalPathDelete6Async( + public async global::System.Threading.Tasks.Task ProxyV1internalTokenwiseV1internalPathOptions6Async( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyV1internalTokenwiseV1internalPathDelete6AsResponseAsync( + var __response = await ProxyV1internalTokenwiseV1internalPathOptions6AsResponseAsync( path: path, xAi21Key: xAi21Key, requestOptions: requestOptions, @@ -76,7 +76,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete6ResponseContent /// 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> ProxyV1internalTokenwiseV1internalPathDelete6AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyV1internalTokenwiseV1internalPathOptions6AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, @@ -84,7 +84,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete6ResponseContent { PrepareArguments( client: HttpClient); - PrepareProxyV1internalTokenwiseV1internalPathDelete6Arguments( + PrepareProxyV1internalTokenwiseV1internalPathOptions6Arguments( httpClient: HttpClient, path: ref path, xAi21Key: ref xAi21Key); @@ -92,8 +92,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete6ResponseContent var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyV1internalTokenwiseV1internalPathDelete6SecurityRequirements, - operationName: "ProxyV1internalTokenwiseV1internalPathDelete6Async"); + securityRequirements: s_ProxyV1internalTokenwiseV1internalPathOptions6SecurityRequirements, + operationName: "ProxyV1internalTokenwiseV1internalPathOptions6Async"); using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -158,7 +158,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete6ResponseContent PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyV1internalTokenwiseV1internalPathDelete6Request( + PrepareProxyV1internalTokenwiseV1internalPathOptions6Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!, @@ -179,8 +179,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete6ResponseContent await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathDelete6", - methodName: "ProxyV1internalTokenwiseV1internalPathDelete6Async", + operationId: "ProxyV1internalTokenwiseV1internalPathOptions6", + methodName: "ProxyV1internalTokenwiseV1internalPathOptions6Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -213,8 +213,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete6ResponseContent await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathDelete6", - methodName: "ProxyV1internalTokenwiseV1internalPathDelete6Async", + operationId: "ProxyV1internalTokenwiseV1internalPathOptions6", + methodName: "ProxyV1internalTokenwiseV1internalPathOptions6Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -254,8 +254,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete6ResponseContent await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathDelete6", - methodName: "ProxyV1internalTokenwiseV1internalPathDelete6Async", + operationId: "ProxyV1internalTokenwiseV1internalPathOptions6", + methodName: "ProxyV1internalTokenwiseV1internalPathOptions6Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -294,7 +294,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete6ResponseContent ProcessResponse( client: HttpClient, response: __response); - ProcessProxyV1internalTokenwiseV1internalPathDelete6Response( + ProcessProxyV1internalTokenwiseV1internalPathOptions6Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -302,8 +302,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete6ResponseContent await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathDelete6", - methodName: "ProxyV1internalTokenwiseV1internalPathDelete6Async", + operationId: "ProxyV1internalTokenwiseV1internalPathOptions6", + methodName: "ProxyV1internalTokenwiseV1internalPathOptions6Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -324,8 +324,8 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete6ResponseContent await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyV1internalTokenwiseV1internalPathDelete6", - methodName: "ProxyV1internalTokenwiseV1internalPathDelete6Async", + operationId: "ProxyV1internalTokenwiseV1internalPathOptions6", + methodName: "ProxyV1internalTokenwiseV1internalPathOptions6Async", pathTemplate: "$\"/tokenwise/v1internal{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -391,7 +391,7 @@ partial void ProcessProxyV1internalTokenwiseV1internalPathDelete6ResponseContent client: HttpClient, response: __response, content: ref __content); - ProcessProxyV1internalTokenwiseV1internalPathDelete6ResponseContent( + ProcessProxyV1internalTokenwiseV1internalPathOptions6ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.UpdateProviderKeyGatewaySettingsProviderKeysPut.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.UpdateProviderKeyGatewaySettingsProviderKeysPut.g.cs new file mode 100644 index 00000000..fd4cb2aa --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Ai21Client.UpdateProviderKeyGatewaySettingsProviderKeysPut.g.cs @@ -0,0 +1,508 @@ + +#nullable enable + +namespace AI21 +{ + public partial class Ai21Client + { + + + private static readonly global::AI21.EndPointSecurityRequirement s_UpdateProviderKeyGatewaySettingsProviderKeysPutSecurityRequirement0 = + new global::AI21.EndPointSecurityRequirement + { + Authorizations = new global::AI21.EndPointAuthorizationRequirement[] + { new global::AI21.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AI21.EndPointSecurityRequirement[] s_UpdateProviderKeyGatewaySettingsProviderKeysPutSecurityRequirements = + new global::AI21.EndPointSecurityRequirement[] + { s_UpdateProviderKeyGatewaySettingsProviderKeysPutSecurityRequirement0, + }; + partial void PrepareUpdateProviderKeyGatewaySettingsProviderKeysPutArguments( + global::System.Net.Http.HttpClient httpClient, + global::AI21.ProviderKeyUpdate request); + partial void PrepareUpdateProviderKeyGatewaySettingsProviderKeysPutRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::AI21.ProviderKeyUpdate request); + partial void ProcessUpdateProviderKeyGatewaySettingsProviderKeysPutResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessUpdateProviderKeyGatewaySettingsProviderKeysPutResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Update Provider Key
+ /// Rotate the workspace's key for a provider. 404 if none is configured.
+ /// Full replacement, not a partial update — unlike the agent/config mirrors there
+ /// is no ``exclude_unset``, because ``api_key`` is the whole point of the call. + ///
+ /// + /// 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 UpdateProviderKeyGatewaySettingsProviderKeysPutAsync( + + global::AI21.ProviderKeyUpdate request, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await UpdateProviderKeyGatewaySettingsProviderKeysPutAsResponseAsync( + + request: request, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Update Provider Key
+ /// Rotate the workspace's key for a provider. 404 if none is configured.
+ /// Full replacement, not a partial update — unlike the agent/config mirrors there
+ /// is no ``exclude_unset``, because ``api_key`` is the whole point of the call. + ///
+ /// + /// 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> UpdateProviderKeyGatewaySettingsProviderKeysPutAsResponseAsync( + + global::AI21.ProviderKeyUpdate request, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PrepareUpdateProviderKeyGatewaySettingsProviderKeysPutArguments( + httpClient: HttpClient, + request: request); + + + var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_UpdateProviderKeyGatewaySettingsProviderKeysPutSecurityRequirements, + operationName: "UpdateProviderKeyGatewaySettingsProviderKeysPutAsync"); + + using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AI21.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AI21.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AI21.PathBuilder( + path: "/gateway/settings/provider-keys", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::AI21.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Put, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + __httpRequest.Content = __httpRequestContent; + global::AI21.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareUpdateProviderKeyGatewaySettingsProviderKeysPutRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + request: request); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateProviderKeyGatewaySettingsProviderKeysPut", + methodName: "UpdateProviderKeyGatewaySettingsProviderKeysPutAsync", + pathTemplate: "\"/gateway/settings/provider-keys\"", + httpMethod: "PUT", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AI21.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateProviderKeyGatewaySettingsProviderKeysPut", + methodName: "UpdateProviderKeyGatewaySettingsProviderKeysPutAsync", + pathTemplate: "\"/gateway/settings/provider-keys\"", + httpMethod: "PUT", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AI21.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AI21.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AI21.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateProviderKeyGatewaySettingsProviderKeysPut", + methodName: "UpdateProviderKeyGatewaySettingsProviderKeysPutAsync", + pathTemplate: "\"/gateway/settings/provider-keys\"", + httpMethod: "PUT", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AI21.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessUpdateProviderKeyGatewaySettingsProviderKeysPutResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateProviderKeyGatewaySettingsProviderKeysPut", + methodName: "UpdateProviderKeyGatewaySettingsProviderKeysPutAsync", + pathTemplate: "\"/gateway/settings/provider-keys\"", + httpMethod: "PUT", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateProviderKeyGatewaySettingsProviderKeysPut", + methodName: "UpdateProviderKeyGatewaySettingsProviderKeysPutAsync", + pathTemplate: "\"/gateway/settings/provider-keys\"", + httpMethod: "PUT", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Validation Error + if ((int)__response.StatusCode == 422) + { + string? __content_422 = null; + global::System.Exception? __exception_422 = null; + global::AI21.HTTPValidationError? __value_422 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_422 = global::AI21.HTTPValidationError.FromJson(__content_422, JsonSerializerContext); + } + else + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_422 = global::AI21.HTTPValidationError.FromJson(__content_422, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_422 = __ex; + } + + + throw global::AI21.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_422 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_422, + responseBody: __content_422, + responseObject: __value_422, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessUpdateProviderKeyGatewaySettingsProviderKeysPutResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AI21.ProviderKeyOut.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AI21.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AI21.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AI21.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AI21.ProviderKeyOut.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AI21.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AI21.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AI21.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// Update Provider Key
+ /// Rotate the workspace's key for a provider. 404 if none is configured.
+ /// Full replacement, not a partial update — unlike the agent/config mirrors there
+ /// is no ``exclude_unset``, because ``api_key`` is the whole point of the call. + ///
+ /// + /// + /// Included only in requests + /// + /// 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 UpdateProviderKeyGatewaySettingsProviderKeysPutAsync( + string provider, + string? apiKey = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::AI21.ProviderKeyUpdate + { + Provider = provider, + ApiKey = apiKey, + }; + + return await UpdateProviderKeyGatewaySettingsProviderKeysPutAsync( + request: __request, + requestOptions: requestOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Ai21Client.UpdateProviderKeyTokenwiseSettingsProviderKeysPut.g.cs b/src/libs/AI21/Generated/AI21.Ai21Client.UpdateProviderKeyTokenwiseSettingsProviderKeysPut.g.cs new file mode 100644 index 00000000..13377f0c --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Ai21Client.UpdateProviderKeyTokenwiseSettingsProviderKeysPut.g.cs @@ -0,0 +1,508 @@ + +#nullable enable + +namespace AI21 +{ + public partial class Ai21Client + { + + + private static readonly global::AI21.EndPointSecurityRequirement s_UpdateProviderKeyTokenwiseSettingsProviderKeysPutSecurityRequirement0 = + new global::AI21.EndPointSecurityRequirement + { + Authorizations = new global::AI21.EndPointAuthorizationRequirement[] + { new global::AI21.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::AI21.EndPointSecurityRequirement[] s_UpdateProviderKeyTokenwiseSettingsProviderKeysPutSecurityRequirements = + new global::AI21.EndPointSecurityRequirement[] + { s_UpdateProviderKeyTokenwiseSettingsProviderKeysPutSecurityRequirement0, + }; + partial void PrepareUpdateProviderKeyTokenwiseSettingsProviderKeysPutArguments( + global::System.Net.Http.HttpClient httpClient, + global::AI21.ProviderKeyUpdate request); + partial void PrepareUpdateProviderKeyTokenwiseSettingsProviderKeysPutRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::AI21.ProviderKeyUpdate request); + partial void ProcessUpdateProviderKeyTokenwiseSettingsProviderKeysPutResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessUpdateProviderKeyTokenwiseSettingsProviderKeysPutResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Update Provider Key
+ /// Rotate the workspace's key for a provider. 404 if none is configured.
+ /// Full replacement, not a partial update — unlike the agent/config mirrors there
+ /// is no ``exclude_unset``, because ``api_key`` is the whole point of the call. + ///
+ /// + /// 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 UpdateProviderKeyTokenwiseSettingsProviderKeysPutAsync( + + global::AI21.ProviderKeyUpdate request, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await UpdateProviderKeyTokenwiseSettingsProviderKeysPutAsResponseAsync( + + request: request, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Update Provider Key
+ /// Rotate the workspace's key for a provider. 404 if none is configured.
+ /// Full replacement, not a partial update — unlike the agent/config mirrors there
+ /// is no ``exclude_unset``, because ``api_key`` is the whole point of the call. + ///
+ /// + /// 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> UpdateProviderKeyTokenwiseSettingsProviderKeysPutAsResponseAsync( + + global::AI21.ProviderKeyUpdate request, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PrepareUpdateProviderKeyTokenwiseSettingsProviderKeysPutArguments( + httpClient: HttpClient, + request: request); + + + var __authorizations = global::AI21.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_UpdateProviderKeyTokenwiseSettingsProviderKeysPutSecurityRequirements, + operationName: "UpdateProviderKeyTokenwiseSettingsProviderKeysPutAsync"); + + using var __timeoutCancellationTokenSource = global::AI21.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::AI21.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::AI21.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::AI21.PathBuilder( + path: "/tokenwise/settings/provider-keys", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::AI21.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Put, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + __httpRequest.Content = __httpRequestContent; + global::AI21.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareUpdateProviderKeyTokenwiseSettingsProviderKeysPutRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + request: request); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::AI21.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateProviderKeyTokenwiseSettingsProviderKeysPut", + methodName: "UpdateProviderKeyTokenwiseSettingsProviderKeysPutAsync", + pathTemplate: "\"/tokenwise/settings/provider-keys\"", + httpMethod: "PUT", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::AI21.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateProviderKeyTokenwiseSettingsProviderKeysPut", + methodName: "UpdateProviderKeyTokenwiseSettingsProviderKeysPutAsync", + pathTemplate: "\"/tokenwise/settings/provider-keys\"", + httpMethod: "PUT", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::AI21.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::AI21.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::AI21.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateProviderKeyTokenwiseSettingsProviderKeysPut", + methodName: "UpdateProviderKeyTokenwiseSettingsProviderKeysPutAsync", + pathTemplate: "\"/tokenwise/settings/provider-keys\"", + httpMethod: "PUT", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::AI21.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessUpdateProviderKeyTokenwiseSettingsProviderKeysPutResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateProviderKeyTokenwiseSettingsProviderKeysPut", + methodName: "UpdateProviderKeyTokenwiseSettingsProviderKeysPutAsync", + pathTemplate: "\"/tokenwise/settings/provider-keys\"", + httpMethod: "PUT", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::AI21.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::AI21.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UpdateProviderKeyTokenwiseSettingsProviderKeysPut", + methodName: "UpdateProviderKeyTokenwiseSettingsProviderKeysPutAsync", + pathTemplate: "\"/tokenwise/settings/provider-keys\"", + httpMethod: "PUT", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Validation Error + if ((int)__response.StatusCode == 422) + { + string? __content_422 = null; + global::System.Exception? __exception_422 = null; + global::AI21.HTTPValidationError? __value_422 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_422 = global::AI21.HTTPValidationError.FromJson(__content_422, JsonSerializerContext); + } + else + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_422 = global::AI21.HTTPValidationError.FromJson(__content_422, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_422 = __ex; + } + + + throw global::AI21.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_422 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_422, + responseBody: __content_422, + responseObject: __value_422, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessUpdateProviderKeyTokenwiseSettingsProviderKeysPutResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::AI21.ProviderKeyOut.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::AI21.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AI21.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::AI21.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::AI21.ProviderKeyOut.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::AI21.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::AI21.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::AI21.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// Update Provider Key
+ /// Rotate the workspace's key for a provider. 404 if none is configured.
+ /// Full replacement, not a partial update — unlike the agent/config mirrors there
+ /// is no ``exclude_unset``, because ``api_key`` is the whole point of the call. + ///
+ /// + /// + /// Included only in requests + /// + /// 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 UpdateProviderKeyTokenwiseSettingsProviderKeysPutAsync( + string provider, + string? apiKey = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::AI21.ProviderKeyUpdate + { + Provider = provider, + ApiKey = apiKey, + }; + + return await UpdateProviderKeyTokenwiseSettingsProviderKeysPutAsync( + request: __request, + requestOptions: requestOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.CreateProviderKeyGatewaySettingsProviderKeysPost.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.CreateProviderKeyGatewaySettingsProviderKeysPost.g.cs new file mode 100644 index 00000000..448b51e8 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.CreateProviderKeyGatewaySettingsProviderKeysPost.g.cs @@ -0,0 +1,50 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Create Provider Key
+ /// Store a provider key for the workspace. 409 if one already exists. + ///
+ /// + /// 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 CreateProviderKeyGatewaySettingsProviderKeysPostAsync( + + global::AI21.ProviderKeyCreate request, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Create Provider Key
+ /// Store a provider key for the workspace. 409 if one already exists. + ///
+ /// + /// 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> CreateProviderKeyGatewaySettingsProviderKeysPostAsResponseAsync( + + global::AI21.ProviderKeyCreate request, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Create Provider Key
+ /// Store a provider key for the workspace. 409 if one already exists. + ///
+ /// + /// + /// Included only in requests + /// + /// 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 CreateProviderKeyGatewaySettingsProviderKeysPostAsync( + string provider, + string? apiKey = 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.CreateProviderKeyTokenwiseSettingsProviderKeysPost.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.CreateProviderKeyTokenwiseSettingsProviderKeysPost.g.cs new file mode 100644 index 00000000..6aa690f3 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.CreateProviderKeyTokenwiseSettingsProviderKeysPost.g.cs @@ -0,0 +1,50 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Create Provider Key
+ /// Store a provider key for the workspace. 409 if one already exists. + ///
+ /// + /// 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 CreateProviderKeyTokenwiseSettingsProviderKeysPostAsync( + + global::AI21.ProviderKeyCreate request, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Create Provider Key
+ /// Store a provider key for the workspace. 409 if one already exists. + ///
+ /// + /// 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> CreateProviderKeyTokenwiseSettingsProviderKeysPostAsResponseAsync( + + global::AI21.ProviderKeyCreate request, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Create Provider Key
+ /// Store a provider key for the workspace. 409 if one already exists. + ///
+ /// + /// + /// Included only in requests + /// + /// 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 CreateProviderKeyTokenwiseSettingsProviderKeysPostAsync( + string provider, + string? apiKey = 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.DeleteProviderKeyGatewaySettingsProviderKeysDelete.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.DeleteProviderKeyGatewaySettingsProviderKeysDelete.g.cs new file mode 100644 index 00000000..b01b6fc3 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.DeleteProviderKeyGatewaySettingsProviderKeysDelete.g.cs @@ -0,0 +1,32 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Delete Provider Key
+ /// Delete the workspace's key for a provider. 404 if none is configured. + ///
+ /// + /// 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 DeleteProviderKeyGatewaySettingsProviderKeysDeleteAsync( + string provider, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Delete Provider Key
+ /// Delete the workspace's key for a provider. 404 if none is configured. + ///
+ /// + /// 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 DeleteProviderKeyGatewaySettingsProviderKeysDeleteAsResponseAsync( + string provider, + 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.DeleteProviderKeyTokenwiseSettingsProviderKeysDelete.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.DeleteProviderKeyTokenwiseSettingsProviderKeysDelete.g.cs new file mode 100644 index 00000000..c8d66b67 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.DeleteProviderKeyTokenwiseSettingsProviderKeysDelete.g.cs @@ -0,0 +1,32 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Delete Provider Key
+ /// Delete the workspace's key for a provider. 404 if none is configured. + ///
+ /// + /// 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 DeleteProviderKeyTokenwiseSettingsProviderKeysDeleteAsync( + string provider, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Delete Provider Key
+ /// Delete the workspace's key for a provider. 404 if none is configured. + ///
+ /// + /// 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 DeleteProviderKeyTokenwiseSettingsProviderKeysDeleteAsResponseAsync( + string provider, + 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.ListProviderKeysGatewaySettingsProviderKeysGet.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ListProviderKeysGatewaySettingsProviderKeysGet.g.cs new file mode 100644 index 00000000..8e81df61 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ListProviderKeysGatewaySettingsProviderKeysGet.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// List Provider Keys
+ /// The workspace's provider keys, masked.
+ /// One endpoint, two shapes, mirroring the BFF: without ``provider`` it lists
+ /// every key for the workspace; with one it returns that single key, or 404 if
+ /// the workspace has none for it. The union response model is the honest
+ /// declaration of that — see ``provider_keys/router.py::list_provider_keys``.
+ /// ``provider`` is bounded here so an explicitly empty ``?provider=`` fails with
+ /// 422 at this edge rather than making the round trip (the BFF rejects it too);
+ /// omitting it entirely is the list case. It rides through on the forwarded query
+ /// string — see ``tokenwise_service._build_gateway_request``. + ///
+ /// + /// 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, global::AI21.ProviderKeyOut>> ListProviderKeysGatewaySettingsProviderKeysGetAsync( + string? provider = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// List Provider Keys
+ /// The workspace's provider keys, masked.
+ /// One endpoint, two shapes, mirroring the BFF: without ``provider`` it lists
+ /// every key for the workspace; with one it returns that single key, or 404 if
+ /// the workspace has none for it. The union response model is the honest
+ /// declaration of that — see ``provider_keys/router.py::list_provider_keys``.
+ /// ``provider`` is bounded here so an explicitly empty ``?provider=`` fails with
+ /// 422 at this edge rather than making the round trip (the BFF rejects it too);
+ /// omitting it entirely is the list case. It rides through on the forwarded query
+ /// string — see ``tokenwise_service._build_gateway_request``. + ///
+ /// + /// 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, global::AI21.ProviderKeyOut>>> ListProviderKeysGatewaySettingsProviderKeysGetAsResponseAsync( + string? provider = 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.ListProviderKeysTokenwiseSettingsProviderKeysGet.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ListProviderKeysTokenwiseSettingsProviderKeysGet.g.cs new file mode 100644 index 00000000..3c6ac7af --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ListProviderKeysTokenwiseSettingsProviderKeysGet.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// List Provider Keys
+ /// The workspace's provider keys, masked.
+ /// One endpoint, two shapes, mirroring the BFF: without ``provider`` it lists
+ /// every key for the workspace; with one it returns that single key, or 404 if
+ /// the workspace has none for it. The union response model is the honest
+ /// declaration of that — see ``provider_keys/router.py::list_provider_keys``.
+ /// ``provider`` is bounded here so an explicitly empty ``?provider=`` fails with
+ /// 422 at this edge rather than making the round trip (the BFF rejects it too);
+ /// omitting it entirely is the list case. It rides through on the forwarded query
+ /// string — see ``tokenwise_service._build_gateway_request``. + ///
+ /// + /// 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, global::AI21.ProviderKeyOut>> ListProviderKeysTokenwiseSettingsProviderKeysGetAsync( + string? provider = default, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// List Provider Keys
+ /// The workspace's provider keys, masked.
+ /// One endpoint, two shapes, mirroring the BFF: without ``provider`` it lists
+ /// every key for the workspace; with one it returns that single key, or 404 if
+ /// the workspace has none for it. The union response model is the honest
+ /// declaration of that — see ``provider_keys/router.py::list_provider_keys``.
+ /// ``provider`` is bounded here so an explicitly empty ``?provider=`` fails with
+ /// 422 at this edge rather than making the round trip (the BFF rejects it too);
+ /// omitting it entirely is the list case. It rides through on the forwarded query
+ /// string — see ``tokenwise_service._build_gateway_request``. + ///
+ /// + /// 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, global::AI21.ProviderKeyOut>>> ListProviderKeysTokenwiseSettingsProviderKeysGetAsResponseAsync( + string? provider = 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.ProxyHarnessApiHarnessApiPathDelete5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathDelete5.g.cs deleted file mode 100644 index 5f776188..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathDelete5.g.cs +++ /dev/null @@ -1,30 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public partial interface IAi21Client - { - /// - /// Proxy Harness Api - /// - /// - /// 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 ProxyHarnessApiHarnessApiPathDelete5Async( - string path, - global::AI21.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy Harness Api - /// - /// - /// 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> ProxyHarnessApiHarnessApiPathDelete5AsResponseAsync( - string path, - 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.ProxyHarnessApiHarnessApiPathDelete.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut.g.cs similarity index 93% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathDelete.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut.g.cs index a71b1afe..6686b62b 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathDelete.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut.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 ProxyHarnessApiHarnessApiPathDeleteAsync( + global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPutAsync( 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> ProxyHarnessApiHarnessApiPathDeleteAsResponseAsync( + global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPutAsResponseAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathDelete4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut2.g.cs similarity index 93% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathDelete4.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut2.g.cs index b8b66341..44d3d88c 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathDelete4.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut2.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 ProxyHarnessApiHarnessApiPathDelete4Async( + global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPut2Async( 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> ProxyHarnessApiHarnessApiPathDelete4AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPut2AsResponseAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathDelete2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut3.g.cs similarity index 93% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathDelete2.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut3.g.cs index c515d89b..3fc3a355 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathDelete2.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut3.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 ProxyHarnessApiHarnessApiPathDelete2Async( + global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPut3Async( 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> ProxyHarnessApiHarnessApiPathDelete2AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPut3AsResponseAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathDelete3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut4.g.cs similarity index 93% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathDelete3.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut4.g.cs index d50dba9a..c3eabac1 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathDelete3.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut4.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 ProxyHarnessApiHarnessApiPathDelete3Async( + global::System.Threading.Tasks.Task ProxyHarnessApiHarnessApiPathPut4Async( 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> ProxyHarnessApiHarnessApiPathDelete3AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyHarnessApiHarnessApiPathPut4AsResponseAsync( string path, global::AI21.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut5.g.cs new file mode 100644 index 00000000..4a066ced --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyHarnessApiHarnessApiPathPut5.g.cs @@ -0,0 +1,30 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Proxy Harness Api + /// + /// + /// 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( + string path, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy Harness Api + /// + /// + /// 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( + string path, + 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.ProxyOffV1GatewayOffV1PathDelete6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathDelete6.g.cs deleted file mode 100644 index 2f051bf1..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathDelete6.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 ProxyOffV1GatewayOffV1PathDelete6Async( - 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> ProxyOffV1GatewayOffV1PathDelete6AsResponseAsync( - 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.ProxyOffV1GatewayOffV1PathDelete5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathDelete5.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions.g.cs index 0a9b5ee2..672e410e 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathDelete5.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions.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 ProxyOffV1GatewayOffV1PathDelete5Async( + global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathOptionsAsync( 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> ProxyOffV1GatewayOffV1PathDelete5AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathOptionsAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathDelete.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions2.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathDelete.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions2.g.cs index 010bdbb5..3899156d 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathDelete.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions2.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 ProxyOffV1GatewayOffV1PathDeleteAsync( + global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathOptions2Async( 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> ProxyOffV1GatewayOffV1PathDeleteAsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathOptions2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathDelete2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions3.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathDelete2.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions3.g.cs index 956a4c44..150a7a30 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathDelete2.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions3.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 ProxyOffV1GatewayOffV1PathDelete2Async( + global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathOptions3Async( 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> ProxyOffV1GatewayOffV1PathDelete2AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathOptions3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathDelete3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions4.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathDelete3.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions4.g.cs index 5e908534..21928704 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathDelete3.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions4.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 ProxyOffV1GatewayOffV1PathDelete3Async( + global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathOptions4Async( 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> ProxyOffV1GatewayOffV1PathDelete3AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathOptions4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathDelete4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions5.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathDelete4.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions5.g.cs index c3f38c60..9e9cf58a 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathDelete4.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions5.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 ProxyOffV1GatewayOffV1PathDelete4Async( + global::System.Threading.Tasks.Task ProxyOffV1GatewayOffV1PathOptions5Async( 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> ProxyOffV1GatewayOffV1PathDelete4AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOffV1GatewayOffV1PathOptions5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions6.g.cs new file mode 100644 index 00000000..d2da1e3c --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1GatewayOffV1PathOptions6.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 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.ProxyOffV1TokenwiseOffV1PathDelete6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathDelete6.g.cs deleted file mode 100644 index fc5671a5..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathDelete6.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 ProxyOffV1TokenwiseOffV1PathDelete6Async( - 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> ProxyOffV1TokenwiseOffV1PathDelete6AsResponseAsync( - 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.ProxyOffV1TokenwiseOffV1PathDelete5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathDelete5.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions.g.cs index 6f519f2b..1e5966ac 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathDelete5.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions.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 ProxyOffV1TokenwiseOffV1PathDelete5Async( + global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathOptionsAsync( 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> ProxyOffV1TokenwiseOffV1PathDelete5AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathOptionsAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathDelete.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions2.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathDelete.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions2.g.cs index d9e3903d..170a3b00 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathDelete.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions2.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 ProxyOffV1TokenwiseOffV1PathDeleteAsync( + global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathOptions2Async( 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> ProxyOffV1TokenwiseOffV1PathDeleteAsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathOptions2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathDelete2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions3.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathDelete2.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions3.g.cs index f16d3df0..8e0b3756 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathDelete2.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions3.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 ProxyOffV1TokenwiseOffV1PathDelete2Async( + global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathOptions3Async( 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> ProxyOffV1TokenwiseOffV1PathDelete2AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathOptions3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathDelete3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions4.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathDelete3.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions4.g.cs index 4bedd65c..6ee9bb93 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathDelete3.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions4.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 ProxyOffV1TokenwiseOffV1PathDelete3Async( + global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathOptions4Async( 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> ProxyOffV1TokenwiseOffV1PathDelete3AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathOptions4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathDelete4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions5.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathDelete4.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions5.g.cs index ad1e1f20..dc1345a8 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathDelete4.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions5.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 ProxyOffV1TokenwiseOffV1PathDelete4Async( + global::System.Threading.Tasks.Task ProxyOffV1TokenwiseOffV1PathOptions5Async( 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> ProxyOffV1TokenwiseOffV1PathDelete4AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOffV1TokenwiseOffV1PathOptions5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions6.g.cs new file mode 100644 index 00000000..d0c2f6e7 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOffV1TokenwiseOffV1PathOptions6.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 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.ProxyOnV1GatewayOnV1PathDelete5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathDelete5.g.cs deleted file mode 100644 index 74c5c48c..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathDelete5.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 ProxyOnV1GatewayOnV1PathDelete5Async( - 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> ProxyOnV1GatewayOnV1PathDelete5AsResponseAsync( - 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.ProxyOnV1GatewayOnV1PathDelete6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathDelete6.g.cs deleted file mode 100644 index c0c703a3..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathDelete6.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 ProxyOnV1GatewayOnV1PathDelete6Async( - 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> ProxyOnV1GatewayOnV1PathDelete6AsResponseAsync( - 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.ProxyOnV1GatewayOnV1PathDelete4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathDelete4.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions.g.cs index 90ecdc13..71a07f54 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathDelete4.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions.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 ProxyOnV1GatewayOnV1PathDelete4Async( + global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathOptionsAsync( 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> ProxyOnV1GatewayOnV1PathDelete4AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathOptionsAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathDelete.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions2.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathDelete.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions2.g.cs index ee80d6d9..5a092453 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathDelete.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions2.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 ProxyOnV1GatewayOnV1PathDeleteAsync( + global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathOptions2Async( 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> ProxyOnV1GatewayOnV1PathDeleteAsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathOptions2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathDelete2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions3.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathDelete2.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions3.g.cs index a22952bf..67c67196 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathDelete2.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions3.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 ProxyOnV1GatewayOnV1PathDelete2Async( + global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathOptions3Async( 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> ProxyOnV1GatewayOnV1PathDelete2AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathOptions3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathDelete3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions4.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathDelete3.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions4.g.cs index 9dba7501..24483ecb 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathDelete3.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions4.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 ProxyOnV1GatewayOnV1PathDelete3Async( + global::System.Threading.Tasks.Task ProxyOnV1GatewayOnV1PathOptions4Async( 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> ProxyOnV1GatewayOnV1PathDelete3AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOnV1GatewayOnV1PathOptions4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions5.g.cs new file mode 100644 index 00000000..6cd90383 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions5.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 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 new file mode 100644 index 00000000..e59f4a55 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1GatewayOnV1PathOptions6.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 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.ProxyOnV1TokenwiseOnV1PathDelete6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathDelete6.g.cs deleted file mode 100644 index c34ec840..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathDelete6.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 ProxyOnV1TokenwiseOnV1PathDelete6Async( - 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> ProxyOnV1TokenwiseOnV1PathDelete6AsResponseAsync( - 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.ProxyOnV1TokenwiseOnV1PathDelete5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathDelete5.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions.g.cs index 640d4e93..f7277b34 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathDelete5.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions.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 ProxyOnV1TokenwiseOnV1PathDelete5Async( + global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathOptionsAsync( 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> ProxyOnV1TokenwiseOnV1PathDelete5AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathOptionsAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathDelete.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions2.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathDelete.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions2.g.cs index 6afc08e6..082d4d15 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathDelete.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions2.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 ProxyOnV1TokenwiseOnV1PathDeleteAsync( + global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathOptions2Async( 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> ProxyOnV1TokenwiseOnV1PathDeleteAsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathOptions2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathDelete2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions3.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathDelete2.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions3.g.cs index 1a250475..6ecfebdf 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathDelete2.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions3.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 ProxyOnV1TokenwiseOnV1PathDelete2Async( + global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathOptions3Async( 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> ProxyOnV1TokenwiseOnV1PathDelete2AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathOptions3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathDelete3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions4.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathDelete3.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions4.g.cs index bf259fea..87da3912 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathDelete3.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions4.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 ProxyOnV1TokenwiseOnV1PathDelete3Async( + global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathOptions4Async( 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> ProxyOnV1TokenwiseOnV1PathDelete3AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathOptions4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathDelete4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions5.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathDelete4.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions5.g.cs index 71f913e1..e1309c2e 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathDelete4.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions5.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 ProxyOnV1TokenwiseOnV1PathDelete4Async( + global::System.Threading.Tasks.Task ProxyOnV1TokenwiseOnV1PathOptions5Async( 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> ProxyOnV1TokenwiseOnV1PathDelete4AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyOnV1TokenwiseOnV1PathOptions5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions6.g.cs new file mode 100644 index 00000000..390ac21b --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyOnV1TokenwiseOnV1PathOptions6.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 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.ProxyV1GatewayV1PathDelete6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathDelete6.g.cs deleted file mode 100644 index fa79fe70..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathDelete6.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 ProxyV1GatewayV1PathDelete6Async( - 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> ProxyV1GatewayV1PathDelete6AsResponseAsync( - 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.ProxyV1GatewayV1PathDelete5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathDelete5.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions.g.cs index 78906a53..522ea8bb 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathDelete5.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions.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 ProxyV1GatewayV1PathDelete5Async( + global::System.Threading.Tasks.Task ProxyV1GatewayV1PathOptionsAsync( 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> ProxyV1GatewayV1PathDelete5AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathOptionsAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathDelete.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions2.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathDelete.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions2.g.cs index 2bde7599..5132d4f3 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathDelete.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions2.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 ProxyV1GatewayV1PathDeleteAsync( + global::System.Threading.Tasks.Task ProxyV1GatewayV1PathOptions2Async( 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> ProxyV1GatewayV1PathDeleteAsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathOptions2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathDelete2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions3.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathDelete2.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions3.g.cs index ff601736..00f4ed2d 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathDelete2.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions3.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 ProxyV1GatewayV1PathDelete2Async( + global::System.Threading.Tasks.Task ProxyV1GatewayV1PathOptions3Async( 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> ProxyV1GatewayV1PathDelete2AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathOptions3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathDelete3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions4.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathDelete3.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions4.g.cs index d7fddeb1..23519b5a 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathDelete3.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions4.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 ProxyV1GatewayV1PathDelete3Async( + global::System.Threading.Tasks.Task ProxyV1GatewayV1PathOptions4Async( 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> ProxyV1GatewayV1PathDelete3AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathOptions4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathDelete4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions5.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathDelete4.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions5.g.cs index 76871eac..d31113ee 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathDelete4.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions5.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 ProxyV1GatewayV1PathDelete4Async( + global::System.Threading.Tasks.Task ProxyV1GatewayV1PathOptions5Async( 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> ProxyV1GatewayV1PathDelete4AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1GatewayV1PathOptions5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions6.g.cs new file mode 100644 index 00000000..4e019fd0 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1GatewayV1PathOptions6.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 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.ProxyV1TokenwiseV1PathDelete6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathDelete6.g.cs deleted file mode 100644 index 771e5b25..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathDelete6.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 ProxyV1TokenwiseV1PathDelete6Async( - 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> ProxyV1TokenwiseV1PathDelete6AsResponseAsync( - 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.ProxyV1TokenwiseV1PathDelete5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathDelete5.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions.g.cs index f786f742..ae55523d 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathDelete5.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions.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 ProxyV1TokenwiseV1PathDelete5Async( + global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathOptionsAsync( 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> ProxyV1TokenwiseV1PathDelete5AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathOptionsAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathDelete.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions2.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathDelete.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions2.g.cs index 6ca36a2d..c68135c9 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathDelete.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions2.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 ProxyV1TokenwiseV1PathDeleteAsync( + global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathOptions2Async( 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> ProxyV1TokenwiseV1PathDeleteAsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathOptions2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathDelete2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions3.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathDelete2.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions3.g.cs index 3c551d27..56608728 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathDelete2.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions3.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 ProxyV1TokenwiseV1PathDelete2Async( + global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathOptions3Async( 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> ProxyV1TokenwiseV1PathDelete2AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathOptions3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathDelete3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions4.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathDelete3.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions4.g.cs index 0e66fae5..6dff5593 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathDelete3.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions4.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 ProxyV1TokenwiseV1PathDelete3Async( + global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathOptions4Async( 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> ProxyV1TokenwiseV1PathDelete3AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathOptions4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathDelete4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions5.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathDelete4.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions5.g.cs index 2c0fa030..1da583b5 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathDelete4.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions5.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 ProxyV1TokenwiseV1PathDelete4Async( + global::System.Threading.Tasks.Task ProxyV1TokenwiseV1PathOptions5Async( 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> ProxyV1TokenwiseV1PathDelete4AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1TokenwiseV1PathOptions5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions6.g.cs new file mode 100644 index 00000000..acd26e21 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1TokenwiseV1PathOptions6.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 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.ProxyV1betaGatewayV1betaPathDelete6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathDelete6.g.cs deleted file mode 100644 index 1ae44a7c..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathDelete6.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 ProxyV1betaGatewayV1betaPathDelete6Async( - 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> ProxyV1betaGatewayV1betaPathDelete6AsResponseAsync( - 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.ProxyV1betaGatewayV1betaPathDelete5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathDelete5.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions.g.cs index 6d33e430..1e5f12d3 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathDelete5.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions.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 ProxyV1betaGatewayV1betaPathDelete5Async( + global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathOptionsAsync( 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> ProxyV1betaGatewayV1betaPathDelete5AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathOptionsAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathDelete.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions2.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathDelete.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions2.g.cs index 28fea2df..d5c389d4 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathDelete.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions2.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 ProxyV1betaGatewayV1betaPathDeleteAsync( + global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathOptions2Async( 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> ProxyV1betaGatewayV1betaPathDeleteAsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathOptions2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathDelete2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions3.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathDelete2.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions3.g.cs index a597230e..ca225591 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathDelete2.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions3.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 ProxyV1betaGatewayV1betaPathDelete2Async( + global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathOptions3Async( 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> ProxyV1betaGatewayV1betaPathDelete2AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathOptions3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathDelete3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions4.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathDelete3.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions4.g.cs index 72b8a101..25ebe051 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathDelete3.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions4.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 ProxyV1betaGatewayV1betaPathDelete3Async( + global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathOptions4Async( 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> ProxyV1betaGatewayV1betaPathDelete3AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathOptions4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathDelete4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions5.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathDelete4.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions5.g.cs index 28c593d5..50bb8af8 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathDelete4.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions5.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 ProxyV1betaGatewayV1betaPathDelete4Async( + global::System.Threading.Tasks.Task ProxyV1betaGatewayV1betaPathOptions5Async( 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> ProxyV1betaGatewayV1betaPathDelete4AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1betaGatewayV1betaPathOptions5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions6.g.cs new file mode 100644 index 00000000..a378a835 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaGatewayV1betaPathOptions6.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 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.ProxyV1betaTokenwiseV1betaPathDelete6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathDelete6.g.cs deleted file mode 100644 index 7a5ebf82..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathDelete6.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 ProxyV1betaTokenwiseV1betaPathDelete6Async( - 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> ProxyV1betaTokenwiseV1betaPathDelete6AsResponseAsync( - 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.ProxyV1betaTokenwiseV1betaPathDelete5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathDelete5.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions.g.cs index 9ae3709a..f42cf2f9 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathDelete5.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions.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 ProxyV1betaTokenwiseV1betaPathDelete5Async( + global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathOptionsAsync( 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> ProxyV1betaTokenwiseV1betaPathDelete5AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathOptionsAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathDelete.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions2.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathDelete.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions2.g.cs index 8b535133..ab9ae5a8 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathDelete.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions2.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 ProxyV1betaTokenwiseV1betaPathDeleteAsync( + global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathOptions2Async( 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> ProxyV1betaTokenwiseV1betaPathDeleteAsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathOptions2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathDelete2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions3.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathDelete2.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions3.g.cs index d42d63a5..ac5b8aca 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathDelete2.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions3.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 ProxyV1betaTokenwiseV1betaPathDelete2Async( + global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathOptions3Async( 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> ProxyV1betaTokenwiseV1betaPathDelete2AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathOptions3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathDelete3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions4.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathDelete3.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions4.g.cs index d11a629b..9a172e57 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathDelete3.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions4.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 ProxyV1betaTokenwiseV1betaPathDelete3Async( + global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathOptions4Async( 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> ProxyV1betaTokenwiseV1betaPathDelete3AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathOptions4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathDelete4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions5.g.cs similarity index 94% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathDelete4.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions5.g.cs index 162dfcef..50c4ae5e 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathDelete4.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions5.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 ProxyV1betaTokenwiseV1betaPathDelete4Async( + global::System.Threading.Tasks.Task ProxyV1betaTokenwiseV1betaPathOptions5Async( 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> ProxyV1betaTokenwiseV1betaPathDelete4AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1betaTokenwiseV1betaPathOptions5AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions6.g.cs new file mode 100644 index 00000000..899207d7 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1betaTokenwiseV1betaPathOptions6.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 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.ProxyV1internalGatewayV1internalPathDelete5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathDelete5.g.cs deleted file mode 100644 index 570bdc5a..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathDelete5.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 ProxyV1internalGatewayV1internalPathDelete5Async( - 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> ProxyV1internalGatewayV1internalPathDelete5AsResponseAsync( - 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.ProxyV1internalGatewayV1internalPathDelete6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathDelete6.g.cs deleted file mode 100644 index 177d5fcb..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathDelete6.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 ProxyV1internalGatewayV1internalPathDelete6Async( - 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> ProxyV1internalGatewayV1internalPathDelete6AsResponseAsync( - 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.ProxyV1internalGatewayV1internalPathDelete.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions.g.cs similarity index 93% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathDelete.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions.g.cs index 4ff469f4..51c80333 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathDelete.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions.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 ProxyV1internalGatewayV1internalPathDeleteAsync( + global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathOptionsAsync( 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> ProxyV1internalGatewayV1internalPathDeleteAsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathOptionsAsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathDelete2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions2.g.cs similarity index 93% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathDelete2.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions2.g.cs index b7aec0ce..62861ccc 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathDelete2.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions2.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 ProxyV1internalGatewayV1internalPathDelete2Async( + global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathOptions2Async( 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> ProxyV1internalGatewayV1internalPathDelete2AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathOptions2AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathDelete3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions3.g.cs similarity index 93% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathDelete3.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions3.g.cs index e5e58441..37618a24 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathDelete3.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions3.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 ProxyV1internalGatewayV1internalPathDelete3Async( + global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathOptions3Async( 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> ProxyV1internalGatewayV1internalPathDelete3AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathOptions3AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathDelete4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions4.g.cs similarity index 93% rename from src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathDelete4.g.cs rename to src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions4.g.cs index c9d2e0ec..a4f2b1f5 100644 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathDelete4.g.cs +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions4.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 ProxyV1internalGatewayV1internalPathDelete4Async( + global::System.Threading.Tasks.Task ProxyV1internalGatewayV1internalPathOptions4Async( 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> ProxyV1internalGatewayV1internalPathDelete4AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyV1internalGatewayV1internalPathOptions4AsResponseAsync( string path, string? xAi21Key = default, global::AI21.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions5.g.cs new file mode 100644 index 00000000..e272efba --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions5.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 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 new file mode 100644 index 00000000..e1bd5ae7 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalGatewayV1internalPathOptions6.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 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.ProxyV1internalTokenwiseV1internalPathDelete.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathDelete.g.cs deleted file mode 100644 index 2d529684..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathDelete.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 ProxyV1internalTokenwiseV1internalPathDeleteAsync( - 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> ProxyV1internalTokenwiseV1internalPathDeleteAsResponseAsync( - 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.ProxyV1internalTokenwiseV1internalPathDelete2.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathDelete2.g.cs deleted file mode 100644 index d362fdc4..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathDelete2.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 ProxyV1internalTokenwiseV1internalPathDelete2Async( - 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> ProxyV1internalTokenwiseV1internalPathDelete2AsResponseAsync( - 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.ProxyV1internalTokenwiseV1internalPathDelete3.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathDelete3.g.cs deleted file mode 100644 index dc72ed2c..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathDelete3.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 ProxyV1internalTokenwiseV1internalPathDelete3Async( - 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> ProxyV1internalTokenwiseV1internalPathDelete3AsResponseAsync( - 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.ProxyV1internalTokenwiseV1internalPathDelete4.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathDelete4.g.cs deleted file mode 100644 index 4b54f457..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathDelete4.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 ProxyV1internalTokenwiseV1internalPathDelete4Async( - 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> ProxyV1internalTokenwiseV1internalPathDelete4AsResponseAsync( - 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.ProxyV1internalTokenwiseV1internalPathDelete5.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathDelete5.g.cs deleted file mode 100644 index 0ddbde36..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathDelete5.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 ProxyV1internalTokenwiseV1internalPathDelete5Async( - 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> ProxyV1internalTokenwiseV1internalPathDelete5AsResponseAsync( - 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.ProxyV1internalTokenwiseV1internalPathDelete6.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathDelete6.g.cs deleted file mode 100644 index df5b1dee..00000000 --- a/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathDelete6.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 ProxyV1internalTokenwiseV1internalPathDelete6Async( - 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> ProxyV1internalTokenwiseV1internalPathDelete6AsResponseAsync( - 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 new file mode 100644 index 00000000..008f7881 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions.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 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 new file mode 100644 index 00000000..c1dab4d2 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions2.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 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 new file mode 100644 index 00000000..8602f66d --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions3.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 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 new file mode 100644 index 00000000..ea050693 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions4.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 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 new file mode 100644 index 00000000..a4ceaff9 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions5.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 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 new file mode 100644 index 00000000..661830e0 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.ProxyV1internalTokenwiseV1internalPathOptions6.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 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.UpdateProviderKeyGatewaySettingsProviderKeysPut.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.UpdateProviderKeyGatewaySettingsProviderKeysPut.g.cs new file mode 100644 index 00000000..3e6e8358 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.UpdateProviderKeyGatewaySettingsProviderKeysPut.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Update Provider Key
+ /// Rotate the workspace's key for a provider. 404 if none is configured.
+ /// Full replacement, not a partial update — unlike the agent/config mirrors there
+ /// is no ``exclude_unset``, because ``api_key`` is the whole point of the call. + ///
+ /// + /// 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 UpdateProviderKeyGatewaySettingsProviderKeysPutAsync( + + global::AI21.ProviderKeyUpdate request, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Update Provider Key
+ /// Rotate the workspace's key for a provider. 404 if none is configured.
+ /// Full replacement, not a partial update — unlike the agent/config mirrors there
+ /// is no ``exclude_unset``, because ``api_key`` is the whole point of the call. + ///
+ /// + /// 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> UpdateProviderKeyGatewaySettingsProviderKeysPutAsResponseAsync( + + global::AI21.ProviderKeyUpdate request, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Update Provider Key
+ /// Rotate the workspace's key for a provider. 404 if none is configured.
+ /// Full replacement, not a partial update — unlike the agent/config mirrors there
+ /// is no ``exclude_unset``, because ``api_key`` is the whole point of the call. + ///
+ /// + /// + /// Included only in requests + /// + /// 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 UpdateProviderKeyGatewaySettingsProviderKeysPutAsync( + string provider, + string? apiKey = 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.UpdateProviderKeyTokenwiseSettingsProviderKeysPut.g.cs b/src/libs/AI21/Generated/AI21.IAi21Client.UpdateProviderKeyTokenwiseSettingsProviderKeysPut.g.cs new file mode 100644 index 00000000..82efda2d --- /dev/null +++ b/src/libs/AI21/Generated/AI21.IAi21Client.UpdateProviderKeyTokenwiseSettingsProviderKeysPut.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace AI21 +{ + public partial interface IAi21Client + { + /// + /// Update Provider Key
+ /// Rotate the workspace's key for a provider. 404 if none is configured.
+ /// Full replacement, not a partial update — unlike the agent/config mirrors there
+ /// is no ``exclude_unset``, because ``api_key`` is the whole point of the call. + ///
+ /// + /// 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 UpdateProviderKeyTokenwiseSettingsProviderKeysPutAsync( + + global::AI21.ProviderKeyUpdate request, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Update Provider Key
+ /// Rotate the workspace's key for a provider. 404 if none is configured.
+ /// Full replacement, not a partial update — unlike the agent/config mirrors there
+ /// is no ``exclude_unset``, because ``api_key`` is the whole point of the call. + ///
+ /// + /// 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> UpdateProviderKeyTokenwiseSettingsProviderKeysPutAsResponseAsync( + + global::AI21.ProviderKeyUpdate request, + global::AI21.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Update Provider Key
+ /// Rotate the workspace's key for a provider. 404 if none is configured.
+ /// Full replacement, not a partial update — unlike the agent/config mirrors there
+ /// is no ``exclude_unset``, because ``api_key`` is the whole point of the call. + ///
+ /// + /// + /// Included only in requests + /// + /// 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 UpdateProviderKeyTokenwiseSettingsProviderKeysPutAsync( + string provider, + string? apiKey = 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.JsonSerializerContext.g.cs b/src/libs/AI21/Generated/AI21.JsonSerializerContext.g.cs index 5e994f1d..471a5dd4 100644 --- a/src/libs/AI21/Generated/AI21.JsonSerializerContext.g.cs +++ b/src/libs/AI21/Generated/AI21.JsonSerializerContext.g.cs @@ -193,6 +193,10 @@ namespace AI21 typeof(global::AI21.JsonConverters.AnyOfJsonConverter>), + typeof(global::AI21.JsonConverters.AnyOfJsonConverter, global::AI21.ProviderKeyOut>), + + typeof(global::AI21.JsonConverters.AnyOfJsonConverter, global::AI21.ProviderKeyOut>), + typeof(global::AI21.JsonConverters.UnixTimestampJsonConverter), })] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.JsonSerializerContextTypes))] @@ -374,6 +378,9 @@ namespace AI21 [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.OrgSchema))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.OrgSchemas))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ProviderKeyCreate))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ProviderKeyOut))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.ProviderKeyUpdate))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.RFIResponseSection))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.RequirementItem))] @@ -420,6 +427,8 @@ namespace AI21 [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.AnyOf, global::AI21.ProviderKeyOut>), TypeInfoPropertyName = "AnyOfIListProviderKeyOutProviderKeyOut2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.AnyOf, global::System.Collections.Generic.List>))] @@ -464,6 +473,8 @@ namespace AI21 [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::AI21.AnyOf, global::AI21.ProviderKeyOut>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] public sealed partial class SourceGenerationContext : global::System.Text.Json.Serialization.JsonSerializerContext { diff --git a/src/libs/AI21/Generated/AI21.JsonSerializerContextTypes.g.cs b/src/libs/AI21/Generated/AI21.JsonSerializerContextTypes.g.cs index f5fe638a..9134a5dc 100644 --- a/src/libs/AI21/Generated/AI21.JsonSerializerContextTypes.g.cs +++ b/src/libs/AI21/Generated/AI21.JsonSerializerContextTypes.g.cs @@ -741,191 +741,211 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.Dictionary? Type177 { get; set; } + public global::AI21.ProviderKeyCreate? Type177 { get; set; } /// /// /// - public global::AI21.RFIResponseSection? Type178 { get; set; } + public global::AI21.ProviderKeyOut? Type178 { get; set; } /// /// /// - public global::AI21.RequirementItem? Type179 { get; set; } + public global::AI21.ProviderKeyUpdate? Type179 { get; set; } /// /// /// - public global::AI21.RequirementsGenerationRequest? Type180 { get; set; } + public global::System.Collections.Generic.Dictionary? Type180 { get; set; } /// /// /// - public global::AI21.RequirementsGenerationResponse? Type181 { get; set; } + public global::AI21.RFIResponseSection? Type181 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type182 { get; set; } + public global::AI21.RequirementItem? Type182 { get; set; } /// /// /// - public global::AI21.ResponseFormatType? Type183 { get; set; } + public global::AI21.RequirementsGenerationRequest? Type183 { get; set; } /// /// /// - public global::AI21.RunAssistantRequest? Type184 { get; set; } + public global::AI21.RequirementsGenerationResponse? Type184 { get; set; } /// /// /// - public global::AI21.RunAssistantRequestResponseLanguage? Type185 { get; set; } + public global::System.Collections.Generic.IList? Type185 { get; set; } /// /// /// - public global::AI21.SecretResponse? Type186 { get; set; } + public global::AI21.ResponseFormatType? Type186 { get; set; } /// /// /// - public global::AI21.SystemMessageRole? Type187 { get; set; } + public global::AI21.RunAssistantRequest? Type187 { get; set; } /// /// /// - public global::AI21.ToolCallType? Type188 { get; set; } + public global::AI21.RunAssistantRequestResponseLanguage? Type188 { get; set; } /// /// /// - public global::AI21.ToolFunction? Type189 { get; set; } + public global::AI21.SecretResponse? Type189 { get; set; } /// /// /// - public global::AI21.ToolFunctionDelta? Type190 { get; set; } + public global::AI21.SystemMessageRole? Type190 { get; set; } /// /// /// - public global::AI21.ToolCallDeltaStartType? Type191 { get; set; } + public global::AI21.ToolCallType? Type191 { get; set; } /// /// /// - public global::AI21.ToolFunctionDeltaStart? Type192 { get; set; } + public global::AI21.ToolFunction? Type192 { get; set; } /// /// /// - public global::AI21.ToolMessageRole? Type193 { get; set; } + public global::AI21.ToolFunctionDelta? Type193 { get; set; } /// /// /// - public global::AI21.ToolParametersType? Type194 { get; set; } + public global::AI21.ToolCallDeltaStartType? Type194 { get; set; } /// /// /// - public global::AI21.UpdateMCPStorageRequest? Type195 { get; set; } + public global::AI21.ToolFunctionDeltaStart? Type195 { get; set; } /// /// /// - public global::AI21.UpdateRoutePayload? Type196 { get; set; } + public global::AI21.ToolMessageRole? Type196 { get; set; } /// /// /// - public global::AI21.UpdateSecretPayload? Type197 { get; set; } + public global::AI21.ToolParametersType? Type197 { get; set; } /// /// /// - public global::AI21.UserMessageRole? Type198 { get; set; } + public global::AI21.UpdateMCPStorageRequest? Type198 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type199 { get; set; } + public global::AI21.UpdateRoutePayload? Type199 { get; set; } /// /// /// - public global::AI21.AnyOf? Type200 { get; set; } + public global::AI21.UpdateSecretPayload? Type200 { get; set; } /// /// /// - public global::AI21.ValidationResult? Type201 { get; set; } + public global::AI21.UserMessageRole? Type201 { get; set; } /// /// /// - public global::AI21.WebSearchToolResource? Type202 { get; set; } + public global::System.Collections.Generic.IList>? Type202 { get; set; } /// /// /// - public global::AI21.WebSearchToolResourceType? Type203 { get; set; } + public global::AI21.AnyOf? Type203 { get; set; } /// /// /// - public global::AI21.WebsiteConnectorCreateConfigPayload? Type204 { get; set; } + public global::AI21.ValidationResult? Type204 { get; set; } /// /// /// - public global::AI21.WebsiteConnectorIngestUrlPayload? Type205 { get; set; } + public global::AI21.WebSearchToolResource? Type205 { get; set; } /// /// /// - public global::AI21.WebsiteConnectorIngestWebsitePayload? Type206 { get; set; } + public global::AI21.WebSearchToolResourceType? Type206 { get; set; } /// /// /// - public global::AI21.WebsiteConnectorRetryIngestWebsitePayload? Type207 { get; set; } + public global::AI21.WebsiteConnectorCreateConfigPayload? Type207 { get; set; } /// /// /// - public global::AI21.WorkspaceModelResponse? Type208 { get; set; } + public global::AI21.WebsiteConnectorIngestUrlPayload? Type208 { get; set; } /// /// /// - public global::AI21.WorkspaceModelUpdate? Type209 { get; set; } + public global::AI21.WebsiteConnectorIngestWebsitePayload? Type209 { get; set; } /// /// /// - public global::AI21.WorkspaceModelsResponse? Type210 { get; set; } + public global::AI21.WebsiteConnectorRetryIngestWebsitePayload? Type210 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type211 { get; set; } + public global::AI21.WorkspaceModelResponse? Type211 { get; set; } /// /// /// - public global::AI21.LanguageStudioApiServerDataTypesChatToolDefinitionType? Type212 { get; set; } + public global::AI21.WorkspaceModelUpdate? Type212 { get; set; } /// /// /// - public global::AI21.LanguageStudioApiServerDataTypesExecutionEngineToolDefinitionDiscriminator? Type213 { get; set; } + public global::AI21.WorkspaceModelsResponse? Type213 { get; set; } /// /// /// - public global::AI21.LanguageStudioApiServerDataTypesExecutionEngineToolDefinitionDiscriminatorType? Type214 { get; set; } + public global::System.Collections.Generic.IList? Type214 { get; set; } /// /// /// - public global::AI21.AnyOf>? Type215 { get; set; } + public global::AI21.LanguageStudioApiServerDataTypesChatToolDefinitionType? Type215 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type216 { get; set; } + public global::AI21.LanguageStudioApiServerDataTypesExecutionEngineToolDefinitionDiscriminator? Type216 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type217 { get; set; } + public global::AI21.LanguageStudioApiServerDataTypesExecutionEngineToolDefinitionDiscriminatorType? Type217 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type218 { get; set; } + public global::AI21.AnyOf>? Type218 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type219 { get; set; } + public global::System.Collections.Generic.IList? Type219 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type220 { get; set; } + public global::System.Collections.Generic.IList? Type220 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type221 { get; set; } + public global::System.Collections.Generic.IList? Type221 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type222 { get; set; } + public global::System.Collections.Generic.IList? Type222 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type223 { get; set; } + public global::System.Collections.Generic.IList? Type223 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type224 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type225 { get; set; } + /// + /// + /// + public global::AI21.AnyOf, global::AI21.ProviderKeyOut>? Type226 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type227 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type228 { get; set; } /// /// @@ -1106,6 +1126,14 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.List? ListType44 { get; set; } + public global::AI21.AnyOf, global::AI21.ProviderKeyOut>? ListType44 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType45 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType46 { get; set; } } } \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProviderKeyCreate.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProviderKeyCreate.Json.g.cs new file mode 100644 index 00000000..0c8b6da9 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProviderKeyCreate.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProviderKeyCreate + { + /// + /// 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.ProviderKeyCreate? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProviderKeyCreate), + jsonSerializerContext) as global::AI21.ProviderKeyCreate; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProviderKeyCreate? 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.ProviderKeyCreate? 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.ProviderKeyCreate), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProviderKeyCreate; + } + + /// + /// 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.ProviderKeyCreate.g.cs b/src/libs/AI21/Generated/AI21.Models.ProviderKeyCreate.g.cs new file mode 100644 index 00000000..8184b674 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProviderKeyCreate.g.cs @@ -0,0 +1,56 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// Body for ``POST /tokenwise/settings/provider-keys``. + /// + public sealed partial class ProviderKeyCreate + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("provider")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Provider { get; set; } + + /// + /// Included only in requests + /// + [global::System.Text.Json.Serialization.JsonPropertyName("api_key")] + public string? ApiKey { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Included only in requests + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ProviderKeyCreate( + string provider, + string? apiKey) + { + this.Provider = provider ?? throw new global::System.ArgumentNullException(nameof(provider)); + this.ApiKey = apiKey; + } + + /// + /// Initializes a new instance of the class. + /// + public ProviderKeyCreate() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProviderKeyOut.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProviderKeyOut.Json.g.cs new file mode 100644 index 00000000..962b9d6a --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProviderKeyOut.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProviderKeyOut + { + /// + /// 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.ProviderKeyOut? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProviderKeyOut), + jsonSerializerContext) as global::AI21.ProviderKeyOut; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProviderKeyOut? 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.ProviderKeyOut? 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.ProviderKeyOut), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProviderKeyOut; + } + + /// + /// 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.ProviderKeyOut.g.cs b/src/libs/AI21/Generated/AI21.Models.ProviderKeyOut.g.cs new file mode 100644 index 00000000..3a8b626e --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProviderKeyOut.g.cs @@ -0,0 +1,78 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// Response shape for provider-key GET / POST / PUT.
+ /// Never carries the key itself. ``masked_key`` is the BFF's masked rendering
+ /// from the secret store, and is ``null`` when the store is unreachable — whether
+ /// a workspace has a key configured is the BFF's own fact and stays readable even
+ /// when the store is down. + ///
+ public sealed partial class ProviderKeyOut + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("provider")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Provider { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("masked_key")] + public string? MaskedKey { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime UpdatedAt { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ProviderKeyOut( + string provider, + global::System.DateTime createdAt, + global::System.DateTime updatedAt, + string? maskedKey) + { + this.Provider = provider ?? throw new global::System.ArgumentNullException(nameof(provider)); + this.MaskedKey = maskedKey; + this.CreatedAt = createdAt; + this.UpdatedAt = updatedAt; + } + + /// + /// Initializes a new instance of the class. + /// + public ProviderKeyOut() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProviderKeyUpdate.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProviderKeyUpdate.Json.g.cs new file mode 100644 index 00000000..ce92fa4a --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProviderKeyUpdate.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProviderKeyUpdate + { + /// + /// 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.ProviderKeyUpdate? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::AI21.ProviderKeyUpdate), + jsonSerializerContext) as global::AI21.ProviderKeyUpdate; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProviderKeyUpdate? 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.ProviderKeyUpdate? 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.ProviderKeyUpdate), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProviderKeyUpdate; + } + + /// + /// 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.ProviderKeyUpdate.g.cs b/src/libs/AI21/Generated/AI21.Models.ProviderKeyUpdate.g.cs new file mode 100644 index 00000000..413bf5ba --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProviderKeyUpdate.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace AI21 +{ + /// + /// Body for ``PUT /tokenwise/settings/provider-keys`` — rotation.
+ /// Same shape as create; the BFF distinguishes them by method, not by body. + ///
+ public sealed partial class ProviderKeyUpdate + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("provider")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Provider { get; set; } + + /// + /// Included only in requests + /// + [global::System.Text.Json.Serialization.JsonPropertyName("api_key")] + public string? ApiKey { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Included only in requests + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ProviderKeyUpdate( + string provider, + string? apiKey) + { + this.Provider = provider ?? throw new global::System.ArgumentNullException(nameof(provider)); + this.ApiKey = apiKey; + } + + /// + /// Initializes a new instance of the class. + /// + public ProviderKeyUpdate() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse5.Json.g.cs deleted file mode 100644 index eae59685..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse5.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyHarnessApiHarnessApiPathDeleteResponse5 - { - /// - /// 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.ProxyHarnessApiHarnessApiPathDeleteResponse5? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyHarnessApiHarnessApiPathDeleteResponse5), - jsonSerializerContext) as global::AI21.ProxyHarnessApiHarnessApiPathDeleteResponse5; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyHarnessApiHarnessApiPathDeleteResponse5? 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.ProxyHarnessApiHarnessApiPathDeleteResponse5? 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.ProxyHarnessApiHarnessApiPathDeleteResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyHarnessApiHarnessApiPathDeleteResponse5; - } - - /// - /// 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.ProxyHarnessApiHarnessApiPathDeleteResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse5.g.cs deleted file mode 100644 index 3788f359..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse5.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyHarnessApiHarnessApiPathDeleteResponse5 - { - - /// - /// 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.ProxyHarnessApiHarnessApiPathDeleteResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse.Json.g.cs index 3f53491e..ea372ab7 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyHarnessApiHarnessApiPathDeleteResponse + public sealed partial class ProxyHarnessApiHarnessApiPathPutResponse { /// /// 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.ProxyHarnessApiHarnessApiPathDeleteResponse? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathPutResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyHarnessApiHarnessApiPathDeleteResponse), - jsonSerializerContext) as global::AI21.ProxyHarnessApiHarnessApiPathDeleteResponse; + typeof(global::AI21.ProxyHarnessApiHarnessApiPathPutResponse), + jsonSerializerContext) as global::AI21.ProxyHarnessApiHarnessApiPathPutResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyHarnessApiHarnessApiPathDeleteResponse? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathPutResponse? 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.ProxyHarnessApiHarnessApiPathDeleteResponse? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathPutResponse? 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.ProxyHarnessApiHarnessApiPathDeleteResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyHarnessApiHarnessApiPathDeleteResponse; + typeof(global::AI21.ProxyHarnessApiHarnessApiPathPutResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyHarnessApiHarnessApiPathPutResponse; } /// /// 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.ProxyOnV1TokenwiseOnV1PathDeleteResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse.g.cs index d3d24659..fe975ff8 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOnV1TokenwiseOnV1PathDeleteResponse + public sealed partial class ProxyHarnessApiHarnessApiPathPutResponse { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse2.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse2.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse2.Json.g.cs index 629eb4e7..6e261c34 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse2.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyHarnessApiHarnessApiPathDeleteResponse2 + public sealed partial class ProxyHarnessApiHarnessApiPathPutResponse2 { /// /// 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.ProxyHarnessApiHarnessApiPathDeleteResponse2? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathPutResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyHarnessApiHarnessApiPathDeleteResponse2), - jsonSerializerContext) as global::AI21.ProxyHarnessApiHarnessApiPathDeleteResponse2; + typeof(global::AI21.ProxyHarnessApiHarnessApiPathPutResponse2), + jsonSerializerContext) as global::AI21.ProxyHarnessApiHarnessApiPathPutResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyHarnessApiHarnessApiPathDeleteResponse2? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathPutResponse2? 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.ProxyHarnessApiHarnessApiPathDeleteResponse2? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathPutResponse2? 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.ProxyHarnessApiHarnessApiPathDeleteResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyHarnessApiHarnessApiPathDeleteResponse2; + typeof(global::AI21.ProxyHarnessApiHarnessApiPathPutResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyHarnessApiHarnessApiPathPutResponse2; } /// /// 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.ProxyOnV1TokenwiseOnV1PathDeleteResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse2.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse2.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse2.g.cs index 9ca36bac..869f3629 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse2.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse2.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOnV1TokenwiseOnV1PathDeleteResponse2 + public sealed partial class ProxyHarnessApiHarnessApiPathPutResponse2 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse3.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse3.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse3.Json.g.cs index 395742ff..5fb492f5 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse3.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyHarnessApiHarnessApiPathDeleteResponse3 + public sealed partial class ProxyHarnessApiHarnessApiPathPutResponse3 { /// /// 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.ProxyHarnessApiHarnessApiPathDeleteResponse3? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathPutResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyHarnessApiHarnessApiPathDeleteResponse3), - jsonSerializerContext) as global::AI21.ProxyHarnessApiHarnessApiPathDeleteResponse3; + typeof(global::AI21.ProxyHarnessApiHarnessApiPathPutResponse3), + jsonSerializerContext) as global::AI21.ProxyHarnessApiHarnessApiPathPutResponse3; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyHarnessApiHarnessApiPathDeleteResponse3? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathPutResponse3? 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.ProxyHarnessApiHarnessApiPathDeleteResponse3? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathPutResponse3? 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.ProxyHarnessApiHarnessApiPathDeleteResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyHarnessApiHarnessApiPathDeleteResponse3; + typeof(global::AI21.ProxyHarnessApiHarnessApiPathPutResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyHarnessApiHarnessApiPathPutResponse3; } /// /// 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.ProxyOnV1TokenwiseOnV1PathDeleteResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse3.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse3.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse3.g.cs index 0a9411c2..7db099e9 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse3.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse3.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOnV1TokenwiseOnV1PathDeleteResponse3 + public sealed partial class ProxyHarnessApiHarnessApiPathPutResponse3 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse4.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse4.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse4.Json.g.cs index 7062ec04..00bb2095 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse4.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse4.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyHarnessApiHarnessApiPathDeleteResponse4 + public sealed partial class ProxyHarnessApiHarnessApiPathPutResponse4 { /// /// 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.ProxyHarnessApiHarnessApiPathDeleteResponse4? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathPutResponse4? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyHarnessApiHarnessApiPathDeleteResponse4), - jsonSerializerContext) as global::AI21.ProxyHarnessApiHarnessApiPathDeleteResponse4; + typeof(global::AI21.ProxyHarnessApiHarnessApiPathPutResponse4), + jsonSerializerContext) as global::AI21.ProxyHarnessApiHarnessApiPathPutResponse4; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyHarnessApiHarnessApiPathDeleteResponse4? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathPutResponse4? 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.ProxyHarnessApiHarnessApiPathDeleteResponse4? FromJson( + public static global::AI21.ProxyHarnessApiHarnessApiPathPutResponse4? 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.ProxyHarnessApiHarnessApiPathDeleteResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyHarnessApiHarnessApiPathDeleteResponse4; + typeof(global::AI21.ProxyHarnessApiHarnessApiPathPutResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyHarnessApiHarnessApiPathPutResponse4; } /// /// 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.ProxyOffV1GatewayOffV1PathDeleteResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse4.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse4.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse4.g.cs index bec4536a..c1de6035 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse4.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse4.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOffV1GatewayOffV1PathDeleteResponse4 + public sealed partial class ProxyHarnessApiHarnessApiPathPutResponse4 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse5.Json.g.cs new file mode 100644 index 00000000..952c17f8 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse5.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyHarnessApiHarnessApiPathPutResponse5 + { + /// + /// 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.ProxyHarnessApiHarnessApiPathPutResponse5? 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; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyHarnessApiHarnessApiPathPutResponse5? 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.ProxyHarnessApiHarnessApiPathPutResponse5? 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.ProxyHarnessApiHarnessApiPathPutResponse5), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyHarnessApiHarnessApiPathPutResponse5; + } + + /// + /// 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.ProxyOffV1GatewayOffV1PathDeleteResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse5.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse5.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse5.g.cs index 80967a57..aa42340f 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse5.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathPutResponse5.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOffV1GatewayOffV1PathDeleteResponse5 + public sealed partial class ProxyHarnessApiHarnessApiPathPutResponse5 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse5.Json.g.cs deleted file mode 100644 index d6a2e00d..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse5.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOffV1GatewayOffV1PathDeleteResponse5 - { - /// - /// 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.ProxyOffV1GatewayOffV1PathDeleteResponse5? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOffV1GatewayOffV1PathDeleteResponse5), - jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathDeleteResponse5; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOffV1GatewayOffV1PathDeleteResponse5? 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.ProxyOffV1GatewayOffV1PathDeleteResponse5? 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.ProxyOffV1GatewayOffV1PathDeleteResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathDeleteResponse5; - } - - /// - /// 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.ProxyOffV1GatewayOffV1PathDeleteResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse6.Json.g.cs deleted file mode 100644 index 8a25416f..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse6.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOffV1GatewayOffV1PathDeleteResponse6 - { - /// - /// 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.ProxyOffV1GatewayOffV1PathDeleteResponse6? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOffV1GatewayOffV1PathDeleteResponse6), - jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathDeleteResponse6; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOffV1GatewayOffV1PathDeleteResponse6? 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.ProxyOffV1GatewayOffV1PathDeleteResponse6? 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.ProxyOffV1GatewayOffV1PathDeleteResponse6), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathDeleteResponse6; - } - - /// - /// 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.ProxyOffV1GatewayOffV1PathDeleteResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse6.g.cs deleted file mode 100644 index 0b66c5b0..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse6.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOffV1GatewayOffV1PathDeleteResponse6 - { - - /// - /// 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.ProxyOffV1GatewayOffV1PathDeleteResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse4.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse.Json.g.cs index 3230f249..50683649 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse4.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOffV1GatewayOffV1PathDeleteResponse4 + public sealed partial class ProxyOffV1GatewayOffV1PathOptionsResponse { /// /// 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.ProxyOffV1GatewayOffV1PathDeleteResponse4? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOffV1GatewayOffV1PathDeleteResponse4), - jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathDeleteResponse4; + typeof(global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse), + jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOffV1GatewayOffV1PathDeleteResponse4? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse? 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.ProxyOffV1GatewayOffV1PathDeleteResponse4? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse? 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.ProxyOffV1GatewayOffV1PathDeleteResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathDeleteResponse4; + typeof(global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse; } /// /// 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.ProxyOffV1GatewayOffV1PathDeleteResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse2.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse.g.cs index ad9951bd..b6e90489 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse2.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOffV1GatewayOffV1PathDeleteResponse2 + public sealed partial class ProxyOffV1GatewayOffV1PathOptionsResponse { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse2.Json.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse2.Json.g.cs index 857e63df..5f3cab45 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOffV1GatewayOffV1PathDeleteResponse + public sealed partial class ProxyOffV1GatewayOffV1PathOptionsResponse2 { /// /// 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.ProxyOffV1GatewayOffV1PathDeleteResponse? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOffV1GatewayOffV1PathDeleteResponse), - jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathDeleteResponse; + typeof(global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse2), + jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOffV1GatewayOffV1PathDeleteResponse? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse2? 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.ProxyOffV1GatewayOffV1PathDeleteResponse? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse2? 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.ProxyOffV1GatewayOffV1PathDeleteResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathDeleteResponse; + typeof(global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse2; } /// /// 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.ProxyOffV1GatewayOffV1PathOptionsResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse2.g.cs new file mode 100644 index 00000000..974e9e83 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse2.g.cs @@ -0,0 +1,19 @@ + +#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.ProxyOffV1GatewayOffV1PathDeleteResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse3.Json.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse2.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse3.Json.g.cs index c6be01d2..ba3c6cfb 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse2.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOffV1GatewayOffV1PathDeleteResponse2 + public sealed partial class ProxyOffV1GatewayOffV1PathOptionsResponse3 { /// /// 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.ProxyOffV1GatewayOffV1PathDeleteResponse2? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOffV1GatewayOffV1PathDeleteResponse2), - jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathDeleteResponse2; + typeof(global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse3), + jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse3; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOffV1GatewayOffV1PathDeleteResponse2? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse3? 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.ProxyOffV1GatewayOffV1PathDeleteResponse2? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse3? 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.ProxyOffV1GatewayOffV1PathDeleteResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathDeleteResponse2; + typeof(global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse3; } /// /// 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.ProxyOffV1GatewayOffV1PathOptionsResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse3.g.cs new file mode 100644 index 00000000..ff00000f --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse3.g.cs @@ -0,0 +1,19 @@ + +#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.ProxyOffV1GatewayOffV1PathDeleteResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse4.Json.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse3.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse4.Json.g.cs index c51378fe..e7a44922 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse3.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse4.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOffV1GatewayOffV1PathDeleteResponse3 + public sealed partial class ProxyOffV1GatewayOffV1PathOptionsResponse4 { /// /// 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.ProxyOffV1GatewayOffV1PathDeleteResponse3? FromJson( + 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.ProxyOffV1GatewayOffV1PathDeleteResponse3), - jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathDeleteResponse3; + typeof(global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse4), + jsonSerializerContext) as global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse4; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOffV1GatewayOffV1PathDeleteResponse3? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse4? 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.ProxyOffV1GatewayOffV1PathDeleteResponse3? FromJson( + public static global::AI21.ProxyOffV1GatewayOffV1PathOptionsResponse4? 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.ProxyOffV1GatewayOffV1PathDeleteResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1GatewayOffV1PathDeleteResponse3; + 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( + 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.ProxyOffV1GatewayOffV1PathOptionsResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse4.g.cs new file mode 100644 index 00000000..2e934297 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse4.g.cs @@ -0,0 +1,19 @@ + +#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 new file mode 100644 index 00000000..b7737501 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse5.Json.g.cs @@ -0,0 +1,141 @@ +#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 new file mode 100644 index 00000000..784c5e02 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse5.g.cs @@ -0,0 +1,19 @@ + +#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 new file mode 100644 index 00000000..c99b7e61 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse6.Json.g.cs @@ -0,0 +1,141 @@ +#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 new file mode 100644 index 00000000..b4461e35 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathOptionsResponse6.g.cs @@ -0,0 +1,19 @@ + +#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.ProxyOffV1TokenwiseOffV1PathDeleteResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse.g.cs deleted file mode 100644 index 690aff84..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOffV1TokenwiseOffV1PathDeleteResponse - { - - /// - /// 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.ProxyOffV1TokenwiseOffV1PathDeleteResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse2.g.cs deleted file mode 100644 index 563d7fa2..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse2.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOffV1TokenwiseOffV1PathDeleteResponse2 - { - - /// - /// 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.ProxyOffV1TokenwiseOffV1PathDeleteResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse3.g.cs deleted file mode 100644 index a907978d..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse3.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOffV1TokenwiseOffV1PathDeleteResponse3 - { - - /// - /// 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.ProxyOffV1TokenwiseOffV1PathDeleteResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse4.g.cs deleted file mode 100644 index 73aecd63..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse4.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOffV1TokenwiseOffV1PathDeleteResponse4 - { - - /// - /// 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.ProxyOffV1TokenwiseOffV1PathDeleteResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse5.g.cs deleted file mode 100644 index 304fe7c6..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse5.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOffV1TokenwiseOffV1PathDeleteResponse5 - { - - /// - /// 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.ProxyOffV1TokenwiseOffV1PathDeleteResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse6.Json.g.cs deleted file mode 100644 index 652f25bc..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse6.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOffV1TokenwiseOffV1PathDeleteResponse6 - { - /// - /// 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.ProxyOffV1TokenwiseOffV1PathDeleteResponse6? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathDeleteResponse6), - jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathDeleteResponse6; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOffV1TokenwiseOffV1PathDeleteResponse6? 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.ProxyOffV1TokenwiseOffV1PathDeleteResponse6? 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.ProxyOffV1TokenwiseOffV1PathDeleteResponse6), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathDeleteResponse6; - } - - /// - /// 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.ProxyOffV1TokenwiseOffV1PathDeleteResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse6.g.cs deleted file mode 100644 index 661dd46f..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse6.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOffV1TokenwiseOffV1PathDeleteResponse6 - { - - /// - /// 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.ProxyOffV1TokenwiseOffV1PathDeleteResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse.Json.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse5.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse.Json.g.cs index fd2dccd7..10f568cc 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse5.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOffV1TokenwiseOffV1PathDeleteResponse5 + public sealed partial class ProxyOffV1TokenwiseOffV1PathOptionsResponse { /// /// 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.ProxyOffV1TokenwiseOffV1PathDeleteResponse5? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathDeleteResponse5), - jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathDeleteResponse5; + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse), + jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOffV1TokenwiseOffV1PathDeleteResponse5? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse? 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.ProxyOffV1TokenwiseOffV1PathDeleteResponse5? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse? 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.ProxyOffV1TokenwiseOffV1PathDeleteResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathDeleteResponse5; + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse; } /// /// 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.ProxyHarnessApiHarnessApiPathDeleteResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse.g.cs index cb4cf907..74979804 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyHarnessApiHarnessApiPathDeleteResponse + public sealed partial class ProxyOffV1TokenwiseOffV1PathOptionsResponse { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse2.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse2.Json.g.cs index 2acc8ebc..a51ee3c5 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOffV1TokenwiseOffV1PathDeleteResponse + public sealed partial class ProxyOffV1TokenwiseOffV1PathOptionsResponse2 { /// /// 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.ProxyOffV1TokenwiseOffV1PathDeleteResponse? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathDeleteResponse), - jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathDeleteResponse; + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse2), + jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOffV1TokenwiseOffV1PathDeleteResponse? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse2? 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.ProxyOffV1TokenwiseOffV1PathDeleteResponse? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse2? 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.ProxyOffV1TokenwiseOffV1PathDeleteResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathDeleteResponse; + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse2; } /// /// 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.ProxyHarnessApiHarnessApiPathDeleteResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse2.g.cs similarity index 85% rename from src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse2.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse2.g.cs index e970223c..041feda3 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse2.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse2.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyHarnessApiHarnessApiPathDeleteResponse2 + public sealed partial class ProxyOffV1TokenwiseOffV1PathOptionsResponse2 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse3.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse2.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse3.Json.g.cs index 281471f5..9961309f 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse2.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOffV1TokenwiseOffV1PathDeleteResponse2 + public sealed partial class ProxyOffV1TokenwiseOffV1PathOptionsResponse3 { /// /// 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.ProxyOffV1TokenwiseOffV1PathDeleteResponse2? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathDeleteResponse2), - jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathDeleteResponse2; + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse3), + jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse3; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOffV1TokenwiseOffV1PathDeleteResponse2? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse3? 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.ProxyOffV1TokenwiseOffV1PathDeleteResponse2? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse3? 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.ProxyOffV1TokenwiseOffV1PathDeleteResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathDeleteResponse2; + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse3; } /// /// 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.ProxyHarnessApiHarnessApiPathDeleteResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse3.g.cs similarity index 85% rename from src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse3.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse3.g.cs index 8fc14cde..3395f5b6 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse3.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse3.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyHarnessApiHarnessApiPathDeleteResponse3 + public sealed partial class ProxyOffV1TokenwiseOffV1PathOptionsResponse3 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse4.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse3.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse4.Json.g.cs index b97e89a4..700b6a00 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse3.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse4.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOffV1TokenwiseOffV1PathDeleteResponse3 + public sealed partial class ProxyOffV1TokenwiseOffV1PathOptionsResponse4 { /// /// 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.ProxyOffV1TokenwiseOffV1PathDeleteResponse3? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse4? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathDeleteResponse3), - jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathDeleteResponse3; + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse4), + jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse4; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOffV1TokenwiseOffV1PathDeleteResponse3? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse4? 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.ProxyOffV1TokenwiseOffV1PathDeleteResponse3? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse4? 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.ProxyOffV1TokenwiseOffV1PathDeleteResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathDeleteResponse3; + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse4; } /// /// 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.ProxyHarnessApiHarnessApiPathDeleteResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse4.g.cs similarity index 85% rename from src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse4.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse4.g.cs index 4adf827d..67af8d40 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyHarnessApiHarnessApiPathDeleteResponse4.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse4.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyHarnessApiHarnessApiPathDeleteResponse4 + public sealed partial class ProxyOffV1TokenwiseOffV1PathOptionsResponse4 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse5.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse4.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse5.Json.g.cs index 7aa8049e..45ccf131 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathDeleteResponse4.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse5.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOffV1TokenwiseOffV1PathDeleteResponse4 + public sealed partial class ProxyOffV1TokenwiseOffV1PathOptionsResponse5 { /// /// 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.ProxyOffV1TokenwiseOffV1PathDeleteResponse4? FromJson( + 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.ProxyOffV1TokenwiseOffV1PathDeleteResponse4), - jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathDeleteResponse4; + typeof(global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse5), + jsonSerializerContext) as global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse5; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOffV1TokenwiseOffV1PathDeleteResponse4? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse5? 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.ProxyOffV1TokenwiseOffV1PathDeleteResponse4? FromJson( + public static global::AI21.ProxyOffV1TokenwiseOffV1PathOptionsResponse5? 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.ProxyOffV1TokenwiseOffV1PathDeleteResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOffV1TokenwiseOffV1PathDeleteResponse4; + 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( + 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.ProxyOffV1TokenwiseOffV1PathOptionsResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse5.g.cs new file mode 100644 index 00000000..ac665833 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse5.g.cs @@ -0,0 +1,19 @@ + +#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 new file mode 100644 index 00000000..23c98a86 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse6.Json.g.cs @@ -0,0 +1,141 @@ +#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 new file mode 100644 index 00000000..a5f388ff --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOffV1TokenwiseOffV1PathOptionsResponse6.g.cs @@ -0,0 +1,19 @@ + +#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.ProxyOnV1GatewayOnV1PathDeleteResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse5.g.cs deleted file mode 100644 index c3b51a98..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse5.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOnV1GatewayOnV1PathDeleteResponse5 - { - - /// - /// 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.ProxyOnV1GatewayOnV1PathDeleteResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse6.Json.g.cs deleted file mode 100644 index 2b6f08e6..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse6.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOnV1GatewayOnV1PathDeleteResponse6 - { - /// - /// 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.ProxyOnV1GatewayOnV1PathDeleteResponse6? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOnV1GatewayOnV1PathDeleteResponse6), - jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathDeleteResponse6; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1GatewayOnV1PathDeleteResponse6? 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.ProxyOnV1GatewayOnV1PathDeleteResponse6? 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.ProxyOnV1GatewayOnV1PathDeleteResponse6), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathDeleteResponse6; - } - - /// - /// 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.ProxyOnV1GatewayOnV1PathDeleteResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse6.g.cs deleted file mode 100644 index 6e1b7ebf..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse6.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOnV1GatewayOnV1PathDeleteResponse6 - { - - /// - /// 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.ProxyOnV1GatewayOnV1PathDeleteResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse5.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse.Json.g.cs index 1754c3b9..a2abe2bd 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse5.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOnV1GatewayOnV1PathDeleteResponse5 + public sealed partial class ProxyOnV1GatewayOnV1PathOptionsResponse { /// /// 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.ProxyOnV1GatewayOnV1PathDeleteResponse5? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOnV1GatewayOnV1PathDeleteResponse5), - jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathDeleteResponse5; + typeof(global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse), + jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOnV1GatewayOnV1PathDeleteResponse5? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse? 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.ProxyOnV1GatewayOnV1PathDeleteResponse5? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse? 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.ProxyOnV1GatewayOnV1PathDeleteResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathDeleteResponse5; + typeof(global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse; } /// /// 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.ProxyOnV1GatewayOnV1PathDeleteResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse4.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse.g.cs index 3e206415..2df07a3f 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse4.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOnV1GatewayOnV1PathDeleteResponse4 + public sealed partial class ProxyOnV1GatewayOnV1PathOptionsResponse { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse2.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse2.Json.g.cs index 3d3501a0..3da444cd 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOnV1TokenwiseOnV1PathDeleteResponse + public sealed partial class ProxyOnV1GatewayOnV1PathOptionsResponse2 { /// /// 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.ProxyOnV1TokenwiseOnV1PathDeleteResponse? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathDeleteResponse), - jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathDeleteResponse; + typeof(global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse2), + jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOnV1TokenwiseOnV1PathDeleteResponse? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse2? 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.ProxyOnV1TokenwiseOnV1PathDeleteResponse? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse2? 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.ProxyOnV1TokenwiseOnV1PathDeleteResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1TokenwiseOnV1PathDeleteResponse; + typeof(global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse2; } /// /// 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.ProxyOffV1GatewayOffV1PathDeleteResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse2.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse2.g.cs index 2c8b4f78..d13fe323 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse2.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOffV1GatewayOffV1PathDeleteResponse + public sealed partial class ProxyOnV1GatewayOnV1PathOptionsResponse2 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse3.Json.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse4.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse3.Json.g.cs index 7810a3c3..9d984942 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse4.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOnV1GatewayOnV1PathDeleteResponse4 + public sealed partial class ProxyOnV1GatewayOnV1PathOptionsResponse3 { /// /// 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.ProxyOnV1GatewayOnV1PathDeleteResponse4? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOnV1GatewayOnV1PathDeleteResponse4), - jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathDeleteResponse4; + typeof(global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse3), + jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse3; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOnV1GatewayOnV1PathDeleteResponse4? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse3? 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.ProxyOnV1GatewayOnV1PathDeleteResponse4? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse3? 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.ProxyOnV1GatewayOnV1PathDeleteResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathDeleteResponse4; + typeof(global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse3; } /// /// 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.ProxyOnV1GatewayOnV1PathDeleteResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse3.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse2.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse3.g.cs index c9a5b1f7..72b523ce 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse2.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse3.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOnV1GatewayOnV1PathDeleteResponse2 + public sealed partial class ProxyOnV1GatewayOnV1PathOptionsResponse3 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse4.Json.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse2.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse4.Json.g.cs index 3f82a595..02259315 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse2.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse4.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOnV1GatewayOnV1PathDeleteResponse2 + public sealed partial class ProxyOnV1GatewayOnV1PathOptionsResponse4 { /// /// 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.ProxyOnV1GatewayOnV1PathDeleteResponse2? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse4? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyOnV1GatewayOnV1PathDeleteResponse2), - jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathDeleteResponse2; + typeof(global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse4), + jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse4; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOnV1GatewayOnV1PathDeleteResponse2? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse4? 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.ProxyOnV1GatewayOnV1PathDeleteResponse2? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse4? 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.ProxyOnV1GatewayOnV1PathDeleteResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathDeleteResponse2; + typeof(global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse4; } /// /// 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.ProxyOnV1GatewayOnV1PathDeleteResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse4.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse3.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse4.g.cs index 6ca7ab0f..4e5b4a2b 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse3.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse4.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOnV1GatewayOnV1PathDeleteResponse3 + public sealed partial class ProxyOnV1GatewayOnV1PathOptionsResponse4 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse5.Json.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse3.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse5.Json.g.cs index fc5d0c39..9450c573 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse3.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse5.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOnV1GatewayOnV1PathDeleteResponse3 + public sealed partial class ProxyOnV1GatewayOnV1PathOptionsResponse5 { /// /// 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.ProxyOnV1GatewayOnV1PathDeleteResponse3? FromJson( + 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.ProxyOnV1GatewayOnV1PathDeleteResponse3), - jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathDeleteResponse3; + typeof(global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse5), + jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse5; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOnV1GatewayOnV1PathDeleteResponse3? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse5? 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.ProxyOnV1GatewayOnV1PathDeleteResponse3? FromJson( + public static global::AI21.ProxyOnV1GatewayOnV1PathOptionsResponse5? 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.ProxyOnV1GatewayOnV1PathDeleteResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathDeleteResponse3; + 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( + 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.ProxyOnV1GatewayOnV1PathOptionsResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse5.g.cs new file mode 100644 index 00000000..c700ca11 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse5.g.cs @@ -0,0 +1,19 @@ + +#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 new file mode 100644 index 00000000..d9cdedc0 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse6.Json.g.cs @@ -0,0 +1,141 @@ +#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 new file mode 100644 index 00000000..dbfc155a --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathOptionsResponse6.g.cs @@ -0,0 +1,19 @@ + +#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.ProxyOnV1TokenwiseOnV1PathDeleteResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse3.Json.g.cs deleted file mode 100644 index 43f24b14..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse3.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOnV1TokenwiseOnV1PathDeleteResponse3 - { - /// - /// 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.ProxyOnV1TokenwiseOnV1PathDeleteResponse3? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathDeleteResponse3), - jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathDeleteResponse3; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1TokenwiseOnV1PathDeleteResponse3? 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.ProxyOnV1TokenwiseOnV1PathDeleteResponse3? 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.ProxyOnV1TokenwiseOnV1PathDeleteResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1TokenwiseOnV1PathDeleteResponse3; - } - - /// - /// 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.ProxyOnV1TokenwiseOnV1PathDeleteResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse4.Json.g.cs deleted file mode 100644 index f6b046e6..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse4.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOnV1TokenwiseOnV1PathDeleteResponse4 - { - /// - /// 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.ProxyOnV1TokenwiseOnV1PathDeleteResponse4? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathDeleteResponse4), - jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathDeleteResponse4; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1TokenwiseOnV1PathDeleteResponse4? 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.ProxyOnV1TokenwiseOnV1PathDeleteResponse4? 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.ProxyOnV1TokenwiseOnV1PathDeleteResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1TokenwiseOnV1PathDeleteResponse4; - } - - /// - /// 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.ProxyOnV1TokenwiseOnV1PathDeleteResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse4.g.cs deleted file mode 100644 index bffb6748..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse4.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOnV1TokenwiseOnV1PathDeleteResponse4 - { - - /// - /// 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.ProxyOnV1TokenwiseOnV1PathDeleteResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse5.Json.g.cs deleted file mode 100644 index b8a669c1..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse5.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOnV1TokenwiseOnV1PathDeleteResponse5 - { - /// - /// 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.ProxyOnV1TokenwiseOnV1PathDeleteResponse5? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathDeleteResponse5), - jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathDeleteResponse5; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1TokenwiseOnV1PathDeleteResponse5? 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.ProxyOnV1TokenwiseOnV1PathDeleteResponse5? 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.ProxyOnV1TokenwiseOnV1PathDeleteResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1TokenwiseOnV1PathDeleteResponse5; - } - - /// - /// 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.ProxyOnV1TokenwiseOnV1PathDeleteResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse5.g.cs deleted file mode 100644 index 72de7319..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse5.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOnV1TokenwiseOnV1PathDeleteResponse5 - { - - /// - /// 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.ProxyOnV1TokenwiseOnV1PathDeleteResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse6.Json.g.cs deleted file mode 100644 index c2187f54..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse6.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyOnV1TokenwiseOnV1PathDeleteResponse6 - { - /// - /// 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.ProxyOnV1TokenwiseOnV1PathDeleteResponse6? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathDeleteResponse6), - jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathDeleteResponse6; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyOnV1TokenwiseOnV1PathDeleteResponse6? 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.ProxyOnV1TokenwiseOnV1PathDeleteResponse6? 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.ProxyOnV1TokenwiseOnV1PathDeleteResponse6), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1TokenwiseOnV1PathDeleteResponse6; - } - - /// - /// 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.ProxyOnV1TokenwiseOnV1PathDeleteResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse6.g.cs deleted file mode 100644 index ca9d9d9c..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse6.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyOnV1TokenwiseOnV1PathDeleteResponse6 - { - - /// - /// 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.ProxyOnV1TokenwiseOnV1PathDeleteResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse2.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse.Json.g.cs index 8e162083..460d2fd5 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathDeleteResponse2.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOnV1TokenwiseOnV1PathDeleteResponse2 + public sealed partial class ProxyOnV1TokenwiseOnV1PathOptionsResponse { /// /// 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.ProxyOnV1TokenwiseOnV1PathDeleteResponse2? FromJson( + 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.ProxyOnV1TokenwiseOnV1PathDeleteResponse2), - jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathDeleteResponse2; + typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse), + jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOnV1TokenwiseOnV1PathDeleteResponse2? FromJson( + public static global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse? 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.ProxyOnV1TokenwiseOnV1PathDeleteResponse2? FromJson( + public static global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse? 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.ProxyOnV1TokenwiseOnV1PathDeleteResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1TokenwiseOnV1PathDeleteResponse2; + 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( + 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.ProxyOffV1GatewayOffV1PathDeleteResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse3.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse.g.cs index e7232ecf..9e39ac69 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOffV1GatewayOffV1PathDeleteResponse3.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOffV1GatewayOffV1PathDeleteResponse3 + public sealed partial class ProxyOnV1TokenwiseOnV1PathOptionsResponse { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse2.Json.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse2.Json.g.cs index 3dcb37d9..4fd5329c 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyOnV1GatewayOnV1PathDeleteResponse + public sealed partial class ProxyOnV1TokenwiseOnV1PathOptionsResponse2 { /// /// 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.ProxyOnV1GatewayOnV1PathDeleteResponse? FromJson( + 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.ProxyOnV1GatewayOnV1PathDeleteResponse), - jsonSerializerContext) as global::AI21.ProxyOnV1GatewayOnV1PathDeleteResponse; + typeof(global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse2), + jsonSerializerContext) as global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyOnV1GatewayOnV1PathDeleteResponse? FromJson( + public static global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse2? 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.ProxyOnV1GatewayOnV1PathDeleteResponse? FromJson( + public static global::AI21.ProxyOnV1TokenwiseOnV1PathOptionsResponse2? 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.ProxyOnV1GatewayOnV1PathDeleteResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyOnV1GatewayOnV1PathDeleteResponse; + 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( + 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.ProxyOnV1TokenwiseOnV1PathOptionsResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse2.g.cs new file mode 100644 index 00000000..269b8cef --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse2.g.cs @@ -0,0 +1,19 @@ + +#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 new file mode 100644 index 00000000..121d2490 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse3.Json.g.cs @@ -0,0 +1,141 @@ +#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 new file mode 100644 index 00000000..3945d332 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse3.g.cs @@ -0,0 +1,19 @@ + +#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 new file mode 100644 index 00000000..4747c2b9 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse4.Json.g.cs @@ -0,0 +1,141 @@ +#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 new file mode 100644 index 00000000..47c3e37d --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse4.g.cs @@ -0,0 +1,19 @@ + +#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 new file mode 100644 index 00000000..6f244f30 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse5.Json.g.cs @@ -0,0 +1,141 @@ +#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 new file mode 100644 index 00000000..de0d7ff7 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse5.g.cs @@ -0,0 +1,19 @@ + +#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 new file mode 100644 index 00000000..286e9523 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse6.Json.g.cs @@ -0,0 +1,141 @@ +#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 new file mode 100644 index 00000000..33900282 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyOnV1TokenwiseOnV1PathOptionsResponse6.g.cs @@ -0,0 +1,19 @@ + +#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.ProxyV1GatewayV1PathDeleteResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathDeleteResponse5.Json.g.cs deleted file mode 100644 index 2c98b90b..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathDeleteResponse5.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyV1GatewayV1PathDeleteResponse5 - { - /// - /// 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.ProxyV1GatewayV1PathDeleteResponse5? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyV1GatewayV1PathDeleteResponse5), - jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathDeleteResponse5; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyV1GatewayV1PathDeleteResponse5? 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.ProxyV1GatewayV1PathDeleteResponse5? 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.ProxyV1GatewayV1PathDeleteResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathDeleteResponse5; - } - - /// - /// 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.ProxyV1GatewayV1PathDeleteResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathDeleteResponse5.g.cs deleted file mode 100644 index f788de44..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathDeleteResponse5.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1GatewayV1PathDeleteResponse5 - { - - /// - /// 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.ProxyV1GatewayV1PathDeleteResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathDeleteResponse6.Json.g.cs deleted file mode 100644 index 116feb32..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathDeleteResponse6.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyV1GatewayV1PathDeleteResponse6 - { - /// - /// 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.ProxyV1GatewayV1PathDeleteResponse6? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyV1GatewayV1PathDeleteResponse6), - jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathDeleteResponse6; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyV1GatewayV1PathDeleteResponse6? 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.ProxyV1GatewayV1PathDeleteResponse6? 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.ProxyV1GatewayV1PathDeleteResponse6), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathDeleteResponse6; - } - - /// - /// 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.ProxyV1GatewayV1PathDeleteResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathDeleteResponse6.g.cs deleted file mode 100644 index e1211973..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathDeleteResponse6.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1GatewayV1PathDeleteResponse6 - { - - /// - /// 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.ProxyV1GatewayV1PathDeleteResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathDeleteResponse4.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse.Json.g.cs index 7ae30ce3..bfd44403 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathDeleteResponse4.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1GatewayV1PathDeleteResponse4 + public sealed partial class ProxyV1GatewayV1PathOptionsResponse { /// /// 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.ProxyV1GatewayV1PathDeleteResponse4? FromJson( + public static global::AI21.ProxyV1GatewayV1PathOptionsResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1GatewayV1PathDeleteResponse4), - jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathDeleteResponse4; + typeof(global::AI21.ProxyV1GatewayV1PathOptionsResponse), + jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathOptionsResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1GatewayV1PathDeleteResponse4? FromJson( + public static global::AI21.ProxyV1GatewayV1PathOptionsResponse? 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.ProxyV1GatewayV1PathDeleteResponse4? FromJson( + public static global::AI21.ProxyV1GatewayV1PathOptionsResponse? 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.ProxyV1GatewayV1PathDeleteResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathDeleteResponse4; + typeof(global::AI21.ProxyV1GatewayV1PathOptionsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathOptionsResponse; } /// /// 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.ProxyV1GatewayV1PathDeleteResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathDeleteResponse4.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse.g.cs index 9a0723cf..5d20e769 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathDeleteResponse4.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1GatewayV1PathDeleteResponse4 + public sealed partial class ProxyV1GatewayV1PathOptionsResponse { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathDeleteResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse2.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathDeleteResponse.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse2.Json.g.cs index dacd9b78..97e77b82 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathDeleteResponse.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1GatewayV1PathDeleteResponse + public sealed partial class ProxyV1GatewayV1PathOptionsResponse2 { /// /// 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.ProxyV1GatewayV1PathDeleteResponse? FromJson( + public static global::AI21.ProxyV1GatewayV1PathOptionsResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1GatewayV1PathDeleteResponse), - jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathDeleteResponse; + typeof(global::AI21.ProxyV1GatewayV1PathOptionsResponse2), + jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathOptionsResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1GatewayV1PathDeleteResponse? FromJson( + public static global::AI21.ProxyV1GatewayV1PathOptionsResponse2? 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.ProxyV1GatewayV1PathDeleteResponse? FromJson( + public static global::AI21.ProxyV1GatewayV1PathOptionsResponse2? 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.ProxyV1GatewayV1PathDeleteResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathDeleteResponse; + typeof(global::AI21.ProxyV1GatewayV1PathOptionsResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathOptionsResponse2; } /// /// 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.ProxyV1GatewayV1PathDeleteResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse2.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathDeleteResponse.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse2.g.cs index 13b2d6e5..42f4d0c7 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathDeleteResponse.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse2.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1GatewayV1PathDeleteResponse + public sealed partial class ProxyV1GatewayV1PathOptionsResponse2 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathDeleteResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse3.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathDeleteResponse2.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse3.Json.g.cs index 5c2baced..2827e081 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathDeleteResponse2.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1GatewayV1PathDeleteResponse2 + public sealed partial class ProxyV1GatewayV1PathOptionsResponse3 { /// /// 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.ProxyV1GatewayV1PathDeleteResponse2? FromJson( + public static global::AI21.ProxyV1GatewayV1PathOptionsResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1GatewayV1PathDeleteResponse2), - jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathDeleteResponse2; + typeof(global::AI21.ProxyV1GatewayV1PathOptionsResponse3), + jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathOptionsResponse3; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1GatewayV1PathDeleteResponse2? FromJson( + public static global::AI21.ProxyV1GatewayV1PathOptionsResponse3? 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.ProxyV1GatewayV1PathDeleteResponse2? FromJson( + public static global::AI21.ProxyV1GatewayV1PathOptionsResponse3? 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.ProxyV1GatewayV1PathDeleteResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathDeleteResponse2; + typeof(global::AI21.ProxyV1GatewayV1PathOptionsResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathOptionsResponse3; } /// /// 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.ProxyV1GatewayV1PathDeleteResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse3.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathDeleteResponse2.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse3.g.cs index 51ea57ac..7db9388e 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathDeleteResponse2.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse3.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1GatewayV1PathDeleteResponse2 + public sealed partial class ProxyV1GatewayV1PathOptionsResponse3 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathDeleteResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse4.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathDeleteResponse3.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse4.Json.g.cs index 6e75342d..5128b013 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathDeleteResponse3.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse4.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1GatewayV1PathDeleteResponse3 + public sealed partial class ProxyV1GatewayV1PathOptionsResponse4 { /// /// 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.ProxyV1GatewayV1PathDeleteResponse3? FromJson( + public static global::AI21.ProxyV1GatewayV1PathOptionsResponse4? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1GatewayV1PathDeleteResponse3), - jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathDeleteResponse3; + typeof(global::AI21.ProxyV1GatewayV1PathOptionsResponse4), + jsonSerializerContext) as global::AI21.ProxyV1GatewayV1PathOptionsResponse4; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1GatewayV1PathDeleteResponse3? FromJson( + public static global::AI21.ProxyV1GatewayV1PathOptionsResponse4? 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.ProxyV1GatewayV1PathDeleteResponse3? FromJson( + public static global::AI21.ProxyV1GatewayV1PathOptionsResponse4? 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.ProxyV1GatewayV1PathDeleteResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathDeleteResponse3; + typeof(global::AI21.ProxyV1GatewayV1PathOptionsResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathOptionsResponse4; } /// /// 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.ProxyV1GatewayV1PathDeleteResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse4.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathDeleteResponse3.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse4.g.cs index c5718abc..d09c9f96 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathDeleteResponse3.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse4.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1GatewayV1PathDeleteResponse3 + public sealed partial class ProxyV1GatewayV1PathOptionsResponse4 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse5.Json.g.cs new file mode 100644 index 00000000..af27b28d --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse5.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace AI21 +{ + public sealed partial class ProxyV1GatewayV1PathOptionsResponse5 + { + /// + /// 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.ProxyV1GatewayV1PathOptionsResponse5? 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; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::AI21.ProxyV1GatewayV1PathOptionsResponse5? 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.ProxyV1GatewayV1PathOptionsResponse5? 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.ProxyV1GatewayV1PathOptionsResponse5), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1GatewayV1PathOptionsResponse5; + } + + /// + /// 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.ProxyV1GatewayV1PathOptionsResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse5.g.cs new file mode 100644 index 00000000..28d7e1da --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse5.g.cs @@ -0,0 +1,19 @@ + +#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 new file mode 100644 index 00000000..c289608a --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse6.Json.g.cs @@ -0,0 +1,141 @@ +#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 new file mode 100644 index 00000000..4c8b0eb3 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1GatewayV1PathOptionsResponse6.g.cs @@ -0,0 +1,19 @@ + +#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.ProxyV1TokenwiseV1PathDeleteResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse.g.cs deleted file mode 100644 index 0c906821..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1TokenwiseV1PathDeleteResponse - { - - /// - /// 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.ProxyV1TokenwiseV1PathDeleteResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse2.g.cs deleted file mode 100644 index 1f1d892f..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse2.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1TokenwiseV1PathDeleteResponse2 - { - - /// - /// 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.ProxyV1TokenwiseV1PathDeleteResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse3.g.cs deleted file mode 100644 index bb0b9dc1..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse3.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1TokenwiseV1PathDeleteResponse3 - { - - /// - /// 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.ProxyV1TokenwiseV1PathDeleteResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse4.g.cs deleted file mode 100644 index 1ebf2217..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse4.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1TokenwiseV1PathDeleteResponse4 - { - - /// - /// 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.ProxyV1TokenwiseV1PathDeleteResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse5.g.cs deleted file mode 100644 index ea011b35..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse5.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1TokenwiseV1PathDeleteResponse5 - { - - /// - /// 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.ProxyV1TokenwiseV1PathDeleteResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse6.Json.g.cs deleted file mode 100644 index 610f9826..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse6.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyV1TokenwiseV1PathDeleteResponse6 - { - /// - /// 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.ProxyV1TokenwiseV1PathDeleteResponse6? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyV1TokenwiseV1PathDeleteResponse6), - jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathDeleteResponse6; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyV1TokenwiseV1PathDeleteResponse6? 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.ProxyV1TokenwiseV1PathDeleteResponse6? 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.ProxyV1TokenwiseV1PathDeleteResponse6), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathDeleteResponse6; - } - - /// - /// 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.ProxyV1TokenwiseV1PathDeleteResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse6.g.cs deleted file mode 100644 index ea33688e..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse6.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1TokenwiseV1PathDeleteResponse6 - { - - /// - /// 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.ProxyV1TokenwiseV1PathDeleteResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse5.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse.Json.g.cs index 135f3257..ff14b2a0 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse5.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1TokenwiseV1PathDeleteResponse5 + public sealed partial class ProxyV1TokenwiseV1PathOptionsResponse { /// /// 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.ProxyV1TokenwiseV1PathDeleteResponse5? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1TokenwiseV1PathDeleteResponse5), - jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathDeleteResponse5; + typeof(global::AI21.ProxyV1TokenwiseV1PathOptionsResponse), + jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathOptionsResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1TokenwiseV1PathDeleteResponse5? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse? 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.ProxyV1TokenwiseV1PathDeleteResponse5? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse? 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.ProxyV1TokenwiseV1PathDeleteResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathDeleteResponse5; + typeof(global::AI21.ProxyV1TokenwiseV1PathOptionsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathOptionsResponse; } /// /// 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.ProxyV1TokenwiseV1PathOptionsResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse.g.cs new file mode 100644 index 00000000..ede8e5f8 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse.g.cs @@ -0,0 +1,19 @@ + +#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.ProxyV1TokenwiseV1PathDeleteResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse2.Json.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse2.Json.g.cs index 936fdaff..638857a8 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1TokenwiseV1PathDeleteResponse + public sealed partial class ProxyV1TokenwiseV1PathOptionsResponse2 { /// /// 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.ProxyV1TokenwiseV1PathDeleteResponse? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1TokenwiseV1PathDeleteResponse), - jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathDeleteResponse; + typeof(global::AI21.ProxyV1TokenwiseV1PathOptionsResponse2), + jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathOptionsResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1TokenwiseV1PathDeleteResponse? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse2? 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.ProxyV1TokenwiseV1PathDeleteResponse? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse2? 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.ProxyV1TokenwiseV1PathDeleteResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathDeleteResponse; + typeof(global::AI21.ProxyV1TokenwiseV1PathOptionsResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathOptionsResponse2; } /// /// 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.ProxyOnV1GatewayOnV1PathDeleteResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse2.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse2.g.cs index 7e833dec..512a655a 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyOnV1GatewayOnV1PathDeleteResponse.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse2.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyOnV1GatewayOnV1PathDeleteResponse + public sealed partial class ProxyV1TokenwiseV1PathOptionsResponse2 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse3.Json.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse4.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse3.Json.g.cs index bd012f89..f4cb1e9e 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse4.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1TokenwiseV1PathDeleteResponse4 + public sealed partial class ProxyV1TokenwiseV1PathOptionsResponse3 { /// /// 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.ProxyV1TokenwiseV1PathDeleteResponse4? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1TokenwiseV1PathDeleteResponse4), - jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathDeleteResponse4; + typeof(global::AI21.ProxyV1TokenwiseV1PathOptionsResponse3), + jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathOptionsResponse3; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1TokenwiseV1PathDeleteResponse4? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse3? 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.ProxyV1TokenwiseV1PathDeleteResponse4? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse3? 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.ProxyV1TokenwiseV1PathDeleteResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathDeleteResponse4; + typeof(global::AI21.ProxyV1TokenwiseV1PathOptionsResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathOptionsResponse3; } /// /// 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.ProxyV1TokenwiseV1PathOptionsResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse3.g.cs new file mode 100644 index 00000000..64cf8286 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse3.g.cs @@ -0,0 +1,19 @@ + +#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.ProxyV1TokenwiseV1PathDeleteResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse4.Json.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse2.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse4.Json.g.cs index c68bf0b7..aae5d9cf 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse2.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse4.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1TokenwiseV1PathDeleteResponse2 + public sealed partial class ProxyV1TokenwiseV1PathOptionsResponse4 { /// /// 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.ProxyV1TokenwiseV1PathDeleteResponse2? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse4? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1TokenwiseV1PathDeleteResponse2), - jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathDeleteResponse2; + typeof(global::AI21.ProxyV1TokenwiseV1PathOptionsResponse4), + jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathOptionsResponse4; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1TokenwiseV1PathDeleteResponse2? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse4? 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.ProxyV1TokenwiseV1PathDeleteResponse2? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse4? 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.ProxyV1TokenwiseV1PathDeleteResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathDeleteResponse2; + typeof(global::AI21.ProxyV1TokenwiseV1PathOptionsResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathOptionsResponse4; } /// /// 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.ProxyV1TokenwiseV1PathOptionsResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse4.g.cs new file mode 100644 index 00000000..fb27de8f --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse4.g.cs @@ -0,0 +1,19 @@ + +#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.ProxyV1TokenwiseV1PathDeleteResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse5.Json.g.cs similarity index 86% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse3.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse5.Json.g.cs index c4ad70c2..cf44086f 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathDeleteResponse3.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse5.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1TokenwiseV1PathDeleteResponse3 + public sealed partial class ProxyV1TokenwiseV1PathOptionsResponse5 { /// /// 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.ProxyV1TokenwiseV1PathDeleteResponse3? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse5? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1TokenwiseV1PathDeleteResponse3), - jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathDeleteResponse3; + typeof(global::AI21.ProxyV1TokenwiseV1PathOptionsResponse5), + jsonSerializerContext) as global::AI21.ProxyV1TokenwiseV1PathOptionsResponse5; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1TokenwiseV1PathDeleteResponse3? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse5? 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.ProxyV1TokenwiseV1PathDeleteResponse3? FromJson( + public static global::AI21.ProxyV1TokenwiseV1PathOptionsResponse5? 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.ProxyV1TokenwiseV1PathDeleteResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathDeleteResponse3; + typeof(global::AI21.ProxyV1TokenwiseV1PathOptionsResponse5), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1TokenwiseV1PathOptionsResponse5; } /// /// 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.ProxyV1TokenwiseV1PathOptionsResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse5.g.cs new file mode 100644 index 00000000..6b1e98e4 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse5.g.cs @@ -0,0 +1,19 @@ + +#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 new file mode 100644 index 00000000..94be00b5 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse6.Json.g.cs @@ -0,0 +1,141 @@ +#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 new file mode 100644 index 00000000..095be5e5 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1TokenwiseV1PathOptionsResponse6.g.cs @@ -0,0 +1,19 @@ + +#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.ProxyV1betaGatewayV1betaPathDeleteResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse.g.cs deleted file mode 100644 index b1a9e991..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaGatewayV1betaPathDeleteResponse - { - - /// - /// 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.ProxyV1betaGatewayV1betaPathDeleteResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse2.g.cs deleted file mode 100644 index d20d9da0..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse2.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaGatewayV1betaPathDeleteResponse2 - { - - /// - /// 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.ProxyV1betaGatewayV1betaPathDeleteResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse3.g.cs deleted file mode 100644 index 72fb98fc..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse3.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaGatewayV1betaPathDeleteResponse3 - { - - /// - /// 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.ProxyV1betaGatewayV1betaPathDeleteResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse4.g.cs deleted file mode 100644 index 35d48d2f..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse4.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaGatewayV1betaPathDeleteResponse4 - { - - /// - /// 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.ProxyV1betaGatewayV1betaPathDeleteResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse5.Json.g.cs deleted file mode 100644 index c4e891d1..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse5.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyV1betaGatewayV1betaPathDeleteResponse5 - { - /// - /// 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.ProxyV1betaGatewayV1betaPathDeleteResponse5? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyV1betaGatewayV1betaPathDeleteResponse5), - jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathDeleteResponse5; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyV1betaGatewayV1betaPathDeleteResponse5? 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.ProxyV1betaGatewayV1betaPathDeleteResponse5? 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.ProxyV1betaGatewayV1betaPathDeleteResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathDeleteResponse5; - } - - /// - /// 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.ProxyV1betaGatewayV1betaPathDeleteResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse5.g.cs deleted file mode 100644 index ace2a227..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse5.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaGatewayV1betaPathDeleteResponse5 - { - - /// - /// 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.ProxyV1betaGatewayV1betaPathDeleteResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse6.Json.g.cs deleted file mode 100644 index c48e955c..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse6.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyV1betaGatewayV1betaPathDeleteResponse6 - { - /// - /// 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.ProxyV1betaGatewayV1betaPathDeleteResponse6? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyV1betaGatewayV1betaPathDeleteResponse6), - jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathDeleteResponse6; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyV1betaGatewayV1betaPathDeleteResponse6? 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.ProxyV1betaGatewayV1betaPathDeleteResponse6? 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.ProxyV1betaGatewayV1betaPathDeleteResponse6), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathDeleteResponse6; - } - - /// - /// 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.ProxyV1betaGatewayV1betaPathDeleteResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse6.g.cs deleted file mode 100644 index 37397b6e..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse6.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaGatewayV1betaPathDeleteResponse6 - { - - /// - /// 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.ProxyV1betaGatewayV1betaPathDeleteResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse.Json.g.cs similarity index 88% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse4.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse.Json.g.cs index 53280809..1b1f09f2 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse4.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1betaGatewayV1betaPathDeleteResponse4 + public sealed partial class ProxyV1betaGatewayV1betaPathOptionsResponse { /// /// 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.ProxyV1betaGatewayV1betaPathDeleteResponse4? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1betaGatewayV1betaPathDeleteResponse4), - jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathDeleteResponse4; + typeof(global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse), + jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1betaGatewayV1betaPathDeleteResponse4? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse? 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.ProxyV1betaGatewayV1betaPathDeleteResponse4? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse? 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.ProxyV1betaGatewayV1betaPathDeleteResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathDeleteResponse4; + typeof(global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse; } /// /// 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.ProxyV1betaGatewayV1betaPathOptionsResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse.g.cs new file mode 100644 index 00000000..f00fa8eb --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse.g.cs @@ -0,0 +1,19 @@ + +#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.ProxyV1betaGatewayV1betaPathDeleteResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse2.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse2.Json.g.cs index dbf6ac57..22d58eae 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1betaGatewayV1betaPathDeleteResponse + public sealed partial class ProxyV1betaGatewayV1betaPathOptionsResponse2 { /// /// 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.ProxyV1betaGatewayV1betaPathDeleteResponse? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1betaGatewayV1betaPathDeleteResponse), - jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathDeleteResponse; + typeof(global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse2), + jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1betaGatewayV1betaPathDeleteResponse? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse2? 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.ProxyV1betaGatewayV1betaPathDeleteResponse? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse2? 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.ProxyV1betaGatewayV1betaPathDeleteResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathDeleteResponse; + typeof(global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse2; } /// /// 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.ProxyV1betaGatewayV1betaPathOptionsResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse2.g.cs new file mode 100644 index 00000000..e352d284 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse2.g.cs @@ -0,0 +1,19 @@ + +#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.ProxyV1betaGatewayV1betaPathDeleteResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse3.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse2.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse3.Json.g.cs index 1f75a4d2..368e23c7 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse2.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1betaGatewayV1betaPathDeleteResponse2 + public sealed partial class ProxyV1betaGatewayV1betaPathOptionsResponse3 { /// /// 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.ProxyV1betaGatewayV1betaPathDeleteResponse2? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1betaGatewayV1betaPathDeleteResponse2), - jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathDeleteResponse2; + typeof(global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse3), + jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse3; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1betaGatewayV1betaPathDeleteResponse2? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse3? 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.ProxyV1betaGatewayV1betaPathDeleteResponse2? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse3? 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.ProxyV1betaGatewayV1betaPathDeleteResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathDeleteResponse2; + typeof(global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse3; } /// /// 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.ProxyV1betaGatewayV1betaPathOptionsResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse3.g.cs new file mode 100644 index 00000000..30b0d032 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse3.g.cs @@ -0,0 +1,19 @@ + +#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.ProxyV1betaGatewayV1betaPathDeleteResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse4.Json.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse3.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse4.Json.g.cs index 56c4f70d..d49f665a 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathDeleteResponse3.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse4.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1betaGatewayV1betaPathDeleteResponse3 + public sealed partial class ProxyV1betaGatewayV1betaPathOptionsResponse4 { /// /// 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.ProxyV1betaGatewayV1betaPathDeleteResponse3? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse4? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1betaGatewayV1betaPathDeleteResponse3), - jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathDeleteResponse3; + typeof(global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse4), + jsonSerializerContext) as global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse4; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1betaGatewayV1betaPathDeleteResponse3? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse4? 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.ProxyV1betaGatewayV1betaPathDeleteResponse3? FromJson( + public static global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse4? 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.ProxyV1betaGatewayV1betaPathDeleteResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathDeleteResponse3; + typeof(global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaGatewayV1betaPathOptionsResponse4; } /// /// 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.ProxyV1betaGatewayV1betaPathOptionsResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse4.g.cs new file mode 100644 index 00000000..c572b7bf --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse4.g.cs @@ -0,0 +1,19 @@ + +#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 new file mode 100644 index 00000000..a8aedbe3 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse5.Json.g.cs @@ -0,0 +1,141 @@ +#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 new file mode 100644 index 00000000..02804571 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse5.g.cs @@ -0,0 +1,19 @@ + +#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 new file mode 100644 index 00000000..10f4d442 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse6.Json.g.cs @@ -0,0 +1,141 @@ +#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 new file mode 100644 index 00000000..09054623 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaGatewayV1betaPathOptionsResponse6.g.cs @@ -0,0 +1,19 @@ + +#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.ProxyV1betaTokenwiseV1betaPathDeleteResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse.g.cs deleted file mode 100644 index 0fef2716..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaTokenwiseV1betaPathDeleteResponse - { - - /// - /// 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.ProxyV1betaTokenwiseV1betaPathDeleteResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse2.g.cs deleted file mode 100644 index 2ecf824d..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse2.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaTokenwiseV1betaPathDeleteResponse2 - { - - /// - /// 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.ProxyV1betaTokenwiseV1betaPathDeleteResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse3.g.cs deleted file mode 100644 index a0e7c347..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse3.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaTokenwiseV1betaPathDeleteResponse3 - { - - /// - /// 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.ProxyV1betaTokenwiseV1betaPathDeleteResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse4.g.cs deleted file mode 100644 index 1d45a983..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse4.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaTokenwiseV1betaPathDeleteResponse4 - { - - /// - /// 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.ProxyV1betaTokenwiseV1betaPathDeleteResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse5.g.cs deleted file mode 100644 index 037c1a1f..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse5.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaTokenwiseV1betaPathDeleteResponse5 - { - - /// - /// 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.ProxyV1betaTokenwiseV1betaPathDeleteResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse6.Json.g.cs deleted file mode 100644 index e05dbc54..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse6.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyV1betaTokenwiseV1betaPathDeleteResponse6 - { - /// - /// 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.ProxyV1betaTokenwiseV1betaPathDeleteResponse6? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathDeleteResponse6), - jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathDeleteResponse6; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyV1betaTokenwiseV1betaPathDeleteResponse6? 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.ProxyV1betaTokenwiseV1betaPathDeleteResponse6? 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.ProxyV1betaTokenwiseV1betaPathDeleteResponse6), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathDeleteResponse6; - } - - /// - /// 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.ProxyV1betaTokenwiseV1betaPathDeleteResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse6.g.cs deleted file mode 100644 index 24a60adc..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse6.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1betaTokenwiseV1betaPathDeleteResponse6 - { - - /// - /// 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.ProxyV1betaTokenwiseV1betaPathDeleteResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse.Json.g.cs similarity index 91% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse5.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse.Json.g.cs index c760adb9..e83f023c 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse5.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1betaTokenwiseV1betaPathDeleteResponse5 + public sealed partial class ProxyV1betaTokenwiseV1betaPathOptionsResponse { /// /// 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.ProxyV1betaTokenwiseV1betaPathDeleteResponse5? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathDeleteResponse5), - jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathDeleteResponse5; + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse), + jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1betaTokenwiseV1betaPathDeleteResponse5? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse? 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.ProxyV1betaTokenwiseV1betaPathDeleteResponse5? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse? 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.ProxyV1betaTokenwiseV1betaPathDeleteResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathDeleteResponse5; + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse; } /// /// 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.ProxyV1betaTokenwiseV1betaPathOptionsResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse.g.cs new file mode 100644 index 00000000..5d51374d --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse.g.cs @@ -0,0 +1,19 @@ + +#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.ProxyV1betaTokenwiseV1betaPathDeleteResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse2.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse2.Json.g.cs index 8b7c6f13..8aa26792 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1betaTokenwiseV1betaPathDeleteResponse + public sealed partial class ProxyV1betaTokenwiseV1betaPathOptionsResponse2 { /// /// 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.ProxyV1betaTokenwiseV1betaPathDeleteResponse? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathDeleteResponse), - jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathDeleteResponse; + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse2), + jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1betaTokenwiseV1betaPathDeleteResponse? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse2? 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.ProxyV1betaTokenwiseV1betaPathDeleteResponse? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse2? 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.ProxyV1betaTokenwiseV1betaPathDeleteResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathDeleteResponse; + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse2; } /// /// 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.ProxyV1betaTokenwiseV1betaPathOptionsResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse2.g.cs new file mode 100644 index 00000000..12ab47dd --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse2.g.cs @@ -0,0 +1,19 @@ + +#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.ProxyV1betaTokenwiseV1betaPathDeleteResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse3.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse2.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse3.Json.g.cs index f2ed9e3d..4b20eeb1 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse2.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1betaTokenwiseV1betaPathDeleteResponse2 + public sealed partial class ProxyV1betaTokenwiseV1betaPathOptionsResponse3 { /// /// 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.ProxyV1betaTokenwiseV1betaPathDeleteResponse2? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathDeleteResponse2), - jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathDeleteResponse2; + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse3), + jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse3; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1betaTokenwiseV1betaPathDeleteResponse2? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse3? 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.ProxyV1betaTokenwiseV1betaPathDeleteResponse2? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse3? 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.ProxyV1betaTokenwiseV1betaPathDeleteResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathDeleteResponse2; + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse3; } /// /// 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.ProxyV1betaTokenwiseV1betaPathOptionsResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse3.g.cs new file mode 100644 index 00000000..267948e0 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse3.g.cs @@ -0,0 +1,19 @@ + +#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.ProxyV1betaTokenwiseV1betaPathDeleteResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse4.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse3.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse4.Json.g.cs index 5d93bf8f..5612c84d 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse3.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse4.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1betaTokenwiseV1betaPathDeleteResponse3 + public sealed partial class ProxyV1betaTokenwiseV1betaPathOptionsResponse4 { /// /// 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.ProxyV1betaTokenwiseV1betaPathDeleteResponse3? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse4? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathDeleteResponse3), - jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathDeleteResponse3; + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse4), + jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse4; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1betaTokenwiseV1betaPathDeleteResponse3? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse4? 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.ProxyV1betaTokenwiseV1betaPathDeleteResponse3? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse4? 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.ProxyV1betaTokenwiseV1betaPathDeleteResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathDeleteResponse3; + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse4; } /// /// 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.ProxyV1internalGatewayV1internalPathDeleteResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse4.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse5.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse4.g.cs index c9ffa112..6f941a91 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse5.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse4.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1internalGatewayV1internalPathDeleteResponse5 + public sealed partial class ProxyV1betaTokenwiseV1betaPathOptionsResponse4 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse5.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse4.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse5.Json.g.cs index 15b677bd..ef7313a0 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathDeleteResponse4.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse5.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1betaTokenwiseV1betaPathDeleteResponse4 + public sealed partial class ProxyV1betaTokenwiseV1betaPathOptionsResponse5 { /// /// 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.ProxyV1betaTokenwiseV1betaPathDeleteResponse4? FromJson( + 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.ProxyV1betaTokenwiseV1betaPathDeleteResponse4), - jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathDeleteResponse4; + typeof(global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse5), + jsonSerializerContext) as global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse5; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1betaTokenwiseV1betaPathDeleteResponse4? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse5? 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.ProxyV1betaTokenwiseV1betaPathDeleteResponse4? FromJson( + public static global::AI21.ProxyV1betaTokenwiseV1betaPathOptionsResponse5? 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.ProxyV1betaTokenwiseV1betaPathDeleteResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1betaTokenwiseV1betaPathDeleteResponse4; + 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( + 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.ProxyV1internalGatewayV1internalPathDeleteResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse5.g.cs similarity index 87% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse6.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse5.g.cs index edc6c24c..e4b173a3 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse6.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse5.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1internalGatewayV1internalPathDeleteResponse6 + public sealed partial class ProxyV1betaTokenwiseV1betaPathOptionsResponse5 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse6.Json.g.cs new file mode 100644 index 00000000..26b0deca --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse6.Json.g.cs @@ -0,0 +1,141 @@ +#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 new file mode 100644 index 00000000..1beadeb4 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1betaTokenwiseV1betaPathOptionsResponse6.g.cs @@ -0,0 +1,19 @@ + +#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.ProxyV1internalGatewayV1internalPathDeleteResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse6.Json.g.cs deleted file mode 100644 index 178e197f..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse6.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyV1internalGatewayV1internalPathDeleteResponse6 - { - /// - /// 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.ProxyV1internalGatewayV1internalPathDeleteResponse6? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyV1internalGatewayV1internalPathDeleteResponse6), - jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathDeleteResponse6; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyV1internalGatewayV1internalPathDeleteResponse6? 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.ProxyV1internalGatewayV1internalPathDeleteResponse6? 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.ProxyV1internalGatewayV1internalPathDeleteResponse6), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathDeleteResponse6; - } - - /// - /// 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.ProxyV1internalGatewayV1internalPathDeleteResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse5.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse.Json.g.cs index 2d18d48b..350b4014 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse5.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1internalGatewayV1internalPathDeleteResponse5 + public sealed partial class ProxyV1internalGatewayV1internalPathOptionsResponse { /// /// 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.ProxyV1internalGatewayV1internalPathDeleteResponse5? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1internalGatewayV1internalPathDeleteResponse5), - jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathDeleteResponse5; + typeof(global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse), + jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1internalGatewayV1internalPathDeleteResponse5? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse? 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.ProxyV1internalGatewayV1internalPathDeleteResponse5? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse? 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.ProxyV1internalGatewayV1internalPathDeleteResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathDeleteResponse5; + typeof(global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse; } /// /// 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.ProxyV1internalGatewayV1internalPathDeleteResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse.g.cs index f167724d..95cc0c3b 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1internalGatewayV1internalPathDeleteResponse + public sealed partial class ProxyV1internalGatewayV1internalPathOptionsResponse { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse2.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse2.Json.g.cs index d6706fac..e68466d1 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1internalGatewayV1internalPathDeleteResponse + public sealed partial class ProxyV1internalGatewayV1internalPathOptionsResponse2 { /// /// 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.ProxyV1internalGatewayV1internalPathDeleteResponse? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1internalGatewayV1internalPathDeleteResponse), - jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathDeleteResponse; + typeof(global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse2), + jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1internalGatewayV1internalPathDeleteResponse? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse2? 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.ProxyV1internalGatewayV1internalPathDeleteResponse? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse2? 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.ProxyV1internalGatewayV1internalPathDeleteResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathDeleteResponse; + typeof(global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse2; } /// /// 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.ProxyV1internalGatewayV1internalPathDeleteResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse2.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse2.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse2.g.cs index 2ca3bd02..f8ca71fd 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse2.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse2.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1internalGatewayV1internalPathDeleteResponse2 + public sealed partial class ProxyV1internalGatewayV1internalPathOptionsResponse2 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse3.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse2.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse3.Json.g.cs index 37b9bdf6..c554a2dd 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse2.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1internalGatewayV1internalPathDeleteResponse2 + public sealed partial class ProxyV1internalGatewayV1internalPathOptionsResponse3 { /// /// 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.ProxyV1internalGatewayV1internalPathDeleteResponse2? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1internalGatewayV1internalPathDeleteResponse2), - jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathDeleteResponse2; + typeof(global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse3), + jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse3; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1internalGatewayV1internalPathDeleteResponse2? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse3? 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.ProxyV1internalGatewayV1internalPathDeleteResponse2? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse3? 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.ProxyV1internalGatewayV1internalPathDeleteResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathDeleteResponse2; + typeof(global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse3; } /// /// 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.ProxyV1internalGatewayV1internalPathDeleteResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse3.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse3.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse3.g.cs index c7aaca8e..94326c45 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse3.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse3.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1internalGatewayV1internalPathDeleteResponse3 + public sealed partial class ProxyV1internalGatewayV1internalPathOptionsResponse3 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse4.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse3.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse4.Json.g.cs index 68049fcf..28e6fdea 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse3.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse4.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1internalGatewayV1internalPathDeleteResponse3 + public sealed partial class ProxyV1internalGatewayV1internalPathOptionsResponse4 { /// /// 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.ProxyV1internalGatewayV1internalPathDeleteResponse3? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse4? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1internalGatewayV1internalPathDeleteResponse3), - jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathDeleteResponse3; + typeof(global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse4), + jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse4; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1internalGatewayV1internalPathDeleteResponse3? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse4? 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.ProxyV1internalGatewayV1internalPathDeleteResponse3? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse4? 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.ProxyV1internalGatewayV1internalPathDeleteResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathDeleteResponse3; + typeof(global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse4; } /// /// 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.ProxyV1internalGatewayV1internalPathDeleteResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse4.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse4.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse4.g.cs index ee359136..705bbfc9 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse4.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse4.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1internalGatewayV1internalPathDeleteResponse4 + public sealed partial class ProxyV1internalGatewayV1internalPathOptionsResponse4 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse5.Json.g.cs similarity index 90% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse4.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse5.Json.g.cs index 31a0e8c6..ca5a2c33 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathDeleteResponse4.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse5.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1internalGatewayV1internalPathDeleteResponse4 + public sealed partial class ProxyV1internalGatewayV1internalPathOptionsResponse5 { /// /// 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.ProxyV1internalGatewayV1internalPathDeleteResponse4? FromJson( + 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.ProxyV1internalGatewayV1internalPathDeleteResponse4), - jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathDeleteResponse4; + typeof(global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse5), + jsonSerializerContext) as global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse5; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1internalGatewayV1internalPathDeleteResponse4? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse5? 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.ProxyV1internalGatewayV1internalPathDeleteResponse4? FromJson( + public static global::AI21.ProxyV1internalGatewayV1internalPathOptionsResponse5? 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.ProxyV1internalGatewayV1internalPathDeleteResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalGatewayV1internalPathDeleteResponse4; + 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( + 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.ProxyV1internalGatewayV1internalPathOptionsResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse5.g.cs new file mode 100644 index 00000000..c8dd8be9 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse5.g.cs @@ -0,0 +1,19 @@ + +#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 new file mode 100644 index 00000000..a2b6ab3a --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse6.Json.g.cs @@ -0,0 +1,141 @@ +#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 new file mode 100644 index 00000000..5fe59b61 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalGatewayV1internalPathOptionsResponse6.g.cs @@ -0,0 +1,19 @@ + +#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.ProxyV1internalTokenwiseV1internalPathDeleteResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse5.Json.g.cs deleted file mode 100644 index 2d5c9847..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse5.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyV1internalTokenwiseV1internalPathDeleteResponse5 - { - /// - /// 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.ProxyV1internalTokenwiseV1internalPathDeleteResponse5? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathDeleteResponse5), - jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathDeleteResponse5; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyV1internalTokenwiseV1internalPathDeleteResponse5? 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.ProxyV1internalTokenwiseV1internalPathDeleteResponse5? 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.ProxyV1internalTokenwiseV1internalPathDeleteResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathDeleteResponse5; - } - - /// - /// 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.ProxyV1internalTokenwiseV1internalPathDeleteResponse5.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse5.g.cs deleted file mode 100644 index 3c108b3f..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse5.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1internalTokenwiseV1internalPathDeleteResponse5 - { - - /// - /// 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.ProxyV1internalTokenwiseV1internalPathDeleteResponse6.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse6.Json.g.cs deleted file mode 100644 index 2990bca9..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse6.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace AI21 -{ - public sealed partial class ProxyV1internalTokenwiseV1internalPathDeleteResponse6 - { - /// - /// 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.ProxyV1internalTokenwiseV1internalPathDeleteResponse6? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathDeleteResponse6), - jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathDeleteResponse6; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::AI21.ProxyV1internalTokenwiseV1internalPathDeleteResponse6? 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.ProxyV1internalTokenwiseV1internalPathDeleteResponse6? 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.ProxyV1internalTokenwiseV1internalPathDeleteResponse6), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathDeleteResponse6; - } - - /// - /// 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.ProxyV1internalTokenwiseV1internalPathDeleteResponse6.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse6.g.cs deleted file mode 100644 index c9825340..00000000 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse6.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace AI21 -{ - /// - /// - /// - public sealed partial class ProxyV1internalTokenwiseV1internalPathDeleteResponse6 - { - - /// - /// 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.ProxyV1internalTokenwiseV1internalPathDeleteResponse.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse.Json.g.cs similarity index 89% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse.Json.g.cs index 64c44876..e204f76d 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1internalTokenwiseV1internalPathDeleteResponse + public sealed partial class ProxyV1internalTokenwiseV1internalPathOptionsResponse { /// /// 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.ProxyV1internalTokenwiseV1internalPathDeleteResponse? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathDeleteResponse), - jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathDeleteResponse; + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse), + jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1internalTokenwiseV1internalPathDeleteResponse? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse? 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.ProxyV1internalTokenwiseV1internalPathDeleteResponse? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse? 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.ProxyV1internalTokenwiseV1internalPathDeleteResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathDeleteResponse; + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse; } /// /// 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.ProxyV1internalTokenwiseV1internalPathDeleteResponse.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse.g.cs similarity index 96% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse.g.cs index 09c87dd4..82baa0c8 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1internalTokenwiseV1internalPathDeleteResponse + public sealed partial class ProxyV1internalTokenwiseV1internalPathOptionsResponse { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse2.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse2.Json.g.cs similarity index 89% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse2.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse2.Json.g.cs index 2748847b..e7354e62 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse2.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1internalTokenwiseV1internalPathDeleteResponse2 + public sealed partial class ProxyV1internalTokenwiseV1internalPathOptionsResponse2 { /// /// 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.ProxyV1internalTokenwiseV1internalPathDeleteResponse2? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathDeleteResponse2), - jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathDeleteResponse2; + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse2), + jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse2; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1internalTokenwiseV1internalPathDeleteResponse2? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse2? 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.ProxyV1internalTokenwiseV1internalPathDeleteResponse2? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse2? 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.ProxyV1internalTokenwiseV1internalPathDeleteResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathDeleteResponse2; + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse2; } /// /// 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.ProxyV1internalTokenwiseV1internalPathDeleteResponse2.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse2.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse2.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse2.g.cs index 53de321c..d191da7c 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse2.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse2.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1internalTokenwiseV1internalPathDeleteResponse2 + public sealed partial class ProxyV1internalTokenwiseV1internalPathOptionsResponse2 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse3.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse3.Json.g.cs similarity index 89% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse3.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse3.Json.g.cs index 4e923b00..048b93bc 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse3.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1internalTokenwiseV1internalPathDeleteResponse3 + public sealed partial class ProxyV1internalTokenwiseV1internalPathOptionsResponse3 { /// /// 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.ProxyV1internalTokenwiseV1internalPathDeleteResponse3? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathDeleteResponse3), - jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathDeleteResponse3; + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse3), + jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse3; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1internalTokenwiseV1internalPathDeleteResponse3? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse3? 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.ProxyV1internalTokenwiseV1internalPathDeleteResponse3? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse3? 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.ProxyV1internalTokenwiseV1internalPathDeleteResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathDeleteResponse3; + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse3; } /// /// 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.ProxyV1internalTokenwiseV1internalPathDeleteResponse3.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse3.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse3.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse3.g.cs index 102019e4..aff54997 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse3.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse3.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1internalTokenwiseV1internalPathDeleteResponse3 + public sealed partial class ProxyV1internalTokenwiseV1internalPathOptionsResponse3 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse4.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse4.Json.g.cs similarity index 89% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse4.Json.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse4.Json.g.cs index 06397535..901a312a 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse4.Json.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse4.Json.g.cs @@ -2,7 +2,7 @@ namespace AI21 { - public sealed partial class ProxyV1internalTokenwiseV1internalPathDeleteResponse4 + public sealed partial class ProxyV1internalTokenwiseV1internalPathOptionsResponse4 { /// /// 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.ProxyV1internalTokenwiseV1internalPathDeleteResponse4? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse4? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathDeleteResponse4), - jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathDeleteResponse4; + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse4), + jsonSerializerContext) as global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse4; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::AI21.ProxyV1internalTokenwiseV1internalPathDeleteResponse4? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse4? 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.ProxyV1internalTokenwiseV1internalPathDeleteResponse4? FromJson( + public static global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse4? 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.ProxyV1internalTokenwiseV1internalPathDeleteResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathDeleteResponse4; + typeof(global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::AI21.ProxyV1internalTokenwiseV1internalPathOptionsResponse4; } /// /// 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.ProxyV1internalTokenwiseV1internalPathDeleteResponse4.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse4.g.cs similarity index 95% rename from src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse4.g.cs rename to src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse4.g.cs index 7371bcb4..694817c6 100644 --- a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathDeleteResponse4.g.cs +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse4.g.cs @@ -6,7 +6,7 @@ namespace AI21 /// /// /// - public sealed partial class ProxyV1internalTokenwiseV1internalPathDeleteResponse4 + public sealed partial class ProxyV1internalTokenwiseV1internalPathOptionsResponse4 { /// diff --git a/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse5.Json.g.cs b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse5.Json.g.cs new file mode 100644 index 00000000..30a0e54a --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse5.Json.g.cs @@ -0,0 +1,141 @@ +#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 new file mode 100644 index 00000000..756437b9 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse5.g.cs @@ -0,0 +1,19 @@ + +#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 new file mode 100644 index 00000000..392ac176 --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse6.Json.g.cs @@ -0,0 +1,141 @@ +#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 new file mode 100644 index 00000000..4d8c12dd --- /dev/null +++ b/src/libs/AI21/Generated/AI21.Models.ProxyV1internalTokenwiseV1internalPathOptionsResponse6.g.cs @@ -0,0 +1,19 @@ + +#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/openapi.json b/src/libs/AI21/openapi.json index e6e3a465..7168750d 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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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"}}}}}}},"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/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/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/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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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__delete","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"}}}}}}},"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/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/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/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__delete","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__delete","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__delete","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__delete","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__delete","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/models":{"get":{"summary":"Get Models Info","operationId":"v1_list_models_info","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelsInfoResponse"}}}}}}},"/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},"ModelInfo":{"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"},"updated":{"type":"string","title":"Updated"},"context_length":{"type":"integer","title":"Context Length"},"quantization":{"$ref":"#/components/schemas/ModelQuantization"},"max_completion_tokens":{"type":"integer","title":"Max Completion Tokens"},"pricing":{"$ref":"#/components/schemas/ModelPricing"}},"type":"object","required":["id","name","updated","context_length","quantization","max_completion_tokens","pricing"],"title":"ModelInfo"},"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."},"ModelPricing":{"properties":{"prompt":{"type":"string","title":"Prompt"},"completion":{"type":"string","title":"Completion"}},"type":"object","required":["prompt","completion"],"title":"ModelPricing"},"ModelQuantization":{"type":"string","enum":["FP8","experts_int8"],"title":"ModelQuantization","description":"An enumeration."},"ModelsInfoResponse":{"properties":{"data":{"items":{"$ref":"#/components/schemas/ModelInfo"},"type":"array","title":"Data"}},"type":"object","required":["data"],"title":"ModelsInfoResponse"},"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"},"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__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"}}}}}}},"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/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/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/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"}}}}}}},"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/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/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/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/models":{"get":{"summary":"Get Models Info","operationId":"v1_list_models_info","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelsInfoResponse"}}}}}}},"/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},"ModelInfo":{"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"},"updated":{"type":"string","title":"Updated"},"context_length":{"type":"integer","title":"Context Length"},"quantization":{"$ref":"#/components/schemas/ModelQuantization"},"max_completion_tokens":{"type":"integer","title":"Max Completion Tokens"},"pricing":{"$ref":"#/components/schemas/ModelPricing"}},"type":"object","required":["id","name","updated","context_length","quantization","max_completion_tokens","pricing"],"title":"ModelInfo"},"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."},"ModelPricing":{"properties":{"prompt":{"type":"string","title":"Prompt"},"completion":{"type":"string","title":"Completion"}},"type":"object","required":["prompt","completion"],"title":"ModelPricing"},"ModelQuantization":{"type":"string","enum":["FP8","experts_int8"],"title":"ModelQuantization","description":"An enumeration."},"ModelsInfoResponse":{"properties":{"data":{"items":{"$ref":"#/components/schemas/ModelInfo"},"type":"array","title":"Data"}},"type":"object","required":["data"],"title":"ModelsInfoResponse"},"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