Skip to content

Commit

Permalink
Update OpenAPI Client for 0.0.30
Browse files Browse the repository at this point in the history
  • Loading branch information
OpenAPI Bot committed Mar 26, 2024
1 parent 5e23c45 commit 54deb9f
Show file tree
Hide file tree
Showing 63 changed files with 173 additions and 2,004 deletions.
21 changes: 9 additions & 12 deletions packages/djangoflow_openapi/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ doc/AuthApi.md
doc/ChangePasswordRequest.md
doc/ChatApi.md
doc/ChatMessage.md
doc/ChatMessageRequest.md
doc/ChatMessageUpdate.md
doc/ChatMessageUpdateRequest.md
doc/ChatMessageCreateUpdate.md
doc/ChatMessageCreateUpdateRequest.md
doc/ChatRoom.md
doc/ChatRoomMemberList.md
doc/ChatRoomMembers.md
Expand All @@ -29,7 +28,7 @@ doc/PaginatedChatMessageList.md
doc/PaginatedChatRoomList.md
doc/PaginatedOTPDeviceList.md
doc/PaginatedUserDeviceList.md
doc/PatchedChatMessageUpdateRequest.md
doc/PatchedChatMessageCreateUpdateRequest.md
doc/PatchedChatRoomRequest.md
doc/PatchedUser2FARequest.md
doc/PatchedUserDeviceRequest.md
Expand Down Expand Up @@ -68,9 +67,8 @@ lib/src/deserialize.dart
lib/src/model/action_enum.dart
lib/src/model/change_password_request.dart
lib/src/model/chat_message.dart
lib/src/model/chat_message_request.dart
lib/src/model/chat_message_update.dart
lib/src/model/chat_message_update_request.dart
lib/src/model/chat_message_create_update.dart
lib/src/model/chat_message_create_update_request.dart
lib/src/model/chat_room.dart
lib/src/model/chat_room_member_list.dart
lib/src/model/chat_room_members.dart
Expand All @@ -89,7 +87,7 @@ lib/src/model/paginated_chat_message_list.dart
lib/src/model/paginated_chat_room_list.dart
lib/src/model/paginated_otp_device_list.dart
lib/src/model/paginated_user_device_list.dart
lib/src/model/patched_chat_message_update_request.dart
lib/src/model/patched_chat_message_create_update_request.dart
lib/src/model/patched_chat_room_request.dart
lib/src/model/patched_user2_fa_request.dart
lib/src/model/patched_user_device_request.dart
Expand Down Expand Up @@ -117,10 +115,9 @@ test/action_enum_test.dart
test/auth_api_test.dart
test/change_password_request_test.dart
test/chat_api_test.dart
test/chat_message_request_test.dart
test/chat_message_create_update_request_test.dart
test/chat_message_create_update_test.dart
test/chat_message_test.dart
test/chat_message_update_request_test.dart
test/chat_message_update_test.dart
test/chat_room_member_list_test.dart
test/chat_room_members_request_test.dart
test/chat_room_members_test.dart
Expand All @@ -140,7 +137,7 @@ test/paginated_chat_message_list_test.dart
test/paginated_chat_room_list_test.dart
test/paginated_otp_device_list_test.dart
test/paginated_user_device_list_test.dart
test/patched_chat_message_update_request_test.dart
test/patched_chat_message_create_update_request_test.dart
test/patched_chat_room_request_test.dart
test/patched_user2_fa_request_test.dart
test/patched_user_device_request_test.dart
Expand Down
9 changes: 4 additions & 5 deletions packages/djangoflow_openapi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This Dart package is automatically generated by the [OpenAPI Generator](https://
To use the package from [pub.dev](https://pub.dev), please include the following in pubspec.yaml
```yaml
dependencies:
djangoflow_openapi: 0.0.29
djangoflow_openapi: 0.0.30
```

### Github
Expand Down Expand Up @@ -112,9 +112,8 @@ Class | Method | HTTP request | Description
- [ActionEnum](doc/ActionEnum.md)
- [ChangePasswordRequest](doc/ChangePasswordRequest.md)
- [ChatMessage](doc/ChatMessage.md)
- [ChatMessageRequest](doc/ChatMessageRequest.md)
- [ChatMessageUpdate](doc/ChatMessageUpdate.md)
- [ChatMessageUpdateRequest](doc/ChatMessageUpdateRequest.md)
- [ChatMessageCreateUpdate](doc/ChatMessageCreateUpdate.md)
- [ChatMessageCreateUpdateRequest](doc/ChatMessageCreateUpdateRequest.md)
- [ChatRoom](doc/ChatRoom.md)
- [ChatRoomMemberList](doc/ChatRoomMemberList.md)
- [ChatRoomMembers](doc/ChatRoomMembers.md)
Expand All @@ -133,7 +132,7 @@ Class | Method | HTTP request | Description
- [PaginatedChatRoomList](doc/PaginatedChatRoomList.md)
- [PaginatedOTPDeviceList](doc/PaginatedOTPDeviceList.md)
- [PaginatedUserDeviceList](doc/PaginatedUserDeviceList.md)
- [PatchedChatMessageUpdateRequest](doc/PatchedChatMessageUpdateRequest.md)
- [PatchedChatMessageCreateUpdateRequest](doc/PatchedChatMessageCreateUpdateRequest.md)
- [PatchedChatRoomRequest](doc/PatchedChatRoomRequest.md)
- [PatchedUser2FARequest](doc/PatchedUser2FARequest.md)
- [PatchedUserDeviceRequest](doc/PatchedUserDeviceRequest.md)
Expand Down
54 changes: 27 additions & 27 deletions packages/djangoflow_openapi/doc/ChatApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ Name | Type | Description | 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)

# **chatRoomsMessagesCreate**
> ChatMessage chatRoomsMessagesCreate(roomId, chatMessageRequest)
> ChatMessageCreateUpdate chatRoomsMessagesCreate(roomId, chatMessageCreateUpdateRequest)


Expand All @@ -281,11 +281,11 @@ import 'package:djangoflow_openapi/api.dart';
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').password = 'YOUR_PASSWORD';
final api = DjangoflowOpenapi().getChatApi();
final String roomId = roomId_example; // String |
final ChatMessageRequest chatMessageRequest = ; // ChatMessageRequest |
final int roomId = 56; // int |
final ChatMessageCreateUpdateRequest chatMessageCreateUpdateRequest = ; // ChatMessageCreateUpdateRequest |
try {
final response = api.chatRoomsMessagesCreate(roomId, chatMessageRequest);
final response = api.chatRoomsMessagesCreate(roomId, chatMessageCreateUpdateRequest);
print(response);
} catch on DioError (e) {
print('Exception when calling ChatApi->chatRoomsMessagesCreate: $e\n');
Expand All @@ -296,12 +296,12 @@ try {

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**roomId** | **String**| |
**chatMessageRequest** | [**ChatMessageRequest**](ChatMessageRequest.md)| |
**roomId** | **int**| |
**chatMessageCreateUpdateRequest** | [**ChatMessageCreateUpdateRequest**](ChatMessageCreateUpdateRequest.md)| |

### Return type

[**ChatMessage**](ChatMessage.md)
[**ChatMessageCreateUpdate**](ChatMessageCreateUpdate.md)

### Authorization

Expand All @@ -328,7 +328,7 @@ import 'package:djangoflow_openapi/api.dart';
final api = DjangoflowOpenapi().getChatApi();
final int id = 56; // int | A unique integer value identifying this chat message.
final String roomId = roomId_example; // String |
final int roomId = 56; // int |
try {
api.chatRoomsMessagesDestroy(id, roomId);
Expand All @@ -342,7 +342,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **int**| A unique integer value identifying this chat message. |
**roomId** | **String**| |
**roomId** | **int**| |

### Return type

Expand Down Expand Up @@ -372,7 +372,7 @@ import 'package:djangoflow_openapi/api.dart';
//defaultApiClient.getAuthentication<HttpBasicAuth>('jwtAuth').password = 'YOUR_PASSWORD';
final api = DjangoflowOpenapi().getChatApi();
final String roomId = roomId_example; // String |
final int roomId = 56; // int |
final int limit = 56; // int | Number of results to return per page.
final int offset = 56; // int | The initial index from which to return the results.
Expand All @@ -388,7 +388,7 @@ try {

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**roomId** | **String**| |
**roomId** | **int**| |
**limit** | **int**| Number of results to return per page. | [optional]
**offset** | **int**| The initial index from which to return the results. | [optional]

Expand All @@ -408,7 +408,7 @@ Name | Type | Description | 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)

# **chatRoomsMessagesPartialUpdate**
> ChatMessageUpdate chatRoomsMessagesPartialUpdate(id, roomId, patchedChatMessageUpdateRequest)
> ChatMessageCreateUpdate chatRoomsMessagesPartialUpdate(id, roomId, patchedChatMessageCreateUpdateRequest)


Expand All @@ -421,11 +421,11 @@ import 'package:djangoflow_openapi/api.dart';
final api = DjangoflowOpenapi().getChatApi();
final int id = 56; // int | A unique integer value identifying this chat message.
final String roomId = roomId_example; // String |
final PatchedChatMessageUpdateRequest patchedChatMessageUpdateRequest = ; // PatchedChatMessageUpdateRequest |
final int roomId = 56; // int |
final PatchedChatMessageCreateUpdateRequest patchedChatMessageCreateUpdateRequest = ; // PatchedChatMessageCreateUpdateRequest |
try {
final response = api.chatRoomsMessagesPartialUpdate(id, roomId, patchedChatMessageUpdateRequest);
final response = api.chatRoomsMessagesPartialUpdate(id, roomId, patchedChatMessageCreateUpdateRequest);
print(response);
} catch on DioError (e) {
print('Exception when calling ChatApi->chatRoomsMessagesPartialUpdate: $e\n');
Expand All @@ -437,12 +437,12 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **int**| A unique integer value identifying this chat message. |
**roomId** | **String**| |
**patchedChatMessageUpdateRequest** | [**PatchedChatMessageUpdateRequest**](PatchedChatMessageUpdateRequest.md)| | [optional]
**roomId** | **int**| |
**patchedChatMessageCreateUpdateRequest** | [**PatchedChatMessageCreateUpdateRequest**](PatchedChatMessageCreateUpdateRequest.md)| | [optional]

### Return type

[**ChatMessageUpdate**](ChatMessageUpdate.md)
[**ChatMessageCreateUpdate**](ChatMessageCreateUpdate.md)

### Authorization

Expand All @@ -469,7 +469,7 @@ import 'package:djangoflow_openapi/api.dart';
final api = DjangoflowOpenapi().getChatApi();
final int id = 56; // int | A unique integer value identifying this chat message.
final String roomId = roomId_example; // String |
final int roomId = 56; // int |
try {
final response = api.chatRoomsMessagesRetrieve(id, roomId);
Expand All @@ -484,7 +484,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **int**| A unique integer value identifying this chat message. |
**roomId** | **String**| |
**roomId** | **int**| |

### Return type

Expand All @@ -502,7 +502,7 @@ Name | Type | Description | 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)

# **chatRoomsMessagesUpdate**
> ChatMessageUpdate chatRoomsMessagesUpdate(id, roomId, chatMessageUpdateRequest)
> ChatMessageCreateUpdate chatRoomsMessagesUpdate(id, roomId, chatMessageCreateUpdateRequest)


Expand All @@ -515,11 +515,11 @@ import 'package:djangoflow_openapi/api.dart';
final api = DjangoflowOpenapi().getChatApi();
final int id = 56; // int | A unique integer value identifying this chat message.
final String roomId = roomId_example; // String |
final ChatMessageUpdateRequest chatMessageUpdateRequest = ; // ChatMessageUpdateRequest |
final int roomId = 56; // int |
final ChatMessageCreateUpdateRequest chatMessageCreateUpdateRequest = ; // ChatMessageCreateUpdateRequest |
try {
final response = api.chatRoomsMessagesUpdate(id, roomId, chatMessageUpdateRequest);
final response = api.chatRoomsMessagesUpdate(id, roomId, chatMessageCreateUpdateRequest);
print(response);
} catch on DioError (e) {
print('Exception when calling ChatApi->chatRoomsMessagesUpdate: $e\n');
Expand All @@ -531,12 +531,12 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **int**| A unique integer value identifying this chat message. |
**roomId** | **String**| |
**chatMessageUpdateRequest** | [**ChatMessageUpdateRequest**](ChatMessageUpdateRequest.md)| |
**roomId** | **int**| |
**chatMessageCreateUpdateRequest** | [**ChatMessageCreateUpdateRequest**](ChatMessageCreateUpdateRequest.md)| |

### Return type

[**ChatMessageUpdate**](ChatMessageUpdate.md)
[**ChatMessageCreateUpdate**](ChatMessageCreateUpdate.md)

### Authorization

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# djangoflow_openapi.model.ChatMessageUpdate
# djangoflow_openapi.model.ChatMessageCreateUpdate

## Load the model package
```dart
Expand All @@ -11,9 +11,9 @@ Name | Type | Description | Notes
**id** | **int** | | [optional]
**created** | [**DateTime**](DateTime.md) | | [optional]
**modified** | [**DateTime**](DateTime.md) | | [optional]
**message** | **String** | |
**chatRoom** | **int** | | [optional]
**createdBy** | **int** | | [optional]
**createdBy** | [**User**](User.md) | | [optional]
**message** | **String** | |

[[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
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# djangoflow_openapi.model.ChatMessageUpdateRequest
# djangoflow_openapi.model.ChatMessageCreateUpdateRequest

## Load the model package
```dart
Expand Down
16 changes: 0 additions & 16 deletions packages/djangoflow_openapi/doc/ChatMessageRequest.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# djangoflow_openapi.model.PatchedChatMessageUpdateRequest
# djangoflow_openapi.model.PatchedChatMessageCreateUpdateRequest

## Load the model package
```dart
Expand Down
7 changes: 3 additions & 4 deletions packages/djangoflow_openapi/lib/djangoflow_openapi.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ export 'package:djangoflow_openapi/src/api/remoteconfig_api.dart';
export 'package:djangoflow_openapi/src/model/action_enum.dart';
export 'package:djangoflow_openapi/src/model/change_password_request.dart';
export 'package:djangoflow_openapi/src/model/chat_message.dart';
export 'package:djangoflow_openapi/src/model/chat_message_request.dart';
export 'package:djangoflow_openapi/src/model/chat_message_update.dart';
export 'package:djangoflow_openapi/src/model/chat_message_update_request.dart';
export 'package:djangoflow_openapi/src/model/chat_message_create_update.dart';
export 'package:djangoflow_openapi/src/model/chat_message_create_update_request.dart';
export 'package:djangoflow_openapi/src/model/chat_room.dart';
export 'package:djangoflow_openapi/src/model/chat_room_member_list.dart';
export 'package:djangoflow_openapi/src/model/chat_room_members.dart';
Expand All @@ -37,7 +36,7 @@ export 'package:djangoflow_openapi/src/model/paginated_chat_message_list.dart';
export 'package:djangoflow_openapi/src/model/paginated_chat_room_list.dart';
export 'package:djangoflow_openapi/src/model/paginated_otp_device_list.dart';
export 'package:djangoflow_openapi/src/model/paginated_user_device_list.dart';
export 'package:djangoflow_openapi/src/model/patched_chat_message_update_request.dart';
export 'package:djangoflow_openapi/src/model/patched_chat_message_create_update_request.dart';
export 'package:djangoflow_openapi/src/model/patched_chat_room_request.dart';
export 'package:djangoflow_openapi/src/model/patched_user2_fa_request.dart';
export 'package:djangoflow_openapi/src/model/patched_user_device_request.dart';
Expand Down

0 comments on commit 54deb9f

Please sign in to comment.