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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ partial void ProcessAnalyticsControllerQueryResponseContent(
__response.EnsureSuccessStatusCode();

return
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList<global::Vapi.AnalyticsQueryResult>), JsonSerializerContext) as global::System.Collections.Generic.IList<global::Vapi.AnalyticsQueryResult> ??
(global::System.Collections.Generic.IList<global::Vapi.AnalyticsQueryResult>?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList<global::Vapi.AnalyticsQueryResult>), JsonSerializerContext) ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}
catch (global::System.Exception __ex)
Expand Down Expand Up @@ -147,7 +147,7 @@ partial void ProcessAnalyticsControllerQueryResponseContent(
).ConfigureAwait(false);

return
await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList<global::Vapi.AnalyticsQueryResult>), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList<global::Vapi.AnalyticsQueryResult> ??
(global::System.Collections.Generic.IList<global::Vapi.AnalyticsQueryResult>?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList<global::Vapi.AnalyticsQueryResult>), JsonSerializerContext).ConfigureAwait(false) ??
throw new global::System.InvalidOperationException("Response deserialization failed.");
}
catch (global::System.Exception __ex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ partial void ProcessAssistantControllerFindAllResponseContent(
__response.EnsureSuccessStatusCode();

return
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList<global::Vapi.Assistant>), JsonSerializerContext) as global::System.Collections.Generic.IList<global::Vapi.Assistant> ??
(global::System.Collections.Generic.IList<global::Vapi.Assistant>?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList<global::Vapi.Assistant>), JsonSerializerContext) ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}
catch (global::System.Exception __ex)
Expand Down Expand Up @@ -197,7 +197,7 @@ partial void ProcessAssistantControllerFindAllResponseContent(
).ConfigureAwait(false);

return
await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList<global::Vapi.Assistant>), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList<global::Vapi.Assistant> ??
(global::System.Collections.Generic.IList<global::Vapi.Assistant>?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList<global::Vapi.Assistant>), JsonSerializerContext).ConfigureAwait(false) ??
throw new global::System.InvalidOperationException("Response deserialization failed.");
}
catch (global::System.Exception __ex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ partial void ProcessCallControllerFindAllResponseContent(
__response.EnsureSuccessStatusCode();

return
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList<global::Vapi.Call>), JsonSerializerContext) as global::System.Collections.Generic.IList<global::Vapi.Call> ??
(global::System.Collections.Generic.IList<global::Vapi.Call>?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList<global::Vapi.Call>), JsonSerializerContext) ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}
catch (global::System.Exception __ex)
Expand Down Expand Up @@ -218,7 +218,7 @@ partial void ProcessCallControllerFindAllResponseContent(
).ConfigureAwait(false);

return
await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList<global::Vapi.Call>), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList<global::Vapi.Call> ??
(global::System.Collections.Generic.IList<global::Vapi.Call>?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList<global::Vapi.Call>), JsonSerializerContext).ConfigureAwait(false) ??
throw new global::System.InvalidOperationException("Response deserialization failed.");
}
catch (global::System.Exception __ex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ partial void ProcessFileControllerFindAllResponseContent(
__response.EnsureSuccessStatusCode();

return
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList<global::Vapi.File>), JsonSerializerContext) as global::System.Collections.Generic.IList<global::Vapi.File> ??
(global::System.Collections.Generic.IList<global::Vapi.File>?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList<global::Vapi.File>), JsonSerializerContext) ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}
catch (global::System.Exception __ex)
Expand Down Expand Up @@ -132,7 +132,7 @@ partial void ProcessFileControllerFindAllResponseContent(
).ConfigureAwait(false);

return
await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList<global::Vapi.File>), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList<global::Vapi.File> ??
(global::System.Collections.Generic.IList<global::Vapi.File>?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList<global::Vapi.File>), JsonSerializerContext).ConfigureAwait(false) ??
throw new global::System.InvalidOperationException("Response deserialization failed.");
}
catch (global::System.Exception __ex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ partial void ProcessPhoneNumberControllerFindAllResponseContent(
__response.EnsureSuccessStatusCode();

return
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList<global::Vapi.PhoneNumberControllerFindAllResponseItem>), JsonSerializerContext) as global::System.Collections.Generic.IList<global::Vapi.PhoneNumberControllerFindAllResponseItem> ??
(global::System.Collections.Generic.IList<global::Vapi.PhoneNumberControllerFindAllResponseItem>?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList<global::Vapi.PhoneNumberControllerFindAllResponseItem>), JsonSerializerContext) ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}
catch (global::System.Exception __ex)
Expand Down Expand Up @@ -197,7 +197,7 @@ partial void ProcessPhoneNumberControllerFindAllResponseContent(
).ConfigureAwait(false);

return
await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList<global::Vapi.PhoneNumberControllerFindAllResponseItem>), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList<global::Vapi.PhoneNumberControllerFindAllResponseItem> ??
(global::System.Collections.Generic.IList<global::Vapi.PhoneNumberControllerFindAllResponseItem>?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList<global::Vapi.PhoneNumberControllerFindAllResponseItem>), JsonSerializerContext).ConfigureAwait(false) ??
throw new global::System.InvalidOperationException("Response deserialization failed.");
}
catch (global::System.Exception __ex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ partial void ProcessSquadControllerFindAllResponseContent(
__response.EnsureSuccessStatusCode();

return
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList<global::Vapi.Squad>), JsonSerializerContext) as global::System.Collections.Generic.IList<global::Vapi.Squad> ??
(global::System.Collections.Generic.IList<global::Vapi.Squad>?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList<global::Vapi.Squad>), JsonSerializerContext) ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}
catch (global::System.Exception __ex)
Expand Down Expand Up @@ -197,7 +197,7 @@ partial void ProcessSquadControllerFindAllResponseContent(
).ConfigureAwait(false);

return
await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList<global::Vapi.Squad>), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList<global::Vapi.Squad> ??
(global::System.Collections.Generic.IList<global::Vapi.Squad>?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList<global::Vapi.Squad>), JsonSerializerContext).ConfigureAwait(false) ??
throw new global::System.InvalidOperationException("Response deserialization failed.");
}
catch (global::System.Exception __ex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ partial void ProcessToolControllerFindAllResponseContent(
__response.EnsureSuccessStatusCode();

return
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList<global::Vapi.ToolControllerFindAllResponseItem>), JsonSerializerContext) as global::System.Collections.Generic.IList<global::Vapi.ToolControllerFindAllResponseItem> ??
(global::System.Collections.Generic.IList<global::Vapi.ToolControllerFindAllResponseItem>?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList<global::Vapi.ToolControllerFindAllResponseItem>), JsonSerializerContext) ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}
catch (global::System.Exception __ex)
Expand Down Expand Up @@ -197,7 +197,7 @@ partial void ProcessToolControllerFindAllResponseContent(
).ConfigureAwait(false);

return
await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList<global::Vapi.ToolControllerFindAllResponseItem>), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList<global::Vapi.ToolControllerFindAllResponseItem> ??
(global::System.Collections.Generic.IList<global::Vapi.ToolControllerFindAllResponseItem>?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList<global::Vapi.ToolControllerFindAllResponseItem>), JsonSerializerContext).ConfigureAwait(false) ??
throw new global::System.InvalidOperationException("Response deserialization failed.");
}
catch (global::System.Exception __ex)
Expand Down
Loading