Skip to content

Commit 9e7b942

Browse files
author
OpenAPI Bot
committed
Update OpenAPI Client for 0.0.26
1 parent 15e1309 commit 9e7b942

File tree

63 files changed

+569
-1624
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+569
-1624
lines changed

packages/djangoflow_openapi/.openapi-generator/FILES

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,14 @@ doc/TokenBlacklistRequest.md
4444
doc/TokenObtainRequest.md
4545
doc/TokenRefreshRequest.md
4646
doc/TokenVerifyRequest.md
47+
doc/User.md
4748
doc/User2FA.md
4849
doc/UserDevice.md
4950
doc/UserDeviceRequest.md
5051
doc/UserDeviceTypeEnum.md
5152
doc/UserIdentity.md
5253
doc/UserIdentityRequest.md
54+
doc/UserRequest.md
5355
lib/djangoflow_openapi.dart
5456
lib/src/api.dart
5557
lib/src/api/auth_api.dart
@@ -100,12 +102,14 @@ lib/src/model/token_blacklist_request.dart
100102
lib/src/model/token_obtain_request.dart
101103
lib/src/model/token_refresh_request.dart
102104
lib/src/model/token_verify_request.dart
105+
lib/src/model/user.dart
103106
lib/src/model/user2_fa.dart
104107
lib/src/model/user_device.dart
105108
lib/src/model/user_device_request.dart
106109
lib/src/model/user_device_type_enum.dart
107110
lib/src/model/user_identity.dart
108111
lib/src/model/user_identity_request.dart
112+
lib/src/model/user_request.dart
109113
pubspec.yaml
110114
test/action_enum_test.dart
111115
test/auth_api_test.dart
@@ -155,3 +159,5 @@ test/user_device_test.dart
155159
test/user_device_type_enum_test.dart
156160
test/user_identity_request_test.dart
157161
test/user_identity_test.dart
162+
test/user_request_test.dart
163+
test/user_test.dart

