Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: regenerate #25

Merged
merged 1 commit into from
Jul 29, 2024
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
8 changes: 6 additions & 2 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ docs/Oauth2Api.md
docs/Ogp.md
docs/OgpApi.md
docs/OgpMedia.md
docs/OidcTraqUserInfo.md
docs/OidcUserInfo.md
docs/ParentChangedEvent.md
docs/PatchBotRequest.md
docs/PatchChannelRequest.md
Expand Down Expand Up @@ -106,6 +108,7 @@ docs/PutChannelTopicRequest.md
docs/PutMyPasswordRequest.md
docs/PutNotifyCitationRequest.md
docs/PutUserPasswordRequest.md
docs/Session.md
docs/Stamp.md
docs/StampApi.md
docs/StampHistoryEntry.md
Expand Down Expand Up @@ -137,7 +140,6 @@ docs/VersionFlags.md
docs/VisibilityChangedEvent.md
docs/WebRtcAuthenticateResult.md
docs/WebRtcUserState.md
docs/WebRtcUserStateSessionsInner.md
docs/Webhook.md
docs/WebhookApi.md
docs/WebrtcApi.md
Expand Down Expand Up @@ -214,6 +216,8 @@ src/models/o_auth2_scope.rs
src/models/o_auth2_token.rs
src/models/ogp.rs
src/models/ogp_media.rs
src/models/oidc_traq_user_info.rs
src/models/oidc_user_info.rs
src/models/parent_changed_event.rs
src/models/patch_bot_request.rs
src/models/patch_channel_request.rs
Expand Down Expand Up @@ -258,6 +262,7 @@ src/models/put_channel_topic_request.rs
src/models/put_my_password_request.rs
src/models/put_notify_citation_request.rs
src/models/put_user_password_request.rs
src/models/session.rs
src/models/stamp.rs
src/models/stamp_history_entry.rs
src/models/stamp_palette.rs
Expand Down Expand Up @@ -285,5 +290,4 @@ src/models/version_flags.rs
src/models/visibility_changed_event.rs
src/models/web_rtc_authenticate_result.rs
src/models/web_rtc_user_state.rs
src/models/web_rtc_user_state_sessions_inner.rs
src/models/webhook.rs
2 changes: 1 addition & 1 deletion docs/BotApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ BOTのアイコン画像を変更
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**bot_id** | **uuid::Uuid** | BOTUUID | [required] |
**file** | **std::path::PathBuf** | アイコン画像(1MBまでのpng, jpeg, gif) | [required] |
**file** | **std::path::PathBuf** | アイコン画像(2MBまでのpng, jpeg, gif) | [required] |

### Return type

Expand Down
2 changes: 1 addition & 1 deletion docs/ChannelApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ DMチャンネル情報を取得

Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**user_id** | **String** | | [required] |
**user_id** | **uuid::Uuid** | | [required] |

### Return type

Expand Down
1 change: 1 addition & 0 deletions docs/GetClient200Response.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Name | Type | Description | Notes
**description** | **String** | 説明 |
**developer_id** | [**uuid::Uuid**](uuid::Uuid.md) | クライアント開発者UUID |
**scopes** | [**Vec<crate::models::OAuth2Scope>**](OAuth2Scope.md) | 要求スコープの配列 |
**confidential** | **bool** | confidential client なら true, public client なら false |
**callback_url** | **String** | コールバックURL |
**secret** | **String** | クライアントシークレット |

Expand Down
2 changes: 1 addition & 1 deletion docs/GroupApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Name | Type | Description | Required | Notes
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**group_id** | **uuid::Uuid** | ユーザーグループUUID | [required] |
**file** | **std::path::PathBuf** | アイコン画像(1MBまでのpng, jpeg, gif) | [required] |
**file** | **std::path::PathBuf** | アイコン画像(2MBまでのpng, jpeg, gif) | [required] |

### Return type

