# Rust SDK for openapi ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. - API version: 1.503.0 - Package version: 1.503.0 - Generator version: 7.5.0 - Build package: `org.openapitools.codegen.languages.RustClientCodegen` ## Installation Put the package under your project folder in a directory named `openapi` and add the following to `Cargo.toml` under `[dependencies]`: ``` openapi = { path = "./openapi" } ``` ## Documentation for API Endpoints All URIs are relative to *http://localhost* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- *AccountApi* | [**add_ldap**](docs/AccountApi.md#add_ldap) | **POST** /api/add-ldap | *AccountApi* | [**delete_ldap**](docs/AccountApi.md#delete_ldap) | **POST** /api/delete-ldap | *AccountApi* | [**get_account**](docs/AccountApi.md#get_account) | **GET** /api/get-account | *AccountApi* | [**get_ldap**](docs/AccountApi.md#get_ldap) | **GET** /api/get-ldap | *AccountApi* | [**get_ldaps**](docs/AccountApi.md#get_ldaps) | **GET** /api/get-ldaps | *AccountApi* | [**get_ldapser**](docs/AccountApi.md#get_ldapser) | **GET** /api/get-ldap-users | *AccountApi* | [**reset_email_or_phone**](docs/AccountApi.md#reset_email_or_phone) | **POST** /api/reset-email-or-phone | *AccountApi* | [**set_password**](docs/AccountApi.md#set_password) | **POST** /api/set-password | *AccountApi* | [**sync_ldap_users**](docs/AccountApi.md#sync_ldap_users) | **POST** /api/sync-ldap-users | *AccountApi* | [**update_ldap**](docs/AccountApi.md#update_ldap) | **POST** /api/update-ldap | *AccountApi* | [**user_info**](docs/AccountApi.md#user_info) | **GET** /api/userinfo | *AccountApi* | [**user_info2**](docs/AccountApi.md#user_info2) | **GET** /api/user | *AdapterApi* | [**add_adapter**](docs/AdapterApi.md#add_adapter) | **POST** /api/add-adapter | *AdapterApi* | [**delete_adapter**](docs/AdapterApi.md#delete_adapter) | **POST** /api/delete-adapter | *AdapterApi* | [**get_adapter**](docs/AdapterApi.md#get_adapter) | **GET** /api/get-adapter | *AdapterApi* | [**get_adapters**](docs/AdapterApi.md#get_adapters) | **GET** /api/get-adapters | *AdapterApi* | [**update_adapter**](docs/AdapterApi.md#update_adapter) | **POST** /api/update-adapter | *ApplicationApi* | [**add_application**](docs/ApplicationApi.md#add_application) | **POST** /api/add-application | *ApplicationApi* | [**delete_application**](docs/ApplicationApi.md#delete_application) | **POST** /api/delete-application | *ApplicationApi* | [**get_application**](docs/ApplicationApi.md#get_application) | **GET** /api/get-application | *ApplicationApi* | [**get_applications**](docs/ApplicationApi.md#get_applications) | **GET** /api/get-applications | *ApplicationApi* | [**get_organization_applications**](docs/ApplicationApi.md#get_organization_applications) | **GET** /api/get-organization-applications | *ApplicationApi* | [**get_user_application**](docs/ApplicationApi.md#get_user_application) | **GET** /api/get-user-application | *ApplicationApi* | [**update_application**](docs/ApplicationApi.md#update_application) | **POST** /api/update-application | *CallbackApi* | [**callback**](docs/CallbackApi.md#callback) | **POST** /api/Callback | *CertApi* | [**add_cert**](docs/CertApi.md#add_cert) | **POST** /api/add-cert | *CertApi* | [**delete_cert**](docs/CertApi.md#delete_cert) | **POST** /api/delete-cert | *CertApi* | [**get_cert**](docs/CertApi.md#get_cert) | **GET** /api/get-cert | *CertApi* | [**get_certs**](docs/CertApi.md#get_certs) | **GET** /api/get-certs | *CertApi* | [**get_global_certs**](docs/CertApi.md#get_global_certs) | **GET** /api/get-global-certs | *CertApi* | [**update_cert**](docs/CertApi.md#update_cert) | **POST** /api/update-cert | *EnforcerApi* | [**add_enforcer**](docs/EnforcerApi.md#add_enforcer) | **POST** /api/add-enforcer | *EnforcerApi* | [**batch_enforce**](docs/EnforcerApi.md#batch_enforce) | **POST** /api/batch-enforce | *EnforcerApi* | [**delete_enforcer**](docs/EnforcerApi.md#delete_enforcer) | **POST** /api/delete-enforcer | *EnforcerApi* | [**enforce**](docs/EnforcerApi.md#enforce) | **POST** /api/enforce | *EnforcerApi* | [**get_enforcer**](docs/EnforcerApi.md#get_enforcer) | **GET** /api/get-enforcer | *EnforcerApi* | [**get_enforcers**](docs/EnforcerApi.md#get_enforcers) | **GET** /api/get-enforcers | *EnforcerApi* | [**update_enforcer**](docs/EnforcerApi.md#update_enforcer) | **POST** /api/update-enforcer | *GroupApi* | [**add_group**](docs/GroupApi.md#add_group) | **POST** /api/add-group | *GroupApi* | [**delete_group**](docs/GroupApi.md#delete_group) | **POST** /api/delete-group | *GroupApi* | [**get_group**](docs/GroupApi.md#get_group) | **GET** /api/get-group | *GroupApi* | [**get_groups**](docs/GroupApi.md#get_groups) | **GET** /api/get-groups | *GroupApi* | [**update_group**](docs/GroupApi.md#update_group) | **POST** /api/update-group | *InvitationApi* | [**add_invitation**](docs/InvitationApi.md#add_invitation) | **POST** /api/add-invitation | *InvitationApi* | [**delete_invitation**](docs/InvitationApi.md#delete_invitation) | **POST** /api/delete-invitation | *InvitationApi* | [**get_invitation**](docs/InvitationApi.md#get_invitation) | **GET** /api/get-invitation | *InvitationApi* | [**get_invitations**](docs/InvitationApi.md#get_invitations) | **GET** /api/get-invitations | *InvitationApi* | [**update_invitation**](docs/InvitationApi.md#update_invitation) | **POST** /api/update-invitation | *InvitationApi* | [**verify_invitation**](docs/InvitationApi.md#verify_invitation) | **GET** /api/verify-invitation | *LoginApi* | [**get_application_login**](docs/LoginApi.md#get_application_login) | **GET** /api/get-app-login | *LoginApi* | [**get_captcha**](docs/LoginApi.md#get_captcha) | **GET** /api/get-captcha | *LoginApi* | [**introspect_token**](docs/LoginApi.md#introspect_token) | **POST** /api/login/oauth/introspect | *LoginApi* | [**login**](docs/LoginApi.md#login) | **POST** /api/login | *LoginApi* | [**logout**](docs/LoginApi.md#logout) | **POST** /api/logout | *LoginApi* | [**signup**](docs/LoginApi.md#signup) | **POST** /api/signup | *LoginApi* | [**unlink**](docs/LoginApi.md#unlink) | **POST** /api/unlink | *LoginApi* | [**web_authn_signin_begin**](docs/LoginApi.md#web_authn_signin_begin) | **GET** /api/webauthn/signin/begin | *LoginApi* | [**web_authn_signin_finish**](docs/LoginApi.md#web_authn_signin_finish) | **POST** /api/webauthn/signin/finish | *MfaApi* | [**delete_mfa**](docs/MfaApi.md#delete_mfa) | **POST** /api/delete-mfa/ | *MfaApi* | [**mfa_setup_enable**](docs/MfaApi.md#mfa_setup_enable) | **POST** /api/mfa/setup/enable | *MfaApi* | [**mfa_setup_initiate**](docs/MfaApi.md#mfa_setup_initiate) | **POST** /api/mfa/setup/initiate | *MfaApi* | [**mfa_setup_verify**](docs/MfaApi.md#mfa_setup_verify) | **POST** /api/mfa/setup/verify | *MfaApi* | [**set_preferred_mfa**](docs/MfaApi.md#set_preferred_mfa) | **POST** /api/set-preferred-mfa | *ModelApi* | [**add_model**](docs/ModelApi.md#add_model) | **POST** /api/add-model | *ModelApi* | [**delete_model**](docs/ModelApi.md#delete_model) | **POST** /api/delete-model | *ModelApi* | [**get_model**](docs/ModelApi.md#get_model) | **GET** /api/get-model | *ModelApi* | [**get_models**](docs/ModelApi.md#get_models) | **GET** /api/get-models | *ModelApi* | [**update_model**](docs/ModelApi.md#update_model) | **POST** /api/update-model | *OidcApi* | [**root_controllerget_jwks**](docs/OidcApi.md#root_controllerget_jwks) | **GET** /.well-known/jwks | *OidcApi* | [**root_controllerget_oidc_discovery**](docs/OidcApi.md#root_controllerget_oidc_discovery) | **GET** /.well-known/openid-configuration | *OrganizationApi* | [**add_organization**](docs/OrganizationApi.md#add_organization) | **POST** /api/add-organization | *OrganizationApi* | [**delete_organization**](docs/OrganizationApi.md#delete_organization) | **POST** /api/delete-organization | *OrganizationApi* | [**get_default_application**](docs/OrganizationApi.md#get_default_application) | **GET** /api/get-default-application | *OrganizationApi* | [**get_organization**](docs/OrganizationApi.md#get_organization) | **GET** /api/get-organization | *OrganizationApi* | [**get_organization_names**](docs/OrganizationApi.md#get_organization_names) | **GET** /api/get-organization-names | *OrganizationApi* | [**get_organizations**](docs/OrganizationApi.md#get_organizations) | **GET** /api/get-organizations | *OrganizationApi* | [**update_organization**](docs/OrganizationApi.md#update_organization) | **POST** /api/update-organization | *PaymentApi* | [**add_payment**](docs/PaymentApi.md#add_payment) | **POST** /api/add-payment | *PaymentApi* | [**delete_payment**](docs/PaymentApi.md#delete_payment) | **POST** /api/delete-payment | *PaymentApi* | [**get_payment**](docs/PaymentApi.md#get_payment) | **GET** /api/get-payment | *PaymentApi* | [**get_payments**](docs/PaymentApi.md#get_payments) | **GET** /api/get-payments | *PaymentApi* | [**get_user_payments**](docs/PaymentApi.md#get_user_payments) | **GET** /api/get-user-payments | *PaymentApi* | [**invoice_payment**](docs/PaymentApi.md#invoice_payment) | **POST** /api/invoice-payment | *PaymentApi* | [**notify_payment**](docs/PaymentApi.md#notify_payment) | **POST** /api/notify-payment | *PaymentApi* | [**update_payment**](docs/PaymentApi.md#update_payment) | **POST** /api/update-payment | *PermissionApi* | [**add_permission**](docs/PermissionApi.md#add_permission) | **POST** /api/add-permission | *PermissionApi* | [**delete_permission**](docs/PermissionApi.md#delete_permission) | **POST** /api/delete-permission | *PermissionApi* | [**get_permission**](docs/PermissionApi.md#get_permission) | **GET** /api/get-permission | *PermissionApi* | [**get_permissions**](docs/PermissionApi.md#get_permissions) | **GET** /api/get-permissions | *PermissionApi* | [**get_permissions_by_role**](docs/PermissionApi.md#get_permissions_by_role) | **GET** /api/get-permissions-by-role | *PermissionApi* | [**get_permissions_by_submitter**](docs/PermissionApi.md#get_permissions_by_submitter) | **GET** /api/get-permissions-by-submitter | *PermissionApi* | [**update_permission**](docs/PermissionApi.md#update_permission) | **POST** /api/update-permission | *PlanApi* | [**add_plan**](docs/PlanApi.md#add_plan) | **POST** /api/add-plan | *PlanApi* | [**delete_plan**](docs/PlanApi.md#delete_plan) | **POST** /api/delete-plan | *PlanApi* | [**get_plan**](docs/PlanApi.md#get_plan) | **GET** /api/get-plan | *PlanApi* | [**get_plans**](docs/PlanApi.md#get_plans) | **GET** /api/get-plans | *PlanApi* | [**update_plan**](docs/PlanApi.md#update_plan) | **POST** /api/update-plan | *PricingApi* | [**add_pricing**](docs/PricingApi.md#add_pricing) | **POST** /api/add-pricing | *PricingApi* | [**delete_pricing**](docs/PricingApi.md#delete_pricing) | **POST** /api/delete-pricing | *PricingApi* | [**get_pricing**](docs/PricingApi.md#get_pricing) | **GET** /api/get-pricing | *PricingApi* | [**get_pricings**](docs/PricingApi.md#get_pricings) | **GET** /api/get-pricings | *PricingApi* | [**update_pricing**](docs/PricingApi.md#update_pricing) | **POST** /api/update-pricing | *ProductApi* | [**add_product**](docs/ProductApi.md#add_product) | **POST** /api/add-product | *ProductApi* | [**buy_product**](docs/ProductApi.md#buy_product) | **POST** /api/buy-product | *ProductApi* | [**delete_product**](docs/ProductApi.md#delete_product) | **POST** /api/delete-product | *ProductApi* | [**get_product**](docs/ProductApi.md#get_product) | **GET** /api/get-product | *ProductApi* | [**get_products**](docs/ProductApi.md#get_products) | **GET** /api/get-products | *ProductApi* | [**update_product**](docs/ProductApi.md#update_product) | **POST** /api/update-product | *ProviderApi* | [**add_provider**](docs/ProviderApi.md#add_provider) | **POST** /api/add-provider | *ProviderApi* | [**delete_provider**](docs/ProviderApi.md#delete_provider) | **POST** /api/delete-provider | *ProviderApi* | [**get_global_providers**](docs/ProviderApi.md#get_global_providers) | **GET** /api/get-global-providers | *ProviderApi* | [**get_provider**](docs/ProviderApi.md#get_provider) | **GET** /api/get-provider | *ProviderApi* | [**get_providers**](docs/ProviderApi.md#get_providers) | **GET** /api/get-providers | *ProviderApi* | [**update_provider**](docs/ProviderApi.md#update_provider) | **POST** /api/update-provider | *ResourceApi* | [**add_resource**](docs/ResourceApi.md#add_resource) | **POST** /api/add-resource | *ResourceApi* | [**delete_resource**](docs/ResourceApi.md#delete_resource) | **POST** /api/delete-resource | *ResourceApi* | [**get_resource**](docs/ResourceApi.md#get_resource) | **GET** /api/get-resource | *ResourceApi* | [**get_resources**](docs/ResourceApi.md#get_resources) | **GET** /api/get-resources | *ResourceApi* | [**update_resource**](docs/ResourceApi.md#update_resource) | **POST** /api/update-resource | *ResourceApi* | [**upload_resource**](docs/ResourceApi.md#upload_resource) | **POST** /api/upload-resource | *RoleApi* | [**add_role**](docs/RoleApi.md#add_role) | **POST** /api/add-role | *RoleApi* | [**delete_role**](docs/RoleApi.md#delete_role) | **POST** /api/delete-role | *RoleApi* | [**get_role**](docs/RoleApi.md#get_role) | **GET** /api/get-role | *RoleApi* | [**get_roles**](docs/RoleApi.md#get_roles) | **GET** /api/get-roles | *RoleApi* | [**update_role**](docs/RoleApi.md#update_role) | **POST** /api/update-role | *ServiceApi* | [**send_email**](docs/ServiceApi.md#send_email) | **POST** /api/send-email | *ServiceApi* | [**send_notification**](docs/ServiceApi.md#send_notification) | **POST** /api/send-notification | *ServiceApi* | [**send_sms**](docs/ServiceApi.md#send_sms) | **POST** /api/send-sms | *SessionApi* | [**add_session**](docs/SessionApi.md#add_session) | **POST** /api/add-session | *SessionApi* | [**delete_session**](docs/SessionApi.md#delete_session) | **POST** /api/delete-session | *SessionApi* | [**get_sessions**](docs/SessionApi.md#get_sessions) | **GET** /api/get-sessions | *SessionApi* | [**get_single_session**](docs/SessionApi.md#get_single_session) | **GET** /api/get-session | *SessionApi* | [**is_session_duplicated**](docs/SessionApi.md#is_session_duplicated) | **GET** /api/is-session-duplicated | *SessionApi* | [**update_session**](docs/SessionApi.md#update_session) | **POST** /api/update-session | *SubscriptionApi* | [**add_subscription**](docs/SubscriptionApi.md#add_subscription) | **POST** /api/add-subscription | *SubscriptionApi* | [**delete_subscription**](docs/SubscriptionApi.md#delete_subscription) | **POST** /api/delete-subscription | *SubscriptionApi* | [**get_subscription**](docs/SubscriptionApi.md#get_subscription) | **GET** /api/get-subscription | *SubscriptionApi* | [**get_subscriptions**](docs/SubscriptionApi.md#get_subscriptions) | **GET** /api/get-subscriptions | *SubscriptionApi* | [**update_subscription**](docs/SubscriptionApi.md#update_subscription) | **POST** /api/update-subscription | *SyncerApi* | [**add_syncer**](docs/SyncerApi.md#add_syncer) | **POST** /api/add-syncer | *SyncerApi* | [**delete_syncer**](docs/SyncerApi.md#delete_syncer) | **POST** /api/delete-syncer | *SyncerApi* | [**get_syncer**](docs/SyncerApi.md#get_syncer) | **GET** /api/get-syncer | *SyncerApi* | [**get_syncers**](docs/SyncerApi.md#get_syncers) | **GET** /api/get-syncers | *SyncerApi* | [**run_syncer**](docs/SyncerApi.md#run_syncer) | **GET** /api/run-syncer | *SyncerApi* | [**update_syncer**](docs/SyncerApi.md#update_syncer) | **POST** /api/update-syncer | *SystemApi* | [**get_dashboard**](docs/SystemApi.md#get_dashboard) | **GET** /api/get-dashboard | *SystemApi* | [**get_prometheus_info**](docs/SystemApi.md#get_prometheus_info) | **GET** /api/get-prometheus-info | *SystemApi* | [**get_system_info**](docs/SystemApi.md#get_system_info) | **GET** /api/get-system-info | *SystemApi* | [**get_version_info**](docs/SystemApi.md#get_version_info) | **GET** /api/get-version-info | *SystemApi* | [**get_webhook_event_type**](docs/SystemApi.md#get_webhook_event_type) | **GET** /api/get-webhook-event | *SystemApi* | [**handle_official_account_event**](docs/SystemApi.md#handle_official_account_event) | **POST** /api/webhook | *SystemApi* | [**health**](docs/SystemApi.md#health) | **GET** /api/health | *TokenApi* | [**add_token**](docs/TokenApi.md#add_token) | **POST** /api/add-token | *TokenApi* | [**delete_token**](docs/TokenApi.md#delete_token) | **POST** /api/delete-token | *TokenApi* | [**get_captcha_status**](docs/TokenApi.md#get_captcha_status) | **GET** /api/get-captcha-status | *TokenApi* | [**get_o_auth_token**](docs/TokenApi.md#get_o_auth_token) | **POST** /api/login/oauth/access_token | *TokenApi* | [**get_token**](docs/TokenApi.md#get_token) | **GET** /api/get-token | *TokenApi* | [**get_tokens**](docs/TokenApi.md#get_tokens) | **GET** /api/get-tokens | *TokenApi* | [**refresh_token**](docs/TokenApi.md#refresh_token) | **POST** /api/login/oauth/refresh_token | *TokenApi* | [**update_token**](docs/TokenApi.md#update_token) | **POST** /api/update-token | *UserApi* | [**add_user**](docs/UserApi.md#add_user) | **POST** /api/add-user | *UserApi* | [**add_user_keys**](docs/UserApi.md#add_user_keys) | **POST** /api/add-user-keys | *UserApi* | [**check_user_password**](docs/UserApi.md#check_user_password) | **POST** /api/check-user-password | *UserApi* | [**delete_user**](docs/UserApi.md#delete_user) | **POST** /api/delete-user | *UserApi* | [**get_email_and_phone**](docs/UserApi.md#get_email_and_phone) | **GET** /api/get-email-and-phone | *UserApi* | [**get_global_users**](docs/UserApi.md#get_global_users) | **GET** /api/get-global-users | *UserApi* | [**get_sorted_users**](docs/UserApi.md#get_sorted_users) | **GET** /api/get-sorted-users | *UserApi* | [**get_user**](docs/UserApi.md#get_user) | **GET** /api/get-user | *UserApi* | [**get_user_count**](docs/UserApi.md#get_user_count) | **GET** /api/get-user-count | *UserApi* | [**get_users**](docs/UserApi.md#get_users) | **GET** /api/get-users | *UserApi* | [**update_user**](docs/UserApi.md#update_user) | **POST** /api/update-user | *UserApi* | [**web_authn_signup_begin**](docs/UserApi.md#web_authn_signup_begin) | **GET** /api/webauthn/signup/begin | *UserApi* | [**web_authn_signup_finish**](docs/UserApi.md#web_authn_signup_finish) | **POST** /api/webauthn/signup/finish | *VerificationApi* | [**send_verification_code**](docs/VerificationApi.md#send_verification_code) | **POST** /api/send-verification-code | *VerificationApi* | [**verify_captcha**](docs/VerificationApi.md#verify_captcha) | **POST** /api/verify-captcha | *VerificationApi* | [**verify_code**](docs/VerificationApi.md#verify_code) | **POST** /api/verify-code | *WebhookApi* | [**add_webhook**](docs/WebhookApi.md#add_webhook) | **POST** /api/add-webhook | *WebhookApi* | [**delete_webhook**](docs/WebhookApi.md#delete_webhook) | **POST** /api/delete-webhook | *WebhookApi* | [**get_webhook**](docs/WebhookApi.md#get_webhook) | **GET** /api/get-webhook | *WebhookApi* | [**get_webhooks**](docs/WebhookApi.md#get_webhooks) | **GET** /api/get-webhooks | *WebhookApi* | [**update_webhook**](docs/WebhookApi.md#update_webhook) | **POST** /api/update-webhook | ## Documentation For Models - [EmailForm](docs/EmailForm.md) - [LaravelResponse](docs/LaravelResponse.md) - [LdapResp](docs/LdapResp.md) - [LdapSyncResp](docs/LdapSyncResp.md) - [NotificationForm](docs/NotificationForm.md) - [Response](docs/Response.md) - [SmsForm](docs/SmsForm.md) - [AccountItem](docs/AccountItem.md) - [Adapter](docs/Adapter.md) - [Application](docs/Application.md) - [Cert](docs/Cert.md) - [Enforcer](docs/Enforcer.md) - [GaugeVecInfo](docs/GaugeVecInfo.md) - [Group](docs/Group.md) - [Header](docs/Header.md) - [HistogramVecInfo](docs/HistogramVecInfo.md) - [IntrospectionResponse](docs/IntrospectionResponse.md) - [Invitation](docs/Invitation.md) - [Ldap](docs/Ldap.md) - [LdapUser](docs/LdapUser.md) - [ManagedAccount](docs/ManagedAccount.md) - [MfaItem](docs/MfaItem.md) - [MfaProps](docs/MfaProps.md) - [Model](docs/Model.md) - [OidcDiscovery](docs/OidcDiscovery.md) - [Organization](docs/Organization.md) - [Ormer](docs/Ormer.md) - [Payment](docs/Payment.md) - [Permission](docs/Permission.md) - [Plan](docs/Plan.md) - [Pricing](docs/Pricing.md) - [Product](docs/Product.md) - [PrometheusInfo](docs/PrometheusInfo.md) - [Provider](docs/Provider.md) - [ProviderItem](docs/ProviderItem.md) - [Resource](docs/Resource.md) - [Role](docs/Role.md) - [SamlItem](docs/SamlItem.md) - [SigninMethod](docs/SigninMethod.md) - [SignupItem](docs/SignupItem.md) - [Subscription](docs/Subscription.md) - [SubscriptionState](docs/SubscriptionState.md) - [Syncer](docs/Syncer.md) - [TableColumn](docs/TableColumn.md) - [ThemeData](docs/ThemeData.md) - [Token](docs/Token.md) - [TokenError](docs/TokenError.md) - [TokenWrapper](docs/TokenWrapper.md) - [User](docs/User.md) - [Userinfo](docs/Userinfo.md) - [Webhook](docs/Webhook.md) - [PpPeriodPaymentState](docs/PpPeriodPaymentState.md) - [UtilPeriodSystemInfo](docs/UtilPeriodSystemInfo.md) - [UtilPeriodVersionInfo](docs/UtilPeriodVersionInfo.md) To get access to the crate's generated documentation, use: ``` cargo doc --open ``` ## Author shanur.cse.nitap@gmail.com