packages/djangoflow_openapi/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This Dart package is automatically generated by the [OpenAPI Generator](https://
1818
To use the package from [pub.dev](https://pub.dev), please include the following in pubspec.yaml
1919
```yaml
2020
dependencies:
21-
djangoflow_openapi: 0.0.25
21+
djangoflow_openapi: 0.0.26
2222
```
2323
2424
### Github
@@ -87,6 +87,7 @@ Class | Method | HTTP request | Description
8787
[*ChatApi*](doc/ChatApi.md) | [**chatRoomsDestroy**](doc/ChatApi.md#chatroomsdestroy) | **DELETE** /api/v1/chat/rooms/{id}/ |
8888
[*ChatApi*](doc/ChatApi.md) | [**chatRoomsList**](doc/ChatApi.md#chatroomslist) | **GET** /api/v1/chat/rooms/ |
8989
[*ChatApi*](doc/ChatApi.md) | [**chatRoomsMemberCreate**](doc/ChatApi.md#chatroomsmembercreate) | **POST** /api/v1/chat/rooms/{id}/member/ |
90+
[*ChatApi*](doc/ChatApi.md) | [**chatRoomsMembersRetrieve**](doc/ChatApi.md#chatroomsmembersretrieve) | **GET** /api/v1/chat/rooms/{id}/members/ |
9091
[*ChatApi*](doc/ChatApi.md) | [**chatRoomsMessagesCreate**](doc/ChatApi.md#chatroomsmessagescreate) | **POST** /api/v1/chat/rooms/{room_id}/messages/ |
9192
[*ChatApi*](doc/ChatApi.md) | [**chatRoomsMessagesDestroy**](doc/ChatApi.md#chatroomsmessagesdestroy) | **DELETE** /api/v1/chat/rooms/{room_id}/messages/{id}/ |
9293
[*ChatApi*](doc/ChatApi.md) | [**chatRoomsMessagesList**](doc/ChatApi.md#chatroomsmessageslist) | **GET** /api/v1/chat/rooms/{room_id}/messages/ |
@@ -146,12 +147,14 @@ Class | Method | HTTP request | Description
146147
- [TokenObtainRequest](doc/TokenObtainRequest.md)
147148
- [TokenRefreshRequest](doc/TokenRefreshRequest.md)
148149
- [TokenVerifyRequest](doc/TokenVerifyRequest.md)
150+
- [User](doc/User.md)
149151
- [User2FA](doc/User2FA.md)
150152
- [UserDevice](doc/UserDevice.md)
151153
- [UserDeviceRequest](doc/UserDeviceRequest.md)
152154
- [UserDeviceTypeEnum](doc/UserDeviceTypeEnum.md)
153155
- [UserIdentity](doc/UserIdentity.md)
154156
- [UserIdentityRequest](doc/UserIdentityRequest.md)
157+
- [UserRequest](doc/UserRequest.md)
155158

156159

157160
## Documentation For Authorization

packages/djangoflow_openapi/doc/ChatApi.md

Lines changed: 61 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Method | HTTP request | Description
1313
[**chatRoomsDestroy**](ChatApi.md#chatroomsdestroy) | **DELETE** /api/v1/chat/rooms/{id}/ |
1414
[**chatRoomsList**](ChatApi.md#chatroomslist) | **GET** /api/v1/chat/rooms/ |
1515
[**chatRoomsMemberCreate**](ChatApi.md#chatroomsmembercreate) | **POST** /api/v1/chat/rooms/{id}/member/ |
16+
[**chatRoomsMembersRetrieve**](ChatApi.md#chatroomsmembersretrieve) | **GET** /api/v1/chat/rooms/{id}/members/ |
1617
[**chatRoomsMessagesCreate**](ChatApi.md#chatroomsmessagescreate) | **POST** /api/v1/chat/rooms/{room_id}/messages/ |
1718
[**chatRoomsMessagesDestroy**](ChatApi.md#chatroomsmessagesdestroy) | **DELETE** /api/v1/chat/rooms/{room_id}/messages/{id}/ |
1819
[**chatRoomsMessagesList**](ChatApi.md#chatroomsmessageslist) | **GET** /api/v1/chat/rooms/{room_id}/messages/ |
@@ -120,7 +121,7 @@ void (empty response body)
120121
[[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)
121122

122123
# **chatRoomsList**
123-
> PaginatedChatRoomList chatRoomsList(cursor)
124+
> PaginatedChatRoomList chatRoomsList(limit, offset)
124125
125126

126127

@@ -136,10 +137,11 @@ import 'package:djangoflow_openapi/api.dart';
136137
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookieAuth').apiKeyPrefix = 'Bearer';
137138
138139
final api = DjangoflowOpenapi().getChatApi();
139-
final String cursor = cursor_example; // String | The pagination cursor value.
140+
final int limit = 56; // int | Number of results to return per page.
141+
final int offset = 56; // int | The initial index from which to return the results.
140142
141143
try {
142-
final response = api.chatRoomsList(cursor);
144+
final response = api.chatRoomsList(limit, offset);
143145
print(response);
144146
} catch on DioError (e) {
145147
print('Exception when calling ChatApi->chatRoomsList: $e\n');
@@ -150,7 +152,8 @@ try {
150152

151153
Name | Type | Description | Notes
152154
------------- | ------------- | ------------- | -------------
153-
**cursor** | **String**| The pagination cursor value. | [optional]
155+
**limit** | **int**| Number of results to return per page. | [optional]
156+
**offset** | **int**| The initial index from which to return the results. | [optional]
154157

155158
### Return type
156159

@@ -217,6 +220,54 @@ Name | Type | Description | Notes
217220

218221
[[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)
219222

223+
# **chatRoomsMembersRetrieve**
224+
> User chatRoomsMembersRetrieve(id)
225+
226+
227+
228+
### Example
229+
```dart
230+
import 'package:djangoflow_openapi/api.dart';
231+
// TODO Configure HTTP basic authorization: basicAuth
232+
//defaultApiClient.getAuthentication<HttpBasicAuth>('basicAuth').username = 'YOUR_USERNAME'
233+
//defaultApiClient.getAuthentication<HttpBasicAuth>('basicAuth').password = 'YOUR_PASSWORD';
234+
// TODO Configure API key authorization: cookieAuth
235+
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookieAuth').apiKey = 'YOUR_API_KEY';
236+
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
237+
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookieAuth').apiKeyPrefix = 'Bearer';
238+
239+
final api = DjangoflowOpenapi().getChatApi();
240+
final String id = id_example; // String |
241+
242+
try {
243+
final response = api.chatRoomsMembersRetrieve(id);
244+
print(response);
245+
} catch on DioError (e) {
246+
print('Exception when calling ChatApi->chatRoomsMembersRetrieve: $e\n');
247+
}
248+
```
249+
250+
### Parameters
251+
252+
Name | Type | Description | Notes
253+
------------- | ------------- | ------------- | -------------
254+
**id** | **String**| |
255+
256+
### Return type
257+
258+
[**User**](User.md)
259+
260+
### Authorization
261+
262+
[basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
263+
264+
### HTTP request headers
265+
266+
- **Content-Type**: Not defined
267+
- **Accept**: application/json
268+
269+
[[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)
270+
220271
# **chatRoomsMessagesCreate**
221272
> ChatMessage chatRoomsMessagesCreate(roomId, chatMessageRequest)
222273
@@ -309,7 +360,7 @@ void (empty response body)
309360
[[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)
310361

311362
# **chatRoomsMessagesList**
312-
> PaginatedChatMessageList chatRoomsMessagesList(roomId, cursor)
363+
> PaginatedChatMessageList chatRoomsMessagesList(roomId, limit, offset)
313364
314365

315366

@@ -322,10 +373,11 @@ import 'package:djangoflow_openapi/api.dart';
322373
323374
final api = DjangoflowOpenapi().getChatApi();
324375
final int roomId = 56; // int |
325-
final String cursor = cursor_example; // String | The pagination cursor value.
376+
final int limit = 56; // int | Number of results to return per page.
377+
final int offset = 56; // int | The initial index from which to return the results.
326378
327379
try {
328-
final response = api.chatRoomsMessagesList(roomId, cursor);
380+
final response = api.chatRoomsMessagesList(roomId, limit, offset);
329381
print(response);
330382
} catch on DioError (e) {
331383
print('Exception when calling ChatApi->chatRoomsMessagesList: $e\n');
@@ -337,7 +389,8 @@ try {
337389
Name | Type | Description | Notes
338390
------------- | ------------- | ------------- | -------------
339391
**roomId** | **int**| |
340-
**cursor** | **String**| The pagination cursor value. | [optional]
392+
**limit** | **int**| Number of results to return per page. | [optional]
393+
**offset** | **int**| The initial index from which to return the results. | [optional]
341394

342395
### Return type
343396

packages/djangoflow_openapi/doc/ChatMessage.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
1313
**createdBy** | **int** | | [optional]
1414
**message** | **String** | |
1515
**created** | [**DateTime**](DateTime.md) | | [optional]
16+
**user** | [**User**](User.md) | | [optional]
1617

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

packages/djangoflow_openapi/doc/PaginatedChatMessageList.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import 'package:djangoflow_openapi/api.dart';
88
## Properties
99
Name | Type | Description | Notes
1010
------------ | ------------- | ------------- | -------------
11+
**count** | **int** | |
1112
**next** | **String** | | [optional]
1213
**previous** | **String** | | [optional]
1314
**results** | [**List&lt;ChatMessage&gt;**](ChatMessage.md) | |

packages/djangoflow_openapi/doc/PaginatedChatRoomList.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import 'package:djangoflow_openapi/api.dart';
88
## Properties
99
Name | Type | Description | Notes
1010
------------ | ------------- | ------------- | -------------
11+
**count** | **int** | |
1112
**next** | **String** | | [optional]
1213
**previous** | **String** | | [optional]
1314
**results** | [**List&lt;ChatRoom&gt;**](ChatRoom.md) | |
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# djangoflow_openapi.model.User
2+
3+
## Load the model package
4+
```dart
5+
import 'package:djangoflow_openapi/api.dart';
6+
```
7+
8+
## Properties
9+
Name | Type | Description | Notes
10+
------------ | ------------- | ------------- | -------------
11+
**id** | **int** | | [optional]
12+
**firstName** | **String** | | [optional]
13+
**lastName** | **String** | | [optional]
14+
15+
[[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+
17+
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# djangoflow_openapi.model.UserRequest
2+
3+
## Load the model package
4+
```dart
5+
import 'package:djangoflow_openapi/api.dart';
6+
```
7+
8+
## Properties
9+
Name | Type | Description | Notes
10+
------------ | ------------- | ------------- | -------------
11+
**firstName** | **String** | | [optional]
12+
**lastName** | **String** | | [optional]
13+
14+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
15+
16+

packages/djangoflow_openapi/lib/djangoflow_openapi.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,11 @@ export 'package:djangoflow_openapi/src/model/token_blacklist_request.dart';
5151
export 'package:djangoflow_openapi/src/model/token_obtain_request.dart';
5252
export 'package:djangoflow_openapi/src/model/token_refresh_request.dart';
5353
export 'package:djangoflow_openapi/src/model/token_verify_request.dart';
54+
export 'package:djangoflow_openapi/src/model/user.dart';
5455
export 'package:djangoflow_openapi/src/model/user2_fa.dart';
5556
export 'package:djangoflow_openapi/src/model/user_device.dart';
5657
export 'package:djangoflow_openapi/src/model/user_device_request.dart';
5758
export 'package:djangoflow_openapi/src/model/user_device_type_enum.dart';
5859
export 'package:djangoflow_openapi/src/model/user_identity.dart';
5960
export 'package:djangoflow_openapi/src/model/user_identity_request.dart';
61+
export 'package:djangoflow_openapi/src/model/user_request.dart';

0 commit comments

Comments
 (0)