Expand Down
30 changes: 29 additions & 1 deletion docs/MeApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Method | HTTP request | Description
[**get_my_unread_channels**](MeApi.md#get_my_unread_channels) | **GET** /users/me/unread | 未読チャンネルを取得
[**get_my_user_tags**](MeApi.md#get_my_user_tags) | **GET** /users/me/tags | 自分のタグリストを取得
[**get_my_view_states**](MeApi.md#get_my_view_states) | **GET** /users/me/view-states | 自身のチャンネル閲覧状態一覧を取得
[**get_oidc_user_info**](MeApi.md#get_oidc_user_info) | **GET** /users/me/oidc | 自分のユーザー詳細を取得 (OIDC UserInfo)
[**get_user_settings**](MeApi.md#get_user_settings) | **GET** /users/me/settings | ユーザー設定を取得
[**link_external_account**](MeApi.md#link_external_account) | **POST** /users/me/ex-accounts/link | 外部ログインアカウントを紐付ける
[**read_channel**](MeApi.md#read_channel) | **DELETE** /users/me/unread/{channelId} | チャンネルを既読にする
Expand Down Expand Up @@ -109,7 +110,7 @@ Name | Type | Description | Required | Notes

Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**file** | **std::path::PathBuf** | アイコン画像(1MBまでのpng, jpeg, gif) | [required] |
**file** | **std::path::PathBuf** | アイコン画像(2MBまでのpng, jpeg, gif) | [required] |

### Return type

Expand Down Expand Up @@ -605,6 +606,33 @@ This endpoint does not need any parameter.
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_oidc_user_info

> crate::models::OidcUserInfo get_oidc_user_info()
自分のユーザー詳細を取得 (OIDC UserInfo)

OIDCトークンを用いてユーザー詳細を取得します。 OIDC UserInfo Endpointです。

### Parameters

This endpoint does not need any parameter.

### Return type

[**crate::models::OidcUserInfo**](OIDCUserInfo.md)

### Authorization

[OAuth2](../README.md#OAuth2), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_user_settings

> crate::models::UserSettings get_user_settings()
Expand Down
1 change: 1 addition & 0 deletions docs/OAuth2Client.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Name | Type | Description | Notes
**description** | **String** | 説明 |
**developer_id** | [**uuid::Uuid**](uuid::Uuid.md) | クライアント開発者UUID |
**scopes** | [**Vec<crate::models::OAuth2Scope>**](OAuth2Scope.md) | 要求スコープの配列 |
**confidential** | **bool** | confidential client なら true, public client なら false |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
1 change: 1 addition & 0 deletions docs/OAuth2ClientDetail.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Name | Type | Description | Notes
**scopes** | [**Vec<crate::models::OAuth2Scope>**](OAuth2Scope.md) | 要求スコープの配列 |
**callback_url** | **String** | コールバックURL |
**secret** | **String** | クライアントシークレット |
**confidential** | **bool** | confidential client なら true, public client なら false |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
31 changes: 31 additions & 0 deletions docs/Oauth2Api.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Method | HTTP request | Description
[**post_o_auth2_authorize**](Oauth2Api.md#post_o_auth2_authorize) | **POST** /oauth2/authorize | OAuth2 認可エンドポイント
[**post_o_auth2_authorize_decide**](Oauth2Api.md#post_o_auth2_authorize_decide) | **POST** /oauth2/authorize/decide | OAuth2 認可承諾API
[**post_o_auth2_token**](Oauth2Api.md#post_o_auth2_token) | **POST** /oauth2/token | OAuth2 トークンエンドポイント
[**revoke_client_tokens**](Oauth2Api.md#revoke_client_tokens) | **DELETE** /clients/{clientId}/tokens | OAuthクライアントのトークンを削除
[**revoke_my_token**](Oauth2Api.md#revoke_my_token) | **DELETE** /users/me/tokens/{tokenId} | トークンの認可を取り消す
[**revoke_o_auth2_token**](Oauth2Api.md#revoke_o_auth2_token) | **POST** /oauth2/revoke | OAuth2 トークン無効化エンドポイント

Expand Down Expand Up @@ -343,6 +344,36 @@ Name | Type | Description | Required | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## revoke_client_tokens

> revoke_client_tokens(client_id)
OAuthクライアントのトークンを削除

自分が許可している指定したOAuthクライアントのアクセストークンを全てRevokeします。

### Parameters


Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**client_id** | **String** | OAuth2クライアントUUID | [required] |

### Return type

(empty response body)

### Authorization

[OAuth2](../README.md#OAuth2), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: Not defined

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## revoke_my_token

> revoke_my_token(token_id)
Expand Down
21 changes: 21 additions & 0 deletions docs/OidcTraqUserInfo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# OidcTraqUserInfo

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**bio** | **String** | 自己紹介(biography) |
**groups** | [**Vec<uuid::Uuid>**](uuid::Uuid.md) | 所属グループのUUIDの配列 |
**tags** | [**Vec<crate::models::UserTag>**](UserTag.md) | タグリスト |
**last_online** | Option<**String**> | 最終オンライン日時 |
**twitter_id** | **String** | Twitter ID |
**display_name** | **String** | ユーザー表示名 |
**icon_file_id** | [**uuid::Uuid**](uuid::Uuid.md) | アイコンファイルUUID |
**bot** | **bool** | BOTかどうか |
**state** | [**crate::models::UserAccountState**](UserAccountState.md) | |
**permissions** | [**Vec<crate::models::UserPermission>**](UserPermission.md) | 所有している権限の配列 |
**home_channel** | Option<[**uuid::Uuid**](uuid::Uuid.md)> | ホームチャンネル |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


16 changes: 16 additions & 0 deletions docs/OidcUserInfo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# OidcUserInfo

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**sub** | [**uuid::Uuid**](uuid::Uuid.md) | ユーザーUUID |
**name** | **String** | ユーザー名 |
**preferred_username** | **String** | ユーザー名 |
**picture** | **String** | アイコン画像URL |
**updated_at** | Option<**i64**> | 更新日時 | [optional]
**traq** | Option<[**crate::models::OidcTraqUserInfo**](OIDCTraqUserInfo.md)> | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


1 change: 1 addition & 0 deletions docs/PatchBotRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Name | Type | Description | Notes
**endpoint** | Option<**String**> | BOTサーバーエンドポイント | [optional]
**developer_id** | Option<[**uuid::Uuid**](uuid::Uuid.md)> | 移譲先の開発者UUID | [optional]
**subscribe_events** | Option<**Vec<String>**> | 購読するイベント | [optional]
**bio** | Option<**String**> | 自己紹介(biography) | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
1 change: 1 addition & 0 deletions docs/PatchClientRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Name | Type | Description | Notes
**description** | Option<**String**> | 説明 | [optional]
**callback_url** | Option<**String**> | コールバックURL | [optional]
**developer_id** | Option<[**uuid::Uuid**](uuid::Uuid.md)> | クライアント開発者UUID | [optional]
**confidential** | Option<**bool**> | confidential client なら true, public client なら false | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
1 change: 1 addition & 0 deletions docs/PostClientRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Name | Type | Description | Notes
**callback_url** | **String** | コールバックURL |
**scopes** | [**Vec<crate::models::OAuth2Scope>**](OAuth2Scope.md) | 要求スコープの配列 |
**description** | **String** | 説明 |
**confidential** | Option<**bool**> | confidential client なら true, public cleint なら false | [optional][default to false]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
6 changes: 5 additions & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ Class | Method | HTTP request | Description
*MeApi* | [**get_my_unread_channels**](MeApi.md#get_my_unread_channels) | **GET** /users/me/unread | 未読チャンネルを取得
*MeApi* | [**get_my_user_tags**](MeApi.md#get_my_user_tags) | **GET** /users/me/tags | 自分のタグリストを取得
*MeApi* | [**get_my_view_states**](MeApi.md#get_my_view_states) | **GET** /users/me/view-states | 自身のチャンネル閲覧状態一覧を取得
*MeApi* | [**get_oidc_user_info**](MeApi.md#get_oidc_user_info) | **GET** /users/me/oidc | 自分のユーザー詳細を取得 (OIDC UserInfo)
*MeApi* | [**get_user_settings**](MeApi.md#get_user_settings) | **GET** /users/me/settings | ユーザー設定を取得
*MeApi* | [**link_external_account**](MeApi.md#link_external_account) | **POST** /users/me/ex-accounts/link | 外部ログインアカウントを紐付ける
*MeApi* | [**read_channel**](MeApi.md#read_channel) | **DELETE** /users/me/unread/{channelId} | チャンネルを既読にする
Expand Down Expand Up @@ -160,6 +161,7 @@ Class | Method | HTTP request | Description
*Oauth2Api* | [**post_o_auth2_authorize**](Oauth2Api.md#post_o_auth2_authorize) | **POST** /oauth2/authorize | OAuth2 認可エンドポイント
*Oauth2Api* | [**post_o_auth2_authorize_decide**](Oauth2Api.md#post_o_auth2_authorize_decide) | **POST** /oauth2/authorize/decide | OAuth2 認可承諾API
*Oauth2Api* | [**post_o_auth2_token**](Oauth2Api.md#post_o_auth2_token) | **POST** /oauth2/token | OAuth2 トークンエンドポイント
*Oauth2Api* | [**revoke_client_tokens**](Oauth2Api.md#revoke_client_tokens) | **DELETE** /clients/{clientId}/tokens | OAuthクライアントのトークンを削除
*Oauth2Api* | [**revoke_my_token**](Oauth2Api.md#revoke_my_token) | **DELETE** /users/me/tokens/{tokenId} | トークンの認可を取り消す
*Oauth2Api* | [**revoke_o_auth2_token**](Oauth2Api.md#revoke_o_auth2_token) | **POST** /oauth2/revoke | OAuth2 トークン無効化エンドポイント
*OgpApi* | [**delete_ogp_cache**](OgpApi.md#delete_ogp_cache) | **DELETE** /ogp/cache | OGP情報のキャッシュを削除
Expand Down Expand Up @@ -278,6 +280,8 @@ Class | Method | HTTP request | Description
- [OAuth2Token](OAuth2Token.md)
- [Ogp](Ogp.md)
- [OgpMedia](OgpMedia.md)
- [OidcTraqUserInfo](OidcTraqUserInfo.md)
- [OidcUserInfo](OidcUserInfo.md)
- [ParentChangedEvent](ParentChangedEvent.md)
- [PatchBotRequest](PatchBotRequest.md)
- [PatchChannelRequest](PatchChannelRequest.md)
Expand Down Expand Up @@ -322,6 +326,7 @@ Class | Method | HTTP request | Description
- [PutMyPasswordRequest](PutMyPasswordRequest.md)
- [PutNotifyCitationRequest](PutNotifyCitationRequest.md)
- [PutUserPasswordRequest](PutUserPasswordRequest.md)
- [Session](Session.md)
- [Stamp](Stamp.md)
- [StampHistoryEntry](StampHistoryEntry.md)
- [StampPalette](StampPalette.md)
Expand Down Expand Up @@ -349,7 +354,6 @@ Class | Method | HTTP request | Description
- [VisibilityChangedEvent](VisibilityChangedEvent.md)
- [WebRtcAuthenticateResult](WebRtcAuthenticateResult.md)
- [WebRtcUserState](WebRtcUserState.md)
- [WebRtcUserStateSessionsInner](WebRtcUserStateSessionsInner.md)
- [Webhook](Webhook.md)


Expand Down
12 changes: 12 additions & 0 deletions docs/Session.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Session

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**state** | **String** | 状態 |
**session_id** | **String** | セッションID |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


4 changes: 2 additions & 2 deletions docs/UserApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Name | Type | Description | Required | Notes
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**user_id** | **uuid::Uuid** | ユーザーUUID | [required] |
**file** | **std::path::PathBuf** | アイコン画像(1MBまでのpng, jpeg, gif) | [required] |
**file** | **std::path::PathBuf** | アイコン画像(2MBまでのpng, jpeg, gif) | [required] |

### Return type

Expand Down Expand Up @@ -286,7 +286,7 @@ DMチャンネル情報を取得

Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**user_id** | **String** | | [required] |
**user_id** | **uuid::Uuid** | | [required] |

### Return type

Expand Down
2 changes: 1 addition & 1 deletion docs/WebRtcUserState.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**user_id** | [**uuid::Uuid**](uuid::Uuid.md) | ユーザーUUID |
**channel_id** | [**uuid::Uuid**](uuid::Uuid.md) | チャンネルUUID |
**sessions** | [**Vec<crate::models::WebRtcUserStateSessionsInner>**](WebRTCUserState_sessions_inner.md) | セッションの配列 |
**sessions** | [**Vec<crate::models::Session>**](Session.md) | セッションの配列 |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
2 changes: 1 addition & 1 deletion docs/WebhookApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Webhookのアイコンを変更
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**webhook_id** | **uuid::Uuid** | WebhookUUID | [required] |
**file** | **std::path::PathBuf** | アイコン画像(1MBまでのpng, jpeg, gif) | [required] |
**file** | **std::path::PathBuf** | アイコン画像(2MBまでのpng, jpeg, gif) | [required] |

### Return type

Expand Down
Loading
Loading