diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ae4ac3c..2ebaa42 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -48,7 +48,7 @@ jobs:
publish:
- needs: [compile, unit-tests]
+ needs: [compile]
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
diff --git a/.gitignore b/.gitignore
index 9965de2..11014f2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,477 +1,484 @@
-## Ignore Visual Studio temporary files, build results, and
-## files generated by popular Visual Studio add-ons.
-##
-## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
-
-# User-specific files
-*.rsuser
-*.suo
-*.user
-*.userosscache
-*.sln.docstates
-
-# User-specific files (MonoDevelop/Xamarin Studio)
-*.userprefs
-
-# Mono auto generated files
-mono_crash.*
-
-# Build results
-[Dd]ebug/
-[Dd]ebugPublic/
-[Rr]elease/
-[Rr]eleases/
-x64/
-x86/
-[Ww][Ii][Nn]32/
-[Aa][Rr][Mm]/
-[Aa][Rr][Mm]64/
-bld/
-[Bb]in/
-[Oo]bj/
-[Ll]og/
-[Ll]ogs/
-
-# Visual Studio 2015/2017 cache/options directory
-.vs/
-# Uncomment if you have tasks that create the project's static files in wwwroot
-#wwwroot/
-
-# Visual Studio 2017 auto generated files
-Generated\ Files/
-
-# MSTest test Results
-[Tt]est[Rr]esult*/
-[Bb]uild[Ll]og.*
-
-# NUnit
-*.VisualState.xml
-TestResult.xml
-nunit-*.xml
-
-# Build Results of an ATL Project
-[Dd]ebugPS/
-[Rr]eleasePS/
-dlldata.c
-
-# Benchmark Results
-BenchmarkDotNet.Artifacts/
-
-# .NET
-project.lock.json
-project.fragment.lock.json
-artifacts/
-
-# Tye
-.tye/
-
-# ASP.NET Scaffolding
-ScaffoldingReadMe.txt
-
-# StyleCop
-StyleCopReport.xml
-
-# Files built by Visual Studio
-*_i.c
-*_p.c
-*_h.h
-*.ilk
-*.meta
-*.obj
-*.iobj
-*.pch
-*.pdb
-*.ipdb
-*.pgc
-*.pgd
-*.rsp
-*.sbr
-*.tlb
-*.tli
-*.tlh
-*.tmp
-*.tmp_proj
-*_wpftmp.csproj
-*.log
-*.tlog
-*.vspscc
-*.vssscc
-.builds
-*.pidb
-*.svclog
-*.scc
-
-# Chutzpah Test files
-_Chutzpah*
-
-# Visual C++ cache files
-ipch/
-*.aps
-*.ncb
-*.opendb
-*.opensdf
-*.sdf
-*.cachefile
-*.VC.db
-*.VC.VC.opendb
-
-# Visual Studio profiler
-*.psess
-*.vsp
-*.vspx
-*.sap
-
-# Visual Studio Trace Files
-*.e2e
-
-# TFS 2012 Local Workspace
-$tf/
-
-# Guidance Automation Toolkit
-*.gpState
-
-# ReSharper is a .NET coding add-in
-_ReSharper*/
-*.[Rr]e[Ss]harper
-*.DotSettings.user
-
-# TeamCity is a build add-in
-_TeamCity*
-
-# DotCover is a Code Coverage Tool
-*.dotCover
-
-# AxoCover is a Code Coverage Tool
-.axoCover/*
-!.axoCover/settings.json
-
-# Coverlet is a free, cross platform Code Coverage Tool
-coverage*.json
-coverage*.xml
-coverage*.info
-
-# Visual Studio code coverage results
-*.coverage
-*.coveragexml
-
-# NCrunch
-_NCrunch_*
-.*crunch*.local.xml
-nCrunchTemp_*
-
-# MightyMoose
-*.mm.*
-AutoTest.Net/
-
-# Web workbench (sass)
-.sass-cache/
-
-# Installshield output folder
-[Ee]xpress/
-
-# DocProject is a documentation generator add-in
-DocProject/buildhelp/
-DocProject/Help/*.HxT
-DocProject/Help/*.HxC
-DocProject/Help/*.hhc
-DocProject/Help/*.hhk
-DocProject/Help/*.hhp
-DocProject/Help/Html2
-DocProject/Help/html
-
-# Click-Once directory
-publish/
-
-# Publish Web Output
-*.[Pp]ublish.xml
-*.azurePubxml
-# Note: Comment the next line if you want to checkin your web deploy settings,
-# but database connection strings (with potential passwords) will be unencrypted
-*.pubxml
-*.publishproj
-
-# Microsoft Azure Web App publish settings. Comment the next line if you want to
-# checkin your Azure Web App publish settings, but sensitive information contained
-# in these scripts will be unencrypted
-PublishScripts/
-
-# NuGet Packages
-*.nupkg
-# NuGet Symbol Packages
-*.snupkg
-# The packages folder can be ignored because of Package Restore
-**/[Pp]ackages/*
-# except build/, which is used as an MSBuild target.
-!**/[Pp]ackages/build/
-# Uncomment if necessary however generally it will be regenerated when needed
-#!**/[Pp]ackages/repositories.config
-# NuGet v3's project.json files produces more ignorable files
-*.nuget.props
-*.nuget.targets
-
-# Microsoft Azure Build Output
-csx/
-*.build.csdef
-
-# Microsoft Azure Emulator
-ecf/
-rcf/
-
-# Windows Store app package directories and files
-AppPackages/
-BundleArtifacts/
-Package.StoreAssociation.xml
-_pkginfo.txt
-*.appx
-*.appxbundle
-*.appxupload
-
-# Visual Studio cache files
-# files ending in .cache can be ignored
-*.[Cc]ache
-# but keep track of directories ending in .cache
-!?*.[Cc]ache/
-
-# Others
-ClientBin/
-~$*
-*~
-*.dbmdl
-*.dbproj.schemaview
-*.jfm
-*.pfx
-*.publishsettings
-orleans.codegen.cs
-
-# Including strong name files can present a security risk
-# (https://github.com/github/gitignore/pull/2483#issue-259490424)
-#*.snk
-
-# Since there are multiple workflows, uncomment next line to ignore bower_components
-# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
-#bower_components/
-
-# RIA/Silverlight projects
-Generated_Code/
-
-# Backup & report files from converting an old project file
-# to a newer Visual Studio version. Backup files are not needed,
-# because we have git ;-)
-_UpgradeReport_Files/
-Backup*/
-UpgradeLog*.XML
-UpgradeLog*.htm
-ServiceFabricBackup/
-*.rptproj.bak
-
-# SQL Server files
-*.mdf
-*.ldf
-*.ndf
-
-# Business Intelligence projects
-*.rdl.data
-*.bim.layout
-*.bim_*.settings
-*.rptproj.rsuser
-*- [Bb]ackup.rdl
-*- [Bb]ackup ([0-9]).rdl
-*- [Bb]ackup ([0-9][0-9]).rdl
-
-# Microsoft Fakes
-FakesAssemblies/
-
-# GhostDoc plugin setting file
-*.GhostDoc.xml
-
-# Node.js Tools for Visual Studio
-.ntvs_analysis.dat
-node_modules/
-
-# Visual Studio 6 build log
-*.plg
-
-# Visual Studio 6 workspace options file
-*.opt
-
-# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
-*.vbw
-
-# Visual Studio 6 auto-generated project file (contains which files were open etc.)
-*.vbp
-
-# Visual Studio 6 workspace and project file (working project files containing files to include in project)
-*.dsw
-*.dsp
-
-# Visual Studio 6 technical files
-*.ncb
-*.aps
-
-# Visual Studio LightSwitch build output
-**/*.HTMLClient/GeneratedArtifacts
-**/*.DesktopClient/GeneratedArtifacts
-**/*.DesktopClient/ModelManifest.xml
-**/*.Server/GeneratedArtifacts
-**/*.Server/ModelManifest.xml
-_Pvt_Extensions
-
-# Paket dependency manager
-.paket/paket.exe
-paket-files/
-
-# FAKE - F# Make
-.fake/
-
-# CodeRush personal settings
-.cr/personal
-
-# Python Tools for Visual Studio (PTVS)
-__pycache__/
-*.pyc
-
-# Cake - Uncomment if you are using it
-# tools/**
-# !tools/packages.config
-
-# Tabs Studio
-*.tss
-
-# Telerik's JustMock configuration file
-*.jmconfig
-
-# BizTalk build output
-*.btp.cs
-*.btm.cs
-*.odx.cs
-*.xsd.cs
-
-# OpenCover UI analysis results
-OpenCover/
-
-# Azure Stream Analytics local run output
-ASALocalRun/
-
-# MSBuild Binary and Structured Log
-*.binlog
-
-# NVidia Nsight GPU debugger configuration file
-*.nvuser
-
-# MFractors (Xamarin productivity tool) working folder
-.mfractor/
-
-# Local History for Visual Studio
-.localhistory/
-
-# Visual Studio History (VSHistory) files
-.vshistory/
-
-# BeatPulse healthcheck temp database
-healthchecksdb
-
-# Backup folder for Package Reference Convert tool in Visual Studio 2017
-MigrationBackup/
-
-# Ionide (cross platform F# VS Code tools) working folder
-.ionide/
-
-# Fody - auto-generated XML schema
-FodyWeavers.xsd
-
-# VS Code files for those working on multiple tools
-.vscode/*
-!.vscode/settings.json
-!.vscode/tasks.json
-!.vscode/launch.json
-!.vscode/extensions.json
-*.code-workspace
-
-# Local History for Visual Studio Code
-.history/
-
-# Windows Installer files from build outputs
-*.cab
-*.msi
-*.msix
-*.msm
-*.msp
-
-# JetBrains Rider
-*.sln.iml
-
-##
-## Visual studio for Mac
-##
-
-
-# globs
-Makefile.in
-*.userprefs
-*.usertasks
-config.make
-config.status
-aclocal.m4
-install-sh
-autom4te.cache/
-*.tar.gz
-tarballs/
-test-results/
-
-# Mac bundle stuff
-*.dmg
-*.app
-
-# content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore
-# General
-.DS_Store
-.AppleDouble
-.LSOverride
-
-# Icon must end with two \r
-Icon
-
-
-# Thumbnails
-._*
-
-# Files that might appear in the root of a volume
-.DocumentRevisions-V100
-.fseventsd
-.Spotlight-V100
-.TemporaryItems
-.Trashes
-.VolumeIcon.icns
-.com.apple.timemachine.donotpresent
-
-# Directories potentially created on remote AFP share
-.AppleDB
-.AppleDesktop
-Network Trash Folder
-Temporary Items
-.apdisk
-
-# content below from: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore
-# Windows thumbnail cache files
-Thumbs.db
-ehthumbs.db
-ehthumbs_vista.db
-
-# Dump file
-*.stackdump
-
-# Folder config file
-[Dd]esktop.ini
-
-# Recycle Bin used on file shares
-$RECYCLE.BIN/
-
-# Windows Installer files
-*.cab
-*.msi
-*.msix
-*.msm
-*.msp
-
-# Windows shortcuts
-*.lnk
+## Ignore Visual Studio temporary files, build results, and
+## files generated by popular Visual Studio add-ons.
+
+## This is based on `dotnet new gitignore` and customized by Fern
+
+# dotenv files
+.env
+
+# User-specific files
+*.rsuser
+*.suo
+*.user
+*.userosscache
+*.sln.docstates
+
+# User-specific files (MonoDevelop/Xamarin Studio)
+*.userprefs
+
+# Mono auto generated files
+mono_crash.*
+
+# Build results
+[Dd]ebug/
+[Dd]ebugPublic/
+# [Rr]elease/ (Ignored by Fern)
+# [Rr]eleases/ (Ignored by Fern)
+x64/
+x86/
+[Ww][Ii][Nn]32/
+[Aa][Rr][Mm]/
+[Aa][Rr][Mm]64/
+bld/
+[Bb]in/
+[Oo]bj/
+# [Ll]og/ (Ignored by Fern)
+# [Ll]ogs/ (Ignored by Fern)
+
+# Visual Studio 2015/2017 cache/options directory
+.vs/
+# Uncomment if you have tasks that create the project's static files in wwwroot
+#wwwroot/
+
+# Visual Studio 2017 auto generated files
+Generated\ Files/
+
+# MSTest test Results
+[Tt]est[Rr]esult*/
+[Bb]uild[Ll]og.*
+
+# NUnit
+*.VisualState.xml
+TestResult.xml
+nunit-*.xml
+
+# Build Results of an ATL Project
+[Dd]ebugPS/
+[Rr]eleasePS/
+dlldata.c
+
+# Benchmark Results
+BenchmarkDotNet.Artifacts/
+
+# .NET
+project.lock.json
+project.fragment.lock.json
+artifacts/
+
+# Tye
+.tye/
+
+# ASP.NET Scaffolding
+ScaffoldingReadMe.txt
+
+# StyleCop
+StyleCopReport.xml
+
+# Files built by Visual Studio
+*_i.c
+*_p.c
+*_h.h
+*.ilk
+*.meta
+*.obj
+*.iobj
+*.pch
+*.pdb
+*.ipdb
+*.pgc
+*.pgd
+*.rsp
+*.sbr
+*.tlb
+*.tli
+*.tlh
+*.tmp
+*.tmp_proj
+*_wpftmp.csproj
+*.log
+*.tlog
+*.vspscc
+*.vssscc
+.builds
+*.pidb
+*.svclog
+*.scc
+
+# Chutzpah Test files
+_Chutzpah*
+
+# Visual C++ cache files
+ipch/
+*.aps
+*.ncb
+*.opendb
+*.opensdf
+*.sdf
+*.cachefile
+*.VC.db
+*.VC.VC.opendb
+
+# Visual Studio profiler
+*.psess
+*.vsp
+*.vspx
+*.sap
+
+# Visual Studio Trace Files
+*.e2e
+
+# TFS 2012 Local Workspace
+$tf/
+
+# Guidance Automation Toolkit
+*.gpState
+
+# ReSharper is a .NET coding add-in
+_ReSharper*/
+*.[Rr]e[Ss]harper
+*.DotSettings.user
+
+# TeamCity is a build add-in
+_TeamCity*
+
+# DotCover is a Code Coverage Tool
+*.dotCover
+
+# AxoCover is a Code Coverage Tool
+.axoCover/*
+!.axoCover/settings.json
+
+# Coverlet is a free, cross platform Code Coverage Tool
+coverage*.json
+coverage*.xml
+coverage*.info
+
+# Visual Studio code coverage results
+*.coverage
+*.coveragexml
+
+# NCrunch
+_NCrunch_*
+.*crunch*.local.xml
+nCrunchTemp_*
+
+# MightyMoose
+*.mm.*
+AutoTest.Net/
+
+# Web workbench (sass)
+.sass-cache/
+
+# Installshield output folder
+[Ee]xpress/
+
+# DocProject is a documentation generator add-in
+DocProject/buildhelp/
+DocProject/Help/*.HxT
+DocProject/Help/*.HxC
+DocProject/Help/*.hhc
+DocProject/Help/*.hhk
+DocProject/Help/*.hhp
+DocProject/Help/Html2
+DocProject/Help/html
+
+# Click-Once directory
+publish/
+
+# Publish Web Output
+*.[Pp]ublish.xml
+*.azurePubxml
+# Note: Comment the next line if you want to checkin your web deploy settings,
+# but database connection strings (with potential passwords) will be unencrypted
+*.pubxml
+*.publishproj
+
+# Microsoft Azure Web App publish settings. Comment the next line if you want to
+# checkin your Azure Web App publish settings, but sensitive information contained
+# in these scripts will be unencrypted
+PublishScripts/
+
+# NuGet Packages
+*.nupkg
+# NuGet Symbol Packages
+*.snupkg
+# The packages folder can be ignored because of Package Restore
+**/[Pp]ackages/*
+# except build/, which is used as an MSBuild target.
+!**/[Pp]ackages/build/
+# Uncomment if necessary however generally it will be regenerated when needed
+#!**/[Pp]ackages/repositories.config
+# NuGet v3's project.json files produces more ignorable files
+*.nuget.props
+*.nuget.targets
+
+# Microsoft Azure Build Output
+csx/
+*.build.csdef
+
+# Microsoft Azure Emulator
+ecf/
+rcf/
+
+# Windows Store app package directories and files
+AppPackages/
+BundleArtifacts/
+Package.StoreAssociation.xml
+_pkginfo.txt
+*.appx
+*.appxbundle
+*.appxupload
+
+# Visual Studio cache files
+# files ending in .cache can be ignored
+*.[Cc]ache
+# but keep track of directories ending in .cache
+!?*.[Cc]ache/
+
+# Others
+ClientBin/
+~$*
+*~
+*.dbmdl
+*.dbproj.schemaview
+*.jfm
+*.pfx
+*.publishsettings
+orleans.codegen.cs
+
+# Including strong name files can present a security risk
+# (https://github.com/github/gitignore/pull/2483#issue-259490424)
+#*.snk
+
+# Since there are multiple workflows, uncomment next line to ignore bower_components
+# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
+#bower_components/
+
+# RIA/Silverlight projects
+Generated_Code/
+
+# Backup & report files from converting an old project file
+# to a newer Visual Studio version. Backup files are not needed,
+# because we have git ;-)
+_UpgradeReport_Files/
+Backup*/
+UpgradeLog*.XML
+UpgradeLog*.htm
+ServiceFabricBackup/
+*.rptproj.bak
+
+# SQL Server files
+*.mdf
+*.ldf
+*.ndf
+
+# Business Intelligence projects
+*.rdl.data
+*.bim.layout
+*.bim_*.settings
+*.rptproj.rsuser
+*- [Bb]ackup.rdl
+*- [Bb]ackup ([0-9]).rdl
+*- [Bb]ackup ([0-9][0-9]).rdl
+
+# Microsoft Fakes
+FakesAssemblies/
+
+# GhostDoc plugin setting file
+*.GhostDoc.xml
+
+# Node.js Tools for Visual Studio
+.ntvs_analysis.dat
+node_modules/
+
+# Visual Studio 6 build log
+*.plg
+
+# Visual Studio 6 workspace options file
+*.opt
+
+# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
+*.vbw
+
+# Visual Studio 6 auto-generated project file (contains which files were open etc.)
+*.vbp
+
+# Visual Studio 6 workspace and project file (working project files containing files to include in project)
+*.dsw
+*.dsp
+
+# Visual Studio 6 technical files
+*.ncb
+*.aps
+
+# Visual Studio LightSwitch build output
+**/*.HTMLClient/GeneratedArtifacts
+**/*.DesktopClient/GeneratedArtifacts
+**/*.DesktopClient/ModelManifest.xml
+**/*.Server/GeneratedArtifacts
+**/*.Server/ModelManifest.xml
+_Pvt_Extensions
+
+# Paket dependency manager
+.paket/paket.exe
+paket-files/
+
+# FAKE - F# Make
+.fake/
+
+# CodeRush personal settings
+.cr/personal
+
+# Python Tools for Visual Studio (PTVS)
+__pycache__/
+*.pyc
+
+# Cake - Uncomment if you are using it
+# tools/**
+# !tools/packages.config
+
+# Tabs Studio
+*.tss
+
+# Telerik's JustMock configuration file
+*.jmconfig
+
+# BizTalk build output
+*.btp.cs
+*.btm.cs
+*.odx.cs
+*.xsd.cs
+
+# OpenCover UI analysis results
+OpenCover/
+
+# Azure Stream Analytics local run output
+ASALocalRun/
+
+# MSBuild Binary and Structured Log
+*.binlog
+
+# NVidia Nsight GPU debugger configuration file
+*.nvuser
+
+# MFractors (Xamarin productivity tool) working folder
+.mfractor/
+
+# Local History for Visual Studio
+.localhistory/
+
+# Visual Studio History (VSHistory) files
+.vshistory/
+
+# BeatPulse healthcheck temp database
+healthchecksdb
+
+# Backup folder for Package Reference Convert tool in Visual Studio 2017
+MigrationBackup/
+
+# Ionide (cross platform F# VS Code tools) working folder
+.ionide/
+
+# Fody - auto-generated XML schema
+FodyWeavers.xsd
+
+# VS Code files for those working on multiple tools
+.vscode/*
+!.vscode/settings.json
+!.vscode/tasks.json
+!.vscode/launch.json
+!.vscode/extensions.json
+*.code-workspace
+
+# Local History for Visual Studio Code
+.history/
+
+# Windows Installer files from build outputs
+*.cab
+*.msi
+*.msix
+*.msm
+*.msp
+
+# JetBrains Rider
+*.sln.iml
+.idea
+
+##
+## Visual studio for Mac
+##
+
+
+# globs
+Makefile.in
+*.userprefs
+*.usertasks
+config.make
+config.status
+aclocal.m4
+install-sh
+autom4te.cache/
+*.tar.gz
+tarballs/
+test-results/
+
+# Mac bundle stuff
+*.dmg
+*.app
+
+# content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore
+# General
+.DS_Store
+.AppleDouble
+.LSOverride
+
+# Icon must end with two \r
+Icon
+
+
+# Thumbnails
+._*
+
+# Files that might appear in the root of a volume
+.DocumentRevisions-V100
+.fseventsd
+.Spotlight-V100
+.TemporaryItems
+.Trashes
+.VolumeIcon.icns
+.com.apple.timemachine.donotpresent
+
+# Directories potentially created on remote AFP share
+.AppleDB
+.AppleDesktop
+Network Trash Folder
+Temporary Items
+.apdisk
+
+# content below from: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore
+# Windows thumbnail cache files
+Thumbs.db
+ehthumbs.db
+ehthumbs_vista.db
+
+# Dump file
+*.stackdump
+
+# Folder config file
+[Dd]esktop.ini
+
+# Recycle Bin used on file shares
+$RECYCLE.BIN/
+
+# Windows Installer files
+*.cab
+*.msi
+*.msix
+*.msm
+*.msp
+
+# Windows shortcuts
+*.lnk
+
+# Vim temporary swap files
+*.swp
diff --git a/reference.md b/reference.md
new file mode 100644
index 0000000..6731756
--- /dev/null
+++ b/reference.md
@@ -0,0 +1,6490 @@
+# Reference
+client.GetCompanyPlansAsync()
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.GetCompanyPlansAsync();
+```
+
+
+
+
+
+
+
+
+
+
+## accounts
+client.Accounts.ListApiKeysAsync(ListApiKeysRequest { ... }) -> ListApiKeysResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Accounts.ListApiKeysAsync(new ListApiKeysRequest { RequireEnvironment = true });
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ListApiKeysRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Accounts.CreateApiKeyAsync(CreateApiKeyRequestBody { ... }) -> CreateApiKeyResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Accounts.CreateApiKeyAsync(new CreateApiKeyRequestBody { Name = "name" });
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CreateApiKeyRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Accounts.GetApiKeyAsync(apiKeyId) -> GetApiKeyResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Accounts.GetApiKeyAsync("api_key_id");
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**apiKeyId:** `string` — api_key_id
+
+
+
+
+
+
+
+
+
+
+
+client.Accounts.UpdateApiKeyAsync(apiKeyId, UpdateApiKeyRequestBody { ... }) -> UpdateApiKeyResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Accounts.UpdateApiKeyAsync("api_key_id", new UpdateApiKeyRequestBody());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**apiKeyId:** `string` — api_key_id
+
+
+
+
+
+-
+
+**request:** `UpdateApiKeyRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Accounts.DeleteApiKeyAsync(apiKeyId) -> DeleteApiKeyResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Accounts.DeleteApiKeyAsync("api_key_id");
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**apiKeyId:** `string` — api_key_id
+
+
+
+
+
+
+
+
+
+
+
+client.Accounts.CountApiKeysAsync(CountApiKeysRequest { ... }) -> CountApiKeysResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Accounts.CountApiKeysAsync(new CountApiKeysRequest { RequireEnvironment = true });
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CountApiKeysRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Accounts.ListApiRequestsAsync(ListApiRequestsRequest { ... }) -> ListApiRequestsResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Accounts.ListApiRequestsAsync(new ListApiRequestsRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ListApiRequestsRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Accounts.GetApiRequestAsync(apiRequestId) -> GetApiRequestResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Accounts.GetApiRequestAsync("api_request_id");
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**apiRequestId:** `string` — api_request_id
+
+
+
+
+
+
+
+
+
+
+
+client.Accounts.CountApiRequestsAsync(CountApiRequestsRequest { ... }) -> CountApiRequestsResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Accounts.CountApiRequestsAsync(new CountApiRequestsRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CountApiRequestsRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Accounts.ListEnvironmentsAsync(ListEnvironmentsRequest { ... }) -> ListEnvironmentsResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Accounts.ListEnvironmentsAsync(new ListEnvironmentsRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ListEnvironmentsRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Accounts.CreateEnvironmentAsync(CreateEnvironmentRequestBody { ... }) -> CreateEnvironmentResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Accounts.CreateEnvironmentAsync(
+ new CreateEnvironmentRequestBody
+ {
+ EnvironmentType = CreateEnvironmentRequestBodyEnvironmentType.Development,
+ Name = "name",
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CreateEnvironmentRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Accounts.GetEnvironmentAsync(environmentId) -> GetEnvironmentResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Accounts.GetEnvironmentAsync("environment_id");
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**environmentId:** `string` — environment_id
+
+
+
+
+
+
+
+
+
+
+
+client.Accounts.UpdateEnvironmentAsync(environmentId, UpdateEnvironmentRequestBody { ... }) -> UpdateEnvironmentResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Accounts.UpdateEnvironmentAsync("environment_id", new UpdateEnvironmentRequestBody());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**environmentId:** `string` — environment_id
+
+
+
+
+
+-
+
+**request:** `UpdateEnvironmentRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Accounts.DeleteEnvironmentAsync(environmentId) -> DeleteEnvironmentResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Accounts.DeleteEnvironmentAsync("environment_id");
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**environmentId:** `string` — environment_id
+
+
+
+
+
+
+
+
+
+
+
+## features
+client.Features.CountAudienceCompaniesAsync(AudienceRequestBody { ... }) -> CountAudienceCompaniesResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Features.CountAudienceCompaniesAsync(
+ new AudienceRequestBody
+ {
+ ConditionGroups = new List()
+ {
+ new CreateOrUpdateConditionGroupRequestBody
+ {
+ Conditions = new List()
+ {
+ new CreateOrUpdateConditionRequestBody
+ {
+ ConditionType = CreateOrUpdateConditionRequestBodyConditionType.Company,
+ Operator = CreateOrUpdateConditionRequestBodyOperator.Eq,
+ ResourceIds = new List() { "resource_ids" },
+ },
+ },
+ },
+ },
+ Conditions = new List()
+ {
+ new CreateOrUpdateConditionRequestBody
+ {
+ ConditionType = CreateOrUpdateConditionRequestBodyConditionType.Company,
+ Operator = CreateOrUpdateConditionRequestBodyOperator.Eq,
+ ResourceIds = new List() { "resource_ids" },
+ },
+ },
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `AudienceRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Features.CountAudienceUsersAsync(AudienceRequestBody { ... }) -> CountAudienceUsersResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Features.CountAudienceUsersAsync(
+ new AudienceRequestBody
+ {
+ ConditionGroups = new List()
+ {
+ new CreateOrUpdateConditionGroupRequestBody
+ {
+ Conditions = new List()
+ {
+ new CreateOrUpdateConditionRequestBody
+ {
+ ConditionType = CreateOrUpdateConditionRequestBodyConditionType.Company,
+ Operator = CreateOrUpdateConditionRequestBodyOperator.Eq,
+ ResourceIds = new List() { "resource_ids" },
+ },
+ },
+ },
+ },
+ Conditions = new List()
+ {
+ new CreateOrUpdateConditionRequestBody
+ {
+ ConditionType = CreateOrUpdateConditionRequestBodyConditionType.Company,
+ Operator = CreateOrUpdateConditionRequestBodyOperator.Eq,
+ ResourceIds = new List() { "resource_ids" },
+ },
+ },
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `AudienceRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Features.ListAudienceCompaniesAsync(AudienceRequestBody { ... }) -> ListAudienceCompaniesResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Features.ListAudienceCompaniesAsync(
+ new AudienceRequestBody
+ {
+ ConditionGroups = new List()
+ {
+ new CreateOrUpdateConditionGroupRequestBody
+ {
+ Conditions = new List()
+ {
+ new CreateOrUpdateConditionRequestBody
+ {
+ ConditionType = CreateOrUpdateConditionRequestBodyConditionType.Company,
+ Operator = CreateOrUpdateConditionRequestBodyOperator.Eq,
+ ResourceIds = new List() { "resource_ids" },
+ },
+ },
+ },
+ },
+ Conditions = new List()
+ {
+ new CreateOrUpdateConditionRequestBody
+ {
+ ConditionType = CreateOrUpdateConditionRequestBodyConditionType.Company,
+ Operator = CreateOrUpdateConditionRequestBodyOperator.Eq,
+ ResourceIds = new List() { "resource_ids" },
+ },
+ },
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `AudienceRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Features.ListAudienceUsersAsync(AudienceRequestBody { ... }) -> ListAudienceUsersResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Features.ListAudienceUsersAsync(
+ new AudienceRequestBody
+ {
+ ConditionGroups = new List()
+ {
+ new CreateOrUpdateConditionGroupRequestBody
+ {
+ Conditions = new List()
+ {
+ new CreateOrUpdateConditionRequestBody
+ {
+ ConditionType = CreateOrUpdateConditionRequestBodyConditionType.Company,
+ Operator = CreateOrUpdateConditionRequestBodyOperator.Eq,
+ ResourceIds = new List() { "resource_ids" },
+ },
+ },
+ },
+ },
+ Conditions = new List()
+ {
+ new CreateOrUpdateConditionRequestBody
+ {
+ ConditionType = CreateOrUpdateConditionRequestBodyConditionType.Company,
+ Operator = CreateOrUpdateConditionRequestBodyOperator.Eq,
+ ResourceIds = new List() { "resource_ids" },
+ },
+ },
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `AudienceRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Features.ListFeaturesAsync(ListFeaturesRequest { ... }) -> ListFeaturesResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Features.ListFeaturesAsync(new ListFeaturesRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ListFeaturesRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Features.CreateFeatureAsync(CreateFeatureRequestBody { ... }) -> CreateFeatureResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Features.CreateFeatureAsync(
+ new CreateFeatureRequestBody
+ {
+ Description = "description",
+ FeatureType = CreateFeatureRequestBodyFeatureType.Boolean,
+ Name = "name",
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CreateFeatureRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Features.GetFeatureAsync(featureId) -> GetFeatureResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Features.GetFeatureAsync("feature_id");
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**featureId:** `string` — feature_id
+
+
+
+
+
+
+
+
+
+
+
+client.Features.UpdateFeatureAsync(featureId, UpdateFeatureRequestBody { ... }) -> UpdateFeatureResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Features.UpdateFeatureAsync("feature_id", new UpdateFeatureRequestBody());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**featureId:** `string` — feature_id
+
+
+
+
+
+-
+
+**request:** `UpdateFeatureRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Features.DeleteFeatureAsync(featureId) -> DeleteFeatureResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Features.DeleteFeatureAsync("feature_id");
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**featureId:** `string` — feature_id
+
+
+
+
+
+
+
+
+
+
+
+client.Features.CountFeaturesAsync(CountFeaturesRequest { ... }) -> CountFeaturesResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Features.CountFeaturesAsync(new CountFeaturesRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CountFeaturesRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Features.ListFlagsAsync(ListFlagsRequest { ... }) -> ListFlagsResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Features.ListFlagsAsync(new ListFlagsRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ListFlagsRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Features.CreateFlagAsync(CreateFlagRequestBody { ... }) -> CreateFlagResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Features.CreateFlagAsync(
+ new CreateFlagRequestBody
+ {
+ DefaultValue = true,
+ Description = "description",
+ FlagType = "flag_type",
+ Key = "key",
+ Name = "name",
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CreateFlagRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Features.GetFlagAsync(flagId) -> GetFlagResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Features.GetFlagAsync("flag_id");
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**flagId:** `string` — flag_id
+
+
+
+
+
+
+
+
+
+
+
+client.Features.UpdateFlagAsync(flagId, CreateFlagRequestBody { ... }) -> UpdateFlagResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Features.UpdateFlagAsync(
+ "flag_id",
+ new CreateFlagRequestBody
+ {
+ DefaultValue = true,
+ Description = "description",
+ FlagType = "flag_type",
+ Key = "key",
+ Name = "name",
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**flagId:** `string` — flag_id
+
+
+
+
+
+-
+
+**request:** `CreateFlagRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Features.DeleteFlagAsync(flagId) -> DeleteFlagResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Features.DeleteFlagAsync("flag_id");
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**flagId:** `string` — flag_id
+
+
+
+
+
+
+
+
+
+
+
+client.Features.UpdateFlagRulesAsync(flagId, UpdateFlagRulesRequestBody { ... }) -> UpdateFlagRulesResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Features.UpdateFlagRulesAsync(
+ "flag_id",
+ new UpdateFlagRulesRequestBody
+ {
+ Rules = new List()
+ {
+ new CreateOrUpdateRuleRequestBody
+ {
+ ConditionGroups = new List()
+ {
+ new CreateOrUpdateConditionGroupRequestBody
+ {
+ Conditions = new List()
+ {
+ new CreateOrUpdateConditionRequestBody
+ {
+ ConditionType =
+ CreateOrUpdateConditionRequestBodyConditionType.Company,
+ Operator = CreateOrUpdateConditionRequestBodyOperator.Eq,
+ ResourceIds = new List() { "resource_ids" },
+ },
+ },
+ },
+ },
+ Conditions = new List()
+ {
+ new CreateOrUpdateConditionRequestBody
+ {
+ ConditionType = CreateOrUpdateConditionRequestBodyConditionType.Company,
+ Operator = CreateOrUpdateConditionRequestBodyOperator.Eq,
+ ResourceIds = new List() { "resource_ids" },
+ },
+ },
+ Name = "name",
+ Priority = 1,
+ Value = true,
+ },
+ },
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**flagId:** `string` — flag_id
+
+
+
+
+
+-
+
+**request:** `UpdateFlagRulesRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Features.CheckFlagAsync(key, CheckFlagRequestBody { ... }) -> CheckFlagResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Features.CheckFlagAsync("key", new CheckFlagRequestBody());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**key:** `string` — key
+
+
+
+
+
+-
+
+**request:** `CheckFlagRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Features.CheckFlagsAsync(CheckFlagRequestBody { ... }) -> CheckFlagsResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Features.CheckFlagsAsync(new CheckFlagRequestBody());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CheckFlagRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Features.CountFlagsAsync(CountFlagsRequest { ... }) -> CountFlagsResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Features.CountFlagsAsync(new CountFlagsRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CountFlagsRequest`
+
+
+
+
+
+
+
+
+
+
+
+## billing
+client.Billing.UpsertBillingCouponAsync(CreateCouponRequestBody { ... }) -> UpsertBillingCouponResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Billing.UpsertBillingCouponAsync(
+ new CreateCouponRequestBody
+ {
+ AmountOff = 1,
+ Duration = "duration",
+ DurationInMonths = 1,
+ ExternalId = "external_id",
+ MaxRedemptions = 1,
+ Name = "name",
+ PercentOff = 1.1,
+ TimesRedeemed = 1,
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CreateCouponRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Billing.UpsertBillingCustomerAsync(CreateBillingCustomerRequestBody { ... }) -> UpsertBillingCustomerResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Billing.UpsertBillingCustomerAsync(
+ new CreateBillingCustomerRequestBody
+ {
+ Email = "email",
+ ExternalId = "external_id",
+ FailedToImport = true,
+ Meta = new Dictionary() { { "key", "value" } },
+ Name = "name",
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CreateBillingCustomerRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Billing.ListCustomersAsync(ListCustomersRequest { ... }) -> ListCustomersResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Billing.ListCustomersAsync(new ListCustomersRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ListCustomersRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Billing.CountCustomersAsync(CountCustomersRequest { ... }) -> CountCustomersResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Billing.CountCustomersAsync(new CountCustomersRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CountCustomersRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Billing.ListInvoicesAsync(ListInvoicesRequest { ... }) -> ListInvoicesResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Billing.ListInvoicesAsync(
+ new ListInvoicesRequest { CustomerExternalId = "customer_external_id" }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ListInvoicesRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Billing.UpsertInvoiceAsync(CreateInvoiceRequestBody { ... }) -> UpsertInvoiceResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Billing.UpsertInvoiceAsync(
+ new CreateInvoiceRequestBody
+ {
+ AmountDue = 1,
+ AmountPaid = 1,
+ AmountRemaining = 1,
+ CollectionMethod = "collection_method",
+ Currency = "currency",
+ CustomerExternalId = "customer_external_id",
+ Subtotal = 1,
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CreateInvoiceRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Billing.ListMetersAsync(ListMetersRequest { ... }) -> ListMetersResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Billing.ListMetersAsync(new ListMetersRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ListMetersRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Billing.UpsertBillingMeterAsync(CreateMeterRequestBody { ... }) -> UpsertBillingMeterResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Billing.UpsertBillingMeterAsync(
+ new CreateMeterRequestBody
+ {
+ DisplayName = "display_name",
+ EventName = "event_name",
+ EventPayloadKey = "event_payload_key",
+ ExternalId = "external_id",
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CreateMeterRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Billing.ListPaymentMethodsAsync(ListPaymentMethodsRequest { ... }) -> ListPaymentMethodsResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Billing.ListPaymentMethodsAsync(
+ new ListPaymentMethodsRequest { CustomerExternalId = "customer_external_id" }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ListPaymentMethodsRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Billing.UpsertPaymentMethodAsync(CreatePaymentMethodRequestBody { ... }) -> UpsertPaymentMethodResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Billing.UpsertPaymentMethodAsync(
+ new CreatePaymentMethodRequestBody
+ {
+ CustomerExternalId = "customer_external_id",
+ ExternalId = "external_id",
+ PaymentMethodType = "payment_method_type",
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CreatePaymentMethodRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Billing.SearchBillingPricesAsync(SearchBillingPricesRequest { ... }) -> SearchBillingPricesResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Billing.SearchBillingPricesAsync(new SearchBillingPricesRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `SearchBillingPricesRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Billing.UpsertBillingPriceAsync(CreateBillingPriceRequestBody { ... }) -> UpsertBillingPriceResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Billing.UpsertBillingPriceAsync(
+ new CreateBillingPriceRequestBody
+ {
+ Currency = "currency",
+ Interval = "interval",
+ Price = 1,
+ PriceExternalId = "price_external_id",
+ ProductExternalId = "product_external_id",
+ UsageType = "usage_type",
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CreateBillingPriceRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Billing.ListProductPricesAsync(ListProductPricesRequest { ... }) -> ListProductPricesResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Billing.ListProductPricesAsync(new ListProductPricesRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ListProductPricesRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Billing.DeleteProductPriceAsync(billingId) -> DeleteProductPriceResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Billing.DeleteProductPriceAsync("billing_id");
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**billingId:** `string` — billing_id
+
+
+
+
+
+
+
+
+
+
+
+client.Billing.UpsertBillingProductAsync(CreateBillingProductRequestBody { ... }) -> UpsertBillingProductResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Billing.UpsertBillingProductAsync(
+ new CreateBillingProductRequestBody
+ {
+ Currency = "currency",
+ ExternalId = "external_id",
+ Name = "name",
+ Price = 1.1,
+ Quantity = 1,
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CreateBillingProductRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Billing.ListBillingProductsAsync(ListBillingProductsRequest { ... }) -> ListBillingProductsResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Billing.ListBillingProductsAsync(new ListBillingProductsRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ListBillingProductsRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Billing.CountBillingProductsAsync(CountBillingProductsRequest { ... }) -> CountBillingProductsResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Billing.CountBillingProductsAsync(new CountBillingProductsRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CountBillingProductsRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Billing.UpsertBillingSubscriptionAsync(CreateBillingSubscriptionsRequestBody { ... }) -> UpsertBillingSubscriptionResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Billing.UpsertBillingSubscriptionAsync(
+ new CreateBillingSubscriptionsRequestBody
+ {
+ Currency = "currency",
+ CustomerExternalId = "customer_external_id",
+ Discounts = new List()
+ {
+ new BillingSubscriptionDiscount
+ {
+ CouponExternalId = "coupon_external_id",
+ ExternalId = "external_id",
+ IsActive = true,
+ StartedAt = new DateTime(2024, 01, 15, 09, 30, 00, 000),
+ },
+ },
+ ExpiredAt = new DateTime(2024, 01, 15, 09, 30, 00, 000),
+ ProductExternalIds = new List()
+ {
+ new BillingProductPricing
+ {
+ Currency = "currency",
+ Interval = "interval",
+ Price = 1,
+ PriceExternalId = "price_external_id",
+ ProductExternalId = "product_external_id",
+ Quantity = 1,
+ UsageType = "usage_type",
+ },
+ },
+ SubscriptionExternalId = "subscription_external_id",
+ TotalPrice = 1,
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CreateBillingSubscriptionsRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+## checkout
+client.Checkout.InternalAsync(ChangeSubscriptionInternalRequestBody { ... }) -> CheckoutInternalResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Checkout.InternalAsync(
+ new ChangeSubscriptionInternalRequestBody
+ {
+ AddOnIds = new List()
+ {
+ new UpdateAddOnRequestBody { AddOnId = "add_on_id", PriceId = "price_id" },
+ },
+ CompanyId = "company_id",
+ NewPlanId = "new_plan_id",
+ NewPriceId = "new_price_id",
+ PayInAdvance = new List()
+ {
+ new UpdatePayInAdvanceRequestBody { PriceId = "price_id", Quantity = 1 },
+ },
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ChangeSubscriptionInternalRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Checkout.PreviewCheckoutInternalAsync(ChangeSubscriptionInternalRequestBody { ... }) -> PreviewCheckoutInternalResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Checkout.PreviewCheckoutInternalAsync(
+ new ChangeSubscriptionInternalRequestBody
+ {
+ AddOnIds = new List()
+ {
+ new UpdateAddOnRequestBody { AddOnId = "add_on_id", PriceId = "price_id" },
+ },
+ CompanyId = "company_id",
+ NewPlanId = "new_plan_id",
+ NewPriceId = "new_price_id",
+ PayInAdvance = new List()
+ {
+ new UpdatePayInAdvanceRequestBody { PriceId = "price_id", Quantity = 1 },
+ },
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ChangeSubscriptionInternalRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Checkout.UpdateCustomerSubscriptionTrialEndAsync(subscriptionId, UpdateTrialEndRequestBody { ... }) -> UpdateCustomerSubscriptionTrialEndResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Checkout.UpdateCustomerSubscriptionTrialEndAsync(
+ "subscription_id",
+ new UpdateTrialEndRequestBody()
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**subscriptionId:** `string` — subscription_id
+
+
+
+
+
+-
+
+**request:** `UpdateTrialEndRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+## companies
+client.Companies.ListCompaniesAsync(ListCompaniesRequest { ... }) -> ListCompaniesResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Companies.ListCompaniesAsync(new ListCompaniesRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ListCompaniesRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Companies.UpsertCompanyAsync(UpsertCompanyRequestBody { ... }) -> UpsertCompanyResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Companies.UpsertCompanyAsync(
+ new UpsertCompanyRequestBody { Keys = new Dictionary() { { "key", "value" } } }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `UpsertCompanyRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Companies.GetCompanyAsync(companyId) -> GetCompanyResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Companies.GetCompanyAsync("company_id");
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**companyId:** `string` — company_id
+
+
+
+
+
+
+
+
+
+
+
+client.Companies.DeleteCompanyAsync(companyId) -> DeleteCompanyResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Companies.DeleteCompanyAsync("company_id");
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**companyId:** `string` — company_id
+
+
+
+
+
+
+
+
+
+
+
+client.Companies.CountCompaniesAsync(CountCompaniesRequest { ... }) -> CountCompaniesResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Companies.CountCompaniesAsync(new CountCompaniesRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CountCompaniesRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Companies.CreateCompanyAsync(UpsertCompanyRequestBody { ... }) -> CreateCompanyResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Companies.CreateCompanyAsync(
+ new UpsertCompanyRequestBody { Keys = new Dictionary() { { "key", "value" } } }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `UpsertCompanyRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Companies.DeleteCompanyByKeysAsync(KeysRequestBody { ... }) -> DeleteCompanyByKeysResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Companies.DeleteCompanyByKeysAsync(
+ new KeysRequestBody { Keys = new Dictionary() { { "key", "value" } } }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `KeysRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Companies.LookupCompanyAsync(LookupCompanyRequest { ... }) -> LookupCompanyResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Companies.LookupCompanyAsync(
+ new LookupCompanyRequest
+ {
+ Keys = new Dictionary()
+ {
+ {
+ "keys",
+ new Dictionary
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `LookupCompanyRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Companies.GetActiveDealsAsync(GetActiveDealsRequest { ... }) -> GetActiveDealsResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Companies.GetActiveDealsAsync(
+ new GetActiveDealsRequest { CompanyId = "company_id", DealStage = "deal_stage" }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `GetActiveDealsRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Companies.ListCompanyMembershipsAsync(ListCompanyMembershipsRequest { ... }) -> ListCompanyMembershipsResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Companies.ListCompanyMembershipsAsync(new ListCompanyMembershipsRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ListCompanyMembershipsRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Companies.GetOrCreateCompanyMembershipAsync(GetOrCreateCompanyMembershipRequestBody { ... }) -> GetOrCreateCompanyMembershipResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Companies.GetOrCreateCompanyMembershipAsync(
+ new GetOrCreateCompanyMembershipRequestBody { CompanyId = "company_id", UserId = "user_id" }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `GetOrCreateCompanyMembershipRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Companies.DeleteCompanyMembershipAsync(companyMembershipId) -> DeleteCompanyMembershipResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Companies.DeleteCompanyMembershipAsync("company_membership_id");
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**companyMembershipId:** `string` — company_membership_id
+
+
+
+
+
+
+
+
+
+
+
+client.Companies.GetActiveCompanySubscriptionAsync(GetActiveCompanySubscriptionRequest { ... }) -> GetActiveCompanySubscriptionResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Companies.GetActiveCompanySubscriptionAsync(new GetActiveCompanySubscriptionRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `GetActiveCompanySubscriptionRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Companies.UpsertCompanyTraitAsync(UpsertTraitRequestBody { ... }) -> UpsertCompanyTraitResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Companies.UpsertCompanyTraitAsync(
+ new UpsertTraitRequestBody
+ {
+ Keys = new Dictionary() { { "key", "value" } },
+ Trait = "trait",
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `UpsertTraitRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Companies.ListEntityKeyDefinitionsAsync(ListEntityKeyDefinitionsRequest { ... }) -> ListEntityKeyDefinitionsResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Companies.ListEntityKeyDefinitionsAsync(new ListEntityKeyDefinitionsRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ListEntityKeyDefinitionsRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Companies.CountEntityKeyDefinitionsAsync(CountEntityKeyDefinitionsRequest { ... }) -> CountEntityKeyDefinitionsResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Companies.CountEntityKeyDefinitionsAsync(new CountEntityKeyDefinitionsRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CountEntityKeyDefinitionsRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Companies.ListEntityTraitDefinitionsAsync(ListEntityTraitDefinitionsRequest { ... }) -> ListEntityTraitDefinitionsResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Companies.ListEntityTraitDefinitionsAsync(new ListEntityTraitDefinitionsRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ListEntityTraitDefinitionsRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Companies.GetOrCreateEntityTraitDefinitionAsync(CreateEntityTraitDefinitionRequestBody { ... }) -> GetOrCreateEntityTraitDefinitionResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Companies.GetOrCreateEntityTraitDefinitionAsync(
+ new CreateEntityTraitDefinitionRequestBody
+ {
+ EntityType = CreateEntityTraitDefinitionRequestBodyEntityType.Company,
+ Hierarchy = new List() { "hierarchy" },
+ TraitType = CreateEntityTraitDefinitionRequestBodyTraitType.Boolean,
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CreateEntityTraitDefinitionRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Companies.GetEntityTraitDefinitionAsync(entityTraitDefinitionId) -> GetEntityTraitDefinitionResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Companies.GetEntityTraitDefinitionAsync("entity_trait_definition_id");
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**entityTraitDefinitionId:** `string` — entity_trait_definition_id
+
+
+
+
+
+
+
+
+
+
+
+client.Companies.UpdateEntityTraitDefinitionAsync(entityTraitDefinitionId, UpdateEntityTraitDefinitionRequestBody { ... }) -> UpdateEntityTraitDefinitionResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Companies.UpdateEntityTraitDefinitionAsync(
+ "entity_trait_definition_id",
+ new UpdateEntityTraitDefinitionRequestBody
+ {
+ TraitType = UpdateEntityTraitDefinitionRequestBodyTraitType.Boolean,
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**entityTraitDefinitionId:** `string` — entity_trait_definition_id
+
+
+
+
+
+-
+
+**request:** `UpdateEntityTraitDefinitionRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Companies.CountEntityTraitDefinitionsAsync(CountEntityTraitDefinitionsRequest { ... }) -> CountEntityTraitDefinitionsResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Companies.CountEntityTraitDefinitionsAsync(new CountEntityTraitDefinitionsRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CountEntityTraitDefinitionsRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Companies.GetEntityTraitValuesAsync(GetEntityTraitValuesRequest { ... }) -> GetEntityTraitValuesResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Companies.GetEntityTraitValuesAsync(
+ new GetEntityTraitValuesRequest { DefinitionId = "definition_id" }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `GetEntityTraitValuesRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Companies.UpsertUserTraitAsync(UpsertTraitRequestBody { ... }) -> UpsertUserTraitResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Companies.UpsertUserTraitAsync(
+ new UpsertTraitRequestBody
+ {
+ Keys = new Dictionary() { { "key", "value" } },
+ Trait = "trait",
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `UpsertTraitRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Companies.ListUsersAsync(ListUsersRequest { ... }) -> ListUsersResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Companies.ListUsersAsync(new ListUsersRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ListUsersRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Companies.UpsertUserAsync(UpsertUserRequestBody { ... }) -> UpsertUserResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Companies.UpsertUserAsync(
+ new UpsertUserRequestBody
+ {
+ Company = new Dictionary() { { "key", "value" } },
+ Keys = new Dictionary() { { "key", "value" } },
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `UpsertUserRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Companies.GetUserAsync(userId) -> GetUserResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Companies.GetUserAsync("user_id");
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**userId:** `string` — user_id
+
+
+
+
+
+
+
+
+
+
+
+client.Companies.DeleteUserAsync(userId) -> DeleteUserResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Companies.DeleteUserAsync("user_id");
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**userId:** `string` — user_id
+
+
+
+
+
+
+
+
+
+
+
+client.Companies.CountUsersAsync(CountUsersRequest { ... }) -> CountUsersResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Companies.CountUsersAsync(new CountUsersRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CountUsersRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Companies.CreateUserAsync(UpsertUserRequestBody { ... }) -> CreateUserResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Companies.CreateUserAsync(
+ new UpsertUserRequestBody
+ {
+ Company = new Dictionary() { { "key", "value" } },
+ Keys = new Dictionary() { { "key", "value" } },
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `UpsertUserRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Companies.DeleteUserByKeysAsync(KeysRequestBody { ... }) -> DeleteUserByKeysResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Companies.DeleteUserByKeysAsync(
+ new KeysRequestBody { Keys = new Dictionary() { { "key", "value" } } }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `KeysRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Companies.LookupUserAsync(LookupUserRequest { ... }) -> LookupUserResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Companies.LookupUserAsync(
+ new LookupUserRequest
+ {
+ Keys = new Dictionary()
+ {
+ {
+ "keys",
+ new Dictionary
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `LookupUserRequest`
+
+
+
+
+
+
+
+
+
+
+
+## entitlements
+client.Entitlements.ListCompanyOverridesAsync(ListCompanyOverridesRequest { ... }) -> ListCompanyOverridesResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Entitlements.ListCompanyOverridesAsync(new ListCompanyOverridesRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ListCompanyOverridesRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Entitlements.CreateCompanyOverrideAsync(CreateCompanyOverrideRequestBody { ... }) -> CreateCompanyOverrideResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Entitlements.CreateCompanyOverrideAsync(
+ new CreateCompanyOverrideRequestBody
+ {
+ CompanyId = "company_id",
+ FeatureId = "feature_id",
+ ValueType = CreateCompanyOverrideRequestBodyValueType.Boolean,
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CreateCompanyOverrideRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Entitlements.GetCompanyOverrideAsync(companyOverrideId) -> GetCompanyOverrideResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Entitlements.GetCompanyOverrideAsync("company_override_id");
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**companyOverrideId:** `string` — company_override_id
+
+
+
+
+
+
+
+
+
+
+
+client.Entitlements.UpdateCompanyOverrideAsync(companyOverrideId, UpdateCompanyOverrideRequestBody { ... }) -> UpdateCompanyOverrideResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Entitlements.UpdateCompanyOverrideAsync(
+ "company_override_id",
+ new UpdateCompanyOverrideRequestBody
+ {
+ ValueType = UpdateCompanyOverrideRequestBodyValueType.Boolean,
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**companyOverrideId:** `string` — company_override_id
+
+
+
+
+
+-
+
+**request:** `UpdateCompanyOverrideRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Entitlements.DeleteCompanyOverrideAsync(companyOverrideId) -> DeleteCompanyOverrideResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Entitlements.DeleteCompanyOverrideAsync("company_override_id");
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**companyOverrideId:** `string` — company_override_id
+
+
+
+
+
+
+
+
+
+
+
+client.Entitlements.CountCompanyOverridesAsync(CountCompanyOverridesRequest { ... }) -> CountCompanyOverridesResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Entitlements.CountCompanyOverridesAsync(new CountCompanyOverridesRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CountCompanyOverridesRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Entitlements.ListFeatureCompaniesAsync(ListFeatureCompaniesRequest { ... }) -> ListFeatureCompaniesResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Entitlements.ListFeatureCompaniesAsync(
+ new ListFeatureCompaniesRequest { FeatureId = "feature_id" }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ListFeatureCompaniesRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Entitlements.CountFeatureCompaniesAsync(CountFeatureCompaniesRequest { ... }) -> CountFeatureCompaniesResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Entitlements.CountFeatureCompaniesAsync(
+ new CountFeatureCompaniesRequest { FeatureId = "feature_id" }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CountFeatureCompaniesRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Entitlements.ListFeatureUsageAsync(ListFeatureUsageRequest { ... }) -> ListFeatureUsageResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Entitlements.ListFeatureUsageAsync(new ListFeatureUsageRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ListFeatureUsageRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Entitlements.CountFeatureUsageAsync(CountFeatureUsageRequest { ... }) -> CountFeatureUsageResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Entitlements.CountFeatureUsageAsync(new CountFeatureUsageRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CountFeatureUsageRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Entitlements.ListFeatureUsersAsync(ListFeatureUsersRequest { ... }) -> ListFeatureUsersResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Entitlements.ListFeatureUsersAsync(
+ new ListFeatureUsersRequest { FeatureId = "feature_id" }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ListFeatureUsersRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Entitlements.CountFeatureUsersAsync(CountFeatureUsersRequest { ... }) -> CountFeatureUsersResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Entitlements.CountFeatureUsersAsync(
+ new CountFeatureUsersRequest { FeatureId = "feature_id" }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CountFeatureUsersRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Entitlements.ListPlanEntitlementsAsync(ListPlanEntitlementsRequest { ... }) -> ListPlanEntitlementsResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Entitlements.ListPlanEntitlementsAsync(new ListPlanEntitlementsRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ListPlanEntitlementsRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Entitlements.CreatePlanEntitlementAsync(CreatePlanEntitlementRequestBody { ... }) -> CreatePlanEntitlementResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Entitlements.CreatePlanEntitlementAsync(
+ new CreatePlanEntitlementRequestBody
+ {
+ FeatureId = "feature_id",
+ PlanId = "plan_id",
+ ValueType = CreatePlanEntitlementRequestBodyValueType.Boolean,
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CreatePlanEntitlementRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Entitlements.GetPlanEntitlementAsync(planEntitlementId) -> GetPlanEntitlementResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Entitlements.GetPlanEntitlementAsync("plan_entitlement_id");
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**planEntitlementId:** `string` — plan_entitlement_id
+
+
+
+
+
+
+
+
+
+
+
+client.Entitlements.UpdatePlanEntitlementAsync(planEntitlementId, UpdatePlanEntitlementRequestBody { ... }) -> UpdatePlanEntitlementResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Entitlements.UpdatePlanEntitlementAsync(
+ "plan_entitlement_id",
+ new UpdatePlanEntitlementRequestBody
+ {
+ ValueType = UpdatePlanEntitlementRequestBodyValueType.Boolean,
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**planEntitlementId:** `string` — plan_entitlement_id
+
+
+
+
+
+-
+
+**request:** `UpdatePlanEntitlementRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Entitlements.DeletePlanEntitlementAsync(planEntitlementId) -> DeletePlanEntitlementResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Entitlements.DeletePlanEntitlementAsync("plan_entitlement_id");
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**planEntitlementId:** `string` — plan_entitlement_id
+
+
+
+
+
+
+
+
+
+
+
+client.Entitlements.CountPlanEntitlementsAsync(CountPlanEntitlementsRequest { ... }) -> CountPlanEntitlementsResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Entitlements.CountPlanEntitlementsAsync(new CountPlanEntitlementsRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CountPlanEntitlementsRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Entitlements.GetFeatureUsageByCompanyAsync(GetFeatureUsageByCompanyRequest { ... }) -> GetFeatureUsageByCompanyResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Entitlements.GetFeatureUsageByCompanyAsync(
+ new GetFeatureUsageByCompanyRequest
+ {
+ Keys = new Dictionary()
+ {
+ {
+ "keys",
+ new Dictionary
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `GetFeatureUsageByCompanyRequest`
+
+
+
+
+
+
+
+
+
+
+
+## components
+client.Components.ListComponentsAsync(ListComponentsRequest { ... }) -> ListComponentsResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Components.ListComponentsAsync(new ListComponentsRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ListComponentsRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Components.CreateComponentAsync(CreateComponentRequestBody { ... }) -> CreateComponentResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Components.CreateComponentAsync(
+ new CreateComponentRequestBody
+ {
+ EntityType = CreateComponentRequestBodyEntityType.Entitlement,
+ Name = "name",
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CreateComponentRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Components.GetComponentAsync(componentId) -> GetComponentResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Components.GetComponentAsync("component_id");
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**componentId:** `string` — component_id
+
+
+
+
+
+
+
+
+
+
+
+client.Components.UpdateComponentAsync(componentId, UpdateComponentRequestBody { ... }) -> UpdateComponentResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Components.UpdateComponentAsync("component_id", new UpdateComponentRequestBody());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**componentId:** `string` — component_id
+
+
+
+
+
+-
+
+**request:** `UpdateComponentRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Components.DeleteComponentAsync(componentId) -> DeleteComponentResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Components.DeleteComponentAsync("component_id");
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**componentId:** `string` — component_id
+
+
+
+
+
+
+
+
+
+
+
+client.Components.CountComponentsAsync(CountComponentsRequest { ... }) -> CountComponentsResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Components.CountComponentsAsync(new CountComponentsRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CountComponentsRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Components.PreviewComponentDataAsync(PreviewComponentDataRequest { ... }) -> PreviewComponentDataResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Components.PreviewComponentDataAsync(new PreviewComponentDataRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `PreviewComponentDataRequest`
+
+
+
+
+
+
+
+
+
+
+
+## crm
+client.Crm.UpsertDealLineItemAssociationAsync(CreateCrmDealLineItemAssociationRequestBody { ... }) -> UpsertDealLineItemAssociationResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Crm.UpsertDealLineItemAssociationAsync(
+ new CreateCrmDealLineItemAssociationRequestBody
+ {
+ DealExternalId = "deal_external_id",
+ LineItemExternalId = "line_item_external_id",
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CreateCrmDealLineItemAssociationRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Crm.UpsertLineItemAsync(CreateCrmLineItemRequestBody { ... }) -> UpsertLineItemResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Crm.UpsertLineItemAsync(
+ new CreateCrmLineItemRequestBody
+ {
+ Amount = "amount",
+ Interval = "interval",
+ LineItemExternalId = "line_item_external_id",
+ ProductExternalId = "product_external_id",
+ Quantity = 1,
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CreateCrmLineItemRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Crm.UpsertCrmDealAsync(CreateCrmDealRequestBody { ... }) -> UpsertCrmDealResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Crm.UpsertCrmDealAsync(
+ new CreateCrmDealRequestBody
+ {
+ CrmCompanyKey = "crm_company_key",
+ CrmType = "crm_type",
+ DealExternalId = "deal_external_id",
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CreateCrmDealRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Crm.ListCrmProductsAsync(ListCrmProductsRequest { ... }) -> ListCrmProductsResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Crm.ListCrmProductsAsync(new ListCrmProductsRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ListCrmProductsRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Crm.UpsertCrmProductAsync(CreateCrmProductRequestBody { ... }) -> UpsertCrmProductResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Crm.UpsertCrmProductAsync(
+ new CreateCrmProductRequestBody
+ {
+ Currency = "currency",
+ Description = "description",
+ ExternalId = "external_id",
+ Interval = "interval",
+ Name = "name",
+ Price = "price",
+ Quantity = 1,
+ Sku = "sku",
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CreateCrmProductRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+## events
+client.Events.CreateEventBatchAsync(CreateEventBatchRequestBody { ... }) -> CreateEventBatchResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Events.CreateEventBatchAsync(
+ new CreateEventBatchRequestBody
+ {
+ Events = new List()
+ {
+ new CreateEventRequestBody { EventType = CreateEventRequestBodyEventType.Identify },
+ },
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CreateEventBatchRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Events.GetEventSummariesAsync(GetEventSummariesRequest { ... }) -> GetEventSummariesResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Events.GetEventSummariesAsync(new GetEventSummariesRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `GetEventSummariesRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Events.ListEventsAsync(ListEventsRequest { ... }) -> ListEventsResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Events.ListEventsAsync(new ListEventsRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ListEventsRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Events.CreateEventAsync(CreateEventRequestBody { ... }) -> CreateEventResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Events.CreateEventAsync(
+ new CreateEventRequestBody { EventType = CreateEventRequestBodyEventType.Identify }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CreateEventRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Events.GetEventAsync(eventId) -> GetEventResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Events.GetEventAsync("event_id");
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**eventId:** `string` — event_id
+
+
+
+
+
+
+
+
+
+
+
+client.Events.GetSegmentIntegrationStatusAsync() -> GetSegmentIntegrationStatusResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Events.GetSegmentIntegrationStatusAsync();
+```
+
+
+
+
+
+
+
+
+
+
+## plans
+client.Plans.GetAudienceAsync(planAudienceId) -> GetAudienceResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Plans.GetAudienceAsync("plan_audience_id");
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**planAudienceId:** `string` — plan_audience_id
+
+
+
+
+
+
+
+
+
+
+
+client.Plans.UpdateAudienceAsync(planAudienceId, UpdateAudienceRequestBody { ... }) -> UpdateAudienceResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Plans.UpdateAudienceAsync(
+ "plan_audience_id",
+ new UpdateAudienceRequestBody
+ {
+ ConditionGroups = new List()
+ {
+ new CreateOrUpdateConditionGroupRequestBody
+ {
+ Conditions = new List()
+ {
+ new CreateOrUpdateConditionRequestBody
+ {
+ ConditionType = CreateOrUpdateConditionRequestBodyConditionType.Company,
+ Operator = CreateOrUpdateConditionRequestBodyOperator.Eq,
+ ResourceIds = new List() { "resource_ids" },
+ },
+ },
+ },
+ },
+ Conditions = new List()
+ {
+ new CreateOrUpdateConditionRequestBody
+ {
+ ConditionType = CreateOrUpdateConditionRequestBodyConditionType.Company,
+ Operator = CreateOrUpdateConditionRequestBodyOperator.Eq,
+ ResourceIds = new List() { "resource_ids" },
+ },
+ },
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**planAudienceId:** `string` — plan_audience_id
+
+
+
+
+
+-
+
+**request:** `UpdateAudienceRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Plans.DeleteAudienceAsync(planAudienceId) -> DeleteAudienceResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Plans.DeleteAudienceAsync("plan_audience_id");
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**planAudienceId:** `string` — plan_audience_id
+
+
+
+
+
+
+
+
+
+
+
+client.Plans.ListPlansAsync(ListPlansRequest { ... }) -> ListPlansResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Plans.ListPlansAsync(new ListPlansRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ListPlansRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Plans.CreatePlanAsync(CreatePlanRequestBody { ... }) -> CreatePlanResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Plans.CreatePlanAsync(
+ new CreatePlanRequestBody
+ {
+ Description = "description",
+ Name = "name",
+ PlanType = CreatePlanRequestBodyPlanType.Plan,
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CreatePlanRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Plans.GetPlanAsync(planId) -> GetPlanResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Plans.GetPlanAsync("plan_id");
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**planId:** `string` — plan_id
+
+
+
+
+
+
+
+
+
+
+
+client.Plans.UpdatePlanAsync(planId, UpdatePlanRequestBody { ... }) -> UpdatePlanResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Plans.UpdatePlanAsync("plan_id", new UpdatePlanRequestBody { Name = "name" });
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**planId:** `string` — plan_id
+
+
+
+
+
+-
+
+**request:** `UpdatePlanRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Plans.DeletePlanAsync(planId) -> DeletePlanResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Plans.DeletePlanAsync("plan_id");
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**planId:** `string` — plan_id
+
+
+
+
+
+
+
+
+
+
+
+client.Plans.UpsertBillingProductPlanAsync(planId, UpsertBillingProductRequestBody { ... }) -> UpsertBillingProductPlanResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Plans.UpsertBillingProductPlanAsync(
+ "plan_id",
+ new UpsertBillingProductRequestBody { IsFreePlan = true, IsTrialable = true }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**planId:** `string` — plan_id
+
+
+
+
+
+-
+
+**request:** `UpsertBillingProductRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Plans.CountPlansAsync(CountPlansRequest { ... }) -> CountPlansResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Plans.CountPlansAsync(new CountPlansRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CountPlansRequest`
+
+
+
+
+
+
+
+
+
+
+
+## plangroups
+client.Plangroups.GetPlanGroupAsync() -> GetPlanGroupResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Plangroups.GetPlanGroupAsync();
+```
+
+
+
+
+
+
+
+
+
+
+client.Plangroups.CreatePlanGroupAsync(CreatePlanGroupRequestBody { ... }) -> CreatePlanGroupResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Plangroups.CreatePlanGroupAsync(
+ new CreatePlanGroupRequestBody
+ {
+ AddOnIds = new List() { "add_on_ids" },
+ PlanIds = new List() { "plan_ids" },
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CreatePlanGroupRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Plangroups.UpdatePlanGroupAsync(planGroupId, UpdatePlanGroupRequestBody { ... }) -> UpdatePlanGroupResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Plangroups.UpdatePlanGroupAsync(
+ "plan_group_id",
+ new UpdatePlanGroupRequestBody
+ {
+ AddOnIds = new List() { "add_on_ids" },
+ PlanIds = new List() { "plan_ids" },
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**planGroupId:** `string` — plan_group_id
+
+
+
+
+
+-
+
+**request:** `UpdatePlanGroupRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+## accesstokens
+client.Accesstokens.IssueTemporaryAccessTokenAsync(IssueTemporaryAccessTokenRequestBody { ... }) -> IssueTemporaryAccessTokenResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Accesstokens.IssueTemporaryAccessTokenAsync(
+ new IssueTemporaryAccessTokenRequestBody
+ {
+ Lookup = new Dictionary() { { "key", "value" } },
+ ResourceType = "resource_type",
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `IssueTemporaryAccessTokenRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+## webhooks
+client.Webhooks.ListWebhookEventsAsync(ListWebhookEventsRequest { ... }) -> ListWebhookEventsResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Webhooks.ListWebhookEventsAsync(new ListWebhookEventsRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ListWebhookEventsRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Webhooks.GetWebhookEventAsync(webhookEventId) -> GetWebhookEventResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Webhooks.GetWebhookEventAsync("webhook_event_id");
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**webhookEventId:** `string` — webhook_event_id
+
+
+
+
+
+
+
+
+
+
+
+client.Webhooks.CountWebhookEventsAsync(CountWebhookEventsRequest { ... }) -> CountWebhookEventsResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Webhooks.CountWebhookEventsAsync(new CountWebhookEventsRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CountWebhookEventsRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Webhooks.ListWebhooksAsync(ListWebhooksRequest { ... }) -> ListWebhooksResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Webhooks.ListWebhooksAsync(new ListWebhooksRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ListWebhooksRequest`
+
+
+
+
+
+
+
+
+
+
+
+client.Webhooks.CreateWebhookAsync(CreateWebhookRequestBody { ... }) -> CreateWebhookResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Webhooks.CreateWebhookAsync(
+ new CreateWebhookRequestBody
+ {
+ Name = "name",
+ RequestTypes = new List()
+ {
+ CreateWebhookRequestBodyRequestTypesItem.CompanyUpdated,
+ },
+ Url = "url",
+ }
+);
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CreateWebhookRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Webhooks.GetWebhookAsync(webhookId) -> GetWebhookResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Webhooks.GetWebhookAsync("webhook_id");
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**webhookId:** `string` — webhook_id
+
+
+
+
+
+
+
+
+
+
+
+client.Webhooks.UpdateWebhookAsync(webhookId, UpdateWebhookRequestBody { ... }) -> UpdateWebhookResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Webhooks.UpdateWebhookAsync("webhook_id", new UpdateWebhookRequestBody());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**webhookId:** `string` — webhook_id
+
+
+
+
+
+-
+
+**request:** `UpdateWebhookRequestBody`
+
+
+
+
+
+
+
+
+
+
+
+client.Webhooks.DeleteWebhookAsync(webhookId) -> DeleteWebhookResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Webhooks.DeleteWebhookAsync("webhook_id");
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**webhookId:** `string` — webhook_id
+
+
+
+
+
+
+
+
+
+
+
+client.Webhooks.CountWebhooksAsync(CountWebhooksRequest { ... }) -> CountWebhooksResponse
+
+-
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```csharp
+await client.Webhooks.CountWebhooksAsync(new CountWebhooksRequest());
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `CountWebhooksRequest`
+
+
+
+
+
+
+
+
+
+
diff --git a/src/SchematicHQ.Client.Test/Core/EnumSerializerTests.cs b/src/SchematicHQ.Client.Test/Core/EnumSerializerTests.cs
new file mode 100644
index 0000000..f131c16
--- /dev/null
+++ b/src/SchematicHQ.Client.Test/Core/EnumSerializerTests.cs
@@ -0,0 +1,61 @@
+using System;
+using System.Runtime.Serialization;
+using System.Text.Json;
+using System.Text.Json.Serialization;
+using NUnit.Framework;
+using SchematicHQ.Client.Core;
+
+namespace SchematicHQ.Client.Test.Core
+{
+ [TestFixture]
+ public class StringEnumSerializerTests
+ {
+ private static readonly JsonSerializerOptions JsonOptions = new() { WriteIndented = true };
+
+ private const DummyEnum KnownEnumValue2 = DummyEnum.KnownValue2;
+ private const string KnownEnumValue2String = "known_value2";
+
+ private static readonly string JsonWithKnownEnum2 = $$"""
+ {
+ "enum_property": "{{KnownEnumValue2String}}"
+ }
+ """;
+
+ [Test]
+ public void ShouldParseKnownEnumValue2()
+ {
+ var obj = JsonSerializer.Deserialize(JsonWithKnownEnum2, JsonOptions);
+ Assert.That(obj, Is.Not.Null);
+ Assert.That(obj.EnumProperty, Is.EqualTo(KnownEnumValue2));
+ }
+
+ [Test]
+ public void ShouldSerializeKnownEnumValue2()
+ {
+ var json = JsonSerializer.SerializeToElement(
+ new DummyObject { EnumProperty = KnownEnumValue2 },
+ JsonOptions
+ );
+ TestContext.WriteLine("Serialized JSON: \n" + json);
+ var enumString = json.GetProperty("enum_property").GetString();
+ Assert.That(enumString, Is.Not.Null);
+ Assert.That(enumString, Is.EqualTo(KnownEnumValue2String));
+ }
+ }
+
+ public class DummyObject
+ {
+ [JsonPropertyName("enum_property")]
+ public DummyEnum EnumProperty { get; set; }
+ }
+
+ [JsonConverter(typeof(EnumSerializer))]
+ public enum DummyEnum
+ {
+ [EnumMember(Value = "known_value1")]
+ KnownValue1,
+
+ [EnumMember(Value = "known_value2")]
+ KnownValue2,
+ }
+}
diff --git a/src/SchematicHQ.Client.Test/Core/RawClientTests.cs b/src/SchematicHQ.Client.Test/Core/RawClientTests.cs
new file mode 100644
index 0000000..4675999
--- /dev/null
+++ b/src/SchematicHQ.Client.Test/Core/RawClientTests.cs
@@ -0,0 +1,113 @@
+using System;
+using System.Net.Http;
+using FluentAssertions;
+using NUnit.Framework;
+using SchematicHQ.Client.Core;
+using WireMock.Server;
+using SystemTask = System.Threading.Tasks.Task;
+using WireMockRequest = WireMock.RequestBuilders.Request;
+using WireMockResponse = WireMock.ResponseBuilders.Response;
+
+namespace SchematicHQ.Client.Test.Core
+{
+ [TestFixture]
+ public class RawClientTests
+ {
+ private WireMockServer _server;
+ private HttpClient _httpClient;
+ private RawClient _rawClient;
+ private string _baseUrl;
+ private const int _maxRetries = 3;
+
+ [SetUp]
+ public void SetUp()
+ {
+ _server = WireMockServer.Start();
+ _baseUrl = _server.Url ?? "";
+ _httpClient = new HttpClient { BaseAddress = new Uri(_baseUrl) };
+ _rawClient = new RawClient(
+ new ClientOptions() { HttpClient = _httpClient, MaxRetries = _maxRetries }
+ );
+ }
+
+ [Test]
+ [TestCase(408)]
+ [TestCase(429)]
+ [TestCase(500)]
+ [TestCase(504)]
+ public async SystemTask MakeRequestAsync_ShouldRetry_OnRetryableStatusCodes(int statusCode)
+ {
+ _server
+ .Given(WireMockRequest.Create().WithPath("/test").UsingGet())
+ .InScenario("Retry")
+ .WillSetStateTo("Server Error")
+ .RespondWith(WireMockResponse.Create().WithStatusCode(statusCode));
+
+ _server
+ .Given(WireMockRequest.Create().WithPath("/test").UsingGet())
+ .InScenario("Retry")
+ .WhenStateIs("Server Error")
+ .WillSetStateTo("Success")
+ .RespondWith(WireMockResponse.Create().WithStatusCode(statusCode));
+
+ _server
+ .Given(WireMockRequest.Create().WithPath("/test").UsingGet())
+ .InScenario("Retry")
+ .WhenStateIs("Success")
+ .RespondWith(WireMockResponse.Create().WithStatusCode(200).WithBody("Success"));
+
+ var request = new RawClient.BaseApiRequest
+ {
+ BaseUrl = _baseUrl,
+ Method = HttpMethod.Get,
+ Path = "/test",
+ };
+
+ var response = await _rawClient.MakeRequestAsync(request);
+ Assert.That(response.StatusCode, Is.EqualTo(200));
+
+ var content = await response.Raw.Content.ReadAsStringAsync();
+ Assert.That(content, Is.EqualTo("Success"));
+
+ Assert.That(_server.LogEntries.Count, Is.EqualTo(_maxRetries));
+ }
+
+ [Test]
+ [TestCase(400)]
+ [TestCase(409)]
+ public async SystemTask MakeRequestAsync_ShouldRetry_OnNonRetryableStatusCodes(
+ int statusCode
+ )
+ {
+ _server
+ .Given(WireMockRequest.Create().WithPath("/test").UsingGet())
+ .InScenario("Retry")
+ .WillSetStateTo("Server Error")
+ .RespondWith(
+ WireMockResponse.Create().WithStatusCode(statusCode).WithBody("Failure")
+ );
+
+ var request = new RawClient.BaseApiRequest
+ {
+ BaseUrl = _baseUrl,
+ Method = HttpMethod.Get,
+ Path = "/test",
+ };
+
+ var response = await _rawClient.MakeRequestAsync(request);
+ Assert.That(response.StatusCode, Is.EqualTo(statusCode));
+
+ var content = await response.Raw.Content.ReadAsStringAsync();
+ Assert.That(content, Is.EqualTo("Failure"));
+
+ Assert.That(_server.LogEntries.Count, Is.EqualTo(1));
+ }
+
+ [TearDown]
+ public void TearDown()
+ {
+ _server.Dispose();
+ _httpClient.Dispose();
+ }
+ }
+}
diff --git a/src/SchematicHQ.Client.Test/SchematicHQ.Client.Test.Custom.props b/src/SchematicHQ.Client.Test/SchematicHQ.Client.Test.Custom.props
new file mode 100644
index 0000000..55e683b
--- /dev/null
+++ b/src/SchematicHQ.Client.Test/SchematicHQ.Client.Test.Custom.props
@@ -0,0 +1,7 @@
+
+
+
\ No newline at end of file
diff --git a/src/SchematicHQ.Client.Test/SchematicHQ.Client.Test.csproj b/src/SchematicHQ.Client.Test/SchematicHQ.Client.Test.csproj
index 48a5bcf..2a2d56a 100644
--- a/src/SchematicHQ.Client.Test/SchematicHQ.Client.Test.csproj
+++ b/src/SchematicHQ.Client.Test/SchematicHQ.Client.Test.csproj
@@ -15,10 +15,13 @@
+
+
-
+
+
\ No newline at end of file
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ApiErrorTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ApiErrorTest.cs
deleted file mode 100644
index f028972..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ApiErrorTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ApiErrorTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ApiKeyCreateResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ApiKeyCreateResponseDataTest.cs
deleted file mode 100644
index 12d1f51..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ApiKeyCreateResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ApiKeyCreateResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ApiKeyRequestListResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ApiKeyRequestListResponseDataTest.cs
deleted file mode 100644
index ceb3632..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ApiKeyRequestListResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ApiKeyRequestListResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ApiKeyRequestResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ApiKeyRequestResponseDataTest.cs
deleted file mode 100644
index e927303..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ApiKeyRequestResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ApiKeyRequestResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ApiKeyResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ApiKeyResponseDataTest.cs
deleted file mode 100644
index f47d9f3..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ApiKeyResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ApiKeyResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/AudienceRequestBodyTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/AudienceRequestBodyTest.cs
deleted file mode 100644
index c797a5c..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/AudienceRequestBodyTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class AudienceRequestBodyTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/BillingCustomerResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/BillingCustomerResponseDataTest.cs
deleted file mode 100644
index ef8479f..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/BillingCustomerResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class BillingCustomerResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/BillingCustomerSubscriptionTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/BillingCustomerSubscriptionTest.cs
deleted file mode 100644
index a1faae2..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/BillingCustomerSubscriptionTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class BillingCustomerSubscriptionTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/BillingCustomerWithSubscriptionsResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/BillingCustomerWithSubscriptionsResponseDataTest.cs
deleted file mode 100644
index b945837..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/BillingCustomerWithSubscriptionsResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class BillingCustomerWithSubscriptionsResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/BillingPlanGroupResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/BillingPlanGroupResponseDataTest.cs
deleted file mode 100644
index 3bf6ae8..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/BillingPlanGroupResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class BillingPlanGroupResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/BillingPlanTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/BillingPlanTest.cs
deleted file mode 100644
index 95027f1..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/BillingPlanTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class BillingPlanTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/BillingPriceResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/BillingPriceResponseDataTest.cs
deleted file mode 100644
index 175953b..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/BillingPriceResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class BillingPriceResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/BillingProductDetailResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/BillingProductDetailResponseDataTest.cs
deleted file mode 100644
index 6075d71..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/BillingProductDetailResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class BillingProductDetailResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/BillingProductForSubscriptionResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/BillingProductForSubscriptionResponseDataTest.cs
deleted file mode 100644
index 1b8e29b..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/BillingProductForSubscriptionResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class BillingProductForSubscriptionResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/BillingProductPlanResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/BillingProductPlanResponseDataTest.cs
deleted file mode 100644
index 2c33422..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/BillingProductPlanResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class BillingProductPlanResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/BillingProductPricingTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/BillingProductPricingTest.cs
deleted file mode 100644
index 94ebcb8..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/BillingProductPricingTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class BillingProductPricingTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/BillingProductResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/BillingProductResponseDataTest.cs
deleted file mode 100644
index 2847bcd..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/BillingProductResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class BillingProductResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/BillingSubscriptionResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/BillingSubscriptionResponseDataTest.cs
deleted file mode 100644
index 5a92b6c..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/BillingSubscriptionResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class BillingSubscriptionResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CheckFlagOutputWithFlagKeyTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CheckFlagOutputWithFlagKeyTest.cs
deleted file mode 100644
index 9d10b5b..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CheckFlagOutputWithFlagKeyTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CheckFlagOutputWithFlagKeyTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CheckFlagRequestBodyTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CheckFlagRequestBodyTest.cs
deleted file mode 100644
index c10f7b2..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CheckFlagRequestBodyTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CheckFlagRequestBodyTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CheckFlagResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CheckFlagResponseDataTest.cs
deleted file mode 100644
index 41f6530..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CheckFlagResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CheckFlagResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CheckFlagResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CheckFlagResponseTest.cs
deleted file mode 100644
index 323fb6d..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CheckFlagResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CheckFlagResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CheckFlagsResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CheckFlagsResponseDataTest.cs
deleted file mode 100644
index f6d90b5..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CheckFlagsResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CheckFlagsResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CheckFlagsResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CheckFlagsResponseTest.cs
deleted file mode 100644
index c4b4a33..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CheckFlagsResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CheckFlagsResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CompanyCrmDealsResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CompanyCrmDealsResponseDataTest.cs
deleted file mode 100644
index 7dcd24a..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CompanyCrmDealsResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CompanyCrmDealsResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CompanyDetailResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CompanyDetailResponseDataTest.cs
deleted file mode 100644
index 2d9998a..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CompanyDetailResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CompanyDetailResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CompanyMembershipDetailResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CompanyMembershipDetailResponseDataTest.cs
deleted file mode 100644
index dbb1ccc..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CompanyMembershipDetailResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CompanyMembershipDetailResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CompanyMembershipResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CompanyMembershipResponseDataTest.cs
deleted file mode 100644
index 5b1fc1a..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CompanyMembershipResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CompanyMembershipResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CompanyOverrideResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CompanyOverrideResponseDataTest.cs
deleted file mode 100644
index cea1932..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CompanyOverrideResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CompanyOverrideResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CompanyResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CompanyResponseDataTest.cs
deleted file mode 100644
index 9474cdf..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CompanyResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CompanyResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CompanySubscriptionResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CompanySubscriptionResponseDataTest.cs
deleted file mode 100644
index 10d47ee..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CompanySubscriptionResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CompanySubscriptionResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ComponentResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ComponentResponseDataTest.cs
deleted file mode 100644
index e137d9e..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ComponentResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ComponentResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountApiKeysParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountApiKeysParamsTest.cs
deleted file mode 100644
index da876e9..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountApiKeysParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountApiKeysParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountApiKeysResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountApiKeysResponseTest.cs
deleted file mode 100644
index b401cc9..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountApiKeysResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountApiKeysResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountApiRequestsParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountApiRequestsParamsTest.cs
deleted file mode 100644
index a4dfc52..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountApiRequestsParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountApiRequestsParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountApiRequestsResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountApiRequestsResponseTest.cs
deleted file mode 100644
index e33c199..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountApiRequestsResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountApiRequestsResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountAudienceCompaniesResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountAudienceCompaniesResponseTest.cs
deleted file mode 100644
index fa28caa..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountAudienceCompaniesResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountAudienceCompaniesResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountAudienceUsersResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountAudienceUsersResponseTest.cs
deleted file mode 100644
index c24e2e3..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountAudienceUsersResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountAudienceUsersResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountCompaniesParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountCompaniesParamsTest.cs
deleted file mode 100644
index 3c6c576..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountCompaniesParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountCompaniesParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountCompaniesResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountCompaniesResponseTest.cs
deleted file mode 100644
index b7e5ba3..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountCompaniesResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountCompaniesResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountCompanyOverridesParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountCompanyOverridesParamsTest.cs
deleted file mode 100644
index 8744c8e..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountCompanyOverridesParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountCompanyOverridesParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountCompanyOverridesResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountCompanyOverridesResponseTest.cs
deleted file mode 100644
index d019727..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountCompanyOverridesResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountCompanyOverridesResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountComponentsParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountComponentsParamsTest.cs
deleted file mode 100644
index ce7f7f2..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountComponentsParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountComponentsParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountComponentsResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountComponentsResponseTest.cs
deleted file mode 100644
index 0dd51cf..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountComponentsResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountComponentsResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountCustomersParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountCustomersParamsTest.cs
deleted file mode 100644
index 0a07554..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountCustomersParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountCustomersParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountCustomersResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountCustomersResponseTest.cs
deleted file mode 100644
index 2594328..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountCustomersResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountCustomersResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountEntityKeyDefinitionsParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountEntityKeyDefinitionsParamsTest.cs
deleted file mode 100644
index 79d4de1..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountEntityKeyDefinitionsParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountEntityKeyDefinitionsParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountEntityKeyDefinitionsResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountEntityKeyDefinitionsResponseTest.cs
deleted file mode 100644
index 35ead7c..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountEntityKeyDefinitionsResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountEntityKeyDefinitionsResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountEntityTraitDefinitionsParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountEntityTraitDefinitionsParamsTest.cs
deleted file mode 100644
index 9e03dfb..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountEntityTraitDefinitionsParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountEntityTraitDefinitionsParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountEntityTraitDefinitionsResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountEntityTraitDefinitionsResponseTest.cs
deleted file mode 100644
index 3c12753..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountEntityTraitDefinitionsResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountEntityTraitDefinitionsResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountFeatureCompaniesParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountFeatureCompaniesParamsTest.cs
deleted file mode 100644
index abe8e34..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountFeatureCompaniesParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountFeatureCompaniesParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountFeatureCompaniesResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountFeatureCompaniesResponseTest.cs
deleted file mode 100644
index eefcbc5..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountFeatureCompaniesResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountFeatureCompaniesResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountFeatureUsageParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountFeatureUsageParamsTest.cs
deleted file mode 100644
index 5d2e72a..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountFeatureUsageParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountFeatureUsageParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountFeatureUsageResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountFeatureUsageResponseTest.cs
deleted file mode 100644
index 4059ec0..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountFeatureUsageResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountFeatureUsageResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountFeatureUsersParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountFeatureUsersParamsTest.cs
deleted file mode 100644
index 5c12966..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountFeatureUsersParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountFeatureUsersParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountFeatureUsersResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountFeatureUsersResponseTest.cs
deleted file mode 100644
index e0844cd..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountFeatureUsersResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountFeatureUsersResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountFeaturesParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountFeaturesParamsTest.cs
deleted file mode 100644
index a15c0f7..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountFeaturesParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountFeaturesParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountFeaturesResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountFeaturesResponseTest.cs
deleted file mode 100644
index 4eb34e0..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountFeaturesResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountFeaturesResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountFlagsParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountFlagsParamsTest.cs
deleted file mode 100644
index e538afb..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountFlagsParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountFlagsParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountFlagsResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountFlagsResponseTest.cs
deleted file mode 100644
index b9d8f57..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountFlagsResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountFlagsResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountPlanEntitlementsParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountPlanEntitlementsParamsTest.cs
deleted file mode 100644
index 86fd154..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountPlanEntitlementsParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountPlanEntitlementsParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountPlanEntitlementsResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountPlanEntitlementsResponseTest.cs
deleted file mode 100644
index f64521a..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountPlanEntitlementsResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountPlanEntitlementsResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountPlansParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountPlansParamsTest.cs
deleted file mode 100644
index b68b5f9..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountPlansParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountPlansParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountPlansResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountPlansResponseTest.cs
deleted file mode 100644
index 83975b9..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountPlansResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountPlansResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountResponseTest.cs
deleted file mode 100644
index 8b98c68..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountUsersParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountUsersParamsTest.cs
deleted file mode 100644
index be2126c..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountUsersParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountUsersParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountUsersResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountUsersResponseTest.cs
deleted file mode 100644
index 9249332..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountUsersResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountUsersResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountWebhookEventsParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountWebhookEventsParamsTest.cs
deleted file mode 100644
index df4496a..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountWebhookEventsParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountWebhookEventsParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountWebhookEventsResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountWebhookEventsResponseTest.cs
deleted file mode 100644
index 95cb9e1..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountWebhookEventsResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountWebhookEventsResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountWebhooksParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountWebhooksParamsTest.cs
deleted file mode 100644
index 56a1728..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountWebhooksParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountWebhooksParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CountWebhooksResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CountWebhooksResponseTest.cs
deleted file mode 100644
index 9565f6f..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CountWebhooksResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CountWebhooksResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateApiKeyResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CreateApiKeyResponseTest.cs
deleted file mode 100644
index 16defdc..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateApiKeyResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CreateApiKeyResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateBillingPlanGroupResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CreateBillingPlanGroupResponseTest.cs
deleted file mode 100644
index 188e132..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateBillingPlanGroupResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CreateBillingPlanGroupResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateCompanyOverrideResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CreateCompanyOverrideResponseTest.cs
deleted file mode 100644
index 475da1b..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateCompanyOverrideResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CreateCompanyOverrideResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateCompanyResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CreateCompanyResponseTest.cs
deleted file mode 100644
index 637bf78..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateCompanyResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CreateCompanyResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateComponentResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CreateComponentResponseTest.cs
deleted file mode 100644
index f3292a8..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateComponentResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CreateComponentResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateEnvironmentResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CreateEnvironmentResponseTest.cs
deleted file mode 100644
index e335ccc..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateEnvironmentResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CreateEnvironmentResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateEventBatchResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CreateEventBatchResponseTest.cs
deleted file mode 100644
index ce15d1f..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateEventBatchResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CreateEventBatchResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateEventRequestBodyTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CreateEventRequestBodyTest.cs
deleted file mode 100644
index 5565d4d..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateEventRequestBodyTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CreateEventRequestBodyTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateEventResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CreateEventResponseTest.cs
deleted file mode 100644
index ac6d73a..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateEventResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CreateEventResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateFeatureResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CreateFeatureResponseTest.cs
deleted file mode 100644
index d27bb6f..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateFeatureResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CreateFeatureResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateFlagRequestBodyTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CreateFlagRequestBodyTest.cs
deleted file mode 100644
index 850b208..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateFlagRequestBodyTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CreateFlagRequestBodyTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateFlagResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CreateFlagResponseTest.cs
deleted file mode 100644
index 04af4a0..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateFlagResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CreateFlagResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateOrUpdateConditionGroupRequestBodyTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CreateOrUpdateConditionGroupRequestBodyTest.cs
deleted file mode 100644
index d684b9a..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateOrUpdateConditionGroupRequestBodyTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CreateOrUpdateConditionGroupRequestBodyTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateOrUpdateConditionRequestBodyTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CreateOrUpdateConditionRequestBodyTest.cs
deleted file mode 100644
index 26da7d3..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateOrUpdateConditionRequestBodyTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CreateOrUpdateConditionRequestBodyTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateOrUpdateFlagRequestBodyTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CreateOrUpdateFlagRequestBodyTest.cs
deleted file mode 100644
index 43e2b03..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateOrUpdateFlagRequestBodyTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CreateOrUpdateFlagRequestBodyTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateOrUpdateRuleRequestBodyTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CreateOrUpdateRuleRequestBodyTest.cs
deleted file mode 100644
index cccf053..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateOrUpdateRuleRequestBodyTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CreateOrUpdateRuleRequestBodyTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CreatePlanEntitlementResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CreatePlanEntitlementResponseTest.cs
deleted file mode 100644
index 30a606d..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CreatePlanEntitlementResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CreatePlanEntitlementResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CreatePlanResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CreatePlanResponseTest.cs
deleted file mode 100644
index 0d6c159..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CreatePlanResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CreatePlanResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateReqCommonTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CreateReqCommonTest.cs
deleted file mode 100644
index 2e94097..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateReqCommonTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CreateReqCommonTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateUserResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CreateUserResponseTest.cs
deleted file mode 100644
index a5cbeaa..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateUserResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CreateUserResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateWebhookResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CreateWebhookResponseTest.cs
deleted file mode 100644
index 0dac35b..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CreateWebhookResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CreateWebhookResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CrmDealLineItemTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CrmDealLineItemTest.cs
deleted file mode 100644
index 079202e..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CrmDealLineItemTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CrmDealLineItemTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CrmDealResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CrmDealResponseDataTest.cs
deleted file mode 100644
index 2066302..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CrmDealResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CrmDealResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CrmLineItemResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CrmLineItemResponseDataTest.cs
deleted file mode 100644
index 467242e..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CrmLineItemResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CrmLineItemResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/CrmProductResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/CrmProductResponseDataTest.cs
deleted file mode 100644
index 7f203d6..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/CrmProductResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class CrmProductResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteApiKeyResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteApiKeyResponseTest.cs
deleted file mode 100644
index a3e446c..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteApiKeyResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class DeleteApiKeyResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteAudienceResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteAudienceResponseTest.cs
deleted file mode 100644
index efe2f7a..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteAudienceResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class DeleteAudienceResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteCompanyByKeysResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteCompanyByKeysResponseTest.cs
deleted file mode 100644
index 875e67a..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteCompanyByKeysResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class DeleteCompanyByKeysResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteCompanyMembershipResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteCompanyMembershipResponseTest.cs
deleted file mode 100644
index 46b6b16..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteCompanyMembershipResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class DeleteCompanyMembershipResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteCompanyOverrideResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteCompanyOverrideResponseTest.cs
deleted file mode 100644
index 944920a..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteCompanyOverrideResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class DeleteCompanyOverrideResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteCompanyResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteCompanyResponseTest.cs
deleted file mode 100644
index 7858f50..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteCompanyResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class DeleteCompanyResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteComponentResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteComponentResponseTest.cs
deleted file mode 100644
index 81e69fe..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteComponentResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class DeleteComponentResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteEnvironmentResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteEnvironmentResponseTest.cs
deleted file mode 100644
index 973495a..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteEnvironmentResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class DeleteEnvironmentResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteFeatureResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteFeatureResponseTest.cs
deleted file mode 100644
index 61d66e0..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteFeatureResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class DeleteFeatureResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteFlagResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteFlagResponseTest.cs
deleted file mode 100644
index dfd1014..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteFlagResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class DeleteFlagResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/DeletePlanEntitlementResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/DeletePlanEntitlementResponseTest.cs
deleted file mode 100644
index 6a3c623..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/DeletePlanEntitlementResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class DeletePlanEntitlementResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/DeletePlanResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/DeletePlanResponseTest.cs
deleted file mode 100644
index 514779a..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/DeletePlanResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class DeletePlanResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteResponseTest.cs
deleted file mode 100644
index 681878c..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class DeleteResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteUserByKeysResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteUserByKeysResponseTest.cs
deleted file mode 100644
index b393cb0..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteUserByKeysResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class DeleteUserByKeysResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteUserResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteUserResponseTest.cs
deleted file mode 100644
index 8582dbd..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteUserResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class DeleteUserResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteWebhookResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteWebhookResponseTest.cs
deleted file mode 100644
index c641714..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/DeleteWebhookResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class DeleteWebhookResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/EntityKeyDefinitionResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/EntityKeyDefinitionResponseDataTest.cs
deleted file mode 100644
index 440bbd6..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/EntityKeyDefinitionResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class EntityKeyDefinitionResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/EntityKeyDetailResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/EntityKeyDetailResponseDataTest.cs
deleted file mode 100644
index 96818aa..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/EntityKeyDetailResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class EntityKeyDetailResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/EntityKeyResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/EntityKeyResponseDataTest.cs
deleted file mode 100644
index 7f680da..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/EntityKeyResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class EntityKeyResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/EntityTraitDefinitionResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/EntityTraitDefinitionResponseDataTest.cs
deleted file mode 100644
index 75c0d38..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/EntityTraitDefinitionResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class EntityTraitDefinitionResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/EntityTraitDetailResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/EntityTraitDetailResponseDataTest.cs
deleted file mode 100644
index 3e77541..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/EntityTraitDetailResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class EntityTraitDetailResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/EntityTraitResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/EntityTraitResponseDataTest.cs
deleted file mode 100644
index ef78941..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/EntityTraitResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class EntityTraitResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/EntityTraitValueTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/EntityTraitValueTest.cs
deleted file mode 100644
index 7531263..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/EntityTraitValueTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class EntityTraitValueTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/EnvironmentDetailResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/EnvironmentDetailResponseDataTest.cs
deleted file mode 100644
index 3f40715..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/EnvironmentDetailResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class EnvironmentDetailResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/EnvironmentResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/EnvironmentResponseDataTest.cs
deleted file mode 100644
index e89160b..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/EnvironmentResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class EnvironmentResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/EventBodyFlagCheckTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/EventBodyFlagCheckTest.cs
deleted file mode 100644
index b517bf0..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/EventBodyFlagCheckTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class EventBodyFlagCheckTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/EventBodyIdentifyCompanyTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/EventBodyIdentifyCompanyTest.cs
deleted file mode 100644
index 23135d5..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/EventBodyIdentifyCompanyTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class EventBodyIdentifyCompanyTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/EventBodyIdentifyTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/EventBodyIdentifyTest.cs
deleted file mode 100644
index abb09f6..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/EventBodyIdentifyTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class EventBodyIdentifyTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/EventBodyTrackTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/EventBodyTrackTest.cs
deleted file mode 100644
index 083ca2d..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/EventBodyTrackTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class EventBodyTrackTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/EventDetailResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/EventDetailResponseDataTest.cs
deleted file mode 100644
index f6e6cd8..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/EventDetailResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class EventDetailResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/EventResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/EventResponseDataTest.cs
deleted file mode 100644
index b66d214..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/EventResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class EventResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/EventSummaryResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/EventSummaryResponseDataTest.cs
deleted file mode 100644
index a78000c..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/EventSummaryResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class EventSummaryResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/FeatureCompanyResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/FeatureCompanyResponseDataTest.cs
deleted file mode 100644
index 015ef66..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/FeatureCompanyResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class FeatureCompanyResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/FeatureCompanyUserResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/FeatureCompanyUserResponseDataTest.cs
deleted file mode 100644
index 9a3228a..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/FeatureCompanyUserResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class FeatureCompanyUserResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/FeatureDetailResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/FeatureDetailResponseDataTest.cs
deleted file mode 100644
index aa55474..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/FeatureDetailResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class FeatureDetailResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/FeatureResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/FeatureResponseDataTest.cs
deleted file mode 100644
index 4fb1d62..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/FeatureResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class FeatureResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/FeatureUsageDetailResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/FeatureUsageDetailResponseDataTest.cs
deleted file mode 100644
index bc7be5d..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/FeatureUsageDetailResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class FeatureUsageDetailResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/FeatureUsageResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/FeatureUsageResponseDataTest.cs
deleted file mode 100644
index ebb8616..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/FeatureUsageResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class FeatureUsageResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/FlagDetailResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/FlagDetailResponseDataTest.cs
deleted file mode 100644
index 39f6062..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/FlagDetailResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class FlagDetailResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/FlagResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/FlagResponseDataTest.cs
deleted file mode 100644
index e94bfd0..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/FlagResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class FlagResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/GetActiveCompanySubscriptionParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/GetActiveCompanySubscriptionParamsTest.cs
deleted file mode 100644
index 7eb035f..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/GetActiveCompanySubscriptionParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class GetActiveCompanySubscriptionParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/GetActiveCompanySubscriptionResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/GetActiveCompanySubscriptionResponseTest.cs
deleted file mode 100644
index 4ae0b32..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/GetActiveCompanySubscriptionResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class GetActiveCompanySubscriptionResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/GetActiveDealsParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/GetActiveDealsParamsTest.cs
deleted file mode 100644
index 23a0a24..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/GetActiveDealsParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class GetActiveDealsParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/GetActiveDealsResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/GetActiveDealsResponseTest.cs
deleted file mode 100644
index ad6a5d1..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/GetActiveDealsResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class GetActiveDealsResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/GetApiKeyResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/GetApiKeyResponseTest.cs
deleted file mode 100644
index 747ec42..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/GetApiKeyResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class GetApiKeyResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/GetApiRequestResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/GetApiRequestResponseTest.cs
deleted file mode 100644
index d88aa7b..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/GetApiRequestResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class GetApiRequestResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/GetAudienceResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/GetAudienceResponseTest.cs
deleted file mode 100644
index 8f5841b..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/GetAudienceResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class GetAudienceResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/GetBillingPlanGroupByAccountIdResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/GetBillingPlanGroupByAccountIdResponseTest.cs
deleted file mode 100644
index e726e50..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/GetBillingPlanGroupByAccountIdResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class GetBillingPlanGroupByAccountIdResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/GetCompanyOverrideResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/GetCompanyOverrideResponseTest.cs
deleted file mode 100644
index 563a67e..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/GetCompanyOverrideResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class GetCompanyOverrideResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/GetCompanyResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/GetCompanyResponseTest.cs
deleted file mode 100644
index f934242..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/GetCompanyResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class GetCompanyResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/GetComponentResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/GetComponentResponseTest.cs
deleted file mode 100644
index 88154fb..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/GetComponentResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class GetComponentResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/GetEntityTraitDefinitionResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/GetEntityTraitDefinitionResponseTest.cs
deleted file mode 100644
index 058a78f..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/GetEntityTraitDefinitionResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class GetEntityTraitDefinitionResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/GetEntityTraitValuesParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/GetEntityTraitValuesParamsTest.cs
deleted file mode 100644
index 64e6444..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/GetEntityTraitValuesParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class GetEntityTraitValuesParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/GetEntityTraitValuesResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/GetEntityTraitValuesResponseTest.cs
deleted file mode 100644
index f2efbe9..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/GetEntityTraitValuesResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class GetEntityTraitValuesResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/GetEnvironmentResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/GetEnvironmentResponseTest.cs
deleted file mode 100644
index 3461d2b..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/GetEnvironmentResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class GetEnvironmentResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/GetEventResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/GetEventResponseTest.cs
deleted file mode 100644
index 4c2c407..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/GetEventResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class GetEventResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/GetEventSummariesParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/GetEventSummariesParamsTest.cs
deleted file mode 100644
index 75dd5dd..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/GetEventSummariesParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class GetEventSummariesParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/GetEventSummariesResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/GetEventSummariesResponseTest.cs
deleted file mode 100644
index 5c8345a..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/GetEventSummariesResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class GetEventSummariesResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/GetEventSummaryBySubtypeResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/GetEventSummaryBySubtypeResponseTest.cs
deleted file mode 100644
index eda436b..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/GetEventSummaryBySubtypeResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class GetEventSummaryBySubtypeResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/GetFeatureResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/GetFeatureResponseTest.cs
deleted file mode 100644
index 47bcc0c..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/GetFeatureResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class GetFeatureResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/GetFeatureUsageByCompanyParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/GetFeatureUsageByCompanyParamsTest.cs
deleted file mode 100644
index 6fa0c05..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/GetFeatureUsageByCompanyParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class GetFeatureUsageByCompanyParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/GetFeatureUsageByCompanyResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/GetFeatureUsageByCompanyResponseTest.cs
deleted file mode 100644
index 99abc53..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/GetFeatureUsageByCompanyResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class GetFeatureUsageByCompanyResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/GetFlagResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/GetFlagResponseTest.cs
deleted file mode 100644
index 1e1c0b9..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/GetFlagResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class GetFlagResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/GetOrCreateCompanyMembershipResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/GetOrCreateCompanyMembershipResponseTest.cs
deleted file mode 100644
index 4686ed7..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/GetOrCreateCompanyMembershipResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class GetOrCreateCompanyMembershipResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/GetOrCreateEntityTraitDefinitionResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/GetOrCreateEntityTraitDefinitionResponseTest.cs
deleted file mode 100644
index c792d27..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/GetOrCreateEntityTraitDefinitionResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class GetOrCreateEntityTraitDefinitionResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/GetPlanEntitlementResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/GetPlanEntitlementResponseTest.cs
deleted file mode 100644
index 5e69945..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/GetPlanEntitlementResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class GetPlanEntitlementResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/GetPlanResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/GetPlanResponseTest.cs
deleted file mode 100644
index 53121cf..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/GetPlanResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class GetPlanResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/GetSegmentIntegrationStatusResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/GetSegmentIntegrationStatusResponseTest.cs
deleted file mode 100644
index f925c88..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/GetSegmentIntegrationStatusResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class GetSegmentIntegrationStatusResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/GetUserResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/GetUserResponseTest.cs
deleted file mode 100644
index 684a2df..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/GetUserResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class GetUserResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/GetWebhookEventResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/GetWebhookEventResponseTest.cs
deleted file mode 100644
index 0d6677d..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/GetWebhookEventResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class GetWebhookEventResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/GetWebhookResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/GetWebhookResponseTest.cs
deleted file mode 100644
index 285ed01..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/GetWebhookResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class GetWebhookResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/IssueTemporaryAccessTokenResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/IssueTemporaryAccessTokenResponseDataTest.cs
deleted file mode 100644
index 4083887..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/IssueTemporaryAccessTokenResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class IssueTemporaryAccessTokenResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/IssueTemporaryAccessTokenResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/IssueTemporaryAccessTokenResponseTest.cs
deleted file mode 100644
index 5c8f19d..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/IssueTemporaryAccessTokenResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class IssueTemporaryAccessTokenResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/KeysRequestBodyTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/KeysRequestBodyTest.cs
deleted file mode 100644
index 8c4034d..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/KeysRequestBodyTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class KeysRequestBodyTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListApiKeysParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListApiKeysParamsTest.cs
deleted file mode 100644
index 3887640..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListApiKeysParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListApiKeysParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListApiKeysResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListApiKeysResponseTest.cs
deleted file mode 100644
index c5d8d5a..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListApiKeysResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListApiKeysResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListApiRequestsParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListApiRequestsParamsTest.cs
deleted file mode 100644
index e04285e..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListApiRequestsParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListApiRequestsParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListApiRequestsResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListApiRequestsResponseTest.cs
deleted file mode 100644
index 5e8f4ef..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListApiRequestsResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListApiRequestsResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListAudienceCompaniesResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListAudienceCompaniesResponseTest.cs
deleted file mode 100644
index c4ff124..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListAudienceCompaniesResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListAudienceCompaniesResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListAudienceUsersResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListAudienceUsersResponseTest.cs
deleted file mode 100644
index 01f726b..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListAudienceUsersResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListAudienceUsersResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListBillingProductsParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListBillingProductsParamsTest.cs
deleted file mode 100644
index 72eae05..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListBillingProductsParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListBillingProductsParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListBillingProductsResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListBillingProductsResponseTest.cs
deleted file mode 100644
index c5420b8..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListBillingProductsResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListBillingProductsResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListCompaniesParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListCompaniesParamsTest.cs
deleted file mode 100644
index a19046a..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListCompaniesParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListCompaniesParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListCompaniesResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListCompaniesResponseTest.cs
deleted file mode 100644
index 5c820c2..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListCompaniesResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListCompaniesResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListCompanyMembershipsParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListCompanyMembershipsParamsTest.cs
deleted file mode 100644
index 9eacfa2..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListCompanyMembershipsParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListCompanyMembershipsParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListCompanyMembershipsResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListCompanyMembershipsResponseTest.cs
deleted file mode 100644
index f6fd704..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListCompanyMembershipsResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListCompanyMembershipsResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListCompanyOverridesParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListCompanyOverridesParamsTest.cs
deleted file mode 100644
index f12150d..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListCompanyOverridesParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListCompanyOverridesParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListCompanyOverridesResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListCompanyOverridesResponseTest.cs
deleted file mode 100644
index 41428c4..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListCompanyOverridesResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListCompanyOverridesResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListComponentsParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListComponentsParamsTest.cs
deleted file mode 100644
index c14bd2c..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListComponentsParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListComponentsParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListComponentsResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListComponentsResponseTest.cs
deleted file mode 100644
index b15be21..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListComponentsResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListComponentsResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListCrmProductsParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListCrmProductsParamsTest.cs
deleted file mode 100644
index 4cd34e2..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListCrmProductsParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListCrmProductsParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListCrmProductsResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListCrmProductsResponseTest.cs
deleted file mode 100644
index aed157b..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListCrmProductsResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListCrmProductsResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListCustomersParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListCustomersParamsTest.cs
deleted file mode 100644
index f28b139..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListCustomersParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListCustomersParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListCustomersResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListCustomersResponseTest.cs
deleted file mode 100644
index e4defff..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListCustomersResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListCustomersResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListEntityKeyDefinitionsParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListEntityKeyDefinitionsParamsTest.cs
deleted file mode 100644
index a90ef02..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListEntityKeyDefinitionsParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListEntityKeyDefinitionsParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListEntityKeyDefinitionsResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListEntityKeyDefinitionsResponseTest.cs
deleted file mode 100644
index 30acb80..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListEntityKeyDefinitionsResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListEntityKeyDefinitionsResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListEntityTraitDefinitionsParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListEntityTraitDefinitionsParamsTest.cs
deleted file mode 100644
index 3d0f112..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListEntityTraitDefinitionsParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListEntityTraitDefinitionsParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListEntityTraitDefinitionsResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListEntityTraitDefinitionsResponseTest.cs
deleted file mode 100644
index 23dffff..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListEntityTraitDefinitionsResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListEntityTraitDefinitionsResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListEnvironmentsParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListEnvironmentsParamsTest.cs
deleted file mode 100644
index 454028c..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListEnvironmentsParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListEnvironmentsParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListEnvironmentsResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListEnvironmentsResponseTest.cs
deleted file mode 100644
index 405c7e2..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListEnvironmentsResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListEnvironmentsResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListEventsParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListEventsParamsTest.cs
deleted file mode 100644
index c15da6a..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListEventsParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListEventsParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListEventsResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListEventsResponseTest.cs
deleted file mode 100644
index f35d48c..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListEventsResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListEventsResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListFeatureCompaniesParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListFeatureCompaniesParamsTest.cs
deleted file mode 100644
index 4355e2b..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListFeatureCompaniesParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListFeatureCompaniesParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListFeatureCompaniesResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListFeatureCompaniesResponseTest.cs
deleted file mode 100644
index 946e717..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListFeatureCompaniesResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListFeatureCompaniesResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListFeatureUsageParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListFeatureUsageParamsTest.cs
deleted file mode 100644
index 566c1b6..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListFeatureUsageParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListFeatureUsageParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListFeatureUsageResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListFeatureUsageResponseTest.cs
deleted file mode 100644
index 28a76e7..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListFeatureUsageResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListFeatureUsageResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListFeatureUsersParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListFeatureUsersParamsTest.cs
deleted file mode 100644
index 5cfb779..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListFeatureUsersParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListFeatureUsersParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListFeatureUsersResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListFeatureUsersResponseTest.cs
deleted file mode 100644
index 85a1af0..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListFeatureUsersResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListFeatureUsersResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListFeaturesParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListFeaturesParamsTest.cs
deleted file mode 100644
index c2e867c..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListFeaturesParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListFeaturesParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListFeaturesResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListFeaturesResponseTest.cs
deleted file mode 100644
index 69c7710..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListFeaturesResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListFeaturesResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListFlagsParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListFlagsParamsTest.cs
deleted file mode 100644
index ede1e55..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListFlagsParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListFlagsParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListFlagsResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListFlagsResponseTest.cs
deleted file mode 100644
index e94ef62..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListFlagsResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListFlagsResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListMetricCountsParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListMetricCountsParamsTest.cs
deleted file mode 100644
index ecd1749..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListMetricCountsParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListMetricCountsParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListMetricCountsResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListMetricCountsResponseTest.cs
deleted file mode 100644
index 0921dd5..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListMetricCountsResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListMetricCountsResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListPlanEntitlementsParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListPlanEntitlementsParamsTest.cs
deleted file mode 100644
index 82e1cd1..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListPlanEntitlementsParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListPlanEntitlementsParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListPlanEntitlementsResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListPlanEntitlementsResponseTest.cs
deleted file mode 100644
index b19565a..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListPlanEntitlementsResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListPlanEntitlementsResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListPlansParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListPlansParamsTest.cs
deleted file mode 100644
index 8c9e9d5..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListPlansParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListPlansParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListPlansResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListPlansResponseTest.cs
deleted file mode 100644
index cd04ef0..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListPlansResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListPlansResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListProductPricesParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListProductPricesParamsTest.cs
deleted file mode 100644
index 0fdc6bd..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListProductPricesParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListProductPricesParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListProductPricesResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListProductPricesResponseTest.cs
deleted file mode 100644
index d0759ae..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListProductPricesResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListProductPricesResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListUsersParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListUsersParamsTest.cs
deleted file mode 100644
index 4bd1f8b..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListUsersParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListUsersParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListUsersResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListUsersResponseTest.cs
deleted file mode 100644
index db40ea3..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListUsersResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListUsersResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListWebhookEventsParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListWebhookEventsParamsTest.cs
deleted file mode 100644
index 5231f04..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListWebhookEventsParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListWebhookEventsParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListWebhookEventsResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListWebhookEventsResponseTest.cs
deleted file mode 100644
index c31d697..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListWebhookEventsResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListWebhookEventsResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListWebhooksParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListWebhooksParamsTest.cs
deleted file mode 100644
index 47a614c..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListWebhooksParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListWebhooksParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/ListWebhooksResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/ListWebhooksResponseTest.cs
deleted file mode 100644
index af55a24..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/ListWebhooksResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class ListWebhooksResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/LookupCompanyParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/LookupCompanyParamsTest.cs
deleted file mode 100644
index e5bf386..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/LookupCompanyParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class LookupCompanyParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/LookupCompanyResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/LookupCompanyResponseTest.cs
deleted file mode 100644
index 20ccd55..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/LookupCompanyResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class LookupCompanyResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/LookupUserParamsTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/LookupUserParamsTest.cs
deleted file mode 100644
index 9d90512..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/LookupUserParamsTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class LookupUserParamsTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/LookupUserResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/LookupUserResponseTest.cs
deleted file mode 100644
index b08a120..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/LookupUserResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class LookupUserResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/MetricCountsHourlyResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/MetricCountsHourlyResponseDataTest.cs
deleted file mode 100644
index de95497..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/MetricCountsHourlyResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class MetricCountsHourlyResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/PaginationFilterTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/PaginationFilterTest.cs
deleted file mode 100644
index 0e7e93b..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/PaginationFilterTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class PaginationFilterTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/PlanAudienceDetailResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/PlanAudienceDetailResponseDataTest.cs
deleted file mode 100644
index a77eed7..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/PlanAudienceDetailResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class PlanAudienceDetailResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/PlanAudienceResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/PlanAudienceResponseDataTest.cs
deleted file mode 100644
index 53f203e..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/PlanAudienceResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class PlanAudienceResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/PlanDetailResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/PlanDetailResponseDataTest.cs
deleted file mode 100644
index 920e504..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/PlanDetailResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class PlanDetailResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/PlanEntitlementResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/PlanEntitlementResponseDataTest.cs
deleted file mode 100644
index 79fc076..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/PlanEntitlementResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class PlanEntitlementResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/PlanResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/PlanResponseDataTest.cs
deleted file mode 100644
index cc3921e..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/PlanResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class PlanResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/PreviewObjectTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/PreviewObjectTest.cs
deleted file mode 100644
index bb61299..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/PreviewObjectTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class PreviewObjectTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/RawEventBatchResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/RawEventBatchResponseDataTest.cs
deleted file mode 100644
index fb73e3a..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/RawEventBatchResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class RawEventBatchResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/RawEventResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/RawEventResponseDataTest.cs
deleted file mode 100644
index 1e376b1..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/RawEventResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class RawEventResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/RuleConditionDetailResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/RuleConditionDetailResponseDataTest.cs
deleted file mode 100644
index 7ae7f8b..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/RuleConditionDetailResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class RuleConditionDetailResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/RuleConditionGroupDetailResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/RuleConditionGroupDetailResponseDataTest.cs
deleted file mode 100644
index f3105ea..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/RuleConditionGroupDetailResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class RuleConditionGroupDetailResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/RuleConditionGroupResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/RuleConditionGroupResponseDataTest.cs
deleted file mode 100644
index 74bd3c2..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/RuleConditionGroupResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class RuleConditionGroupResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/RuleConditionResourceResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/RuleConditionResourceResponseDataTest.cs
deleted file mode 100644
index f7a2c89..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/RuleConditionResourceResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class RuleConditionResourceResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/RuleConditionResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/RuleConditionResponseDataTest.cs
deleted file mode 100644
index 6460827..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/RuleConditionResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class RuleConditionResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/RuleDetailResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/RuleDetailResponseDataTest.cs
deleted file mode 100644
index 024f07a..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/RuleDetailResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class RuleDetailResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/RuleResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/RuleResponseDataTest.cs
deleted file mode 100644
index 89507f0..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/RuleResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class RuleResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/RulesDetailResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/RulesDetailResponseDataTest.cs
deleted file mode 100644
index a85d125..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/RulesDetailResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class RulesDetailResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/SegmentStatusRespTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/SegmentStatusRespTest.cs
deleted file mode 100644
index 8eb56cb..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/SegmentStatusRespTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class SegmentStatusRespTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/TemporaryAccessTokenResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/TemporaryAccessTokenResponseDataTest.cs
deleted file mode 100644
index 6244a47..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/TemporaryAccessTokenResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class TemporaryAccessTokenResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateApiKeyResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateApiKeyResponseTest.cs
deleted file mode 100644
index f1946da..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateApiKeyResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpdateApiKeyResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateAudienceResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateAudienceResponseTest.cs
deleted file mode 100644
index 8b07ef6..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateAudienceResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpdateAudienceResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateBillingPlanGroupResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateBillingPlanGroupResponseTest.cs
deleted file mode 100644
index d4847e8..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateBillingPlanGroupResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpdateBillingPlanGroupResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateCompanyOverrideResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateCompanyOverrideResponseTest.cs
deleted file mode 100644
index d2e945c..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateCompanyOverrideResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpdateCompanyOverrideResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateComponentResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateComponentResponseTest.cs
deleted file mode 100644
index 6d2ae98..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateComponentResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpdateComponentResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateEntityTraitDefinitionResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateEntityTraitDefinitionResponseTest.cs
deleted file mode 100644
index 7825f0b..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateEntityTraitDefinitionResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpdateEntityTraitDefinitionResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateEnvironmentResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateEnvironmentResponseTest.cs
deleted file mode 100644
index 5cfc591..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateEnvironmentResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpdateEnvironmentResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateFeatureResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateFeatureResponseTest.cs
deleted file mode 100644
index 4e42a46..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateFeatureResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpdateFeatureResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateFlagResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateFlagResponseTest.cs
deleted file mode 100644
index 974c169..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateFlagResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpdateFlagResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateFlagRulesResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateFlagRulesResponseTest.cs
deleted file mode 100644
index 21597f2..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateFlagRulesResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpdateFlagRulesResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpdatePlanEntitlementResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpdatePlanEntitlementResponseTest.cs
deleted file mode 100644
index 02aa60a..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpdatePlanEntitlementResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpdatePlanEntitlementResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpdatePlanResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpdatePlanResponseTest.cs
deleted file mode 100644
index e8b9d05..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpdatePlanResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpdatePlanResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateReqCommonTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateReqCommonTest.cs
deleted file mode 100644
index 04360c2..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateReqCommonTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpdateReqCommonTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateRuleRequestBodyTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateRuleRequestBodyTest.cs
deleted file mode 100644
index ee3a12e..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateRuleRequestBodyTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpdateRuleRequestBodyTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateWebhookResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateWebhookResponseTest.cs
deleted file mode 100644
index 6654af4..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpdateWebhookResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpdateWebhookResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertBillingCustomerResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertBillingCustomerResponseTest.cs
deleted file mode 100644
index 88284e8..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertBillingCustomerResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpsertBillingCustomerResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertBillingPriceResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertBillingPriceResponseTest.cs
deleted file mode 100644
index 436112e..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertBillingPriceResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpsertBillingPriceResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertBillingProductPlanResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertBillingProductPlanResponseTest.cs
deleted file mode 100644
index 6228047..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertBillingProductPlanResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpsertBillingProductPlanResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertBillingProductResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertBillingProductResponseTest.cs
deleted file mode 100644
index 6fb6945..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertBillingProductResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpsertBillingProductResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertBillingSubscriptionResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertBillingSubscriptionResponseTest.cs
deleted file mode 100644
index 63c5504..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertBillingSubscriptionResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpsertBillingSubscriptionResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertCompanyRequestBodyTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertCompanyRequestBodyTest.cs
deleted file mode 100644
index ff899a4..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertCompanyRequestBodyTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpsertCompanyRequestBodyTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertCompanyResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertCompanyResponseTest.cs
deleted file mode 100644
index 2d6e250..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertCompanyResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpsertCompanyResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertCompanyTraitResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertCompanyTraitResponseTest.cs
deleted file mode 100644
index b518824..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertCompanyTraitResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpsertCompanyTraitResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertCrmDealResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertCrmDealResponseTest.cs
deleted file mode 100644
index b73fe32..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertCrmDealResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpsertCrmDealResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertCrmProductResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertCrmProductResponseTest.cs
deleted file mode 100644
index 5526e65..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertCrmProductResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpsertCrmProductResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertDealLineItemAssociationResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertDealLineItemAssociationResponseTest.cs
deleted file mode 100644
index 72697db..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertDealLineItemAssociationResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpsertDealLineItemAssociationResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertLineItemResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertLineItemResponseTest.cs
deleted file mode 100644
index 4eb2714..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertLineItemResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpsertLineItemResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertTraitRequestBodyTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertTraitRequestBodyTest.cs
deleted file mode 100644
index 40e0a12..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertTraitRequestBodyTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpsertTraitRequestBodyTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertUserRequestBodyTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertUserRequestBodyTest.cs
deleted file mode 100644
index 4a16a91..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertUserRequestBodyTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpsertUserRequestBodyTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertUserResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertUserResponseTest.cs
deleted file mode 100644
index 5b4c8f2..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertUserResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpsertUserResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertUserSubRequestBodyTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertUserSubRequestBodyTest.cs
deleted file mode 100644
index bc99cb0..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertUserSubRequestBodyTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpsertUserSubRequestBodyTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertUserTraitResponseTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertUserTraitResponseTest.cs
deleted file mode 100644
index a5f98cd..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UpsertUserTraitResponseTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UpsertUserTraitResponseTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UserDetailResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UserDetailResponseDataTest.cs
deleted file mode 100644
index 7ad6037..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UserDetailResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UserDetailResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/UserResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/UserResponseDataTest.cs
deleted file mode 100644
index 29dc7ca..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/UserResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class UserResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/WebhookEventDetailResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/WebhookEventDetailResponseDataTest.cs
deleted file mode 100644
index f0ec741..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/WebhookEventDetailResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class WebhookEventDetailResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/WebhookEventResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/WebhookEventResponseDataTest.cs
deleted file mode 100644
index 821efea..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/WebhookEventResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class WebhookEventResponseDataTest { }
diff --git a/src/SchematicHQ.Client.Test/Unit/Serialization/WebhookResponseDataTest.cs b/src/SchematicHQ.Client.Test/Unit/Serialization/WebhookResponseDataTest.cs
deleted file mode 100644
index 19f6294..0000000
--- a/src/SchematicHQ.Client.Test/Unit/Serialization/WebhookResponseDataTest.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-using NUnit.Framework;
-
-#nullable enable
-
-namespace SchematicHQ.Client.Test;
-
-[TestFixture]
-public class WebhookResponseDataTest { }
diff --git a/src/SchematicHQ.Client.sln b/src/SchematicHQ.Client.sln
index 1215d84..3bef0ed 100644
--- a/src/SchematicHQ.Client.sln
+++ b/src/SchematicHQ.Client.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SchematicHQ.Client", "SchematicHQ.Client\SchematicHQ.Client.csproj", "{F9CD1DE1-BFD1-43D5-A3A4-6D1CFCFA4337}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SchematicHQ.Client", "SchematicHQ.Client\SchematicHQ.Client.csproj", "{3EBC960B-56BD-4554-98D5-6453169063C6}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SchematicHQ.Client.Test", "SchematicHQ.Client.Test\SchematicHQ.Client.Test.csproj", "{1FCA9B08-C3B5-4F1D-BEBD-36BFBB619D34}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SchematicHQ.Client.Test", "SchematicHQ.Client.Test\SchematicHQ.Client.Test.csproj", "{E53A0888-A1A1-4E6B-B88E-98E74632F1F6}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {F9CD1DE1-BFD1-43D5-A3A4-6D1CFCFA4337}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F9CD1DE1-BFD1-43D5-A3A4-6D1CFCFA4337}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {F9CD1DE1-BFD1-43D5-A3A4-6D1CFCFA4337}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {F9CD1DE1-BFD1-43D5-A3A4-6D1CFCFA4337}.Release|Any CPU.Build.0 = Release|Any CPU
- {1FCA9B08-C3B5-4F1D-BEBD-36BFBB619D34}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {1FCA9B08-C3B5-4F1D-BEBD-36BFBB619D34}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {1FCA9B08-C3B5-4F1D-BEBD-36BFBB619D34}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {1FCA9B08-C3B5-4F1D-BEBD-36BFBB619D34}.Release|Any CPU.Build.0 = Release|Any CPU
+ {3EBC960B-56BD-4554-98D5-6453169063C6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3EBC960B-56BD-4554-98D5-6453169063C6}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3EBC960B-56BD-4554-98D5-6453169063C6}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3EBC960B-56BD-4554-98D5-6453169063C6}.Release|Any CPU.Build.0 = Release|Any CPU
+ {E53A0888-A1A1-4E6B-B88E-98E74632F1F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E53A0888-A1A1-4E6B-B88E-98E74632F1F6}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E53A0888-A1A1-4E6B-B88E-98E74632F1F6}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E53A0888-A1A1-4E6B-B88E-98E74632F1F6}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/src/SchematicHQ.Client/Accesstokens/AccesstokensClient.cs b/src/SchematicHQ.Client/Accesstokens/AccesstokensClient.cs
index 63af912..ed08a71 100644
--- a/src/SchematicHQ.Client/Accesstokens/AccesstokensClient.cs
+++ b/src/SchematicHQ.Client/Accesstokens/AccesstokensClient.cs
@@ -1,38 +1,85 @@
using System.Net.Http;
using System.Text.Json;
-using SchematicHQ.Client;
+using System.Threading;
using SchematicHQ.Client.Core;
#nullable enable
namespace SchematicHQ.Client;
-public class AccesstokensClient
+public partial class AccesstokensClient
{
private RawClient _client;
- public AccesstokensClient(RawClient client)
+ internal AccesstokensClient(RawClient client)
{
_client = client;
}
+ ///
+ ///
+ /// await client.Accesstokens.IssueTemporaryAccessTokenAsync(
+ /// new IssueTemporaryAccessTokenRequestBody
+ /// {
+ /// Lookup = new Dictionary<string, string>() { { "key", "value" } },
+ /// ResourceType = "resource_type",
+ /// }
+ /// );
+ ///
+ ///
public async Task IssueTemporaryAccessTokenAsync(
- IssueTemporaryAccessTokenRequestBody request
+ IssueTemporaryAccessTokenRequestBody request,
+ RequestOptions? options = null,
+ CancellationToken cancellationToken = default
)
{
var response = await _client.MakeRequestAsync(
new RawClient.JsonApiRequest
{
+ BaseUrl = _client.Options.BaseUrl,
Method = HttpMethod.Post,
Path = "temporary-access-tokens",
- Body = request
- }
+ Body = request,
+ ContentType = "application/json",
+ Options = options,
+ },
+ cancellationToken
);
var responseBody = await response.Raw.Content.ReadAsStringAsync();
if (response.StatusCode is >= 200 and < 400)
{
- return JsonSerializer.Deserialize(responseBody)!;
+ try
+ {
+ return JsonUtils.Deserialize(responseBody)!;
+ }
+ catch (JsonException e)
+ {
+ throw new SchematicApiException("Failed to deserialize response", e);
+ }
}
- throw new Exception(responseBody);
+
+ try
+ {
+ switch (response.StatusCode)
+ {
+ case 400:
+ throw new BadRequestError(JsonUtils.Deserialize(responseBody));
+ case 401:
+ throw new UnauthorizedError(JsonUtils.Deserialize(responseBody));
+ case 403:
+ throw new ForbiddenError(JsonUtils.Deserialize(responseBody));
+ case 500:
+ throw new InternalServerError(JsonUtils.Deserialize(responseBody));
+ }
+ }
+ catch (JsonException)
+ {
+ // unable to map error response, throwing generic error
+ }
+ throw new SchematicApiApiException(
+ $"Error with status code {response.StatusCode}",
+ response.StatusCode,
+ responseBody
+ );
}
}
diff --git a/src/SchematicHQ.Client/Accesstokens/Requests/IssueTemporaryAccessTokenRequestBody.cs b/src/SchematicHQ.Client/Accesstokens/Requests/IssueTemporaryAccessTokenRequestBody.cs
index 4da6c57..1a69e4b 100644
--- a/src/SchematicHQ.Client/Accesstokens/Requests/IssueTemporaryAccessTokenRequestBody.cs
+++ b/src/SchematicHQ.Client/Accesstokens/Requests/IssueTemporaryAccessTokenRequestBody.cs
@@ -1,4 +1,5 @@
using System.Text.Json.Serialization;
+using SchematicHQ.Client.Core;
#nullable enable
@@ -7,8 +8,13 @@ namespace SchematicHQ.Client;
public record IssueTemporaryAccessTokenRequestBody
{
[JsonPropertyName("lookup")]
- public Dictionary Lookup { get; init; } = new Dictionary();
+ public Dictionary Lookup { get; set; } = new Dictionary();
[JsonPropertyName("resource_type")]
- public required string ResourceType { get; init; }
+ public required string ResourceType { get; set; }
+
+ public override string ToString()
+ {
+ return JsonUtils.Serialize(this);
+ }
}
diff --git a/src/SchematicHQ.Client/Accesstokens/Types/IssueTemporaryAccessTokenResponse.cs b/src/SchematicHQ.Client/Accesstokens/Types/IssueTemporaryAccessTokenResponse.cs
index 5a586f2..34fde73 100644
--- a/src/SchematicHQ.Client/Accesstokens/Types/IssueTemporaryAccessTokenResponse.cs
+++ b/src/SchematicHQ.Client/Accesstokens/Types/IssueTemporaryAccessTokenResponse.cs
@@ -1,5 +1,5 @@
using System.Text.Json.Serialization;
-using SchematicHQ.Client;
+using SchematicHQ.Client.Core;
#nullable enable
@@ -8,11 +8,16 @@ namespace SchematicHQ.Client;
public record IssueTemporaryAccessTokenResponse
{
[JsonPropertyName("data")]
- public required IssueTemporaryAccessTokenResponseData Data { get; init; }
+ public required IssueTemporaryAccessTokenResponseData Data { get; set; }
///
/// Input parameters
///
[JsonPropertyName("params")]
- public Dictionary Params { get; init; } = new Dictionary();
+ public Dictionary Params { get; set; } = new Dictionary();
+
+ public override string ToString()
+ {
+ return JsonUtils.Serialize(this);
+ }
}
diff --git a/src/SchematicHQ.Client/Accounts/AccountsClient.cs b/src/SchematicHQ.Client/Accounts/AccountsClient.cs
index 25a6754..8041265 100644
--- a/src/SchematicHQ.Client/Accounts/AccountsClient.cs
+++ b/src/SchematicHQ.Client/Accounts/AccountsClient.cs
@@ -1,27 +1,34 @@
using System.Net.Http;
using System.Text.Json;
-using SchematicHQ.Client;
+using System.Threading;
using SchematicHQ.Client.Core;
#nullable enable
namespace SchematicHQ.Client;
-public class AccountsClient
+public partial class AccountsClient
{
private RawClient _client;
- public AccountsClient(RawClient client)
+ internal AccountsClient(RawClient client)
{
_client = client;
}
- public async Task ListApiKeysAsync(ListApiKeysRequest request)
+ ///
+ ///
+ /// await client.Accounts.ListApiKeysAsync(new ListApiKeysRequest { RequireEnvironment = true });
+ ///
+ ///
+ public async Task ListApiKeysAsync(
+ ListApiKeysRequest request,
+ RequestOptions? options = null,
+ CancellationToken cancellationToken = default
+ )
{
- var _query = new Dictionary()
- {
- { "require_environment", request.RequireEnvironment.ToString() },
- };
+ var _query = new Dictionary();
+ _query["require_environment"] = request.RequireEnvironment.ToString();
if (request.EnvironmentId != null)
{
_query["environment_id"] = request.EnvironmentId;
@@ -37,94 +44,308 @@ public async Task ListApiKeysAsync(ListApiKeysRequest reque
var response = await _client.MakeRequestAsync(
new RawClient.JsonApiRequest
{
+ BaseUrl = _client.Options.BaseUrl,
Method = HttpMethod.Get,
Path = "api-keys",
- Query = _query
- }
+ Query = _query,
+ Options = options,
+ },
+ cancellationToken
);
var responseBody = await response.Raw.Content.ReadAsStringAsync();
if (response.StatusCode is >= 200 and < 400)
{
- return JsonSerializer.Deserialize(responseBody)!;
+ try
+ {
+ return JsonUtils.Deserialize(responseBody)!;
+ }
+ catch (JsonException e)
+ {
+ throw new SchematicApiException("Failed to deserialize response", e);
+ }
+ }
+
+ try
+ {
+ switch (response.StatusCode)
+ {
+ case 400:
+ throw new BadRequestError(JsonUtils.Deserialize(responseBody));
+ case 401:
+ throw new UnauthorizedError(JsonUtils.Deserialize(responseBody));
+ case 403:
+ throw new ForbiddenError(JsonUtils.Deserialize(responseBody));
+ case 500:
+ throw new InternalServerError(JsonUtils.Deserialize(responseBody));
+ }
+ }
+ catch (JsonException)
+ {
+ // unable to map error response, throwing generic error
}
- throw new Exception(responseBody);
+ throw new SchematicApiApiException(
+ $"Error with status code {response.StatusCode}",
+ response.StatusCode,
+ responseBody
+ );
}
- public async Task CreateApiKeyAsync(CreateApiKeyRequestBody request)
+ ///
+ ///
+ /// await client.Accounts.CreateApiKeyAsync(new CreateApiKeyRequestBody { Name = "name" });
+ ///
+ ///
+ public async Task CreateApiKeyAsync(
+ CreateApiKeyRequestBody request,
+ RequestOptions? options = null,
+ CancellationToken cancellationToken = default
+ )
{
var response = await _client.MakeRequestAsync(
new RawClient.JsonApiRequest
{
+ BaseUrl = _client.Options.BaseUrl,
Method = HttpMethod.Post,
Path = "api-keys",
- Body = request
- }
+ Body = request,
+ ContentType = "application/json",
+ Options = options,
+ },
+ cancellationToken
);
var responseBody = await response.Raw.Content.ReadAsStringAsync();
if (response.StatusCode is >= 200 and < 400)
{
- return JsonSerializer.Deserialize(responseBody)!;
+ try
+ {
+ return JsonUtils.Deserialize(responseBody)!;
+ }
+ catch (JsonException e)
+ {
+ throw new SchematicApiException("Failed to deserialize response", e);
+ }
+ }
+
+ try
+ {
+ switch (response.StatusCode)
+ {
+ case 400:
+ throw new BadRequestError(JsonUtils.Deserialize(responseBody));
+ case 401:
+ throw new UnauthorizedError(JsonUtils.Deserialize(responseBody));
+ case 403:
+ throw new ForbiddenError(JsonUtils.Deserialize(responseBody));
+ case 500:
+ throw new InternalServerError(JsonUtils.Deserialize(responseBody));
+ }
+ }
+ catch (JsonException)
+ {
+ // unable to map error response, throwing generic error
}
- throw new Exception(responseBody);
+ throw new SchematicApiApiException(
+ $"Error with status code {response.StatusCode}",
+ response.StatusCode,
+ responseBody
+ );
}
- public async Task GetApiKeyAsync(string apiKeyId)
+ ///
+ ///
+ /// await client.Accounts.GetApiKeyAsync("api_key_id");
+ ///
+ ///
+ public async Task GetApiKeyAsync(
+ string apiKeyId,
+ RequestOptions? options = null,
+ CancellationToken cancellationToken = default
+ )
{
var response = await _client.MakeRequestAsync(
- new RawClient.JsonApiRequest { Method = HttpMethod.Get, Path = $"api-keys/{apiKeyId}" }
+ new RawClient.JsonApiRequest
+ {
+ BaseUrl = _client.Options.BaseUrl,
+ Method = HttpMethod.Get,
+ Path = $"api-keys/{apiKeyId}",
+ Options = options,
+ },
+ cancellationToken
);
var responseBody = await response.Raw.Content.ReadAsStringAsync();
if (response.StatusCode is >= 200 and < 400)
{
- return JsonSerializer.Deserialize(responseBody)!;
+ try
+ {
+ return JsonUtils.Deserialize(responseBody)!;
+ }
+ catch (JsonException e)
+ {
+ throw new SchematicApiException("Failed to deserialize response", e);
+ }
+ }
+
+ try
+ {
+ switch (response.StatusCode)
+ {
+ case 401:
+ throw new UnauthorizedError(JsonUtils.Deserialize(responseBody));
+ case 403:
+ throw new ForbiddenError(JsonUtils.Deserialize(responseBody));
+ case 404:
+ throw new NotFoundError(JsonUtils.Deserialize(responseBody));
+ case 500:
+ throw new InternalServerError(JsonUtils.Deserialize(responseBody));
+ }
+ }
+ catch (JsonException)
+ {
+ // unable to map error response, throwing generic error
}
- throw new Exception(responseBody);
+ throw new SchematicApiApiException(
+ $"Error with status code {response.StatusCode}",
+ response.StatusCode,
+ responseBody
+ );
}
+ ///
+ ///
+ /// await client.Accounts.UpdateApiKeyAsync("api_key_id", new UpdateApiKeyRequestBody());
+ ///
+ ///
public async Task UpdateApiKeyAsync(
string apiKeyId,
- UpdateApiKeyRequestBody request
+ UpdateApiKeyRequestBody request,
+ RequestOptions? options = null,
+ CancellationToken cancellationToken = default
)
{
var response = await _client.MakeRequestAsync(
new RawClient.JsonApiRequest
{
+ BaseUrl = _client.Options.BaseUrl,
Method = HttpMethod.Put,
Path = $"api-keys/{apiKeyId}",
- Body = request
- }
+ Body = request,
+ ContentType = "application/json",
+ Options = options,
+ },
+ cancellationToken
);
var responseBody = await response.Raw.Content.ReadAsStringAsync();
if (response.StatusCode is >= 200 and < 400)
{
- return JsonSerializer.Deserialize(responseBody)!;
+ try
+ {
+ return JsonUtils.Deserialize(responseBody)!;
+ }
+ catch (JsonException e)
+ {
+ throw new SchematicApiException("Failed to deserialize response", e);
+ }
}
- throw new Exception(responseBody);
+
+ try
+ {
+ switch (response.StatusCode)
+ {
+ case 400:
+ throw new BadRequestError(JsonUtils.Deserialize(responseBody));
+ case 401:
+ throw new UnauthorizedError(JsonUtils.Deserialize(responseBody));
+ case 403:
+ throw new ForbiddenError(JsonUtils.Deserialize(responseBody));
+ case 404:
+ throw new NotFoundError(JsonUtils.Deserialize(responseBody));
+ case 500:
+ throw new InternalServerError(JsonUtils.Deserialize(responseBody));
+ }
+ }
+ catch (JsonException)
+ {
+ // unable to map error response, throwing generic error
+ }
+ throw new SchematicApiApiException(
+ $"Error with status code {response.StatusCode}",
+ response.StatusCode,
+ responseBody
+ );
}
- public async Task DeleteApiKeyAsync(string apiKeyId)
+ ///
+ ///
+ /// await client.Accounts.DeleteApiKeyAsync("api_key_id");
+ ///
+ ///
+ public async Task DeleteApiKeyAsync(
+ string apiKeyId,
+ RequestOptions? options = null,
+ CancellationToken cancellationToken = default
+ )
{
var response = await _client.MakeRequestAsync(
new RawClient.JsonApiRequest
{
+ BaseUrl = _client.Options.BaseUrl,
Method = HttpMethod.Delete,
- Path = $"api-keys/{apiKeyId}"
- }
+ Path = $"api-keys/{apiKeyId}",
+ Options = options,
+ },
+ cancellationToken
);
var responseBody = await response.Raw.Content.ReadAsStringAsync();
if (response.StatusCode is >= 200 and < 400)
{
- return JsonSerializer.Deserialize(responseBody)!;
+ try
+ {
+ return JsonUtils.Deserialize(responseBody)!;
+ }
+ catch (JsonException e)
+ {
+ throw new SchematicApiException("Failed to deserialize response", e);
+ }
+ }
+
+ try
+ {
+ switch (response.StatusCode)
+ {
+ case 400:
+ throw new BadRequestError(JsonUtils.Deserialize(responseBody));
+ case 401:
+ throw new UnauthorizedError(JsonUtils.Deserialize(responseBody));
+ case 403:
+ throw new ForbiddenError(JsonUtils.Deserialize(responseBody));
+ case 500:
+ throw new InternalServerError(JsonUtils.Deserialize(responseBody));
+ }
+ }
+ catch (JsonException)
+ {
+ // unable to map error response, throwing generic error
}
- throw new Exception(responseBody);
+ throw new SchematicApiApiException(
+ $"Error with status code {response.StatusCode}",
+ response.StatusCode,
+ responseBody
+ );
}
- public async Task CountApiKeysAsync(CountApiKeysRequest request)
+ ///
+ ///
+ /// await client.Accounts.CountApiKeysAsync(new CountApiKeysRequest { RequireEnvironment = true });
+ ///
+ ///
+ public async Task CountApiKeysAsync(
+ CountApiKeysRequest request,
+ RequestOptions? options = null,
+ CancellationToken cancellationToken = default
+ )
{
- var _query = new Dictionary()
- {
- { "require_environment", request.RequireEnvironment.ToString() },
- };
+ var _query = new Dictionary();
+ _query["require_environment"] = request.RequireEnvironment.ToString();
if (request.EnvironmentId != null)
{
_query["environment_id"] = request.EnvironmentId;
@@ -140,22 +361,64 @@ public async Task CountApiKeysAsync(CountApiKeysRequest re
var response = await _client.MakeRequestAsync(
new RawClient.JsonApiRequest
{
+ BaseUrl = _client.Options.BaseUrl,
Method = HttpMethod.Get,
Path = "api-keys/count",
- Query = _query
- }
+ Query = _query,
+ Options = options,
+ },
+ cancellationToken
);
var responseBody = await response.Raw.Content.ReadAsStringAsync();
if (response.StatusCode is >= 200 and < 400)
{
- return JsonSerializer.Deserialize(responseBody)!;
+ try
+ {
+ return JsonUtils.Deserialize(responseBody)!;
+ }
+ catch (JsonException e)
+ {
+ throw new SchematicApiException("Failed to deserialize response", e);
+ }
}
- throw new Exception(responseBody);
+
+ try
+ {
+ switch (response.StatusCode)
+ {
+ case 400:
+ throw new BadRequestError(JsonUtils.Deserialize(responseBody));
+ case 401:
+ throw new UnauthorizedError(JsonUtils.Deserialize(responseBody));
+ case 403:
+ throw new ForbiddenError(JsonUtils.Deserialize(responseBody));
+ case 500:
+ throw new InternalServerError(JsonUtils.Deserialize(responseBody));
+ }
+ }
+ catch (JsonException)
+ {
+ // unable to map error response, throwing generic error
+ }
+ throw new SchematicApiApiException(
+ $"Error with status code {response.StatusCode}",
+ response.StatusCode,
+ responseBody
+ );
}
- public async Task ListApiRequestsAsync(ListApiRequestsRequest request)
+ ///
+ ///
+ /// await client.Accounts.ListApiRequestsAsync(new ListApiRequestsRequest());
+ ///
+ ///
+ public async Task ListApiRequestsAsync(
+ ListApiRequestsRequest request,
+ RequestOptions? options = null,
+ CancellationToken cancellationToken = default
+ )
{
- var _query = new Dictionary() { };
+ var _query = new Dictionary();
if (request.Q != null)
{
_query["q"] = request.Q;
@@ -179,41 +442,123 @@ public async Task ListApiRequestsAsync(ListApiRequestsR
var response = await _client.MakeRequestAsync(
new RawClient.JsonApiRequest
{
+ BaseUrl = _client.Options.BaseUrl,
Method = HttpMethod.Get,
Path = "api-requests",
- Query = _query
- }
+ Query = _query,
+ Options = options,
+ },
+ cancellationToken
);
var responseBody = await response.Raw.Content.ReadAsStringAsync();
if (response.StatusCode is >= 200 and < 400)
{
- return JsonSerializer.Deserialize(responseBody)!;
+ try
+ {
+ return JsonUtils.Deserialize(responseBody)!;
+ }
+ catch (JsonException e)
+ {
+ throw new SchematicApiException("Failed to deserialize response", e);
+ }
+ }
+
+ try
+ {
+ switch (response.StatusCode)
+ {
+ case 400:
+ throw new BadRequestError(JsonUtils.Deserialize(responseBody));
+ case 401:
+ throw new UnauthorizedError(JsonUtils.Deserialize(responseBody));
+ case 403:
+ throw new ForbiddenError(JsonUtils.Deserialize(responseBody));
+ case 500:
+ throw new InternalServerError(JsonUtils.Deserialize(responseBody));
+ }
}
- throw new Exception(responseBody);
+ catch (JsonException)
+ {
+ // unable to map error response, throwing generic error
+ }
+ throw new SchematicApiApiException(
+ $"Error with status code {response.StatusCode}",
+ response.StatusCode,
+ responseBody
+ );
}
- public async Task GetApiRequestAsync(string apiRequestId)
+ ///
+ ///
+ /// await client.Accounts.GetApiRequestAsync("api_request_id");
+ ///
+ ///
+ public async Task GetApiRequestAsync(
+ string apiRequestId,
+ RequestOptions? options = null,
+ CancellationToken cancellationToken = default
+ )
{
var response = await _client.MakeRequestAsync(
new RawClient.JsonApiRequest
{
+ BaseUrl = _client.Options.BaseUrl,
Method = HttpMethod.Get,
- Path = $"api-requests/{apiRequestId}"
- }
+ Path = $"api-requests/{apiRequestId}",
+ Options = options,
+ },
+ cancellationToken
);
var responseBody = await response.Raw.Content.ReadAsStringAsync();
if (response.StatusCode is >= 200 and < 400)
{
- return JsonSerializer.Deserialize(responseBody)!;
+ try
+ {
+ return JsonUtils.Deserialize(responseBody)!;
+ }
+ catch (JsonException e)
+ {
+ throw new SchematicApiException("Failed to deserialize response", e);
+ }
+ }
+
+ try
+ {
+ switch (response.StatusCode)
+ {
+ case 401:
+ throw new UnauthorizedError(JsonUtils.Deserialize(responseBody));
+ case 403:
+ throw new ForbiddenError(JsonUtils.Deserialize(responseBody));
+ case 404:
+ throw new NotFoundError(JsonUtils.Deserialize(responseBody));
+ case 500:
+ throw new InternalServerError(JsonUtils.Deserialize(responseBody));
+ }
+ }
+ catch (JsonException)
+ {
+ // unable to map error response, throwing generic error
}
- throw new Exception(responseBody);
+ throw new SchematicApiApiException(
+ $"Error with status code {response.StatusCode}",
+ response.StatusCode,
+ responseBody
+ );
}
+ ///
+ ///
+ /// await client.Accounts.CountApiRequestsAsync(new CountApiRequestsRequest());
+ ///
+ ///
public async Task CountApiRequestsAsync(
- CountApiRequestsRequest request
+ CountApiRequestsRequest request,
+ RequestOptions? options = null,
+ CancellationToken cancellationToken = default
)
{
- var _query = new Dictionary() { };
+ var _query = new Dictionary();
if (request.Q != null)
{
_query["q"] = request.Q;
@@ -237,28 +582,65 @@ CountApiRequestsRequest request
var response = await _client.MakeRequestAsync(
new RawClient.JsonApiRequest
{
+ BaseUrl = _client.Options.BaseUrl,
Method = HttpMethod.Get,
Path = "api-requests/count",
- Query = _query
- }
+ Query = _query,
+ Options = options,
+ },
+ cancellationToken
);
var responseBody = await response.Raw.Content.ReadAsStringAsync();
if (response.StatusCode is >= 200 and < 400)
{
- return JsonSerializer.Deserialize(responseBody)!;
+ try
+ {
+ return JsonUtils.Deserialize(responseBody)!;
+ }
+ catch (JsonException e)
+ {
+ throw new SchematicApiException("Failed to deserialize response", e);
+ }
+ }
+
+ try
+ {
+ switch (response.StatusCode)
+ {
+ case 400:
+ throw new BadRequestError(JsonUtils.Deserialize(responseBody));
+ case 401:
+ throw new UnauthorizedError(JsonUtils.Deserialize(responseBody));
+ case 403:
+ throw new ForbiddenError(JsonUtils.Deserialize(responseBody));
+ case 500:
+ throw new InternalServerError(JsonUtils.Deserialize(responseBody));
+ }
}
- throw new Exception(responseBody);
+ catch (JsonException)
+ {
+ // unable to map error response, throwing generic error
+ }
+ throw new SchematicApiApiException(
+ $"Error with status code {response.StatusCode}",
+ response.StatusCode,
+ responseBody
+ );
}
+ ///
+ ///
+ /// await client.Accounts.ListEnvironmentsAsync(new ListEnvironmentsRequest());
+ ///
+ ///
public async Task ListEnvironmentsAsync(
- ListEnvironmentsRequest request
+ ListEnvironmentsRequest request,
+ RequestOptions? options = null,
+ CancellationToken cancellationToken = default
)
{
- var _query = new Dictionary() { };
- if (request.Ids != null)
- {
- _query["ids"] = request.Ids;
- }
+ var _query = new Dictionary();
+ _query["ids"] = request.Ids;
if (request.Limit != null)
{
_query["limit"] = request.Limit.ToString();
@@ -270,91 +652,298 @@ ListEnvironmentsRequest request
var response = await _client.MakeRequestAsync(
new RawClient.JsonApiRequest
{
+ BaseUrl = _client.Options.BaseUrl,
Method = HttpMethod.Get,
Path = "environments",
- Query = _query
- }
+ Query = _query,
+ Options = options,
+ },
+ cancellationToken
);
var responseBody = await response.Raw.Content.ReadAsStringAsync();
if (response.StatusCode is >= 200 and < 400)
{
- return JsonSerializer.Deserialize(responseBody)!;
+ try
+ {
+ return JsonUtils.Deserialize(responseBody)!;
+ }
+ catch (JsonException e)
+ {
+ throw new SchematicApiException("Failed to deserialize response", e);
+ }
}
- throw new Exception(responseBody);
+
+ try
+ {
+ switch (response.StatusCode)
+ {
+ case 400:
+ throw new BadRequestError(JsonUtils.Deserialize(responseBody));
+ case 401:
+ throw new UnauthorizedError(JsonUtils.Deserialize(responseBody));
+ case 403:
+ throw new ForbiddenError(JsonUtils.Deserialize(responseBody));
+ case 500:
+ throw new InternalServerError(JsonUtils.Deserialize(responseBody));
+ }
+ }
+ catch (JsonException)
+ {
+ // unable to map error response, throwing generic error
+ }
+ throw new SchematicApiApiException(
+ $"Error with status code {response.StatusCode}",
+ response.StatusCode,
+ responseBody
+ );
}
+ ///
+ ///
+ /// await client.Accounts.CreateEnvironmentAsync(
+ /// new CreateEnvironmentRequestBody
+ /// {
+ /// EnvironmentType = CreateEnvironmentRequestBodyEnvironmentType.Development,
+ /// Name = "name",
+ /// }
+ /// );
+ ///
+ ///
public async Task CreateEnvironmentAsync(
- CreateEnvironmentRequestBody request
+ CreateEnvironmentRequestBody request,
+ RequestOptions? options = null,
+ CancellationToken cancellationToken = default
)
{
var response = await _client.MakeRequestAsync(
new RawClient.JsonApiRequest
{
+ BaseUrl = _client.Options.BaseUrl,
Method = HttpMethod.Post,
Path = "environments",
- Body = request
- }
+ Body = request,
+ ContentType = "application/json",
+ Options = options,
+ },
+ cancellationToken
);
var responseBody = await response.Raw.Content.ReadAsStringAsync();
if (response.StatusCode is >= 200 and < 400)
{
- return JsonSerializer.Deserialize(responseBody)!;
+ try
+ {
+ return JsonUtils.Deserialize(responseBody)!;
+ }
+ catch (JsonException e)
+ {
+ throw new SchematicApiException("Failed to deserialize response", e);
+ }
+ }
+
+ try
+ {
+ switch (response.StatusCode)
+ {
+ case 400:
+ throw new BadRequestError(JsonUtils.Deserialize(responseBody));
+ case 401:
+ throw new UnauthorizedError(JsonUtils.Deserialize(responseBody));
+ case 403:
+ throw new ForbiddenError(JsonUtils.Deserialize(responseBody));
+ case 500:
+ throw new InternalServerError(JsonUtils.Deserialize(responseBody));
+ }
}
- throw new Exception(responseBody);
+ catch (JsonException)
+ {
+ // unable to map error response, throwing generic error
+ }
+ throw new SchematicApiApiException(
+ $"Error with status code {response.StatusCode}",
+ response.StatusCode,
+ responseBody
+ );
}
- public async Task GetEnvironmentAsync(string environmentId)
+ ///
+ ///
+ /// await client.Accounts.GetEnvironmentAsync("environment_id");
+ ///
+ ///
+ public async Task GetEnvironmentAsync(
+ string environmentId,
+ RequestOptions? options = null,
+ CancellationToken cancellationToken = default
+ )
{
var response = await _client.MakeRequestAsync(
new RawClient.JsonApiRequest
{
+ BaseUrl = _client.Options.BaseUrl,
Method = HttpMethod.Get,
- Path = $"environments/{environmentId}"
- }
+ Path = $"environments/{environmentId}",
+ Options = options,
+ },
+ cancellationToken
);
var responseBody = await response.Raw.Content.ReadAsStringAsync();
if (response.StatusCode is >= 200 and < 400)
{
- return JsonSerializer.Deserialize(responseBody)!;
+ try
+ {
+ return JsonUtils.Deserialize(responseBody)!;
+ }
+ catch (JsonException e)
+ {
+ throw new SchematicApiException("Failed to deserialize response", e);
+ }
+ }
+
+ try
+ {
+ switch (response.StatusCode)
+ {
+ case 401:
+ throw new UnauthorizedError(JsonUtils.Deserialize(responseBody));
+ case 403:
+ throw new ForbiddenError(JsonUtils.Deserialize(responseBody));
+ case 404:
+ throw new NotFoundError(JsonUtils.Deserialize(responseBody));
+ case 500:
+ throw new InternalServerError(JsonUtils.Deserialize(responseBody));
+ }
}
- throw new Exception(responseBody);
+ catch (JsonException)
+ {
+ // unable to map error response, throwing generic error
+ }
+ throw new SchematicApiApiException(
+ $"Error with status code {response.StatusCode}",
+ response.StatusCode,
+ responseBody
+ );
}
+ ///
+ ///
+ /// await client.Accounts.UpdateEnvironmentAsync("environment_id", new UpdateEnvironmentRequestBody());
+ ///
+ ///
public async Task UpdateEnvironmentAsync(
string environmentId,
- UpdateEnvironmentRequestBody request
+ UpdateEnvironmentRequestBody request,
+ RequestOptions? options = null,
+ CancellationToken cancellationToken = default
)
{
var response = await _client.MakeRequestAsync(
new RawClient.JsonApiRequest
{
+ BaseUrl = _client.Options.BaseUrl,
Method = HttpMethod.Put,
Path = $"environments/{environmentId}",
- Body = request
- }
+ Body = request,
+ ContentType = "application/json",
+ Options = options,
+ },
+ cancellationToken
);
var responseBody = await response.Raw.Content.ReadAsStringAsync();
if (response.StatusCode is >= 200 and < 400)
{
- return JsonSerializer.Deserialize(responseBody)!;
+ try
+ {
+ return JsonUtils.Deserialize(responseBody)!;
+ }
+ catch (JsonException e)
+ {
+ throw new SchematicApiException("Failed to deserialize response", e);
+ }
}
- throw new Exception(responseBody);
+
+ try
+ {
+ switch (response.StatusCode)
+ {
+ case 400:
+ throw new BadRequestError(JsonUtils.Deserialize(responseBody));
+ case 401:
+ throw new UnauthorizedError(JsonUtils.Deserialize(responseBody));
+ case 403:
+ throw new ForbiddenError(JsonUtils.Deserialize(responseBody));
+ case 404:
+ throw new NotFoundError(JsonUtils.Deserialize(responseBody));
+ case 500:
+ throw new InternalServerError(JsonUtils.Deserialize(responseBody));
+ }
+ }
+ catch (JsonException)
+ {
+ // unable to map error response, throwing generic error
+ }
+ throw new SchematicApiApiException(
+ $"Error with status code {response.StatusCode}",
+ response.StatusCode,
+ responseBody
+ );
}
- public async Task DeleteEnvironmentAsync(string environmentId)
+ ///
+ ///
+ /// await client.Accounts.DeleteEnvironmentAsync("environment_id");
+ ///
+ ///
+ public async Task DeleteEnvironmentAsync(
+ string environmentId,
+ RequestOptions? options = null,
+ CancellationToken cancellationToken = default
+ )
{
var response = await _client.MakeRequestAsync(
new RawClient.JsonApiRequest
{
+ BaseUrl = _client.Options.BaseUrl,
Method = HttpMethod.Delete,
- Path = $"environments/{environmentId}"
- }
+ Path = $"environments/{environmentId}",
+ Options = options,
+ },
+ cancellationToken
);
var responseBody = await response.Raw.Content.ReadAsStringAsync();
if (response.StatusCode is >= 200 and < 400)
{
- return JsonSerializer.Deserialize(responseBody)!;
+ try
+ {
+ return JsonUtils.Deserialize(responseBody)!;
+ }
+ catch (JsonException e)
+ {
+ throw new SchematicApiException("Failed to deserialize response", e);
+ }
+ }
+
+ try
+ {
+ switch (response.StatusCode)
+ {
+ case 400:
+ throw new BadRequestError(JsonUtils.Deserialize(responseBody));
+ case 401:
+ throw new UnauthorizedError(JsonUtils.Deserialize(responseBody));
+ case 403:
+ throw new ForbiddenError(JsonUtils.Deserialize(responseBody));
+ case 500:
+ throw new InternalServerError(JsonUtils.Deserialize(responseBody));
+ }
}
- throw new Exception(responseBody);
+ catch (JsonException)
+ {
+ // unable to map error response, throwing generic error
+ }
+ throw new SchematicApiApiException(
+ $"Error with status code {response.StatusCode}",
+ response.StatusCode,
+ responseBody
+ );
}
}
diff --git a/src/SchematicHQ.Client/Accounts/Requests/CountApiKeysRequest.cs b/src/SchematicHQ.Client/Accounts/Requests/CountApiKeysRequest.cs
index 5874503..72dc38b 100644
--- a/src/SchematicHQ.Client/Accounts/Requests/CountApiKeysRequest.cs
+++ b/src/SchematicHQ.Client/Accounts/Requests/CountApiKeysRequest.cs
@@ -1,18 +1,27 @@
+using SchematicHQ.Client.Core;
+
+#nullable enable
+
namespace SchematicHQ.Client;
public record CountApiKeysRequest
{
- public string? EnvironmentId { get; init; }
+ public string? EnvironmentId { get; set; }
- public required bool RequireEnvironment { get; init; }
+ public required bool RequireEnvironment { get; set; }
///
/// Page limit (default 100)
///
- public int? Limit { get; init; }
+ public int? Limit { get; set; }
///
/// Page offset (default 0)
///
- public int? Offset { get; init; }
+ public int? Offset { get; set; }
+
+ public override string ToString()
+ {
+ return JsonUtils.Serialize(this);
+ }
}
diff --git a/src/SchematicHQ.Client/Accounts/Requests/CountApiRequestsRequest.cs b/src/SchematicHQ.Client/Accounts/Requests/CountApiRequestsRequest.cs
index 38bb226..a0b3738 100644
--- a/src/SchematicHQ.Client/Accounts/Requests/CountApiRequestsRequest.cs
+++ b/src/SchematicHQ.Client/Accounts/Requests/CountApiRequestsRequest.cs
@@ -1,20 +1,29 @@
+using SchematicHQ.Client.Core;
+
+#nullable enable
+
namespace SchematicHQ.Client;
public record CountApiRequestsRequest
{
- public string? Q { get; init; }
+ public string? Q { get; set; }
- public string? RequestType { get; init; }
+ public string? RequestType { get; set; }
- public string? EnvironmentId { get; init; }
+ public string? EnvironmentId { get; set; }
///
/// Page limit (default 100)
///
- public int? Limit { get; init; }
+ public int? Limit { get; set; }
///
/// Page offset (default 0)
///
- public int? Offset { get; init; }
+ public int? Offset { get; set; }
+
+ public override string ToString()
+ {
+ return JsonUtils.Serialize(this);
+ }
}
diff --git a/src/SchematicHQ.Client/Accounts/Requests/CreateApiKeyRequestBody.cs b/src/SchematicHQ.Client/Accounts/Requests/CreateApiKeyRequestBody.cs
index 8c724ec..fb6bdd5 100644
--- a/src/SchematicHQ.Client/Accounts/Requests/CreateApiKeyRequestBody.cs
+++ b/src/SchematicHQ.Client/Accounts/Requests/CreateApiKeyRequestBody.cs
@@ -1,4 +1,5 @@
using System.Text.Json.Serialization;
+using SchematicHQ.Client.Core;
#nullable enable
@@ -7,11 +8,16 @@ namespace SchematicHQ.Client;
public record CreateApiKeyRequestBody
{
[JsonPropertyName("description")]
- public string? Description { get; init; }
+ public string? Description { get; set; }
[JsonPropertyName("environment_id")]
- public string? EnvironmentId { get; init; }
+ public string? EnvironmentId { get; set; }
[JsonPropertyName("name")]
- public required string Name { get; init; }
+ public required string Name { get; set; }
+
+ public override string ToString()
+ {
+ return JsonUtils.Serialize(this);
+ }
}
diff --git a/src/SchematicHQ.Client/Accounts/Requests/CreateEnvironmentRequestBody.cs b/src/SchematicHQ.Client/Accounts/Requests/CreateEnvironmentRequestBody.cs
index fc9319a..2539971 100644
--- a/src/SchematicHQ.Client/Accounts/Requests/CreateEnvironmentRequestBody.cs
+++ b/src/SchematicHQ.Client/Accounts/Requests/CreateEnvironmentRequestBody.cs
@@ -1,5 +1,5 @@
using System.Text.Json.Serialization;
-using SchematicHQ.Client;
+using SchematicHQ.Client.Core;
#nullable enable
@@ -8,8 +8,13 @@ namespace SchematicHQ.Client;
public record CreateEnvironmentRequestBody
{
[JsonPropertyName("environment_type")]
- public required CreateEnvironmentRequestBodyEnvironmentType EnvironmentType { get; init; }
+ public required CreateEnvironmentRequestBodyEnvironmentType EnvironmentType { get; set; }
[JsonPropertyName("name")]
- public required string Name { get; init; }
+ public required string Name { get; set; }
+
+ public override string ToString()
+ {
+ return JsonUtils.Serialize(this);
+ }
}
diff --git a/src/SchematicHQ.Client/Accounts/Requests/ListApiKeysRequest.cs b/src/SchematicHQ.Client/Accounts/Requests/ListApiKeysRequest.cs
index e1470d5..c51b7c8 100644
--- a/src/SchematicHQ.Client/Accounts/Requests/ListApiKeysRequest.cs
+++ b/src/SchematicHQ.Client/Accounts/Requests/ListApiKeysRequest.cs
@@ -1,18 +1,27 @@
+using SchematicHQ.Client.Core;
+
+#nullable enable
+
namespace SchematicHQ.Client;
public record ListApiKeysRequest
{
- public string? EnvironmentId { get; init; }
+ public string? EnvironmentId { get; set; }
- public required bool RequireEnvironment { get; init; }
+ public required bool RequireEnvironment { get; set; }
///
/// Page limit (default 100)
///
- public int? Limit { get; init; }
+ public int? Limit { get; set; }
///
/// Page offset (default 0)
///
- public int? Offset { get; init; }
+ public int? Offset { get; set; }
+
+ public override string ToString()
+ {
+ return JsonUtils.Serialize(this);
+ }
}
diff --git a/src/SchematicHQ.Client/Accounts/Requests/ListApiRequestsRequest.cs b/src/SchematicHQ.Client/Accounts/Requests/ListApiRequestsRequest.cs
index 362490d..8c4bd2c 100644
--- a/src/SchematicHQ.Client/Accounts/Requests/ListApiRequestsRequest.cs
+++ b/src/SchematicHQ.Client/Accounts/Requests/ListApiRequestsRequest.cs
@@ -1,20 +1,29 @@
+using SchematicHQ.Client.Core;
+
+#nullable enable
+
namespace SchematicHQ.Client;
public record ListApiRequestsRequest
{
- public string? Q { get; init; }
+ public string? Q { get; set; }
- public string? RequestType { get; init; }
+ public string? RequestType { get; set; }
- public string? EnvironmentId { get; init; }
+ public string? EnvironmentId { get; set; }
///
/// Page limit (default 100)
///
- public int? Limit { get; init; }
+ public int? Limit { get; set; }
///
/// Page offset (default 0)
///
- public int? Offset { get; init; }
+ public int? Offset { get; set; }
+
+ public override string ToString()
+ {
+ return JsonUtils.Serialize(this);
+ }
}
diff --git a/src/SchematicHQ.Client/Accounts/Requests/ListEnvironmentsRequest.cs b/src/SchematicHQ.Client/Accounts/Requests/ListEnvironmentsRequest.cs
index 66ec122..9e801ca 100644
--- a/src/SchematicHQ.Client/Accounts/Requests/ListEnvironmentsRequest.cs
+++ b/src/SchematicHQ.Client/Accounts/Requests/ListEnvironmentsRequest.cs
@@ -1,16 +1,25 @@
+using SchematicHQ.Client.Core;
+
+#nullable enable
+
namespace SchematicHQ.Client;
public record ListEnvironmentsRequest
{
- public string? Ids { get; init; }
+ public IEnumerable Ids { get; set; } = new List();
///
/// Page limit (default 100)
///
- public int? Limit { get; init; }
+ public int? Limit { get; set; }
///
/// Page offset (default 0)
///
- public int? Offset { get; init; }
+ public int? Offset { get; set; }
+
+ public override string ToString()
+ {
+ return JsonUtils.Serialize(this);
+ }
}
diff --git a/src/SchematicHQ.Client/Accounts/Requests/UpdateApiKeyRequestBody.cs b/src/SchematicHQ.Client/Accounts/Requests/UpdateApiKeyRequestBody.cs
index b9ecfc4..0261790 100644
--- a/src/SchematicHQ.Client/Accounts/Requests/UpdateApiKeyRequestBody.cs
+++ b/src/SchematicHQ.Client/Accounts/Requests/UpdateApiKeyRequestBody.cs
@@ -1,4 +1,5 @@
using System.Text.Json.Serialization;
+using SchematicHQ.Client.Core;
#nullable enable
@@ -7,8 +8,13 @@ namespace SchematicHQ.Client;
public record UpdateApiKeyRequestBody
{
[JsonPropertyName("description")]
- public string? Description { get; init; }
+ public string? Description { get; set; }
[JsonPropertyName("name")]
- public string? Name { get; init; }
+ public string? Name { get; set; }
+
+ public override string ToString()
+ {
+ return JsonUtils.Serialize(this);
+ }
}
diff --git a/src/SchematicHQ.Client/Accounts/Requests/UpdateEnvironmentRequestBody.cs b/src/SchematicHQ.Client/Accounts/Requests/UpdateEnvironmentRequestBody.cs
index 7dd3395..262c662 100644
--- a/src/SchematicHQ.Client/Accounts/Requests/UpdateEnvironmentRequestBody.cs
+++ b/src/SchematicHQ.Client/Accounts/Requests/UpdateEnvironmentRequestBody.cs
@@ -1,5 +1,5 @@
using System.Text.Json.Serialization;
-using SchematicHQ.Client;
+using SchematicHQ.Client.Core;
#nullable enable
@@ -8,8 +8,13 @@ namespace SchematicHQ.Client;
public record UpdateEnvironmentRequestBody
{
[JsonPropertyName("environment_type")]
- public UpdateEnvironmentRequestBodyEnvironmentType? EnvironmentType { get; init; }
+ public UpdateEnvironmentRequestBodyEnvironmentType? EnvironmentType { get; set; }
[JsonPropertyName("name")]
- public string? Name { get; init; }
+ public string? Name { get; set; }
+
+ public override string ToString()
+ {
+ return JsonUtils.Serialize(this);
+ }
}
diff --git a/src/SchematicHQ.Client/Accounts/Types/CountApiKeysParams.cs b/src/SchematicHQ.Client/Accounts/Types/CountApiKeysParams.cs
index caeea5d..b8e6cdd 100644
--- a/src/SchematicHQ.Client/Accounts/Types/CountApiKeysParams.cs
+++ b/src/SchematicHQ.Client/Accounts/Types/CountApiKeysParams.cs
@@ -1,4 +1,5 @@
using System.Text.Json.Serialization;
+using SchematicHQ.Client.Core;
#nullable enable
@@ -7,20 +8,25 @@ namespace SchematicHQ.Client;
public record CountApiKeysParams
{
[JsonPropertyName("environment_id")]
- public string? EnvironmentId { get; init; }
+ public string? EnvironmentId { get; set; }
///
/// Page limit (default 100)
///
[JsonPropertyName("limit")]
- public int? Limit { get; init; }
+ public int? Limit { get; set; }
///
/// Page offset (default 0)
///
[JsonPropertyName("offset")]
- public int? Offset { get; init; }
+ public int? Offset { get; set; }
[JsonPropertyName("require_environment")]
- public bool? RequireEnvironment { get; init; }
+ public bool? RequireEnvironment { get; set; }
+
+ public override string ToString()
+ {
+ return JsonUtils.Serialize(this);
+ }
}
diff --git a/src/SchematicHQ.Client/Accounts/Types/CountApiKeysResponse.cs b/src/SchematicHQ.Client/Accounts/Types/CountApiKeysResponse.cs
index d4375ad..63b8fee 100644
--- a/src/SchematicHQ.Client/Accounts/Types/CountApiKeysResponse.cs
+++ b/src/SchematicHQ.Client/Accounts/Types/CountApiKeysResponse.cs
@@ -1,5 +1,5 @@
using System.Text.Json.Serialization;
-using SchematicHQ.Client;
+using SchematicHQ.Client.Core;
#nullable enable
@@ -8,11 +8,16 @@ namespace SchematicHQ.Client;
public record CountApiKeysResponse
{
[JsonPropertyName("data")]
- public required CountResponse Data { get; init; }
+ public required CountResponse Data { get; set; }
///
/// Input parameters
///
[JsonPropertyName("params")]
- public required CountApiKeysParams Params { get; init; }
+ public required CountApiKeysParams Params { get; set; }
+
+ public override string ToString()
+ {
+ return JsonUtils.Serialize(this);
+ }
}
diff --git a/src/SchematicHQ.Client/Accounts/Types/CountApiRequestsParams.cs b/src/SchematicHQ.Client/Accounts/Types/CountApiRequestsParams.cs
index 5e3c6d3..126c6c0 100644
--- a/src/SchematicHQ.Client/Accounts/Types/CountApiRequestsParams.cs
+++ b/src/SchematicHQ.Client/Accounts/Types/CountApiRequestsParams.cs
@@ -1,4 +1,5 @@
using System.Text.Json.Serialization;
+using SchematicHQ.Client.Core;
#nullable enable
@@ -7,23 +8,28 @@ namespace SchematicHQ.Client;
public record CountApiRequestsParams
{
[JsonPropertyName("environment_id")]
- public string? EnvironmentId { get; init; }
+ public string? EnvironmentId { get; set; }
///
/// Page limit (default 100)
///
[JsonPropertyName("limit")]
- public int? Limit { get; init; }
+ public int? Limit { get; set; }
///
/// Page offset (default 0)
///
[JsonPropertyName("offset")]
- public int? Offset { get; init; }
+ public int? Offset { get; set; }
[JsonPropertyName("q")]
- public string? Q { get; init; }
+ public string? Q { get; set; }
[JsonPropertyName("request_type")]
- public string? RequestType { get; init; }
+ public string? RequestType { get; set; }
+
+ public override string ToString()
+ {
+ return JsonUtils.Serialize(this);
+ }
}
diff --git a/src/SchematicHQ.Client/Accounts/Types/CountApiRequestsResponse.cs b/src/SchematicHQ.Client/Accounts/Types/CountApiRequestsResponse.cs
index b8d986b..eef7f6e 100644
--- a/src/SchematicHQ.Client/Accounts/Types/CountApiRequestsResponse.cs
+++ b/src/SchematicHQ.Client/Accounts/Types/CountApiRequestsResponse.cs
@@ -1,5 +1,5 @@
using System.Text.Json.Serialization;
-using SchematicHQ.Client;
+using SchematicHQ.Client.Core;
#nullable enable
@@ -8,11 +8,16 @@ namespace SchematicHQ.Client;
public record CountApiRequestsResponse
{
[JsonPropertyName("data")]
- public required CountResponse Data { get; init; }
+ public required CountResponse Data { get; set; }
///
/// Input parameters
///
[JsonPropertyName("params")]
- public required CountApiRequestsParams Params { get; init; }
+ public required CountApiRequestsParams Params { get; set; }
+
+ public override string ToString()
+ {
+ return JsonUtils.Serialize(this);
+ }
}
diff --git a/src/SchematicHQ.Client/Accounts/Types/CreateApiKeyResponse.cs b/src/SchematicHQ.Client/Accounts/Types/CreateApiKeyResponse.cs
index 69cd96f..5306cda 100644
--- a/src/SchematicHQ.Client/Accounts/Types/CreateApiKeyResponse.cs
+++ b/src/SchematicHQ.Client/Accounts/Types/CreateApiKeyResponse.cs
@@ -1,5 +1,5 @@
using System.Text.Json.Serialization;
-using SchematicHQ.Client;
+using SchematicHQ.Client.Core;
#nullable enable
@@ -8,11 +8,16 @@ namespace SchematicHQ.Client;
public record CreateApiKeyResponse
{
[JsonPropertyName("data")]
- public required ApiKeyCreateResponseData Data { get; init; }
+ public required ApiKeyCreateResponseData Data { get; set; }
///
/// Input parameters
///
[JsonPropertyName("params")]
- public Dictionary Params { get; init; } = new Dictionary();
+ public Dictionary Params { get; set; } = new Dictionary();
+
+ public override string ToString()
+ {
+ return JsonUtils.Serialize(this);
+ }
}
diff --git a/src/SchematicHQ.Client/Accounts/Types/CreateEnvironmentRequestBodyEnvironmentType.cs b/src/SchematicHQ.Client/Accounts/Types/CreateEnvironmentRequestBodyEnvironmentType.cs
index 2779160..e0b36da 100644
--- a/src/SchematicHQ.Client/Accounts/Types/CreateEnvironmentRequestBodyEnvironmentType.cs
+++ b/src/SchematicHQ.Client/Accounts/Types/CreateEnvironmentRequestBodyEnvironmentType.cs
@@ -1,13 +1,12 @@
using System.Runtime.Serialization;
using System.Text.Json.Serialization;
-using SchematicHQ.Client;
using SchematicHQ.Client.Core;
#nullable enable
namespace SchematicHQ.Client;
-[JsonConverter(typeof(StringEnumSerializer))]
+[JsonConverter(typeof(EnumSerializer))]
public enum CreateEnvironmentRequestBodyEnvironmentType
{
[EnumMember(Value = "development")]
@@ -17,5 +16,5 @@ public enum CreateEnvironmentRequestBodyEnvironmentType
Staging,
[EnumMember(Value = "production")]
- Production
+ Production,
}
diff --git a/src/SchematicHQ.Client/Accounts/Types/CreateEnvironmentResponse.cs b/src/SchematicHQ.Client/Accounts/Types/CreateEnvironmentResponse.cs
index f65bfcb..508da0b 100644
--- a/src/SchematicHQ.Client/Accounts/Types/CreateEnvironmentResponse.cs
+++ b/src/SchematicHQ.Client/Accounts/Types/CreateEnvironmentResponse.cs
@@ -1,5 +1,5 @@
using System.Text.Json.Serialization;
-using SchematicHQ.Client;
+using SchematicHQ.Client.Core;
#nullable enable
@@ -8,11 +8,16 @@ namespace SchematicHQ.Client;
public record CreateEnvironmentResponse
{
[JsonPropertyName("data")]
- public required EnvironmentDetailResponseData Data { get; init; }
+ public required EnvironmentDetailResponseData Data { get; set; }
///
/// Input parameters
///
[JsonPropertyName("params")]
- public Dictionary Params { get; init; } = new Dictionary();
+ public Dictionary Params { get; set; } = new Dictionary();
+
+ public override string ToString()
+ {
+ return JsonUtils.Serialize(this);
+ }
}
diff --git a/src/SchematicHQ.Client/Accounts/Types/DeleteApiKeyResponse.cs b/src/SchematicHQ.Client/Accounts/Types/DeleteApiKeyResponse.cs
index c50099c..8b5bd48 100644
--- a/src/SchematicHQ.Client/Accounts/Types/DeleteApiKeyResponse.cs
+++ b/src/SchematicHQ.Client/Accounts/Types/DeleteApiKeyResponse.cs
@@ -1,5 +1,5 @@
using System.Text.Json.Serialization;
-using SchematicHQ.Client;
+using SchematicHQ.Client.Core;
#nullable enable
@@ -8,11 +8,16 @@ namespace SchematicHQ.Client;
public record DeleteApiKeyResponse
{
[JsonPropertyName("data")]
- public required DeleteResponse Data { get; init; }
+ public required DeleteResponse Data { get; set; }
///
/// Input parameters
///
[JsonPropertyName("params")]
- public Dictionary Params { get; init; } = new Dictionary();
+ public Dictionary Params { get; set; } = new Dictionary();
+
+ public override string ToString()
+ {
+ return JsonUtils.Serialize(this);
+ }
}
diff --git a/src/SchematicHQ.Client/Accounts/Types/DeleteEnvironmentResponse.cs b/src/SchematicHQ.Client/Accounts/Types/DeleteEnvironmentResponse.cs
index 4cf5400..a83b88e 100644
--- a/src/SchematicHQ.Client/Accounts/Types/DeleteEnvironmentResponse.cs
+++ b/src/SchematicHQ.Client/Accounts/Types/DeleteEnvironmentResponse.cs
@@ -1,5 +1,5 @@
using System.Text.Json.Serialization;
-using SchematicHQ.Client;
+using SchematicHQ.Client.Core;
#nullable enable
@@ -8,11 +8,16 @@ namespace SchematicHQ.Client;
public record DeleteEnvironmentResponse
{
[JsonPropertyName("data")]
- public required DeleteResponse Data { get; init; }
+ public required DeleteResponse Data { get; set; }
///
/// Input parameters
///
[JsonPropertyName("params")]
- public Dictionary Params { get; init; } = new Dictionary();
+ public Dictionary Params { get; set; } = new Dictionary();
+
+ public override string ToString()
+ {
+ return JsonUtils.Serialize(this);
+ }
}
diff --git a/src/SchematicHQ.Client/Accounts/Types/GetApiKeyResponse.cs b/src/SchematicHQ.Client/Accounts/Types/GetApiKeyResponse.cs
index 76d9e97..a167196 100644
--- a/src/SchematicHQ.Client/Accounts/Types/GetApiKeyResponse.cs
+++ b/src/SchematicHQ.Client/Accounts/Types/GetApiKeyResponse.cs
@@ -1,5 +1,5 @@
using System.Text.Json.Serialization;
-using SchematicHQ.Client;
+using SchematicHQ.Client.Core;
#nullable enable
@@ -8,11 +8,16 @@ namespace SchematicHQ.Client;
public record GetApiKeyResponse
{
[JsonPropertyName("data")]
- public required ApiKeyResponseData Data { get; init; }
+ public required ApiKeyResponseData Data { get; set; }
///
/// Input parameters
///
[JsonPropertyName("params")]
- public Dictionary Params { get; init; } = new Dictionary();
+ public Dictionary Params { get; set; } = new Dictionary();
+
+ public override string ToString()
+ {
+ return JsonUtils.Serialize(this);
+ }
}
diff --git a/src/SchematicHQ.Client/Accounts/Types/GetApiRequestResponse.cs b/src/SchematicHQ.Client/Accounts/Types/GetApiRequestResponse.cs
index fd3bb1c..c7f4b51 100644
--- a/src/SchematicHQ.Client/Accounts/Types/GetApiRequestResponse.cs
+++ b/src/SchematicHQ.Client/Accounts/Types/GetApiRequestResponse.cs
@@ -1,5 +1,5 @@
using System.Text.Json.Serialization;
-using SchematicHQ.Client;
+using SchematicHQ.Client.Core;
#nullable enable
@@ -8,11 +8,16 @@ namespace SchematicHQ.Client;
public record GetApiRequestResponse
{
[JsonPropertyName("data")]
- public required ApiKeyRequestResponseData Data { get; init; }
+ public required ApiKeyRequestResponseData Data { get; set; }
///
/// Input parameters
///
[JsonPropertyName("params")]
- public Dictionary Params { get; init; } = new Dictionary();
+ public Dictionary Params { get; set; } = new Dictionary();
+
+ public override string ToString()
+ {
+ return JsonUtils.Serialize(this);
+ }
}
diff --git a/src/SchematicHQ.Client/Accounts/Types/GetEnvironmentResponse.cs b/src/SchematicHQ.Client/Accounts/Types/GetEnvironmentResponse.cs
index cd5fa4a..abe72d0 100644
--- a/src/SchematicHQ.Client/Accounts/Types/GetEnvironmentResponse.cs
+++ b/src/SchematicHQ.Client/Accounts/Types/GetEnvironmentResponse.cs
@@ -1,5 +1,5 @@
using System.Text.Json.Serialization;
-using SchematicHQ.Client;
+using SchematicHQ.Client.Core;
#nullable enable
@@ -8,11 +8,16 @@ namespace SchematicHQ.Client;
public record GetEnvironmentResponse
{
[JsonPropertyName("data")]
- public required EnvironmentResponseData Data { get; init; }
+ public required EnvironmentResponseData Data { get; set; }
///
/// Input parameters
///
[JsonPropertyName("params")]
- public Dictionary Params { get; init; } = new Dictionary();
+ public Dictionary Params { get; set; } = new Dictionary();
+
+ public override string ToString()
+ {
+ return JsonUtils.Serialize(this);
+ }
}
diff --git a/src/SchematicHQ.Client/Accounts/Types/ListApiKeysParams.cs b/src/SchematicHQ.Client/Accounts/Types/ListApiKeysParams.cs
index aee702f..58e9018 100644
--- a/src/SchematicHQ.Client/Accounts/Types/ListApiKeysParams.cs
+++ b/src/SchematicHQ.Client/Accounts/Types/ListApiKeysParams.cs
@@ -1,4 +1,5 @@
using System.Text.Json.Serialization;
+using SchematicHQ.Client.Core;
#nullable enable
@@ -7,20 +8,25 @@ namespace SchematicHQ.Client;
public record ListApiKeysParams
{
[JsonPropertyName("environment_id")]
- public string? EnvironmentId { get; init; }
+ public string? EnvironmentId { get; set; }
///
/// Page limit (default 100)
///
[JsonPropertyName("limit")]
- public int? Limit { get; init; }
+ public int? Limit { get; set; }
///
/// Page offset (default 0)
///
[JsonPropertyName("offset")]
- public int? Offset { get; init; }
+ public int? Offset { get; set; }
[JsonPropertyName("require_environment")]
- public bool? RequireEnvironment { get; init; }
+ public bool? RequireEnvironment { get; set; }
+
+ public override string ToString()
+ {
+ return JsonUtils.Serialize(this);
+ }
}
diff --git a/src/SchematicHQ.Client/Accounts/Types/ListApiKeysResponse.cs b/src/SchematicHQ.Client/Accounts/Types/ListApiKeysResponse.cs
index 3fcbb12..55e9655 100644
--- a/src/SchematicHQ.Client/Accounts/Types/ListApiKeysResponse.cs
+++ b/src/SchematicHQ.Client/Accounts/Types/ListApiKeysResponse.cs
@@ -1,5 +1,5 @@
using System.Text.Json.Serialization;
-using SchematicHQ.Client;
+using SchematicHQ.Client.Core;
#nullable enable
@@ -11,11 +11,16 @@ public record ListApiKeysResponse
/// The returned resources
///
[JsonPropertyName("data")]
- public IEnumerable Data { get; init; } = new List();
+ public IEnumerable Data { get; set; } = new List();
///
/// Input parameters
///
[JsonPropertyName("params")]
- public required ListApiKeysParams Params { get; init; }
+ public required ListApiKeysParams Params { get; set; }
+
+ public override string ToString()
+ {
+ return JsonUtils.Serialize(this);
+ }
}
diff --git a/src/SchematicHQ.Client/Accounts/Types/ListApiRequestsParams.cs b/src/SchematicHQ.Client/Accounts/Types/ListApiRequestsParams.cs
index cb246ea..3e06028 100644
--- a/src/SchematicHQ.Client/Accounts/Types/ListApiRequestsParams.cs
+++ b/src/SchematicHQ.Client/Accounts/Types/ListApiRequestsParams.cs
@@ -1,4 +1,5 @@
using System.Text.Json.Serialization;
+using SchematicHQ.Client.Core;
#nullable enable
@@ -7,23 +8,28 @@ namespace SchematicHQ.Client;
public record ListApiRequestsParams
{
[JsonPropertyName("environment_id")]
- public string? EnvironmentId { get; init; }
+ public string? EnvironmentId { get; set; }
///
/// Page limit (default 100)
///
[JsonPropertyName("limit")]
- public int? Limit { get; init; }
+ public int? Limit { get; set; }
///
/// Page offset (default 0)
///
[JsonPropertyName("offset")]
- public int? Offset { get; init; }
+ public int? Offset { get; set; }
[JsonPropertyName("q")]
- public string? Q { get; init; }
+ public string? Q { get; set; }
[JsonPropertyName("request_type")]
- public string? RequestType { get; init; }
+ public string? RequestType { get; set; }
+
+ public override string ToString()
+ {
+ return JsonUtils.Serialize(this);
+ }
}
diff --git a/src/SchematicHQ.Client/Accounts/Types/ListApiRequestsResponse.cs b/src/SchematicHQ.Client/Accounts/Types/ListApiRequestsResponse.cs
index 6db024f..8cf6f39 100644
--- a/src/SchematicHQ.Client/Accounts/Types/ListApiRequestsResponse.cs
+++ b/src/SchematicHQ.Client/Accounts/Types/ListApiRequestsResponse.cs
@@ -1,5 +1,5 @@
using System.Text.Json.Serialization;
-using SchematicHQ.Client;
+using SchematicHQ.Client.Core;
#nullable enable
@@ -11,12 +11,17 @@ public record ListApiRequestsResponse
/// The returned resources
///
[JsonPropertyName("data")]
- public IEnumerable Data { get; init; } =
+ public IEnumerable Data { get; set; } =
new List();
///
/// Input parameters
///
[JsonPropertyName("params")]
- public required ListApiRequestsParams Params { get; init; }
+ public required ListApiRequestsParams Params { get; set; }
+
+ public override string ToString()
+ {
+ return JsonUtils.Serialize(this);
+ }
}
diff --git a/src/SchematicHQ.Client/Accounts/Types/ListEnvironmentsParams.cs b/src/SchematicHQ.Client/Accounts/Types/ListEnvironmentsParams.cs
index 7b0c08b..85db22b 100644
--- a/src/SchematicHQ.Client/Accounts/Types/ListEnvironmentsParams.cs
+++ b/src/SchematicHQ.Client/Accounts/Types/ListEnvironmentsParams.cs
@@ -1,4 +1,5 @@
using System.Text.Json.Serialization;
+using SchematicHQ.Client.Core;
#nullable enable
@@ -7,17 +8,22 @@ namespace SchematicHQ.Client;
public record ListEnvironmentsParams
{
[JsonPropertyName("ids")]
- public IEnumerable? Ids { get; init; }
+ public IEnumerable? Ids { get; set; }
///
/// Page limit (default 100)
///
[JsonPropertyName("limit")]
- public int? Limit { get; init; }
+ public int? Limit { get; set; }
///
/// Page offset (default 0)
///
[JsonPropertyName("offset")]
- public int? Offset { get; init; }
+ public int? Offset { get; set; }
+
+ public override string ToString()
+ {
+ return JsonUtils.Serialize(this);
+ }
}
diff --git a/src/SchematicHQ.Client/Accounts/Types/ListEnvironmentsResponse.cs b/src/SchematicHQ.Client/Accounts/Types/ListEnvironmentsResponse.cs
index 4ab6b34..6968312 100644
--- a/src/SchematicHQ.Client/Accounts/Types/ListEnvironmentsResponse.cs
+++ b/src/SchematicHQ.Client/Accounts/Types/ListEnvironmentsResponse.cs
@@ -1,5 +1,5 @@
using System.Text.Json.Serialization;
-using SchematicHQ.Client;
+using SchematicHQ.Client.Core;
#nullable enable
@@ -11,12 +11,17 @@ public record ListEnvironmentsResponse
/// The returned resources
///
[JsonPropertyName("data")]
- public IEnumerable Data { get; init; } =
+ public IEnumerable Data { get; set; } =
new List();
///
/// Input parameters
///
[JsonPropertyName("params")]
- public required ListEnvironmentsParams Params { get; init; }
+ public required ListEnvironmentsParams Params { get; set; }
+
+ public override string ToString()
+ {
+ return JsonUtils.Serialize(this);
+ }
}
diff --git a/src/SchematicHQ.Client/Accounts/Types/UpdateApiKeyResponse.cs b/src/SchematicHQ.Client/Accounts/Types/UpdateApiKeyResponse.cs
index 5859776..bdb484b 100644
--- a/src/SchematicHQ.Client/Accounts/Types/UpdateApiKeyResponse.cs
+++ b/src/SchematicHQ.Client/Accounts/Types/UpdateApiKeyResponse.cs
@@ -1,5 +1,5 @@
using System.Text.Json.Serialization;
-using SchematicHQ.Client;
+using SchematicHQ.Client.Core;
#nullable enable
@@ -8,11 +8,16 @@ namespace SchematicHQ.Client;
public record UpdateApiKeyResponse
{
[JsonPropertyName("data")]
- public required ApiKeyResponseData Data { get; init; }
+ public required ApiKeyResponseData Data { get; set; }
///
/// Input parameters
///
[JsonPropertyName("params")]
- public Dictionary Params { get; init; } = new Dictionary();
+ public Dictionary Params { get; set; } = new Dictionary();
+
+ public override string ToString()
+ {
+ return JsonUtils.Serialize(this);
+ }
}
diff --git a/src/SchematicHQ.Client/Accounts/Types/UpdateEnvironmentRequestBodyEnvironmentType.cs b/src/SchematicHQ.Client/Accounts/Types/UpdateEnvironmentRequestBodyEnvironmentType.cs
index 5f6de09..5c0b4dc 100644
--- a/src/SchematicHQ.Client/Accounts/Types/UpdateEnvironmentRequestBodyEnvironmentType.cs
+++ b/src/SchematicHQ.Client/Accounts/Types/UpdateEnvironmentRequestBodyEnvironmentType.cs
@@ -1,13 +1,12 @@
using System.Runtime.Serialization;
using System.Text.Json.Serialization;
-using SchematicHQ.Client;
using SchematicHQ.Client.Core;
#nullable enable
namespace SchematicHQ.Client;
-[JsonConverter(typeof(StringEnumSerializer))]
+[JsonConverter(typeof(EnumSerializer))]
public enum UpdateEnvironmentRequestBodyEnvironmentType
{
[EnumMember(Value = "development")]
@@ -17,5 +16,5 @@ public enum UpdateEnvironmentRequestBodyEnvironmentType
Staging,
[EnumMember(Value = "production")]
- Production
+ Production,
}
diff --git a/src/SchematicHQ.Client/Accounts/Types/UpdateEnvironmentResponse.cs b/src/SchematicHQ.Client/Accounts/Types/UpdateEnvironmentResponse.cs
index 5a3e641..23d6746 100644
--- a/src/SchematicHQ.Client/Accounts/Types/UpdateEnvironmentResponse.cs
+++ b/src/SchematicHQ.Client/Accounts/Types/UpdateEnvironmentResponse.cs
@@ -1,5 +1,5 @@
using System.Text.Json.Serialization;
-using SchematicHQ.Client;
+using SchematicHQ.Client.Core;
#nullable enable
@@ -8,11 +8,16 @@ namespace SchematicHQ.Client;
public record UpdateEnvironmentResponse
{
[JsonPropertyName("data")]
- public required EnvironmentResponseData Data { get; init; }
+ public required EnvironmentResponseData Data { get; set; }
///
/// Input parameters
///
[JsonPropertyName("params")]
- public Dictionary Params { get; init; } = new Dictionary();
+ public Dictionary Params { get; set; } = new Dictionary();
+
+ public override string ToString()
+ {
+ return JsonUtils.Serialize(this);
+ }
}
diff --git a/src/SchematicHQ.Client/Billing/BillingClient.cs b/src/SchematicHQ.Client/Billing/BillingClient.cs
index 6db2171..4122c1c 100644
--- a/src/SchematicHQ.Client/Billing/BillingClient.cs
+++ b/src/SchematicHQ.Client/Billing/BillingClient.cs
@@ -1,44 +1,176 @@
using System.Net.Http;
using System.Text.Json;
-using SchematicHQ.Client;
+using System.Threading;
using SchematicHQ.Client.Core;
#nullable enable
namespace SchematicHQ.Client;
-public class BillingClient
+public partial class BillingClient
{
private RawClient _client;
- public BillingClient(RawClient client)
+ internal BillingClient(RawClient client)
{
_client = client;
}
+ ///
+ ///
+ /// await client.Billing.UpsertBillingCouponAsync(
+ /// new CreateCouponRequestBody
+ /// {
+ /// AmountOff = 1,
+ /// Duration = "duration",
+ /// DurationInMonths = 1,
+ /// ExternalId = "external_id",
+ /// MaxRedemptions = 1,
+ /// Name = "name",
+ /// PercentOff = 1.1,
+ /// TimesRedeemed = 1,
+ /// }
+ /// );
+ ///
+ ///
+ public async Task UpsertBillingCouponAsync(
+ CreateCouponRequestBody request,
+ RequestOptions? options = null,
+ CancellationToken cancellationToken = default
+ )
+ {
+ var response = await _client.MakeRequestAsync(
+ new RawClient.JsonApiRequest
+ {
+ BaseUrl = _client.Options.BaseUrl,
+ Method = HttpMethod.Post,
+ Path = "billing/coupons",
+ Body = request,
+ ContentType = "application/json",
+ Options = options,
+ },
+ cancellationToken
+ );
+ var responseBody = await response.Raw.Content.ReadAsStringAsync();
+ if (response.StatusCode is >= 200 and < 400)
+ {
+ try
+ {
+ return JsonUtils.Deserialize(responseBody)!;
+ }
+ catch (JsonException e)
+ {
+ throw new SchematicApiException("Failed to deserialize response", e);
+ }
+ }
+
+ try
+ {
+ switch (response.StatusCode)
+ {
+ case 400:
+ throw new BadRequestError(JsonUtils.Deserialize(responseBody));
+ case 401:
+ throw new UnauthorizedError(JsonUtils.Deserialize(responseBody));
+ case 403:
+ throw new ForbiddenError(JsonUtils.Deserialize(responseBody));
+ case 500:
+ throw new InternalServerError(JsonUtils.Deserialize(responseBody));
+ }
+ }
+ catch (JsonException)
+ {
+ // unable to map error response, throwing generic error
+ }
+ throw new SchematicApiApiException(
+ $"Error with status code {response.StatusCode}",
+ response.StatusCode,
+ responseBody
+ );
+ }
+
+ ///
+ ///
+ /// await client.Billing.UpsertBillingCustomerAsync(
+ /// new CreateBillingCustomerRequestBody
+ /// {
+ /// Email = "email",
+ /// ExternalId = "external_id",
+ /// FailedToImport = true,
+ /// Meta = new Dictionary<string, string>() { { "key", "value" } },
+ /// Name = "name",
+ /// }
+ /// );
+ ///
+ ///
public async Task UpsertBillingCustomerAsync(
- CreateBillingCustomerRequestBody request
+ CreateBillingCustomerRequestBody request,
+ RequestOptions? options = null,
+ CancellationToken cancellationToken = default
)
{
var response = await _client.MakeRequestAsync(
new RawClient.JsonApiRequest
{
+ BaseUrl = _client.Options.BaseUrl,
Method = HttpMethod.Post,
Path = "billing/customer/upsert",
- Body = request
- }
+ Body = request,
+ ContentType = "application/json",
+ Options = options,
+ },
+ cancellationToken
);
var responseBody = await response.Raw.Content.ReadAsStringAsync();
if (response.StatusCode is >= 200 and < 400)
{
- return JsonSerializer.Deserialize(responseBody)!;
+ try
+ {
+ return JsonUtils.Deserialize(responseBody)!;
+ }
+ catch (JsonException e)
+ {
+ throw new SchematicApiException("Failed to deserialize response", e);
+ }
}
- throw new Exception(responseBody);
+
+ try
+ {
+ switch (response.StatusCode)
+ {
+ case 400:
+ throw new BadRequestError(JsonUtils.Deserialize(responseBody));
+ case 401:
+ throw new UnauthorizedError(JsonUtils.Deserialize(responseBody));
+ case 403:
+ throw new ForbiddenError(JsonUtils.Deserialize(responseBody));
+ case 500:
+ throw new InternalServerError(JsonUtils.Deserialize(responseBody));
+ }
+ }
+ catch (JsonException)
+ {
+ // unable to map error response, throwing generic error
+ }
+ throw new SchematicApiApiException(
+ $"Error with status code {response.StatusCode}",
+ response.StatusCode,
+ responseBody
+ );
}
- public async Task ListCustomersAsync(ListCustomersRequest request)
+ ///
+ ///
+ /// await client.Billing.ListCustomersAsync(new ListCustomersRequest());
+ ///
+ ///
+ public async Task ListCustomersAsync(
+ ListCustomersRequest request,
+ RequestOptions? options = null,
+ CancellationToken cancellationToken = default
+ )
{
- var _query = new Dictionary() { };
+ var _query = new Dictionary();
if (request.Name != null)
{
_query["name"] = request.Name;
@@ -62,22 +194,64 @@ public async Task ListCustomersAsync(ListCustomersRequest
var response = await _client.MakeRequestAsync(
new RawClient.JsonApiRequest
{
+ BaseUrl = _client.Options.BaseUrl,
Method = HttpMethod.Get,
Path = "billing/customers",
- Query = _query
- }
+ Query = _query,
+ Options = options,
+ },
+ cancellationToken
);
var responseBody = await response.Raw.Content.ReadAsStringAsync();
if (response.StatusCode is >= 200 and < 400)
{
- return JsonSerializer.Deserialize(responseBody)!;
+ try
+ {
+ return JsonUtils.Deserialize(responseBody)!;
+ }
+ catch (JsonException e)
+ {
+ throw new SchematicApiException("Failed to deserialize response", e);
+ }
+ }
+
+ try
+ {
+ switch (response.StatusCode)
+ {
+ case 400:
+ throw new BadRequestError(JsonUtils.Deserialize(responseBody));
+ case 401:
+ throw new UnauthorizedError(JsonUtils.Deserialize(responseBody));
+ case 403:
+ throw new ForbiddenError(JsonUtils.Deserialize(responseBody));
+ case 500:
+ throw new InternalServerError(JsonUtils.Deserialize(responseBody));
+ }
+ }
+ catch (JsonException)
+ {
+ // unable to map error response, throwing generic error
}
- throw new Exception(responseBody);
+ throw new SchematicApiApiException(
+ $"Error with status code {response.StatusCode}",
+ response.StatusCode,
+ responseBody
+ );
}
- public async Task CountCustomersAsync(CountCustomersRequest request)
+ ///
+ ///
+ /// await client.Billing.CountCustomersAsync(new CountCustomersRequest());
+ ///
+ ///
+ public async Task CountCustomersAsync(
+ CountCustomersRequest request,
+ RequestOptions? options = null,
+ CancellationToken cancellationToken = default
+ )
{
- var _query = new Dictionary() { };
+ var _query = new Dictionary();
if (request.Name != null)
{
_query["name"] = request.Name;
@@ -101,104 +275,660 @@ public async Task CountCustomersAsync(CountCustomersRequ
var response = await _client.MakeRequestAsync(
new RawClient.JsonApiRequest
{
+ BaseUrl = _client.Options.BaseUrl,
Method = HttpMethod.Get,
Path = "billing/customers/count",
- Query = _query
+ Query = _query,
+ Options = options,
+ },
+ cancellationToken
+ );
+ var responseBody = await response.Raw.Content.ReadAsStringAsync();
+ if (response.StatusCode is >= 200 and < 400)
+ {
+ try
+ {
+ return JsonUtils.Deserialize(responseBody)!;
+ }
+ catch (JsonException e)
+ {
+ throw new SchematicApiException("Failed to deserialize response", e);
+ }
+ }
+
+ try
+ {
+ switch (response.StatusCode)
+ {
+ case 400:
+ throw new BadRequestError(JsonUtils.Deserialize(responseBody));
+ case 401:
+ throw new UnauthorizedError(JsonUtils.Deserialize(responseBody));
+ case 403:
+ throw new ForbiddenError(JsonUtils.Deserialize(responseBody));
+ case 500:
+ throw new InternalServerError(JsonUtils.Deserialize(responseBody));
+ }
+ }
+ catch (JsonException)
+ {
+ // unable to map error response, throwing generic error
+ }
+ throw new SchematicApiApiException(
+ $"Error with status code {response.StatusCode}",
+ response.StatusCode,
+ responseBody
+ );
+ }
+
+ ///
+ ///
+ /// await client.Billing.ListInvoicesAsync(
+ /// new ListInvoicesRequest { CustomerExternalId = "customer_external_id" }
+ /// );
+ ///
+ ///
+ public async Task ListInvoicesAsync(
+ ListInvoicesRequest request,
+ RequestOptions? options = null,
+ CancellationToken cancellationToken = default
+ )
+ {
+ var _query = new Dictionary();
+ _query["customer_external_id"] = request.CustomerExternalId;
+ if (request.CompanyId != null)
+ {
+ _query["company_id"] = request.CompanyId;
+ }
+ if (request.SubscriptionExternalId != null)
+ {
+ _query["subscription_external_id"] = request.SubscriptionExternalId;
+ }
+ if (request.Limit != null)
+ {
+ _query["limit"] = request.Limit.ToString();
+ }
+ if (request.Offset != null)
+ {
+ _query["offset"] = request.Offset.ToString();
+ }
+ var response = await _client.MakeRequestAsync(
+ new RawClient.JsonApiRequest
+ {
+ BaseUrl = _client.Options.BaseUrl,
+ Method = HttpMethod.Get,
+ Path = "billing/invoices",
+ Query = _query,
+ Options = options,
+ },
+ cancellationToken
+ );
+ var responseBody = await response.Raw.Content.ReadAsStringAsync();
+ if (response.StatusCode is >= 200 and < 400)
+ {
+ try
+ {
+ return JsonUtils.Deserialize(responseBody)!;
+ }
+ catch (JsonException e)
+ {
+ throw new SchematicApiException("Failed to deserialize response", e);
+ }
+ }
+
+ try
+ {
+ switch (response.StatusCode)
+ {
+ case 400:
+ throw new BadRequestError(JsonUtils.Deserialize(responseBody));
+ case 401:
+ throw new UnauthorizedError(JsonUtils.Deserialize(responseBody));
+ case 403:
+ throw new ForbiddenError(JsonUtils.Deserialize(responseBody));
+ case 500:
+ throw new InternalServerError(JsonUtils.Deserialize(responseBody));
}
+ }
+ catch (JsonException)
+ {
+ // unable to map error response, throwing generic error
+ }
+ throw new SchematicApiApiException(
+ $"Error with status code {response.StatusCode}",
+ response.StatusCode,
+ responseBody
+ );
+ }
+
+ ///
+ ///
+ /// await client.Billing.UpsertInvoiceAsync(
+ /// new CreateInvoiceRequestBody
+ /// {
+ /// AmountDue = 1,
+ /// AmountPaid = 1,
+ /// AmountRemaining = 1,
+ /// CollectionMethod = "collection_method",
+ /// Currency = "currency",
+ /// CustomerExternalId = "customer_external_id",
+ /// Subtotal = 1,
+ /// }
+ /// );
+ ///
+ ///
+ public async Task UpsertInvoiceAsync(
+ CreateInvoiceRequestBody request,
+ RequestOptions? options = null,
+ CancellationToken cancellationToken = default
+ )
+ {
+ var response = await _client.MakeRequestAsync(
+ new RawClient.JsonApiRequest
+ {
+ BaseUrl = _client.Options.BaseUrl,
+ Method = HttpMethod.Post,
+ Path = "billing/invoices",
+ Body = request,
+ ContentType = "application/json",
+ Options = options,
+ },
+ cancellationToken
);
var responseBody = await response.Raw.Content.ReadAsStringAsync();
if (response.StatusCode is >= 200 and < 400)
{
- return JsonSerializer.Deserialize(responseBody)!;
+ try
+ {
+ return JsonUtils.Deserialize(responseBody)!;
+ }
+ catch (JsonException e)
+ {
+ throw new SchematicApiException("Failed to deserialize response", e);
+ }
+ }
+
+ try
+ {
+ switch (response.StatusCode)
+ {
+ case 400:
+ throw new BadRequestError(JsonUtils.Deserialize(responseBody));
+ case 401:
+ throw new UnauthorizedError(JsonUtils.Deserialize(responseBody));
+ case 403:
+ throw new ForbiddenError(JsonUtils.Deserialize(responseBody));
+ case 500:
+ throw new InternalServerError(JsonUtils.Deserialize(responseBody));
+ }
+ }
+ catch (JsonException)
+ {
+ // unable to map error response, throwing generic error
}
- throw new Exception(responseBody);
+ throw new SchematicApiApiException(
+ $"Error with status code {response.StatusCode}",
+ response.StatusCode,
+ responseBody
+ );
}
- public async Task GetBillingPlanGroupByAccountIdAsync()
+ ///
+ ///
+ /// await client.Billing.ListMetersAsync(new ListMetersRequest());
+ ///
+ ///
+ public async Task ListMetersAsync(
+ ListMetersRequest request,
+ RequestOptions? options = null,
+ CancellationToken cancellationToken = default
+ )
{
+ var _query = new Dictionary();
+ if (request.DisplayName != null)
+ {
+ _query["display_name"] = request.DisplayName;
+ }
+ if (request.Limit != null)
+ {
+ _query["limit"] = request.Limit.ToString();
+ }
+ if (request.Offset != null)
+ {
+ _query["offset"] = request.Offset.ToString();
+ }
var response = await _client.MakeRequestAsync(
- new RawClient.JsonApiRequest { Method = HttpMethod.Get, Path = "billing/plan-group" }
+ new RawClient.JsonApiRequest
+ {
+ BaseUrl = _client.Options.BaseUrl,
+ Method = HttpMethod.Get,
+ Path = "billing/meter",
+ Query = _query,
+ Options = options,
+ },
+ cancellationToken
);
var responseBody = await response.Raw.Content.ReadAsStringAsync();
if (response.StatusCode is >= 200 and < 400)
{
- return JsonSerializer.Deserialize(
- responseBody
- )!;
+ try
+ {
+ return JsonUtils.Deserialize(responseBody)!;
+ }
+ catch (JsonException e)
+ {
+ throw new SchematicApiException("Failed to deserialize response", e);
+ }
+ }
+
+ try
+ {
+ switch (response.StatusCode)
+ {
+ case 400:
+ throw new BadRequestError(JsonUtils.Deserialize(responseBody));
+ case 401:
+ throw new UnauthorizedError(JsonUtils.Deserialize(responseBody));
+ case 403:
+ throw new ForbiddenError(JsonUtils.Deserialize(responseBody));
+ case 500:
+ throw new InternalServerError(JsonUtils.Deserialize(responseBody));
+ }
+ }
+ catch (JsonException)
+ {
+ // unable to map error response, throwing generic error
}
- throw new Exception(responseBody);
+ throw new SchematicApiApiException(
+ $"Error with status code {response.StatusCode}",
+ response.StatusCode,
+ responseBody
+ );
}
- public async Task CreateBillingPlanGroupAsync(
- CreateBillingPlanGroupRequestBody request
+ ///
+ ///
+ /// await client.Billing.UpsertBillingMeterAsync(
+ /// new CreateMeterRequestBody
+ /// {
+ /// DisplayName = "display_name",
+ /// EventName = "event_name",
+ /// EventPayloadKey = "event_payload_key",
+ /// ExternalId = "external_id",
+ /// }
+ /// );
+ ///
+ ///
+ public async Task UpsertBillingMeterAsync(
+ CreateMeterRequestBody request,
+ RequestOptions? options = null,
+ CancellationToken cancellationToken = default
)
{
var response = await _client.MakeRequestAsync(
new RawClient.JsonApiRequest
{
+ BaseUrl = _client.Options.BaseUrl,
Method = HttpMethod.Post,
- Path = "billing/plan-group",
- Body = request
+ Path = "billing/meter/upsert",
+ Body = request,
+ ContentType = "application/json",
+ Options = options,
+ },
+ cancellationToken
+ );
+ var responseBody = await response.Raw.Content.ReadAsStringAsync();
+ if (response.StatusCode is >= 200 and < 400)
+ {
+ try
+ {
+ return JsonUtils.Deserialize(responseBody)!;
}
+ catch (JsonException e)
+ {
+ throw new SchematicApiException("Failed to deserialize response", e);
+ }
+ }
+
+ try
+ {
+ switch (response.StatusCode)
+ {
+ case 400:
+ throw new BadRequestError(JsonUtils.Deserialize(responseBody));
+ case 401:
+ throw new UnauthorizedError(JsonUtils.Deserialize