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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
573 changes: 255 additions & 318 deletions fastfuels_sdk/client_library/__init__.py

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions fastfuels_sdk/client_library/api/api_keys_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ def create_key(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> Key:
"""New API key
"""Create API key

Create a new API key
Create a new API key for authentication

:param create_key_request: (required)
:type create_key_request: CreateKeyRequest
Expand Down Expand Up @@ -126,9 +126,9 @@ def create_key_with_http_info(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[Key]:
"""New API key
"""Create API key

Create a new API key
Create a new API key for authentication

:param create_key_request: (required)
:type create_key_request: CreateKeyRequest
Expand Down Expand Up @@ -194,9 +194,9 @@ def create_key_without_preload_content(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RESTResponseType:
"""New API key
"""Create API key

Create a new API key
Create a new API key for authentication

:param create_key_request: (required)
:type create_key_request: CreateKeyRequest
Expand Down Expand Up @@ -336,9 +336,9 @@ def delete_key(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> None:
"""Delete key
"""Delete API key

Delete an API key by ID
Permanently delete an API key by ID

:param key_id: (required)
:type key_id: str
Expand Down Expand Up @@ -404,9 +404,9 @@ def delete_key_with_http_info(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[None]:
"""Delete key
"""Delete API key

Delete an API key by ID
Permanently delete an API key by ID

:param key_id: (required)
:type key_id: str
Expand Down Expand Up @@ -472,9 +472,9 @@ def delete_key_without_preload_content(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RESTResponseType:
"""Delete key
"""Delete API key

Delete an API key by ID
Permanently delete an API key by ID

:param key_id: (required)
:type key_id: str
Expand Down Expand Up @@ -601,9 +601,9 @@ def get_key_by_id(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> Key:
"""Get key
"""Get API key

Get an API key by ID
Get API key details by ID

:param key_id: (required)
:type key_id: str
Expand Down Expand Up @@ -669,9 +669,9 @@ def get_key_by_id_with_http_info(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[Key]:
"""Get key
"""Get API key

Get an API key by ID
Get API key details by ID

:param key_id: (required)
:type key_id: str
Expand Down Expand Up @@ -737,9 +737,9 @@ def get_key_by_id_without_preload_content(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RESTResponseType:
"""Get key
"""Get API key

Get an API key by ID
Get API key details by ID

:param key_id: (required)
:type key_id: str
Expand Down Expand Up @@ -867,9 +867,9 @@ def list_keys(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ListKeysResponse:
"""List keys
"""List API keys

List API keys for both users and applications
Get paginated list of accessible API keys

:param page:
:type page: int
Expand Down Expand Up @@ -939,9 +939,9 @@ def list_keys_with_http_info(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[ListKeysResponse]:
"""List keys
"""List API keys

List API keys for both users and applications
Get paginated list of accessible API keys

:param page:
:type page: int
Expand Down Expand Up @@ -1011,9 +1011,9 @@ def list_keys_without_preload_content(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RESTResponseType:
"""List keys
"""List API keys

List API keys for both users and applications
Get paginated list of accessible API keys

:param page:
:type page: int
Expand Down
48 changes: 24 additions & 24 deletions fastfuels_sdk/client_library/api/applications_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ def create_application(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> Application:
"""New application
"""Create application

Create a new application
Create a new application for API access

:param create_application_request: (required)
:type create_application_request: CreateApplicationRequest
Expand Down Expand Up @@ -126,9 +126,9 @@ def create_application_with_http_info(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[Application]:
"""New application
"""Create application

Create a new application
Create a new application for API access

:param create_application_request: (required)
:type create_application_request: CreateApplicationRequest
Expand Down Expand Up @@ -194,9 +194,9 @@ def create_application_without_preload_content(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RESTResponseType:
"""New application
"""Create application

Create a new application
Create a new application for API access

:param create_application_request: (required)
:type create_application_request: CreateApplicationRequest
Expand Down Expand Up @@ -601,9 +601,9 @@ def get_application(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> Application:
"""Get Application
"""Get application

Get an application by ID
Get application details by ID

:param application_id: (required)
:type application_id: str
Expand Down Expand Up @@ -669,9 +669,9 @@ def get_application_with_http_info(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[Application]:
"""Get Application
"""Get application

Get an application by ID
Get application details by ID

:param application_id: (required)
:type application_id: str
Expand Down Expand Up @@ -737,9 +737,9 @@ def get_application_without_preload_content(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RESTResponseType:
"""Get Application
"""Get application

Get an application by ID
Get application details by ID

:param application_id: (required)
:type application_id: str
Expand Down Expand Up @@ -867,9 +867,9 @@ def list_applications(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ListApplicationsResponse:
"""List application
"""List applications

List applications for authenticated user
Get paginated list of user's applications

:param page:
:type page: int
Expand Down Expand Up @@ -939,9 +939,9 @@ def list_applications_with_http_info(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[ListApplicationsResponse]:
"""List application
"""List applications

List applications for authenticated user
Get paginated list of user's applications

:param page:
:type page: int
Expand Down Expand Up @@ -1011,9 +1011,9 @@ def list_applications_without_preload_content(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RESTResponseType:
"""List application
"""List applications

List applications for authenticated user
Get paginated list of user's applications

:param page:
:type page: int
Expand Down Expand Up @@ -1151,9 +1151,9 @@ def update_application(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> Application:
"""Update Application
"""Update application

Update an application by ID
Update application details

:param application_id: (required)
:type application_id: str
Expand Down Expand Up @@ -1223,9 +1223,9 @@ def update_application_with_http_info(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[Application]:
"""Update Application
"""Update application

Update an application by ID
Update application details

:param application_id: (required)
:type application_id: str
Expand Down Expand Up @@ -1295,9 +1295,9 @@ def update_application_without_preload_content(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RESTResponseType:
"""Update Application
"""Update application

Update an application by ID
Update application details

:param application_id: (required)
:type application_id: str
Expand Down
18 changes: 12 additions & 6 deletions fastfuels_sdk/client_library/api/cookies_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ def delete_cookie(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> object:
"""Delete Cookie
"""Delete session cookie

Remove session cookie for logout

:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
Expand Down Expand Up @@ -114,8 +115,9 @@ def delete_cookie_with_http_info(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[object]:
"""Delete Cookie
"""Delete session cookie

Remove session cookie for logout

:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
Expand Down Expand Up @@ -176,8 +178,9 @@ def delete_cookie_without_preload_content(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RESTResponseType:
"""Delete Cookie
"""Delete session cookie

Remove session cookie for logout

:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
Expand Down Expand Up @@ -294,8 +297,9 @@ def get_cookie(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> object:
"""Get Cookie
"""Create session cookie

Create a session cookie for authentication

:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
Expand Down Expand Up @@ -356,8 +360,9 @@ def get_cookie_with_http_info(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[object]:
"""Get Cookie
"""Create session cookie

Create a session cookie for authentication

:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
Expand Down Expand Up @@ -418,8 +423,9 @@ def get_cookie_without_preload_content(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RESTResponseType:
"""Get Cookie
"""Create session cookie

Create a session cookie for authentication

:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
Expand Down
Loading
Loading