Skip to content

Commit 75c2577

Browse files
committed
Upgrade C# SDK to spec 1.20.4
1 parent bb8f0a2 commit 75c2577

File tree

301 files changed

+6221
-792
lines changed

Some content is hidden

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

301 files changed

+6221
-792
lines changed

.openapi-generator/FILES

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ docs/CurrentUserPresence.md
6363
docs/DeveloperType.md
6464
docs/Disable2FAResult.md
6565
docs/DynamicContentRow.md
66+
docs/EconomyAccount.md
6667
docs/EconomyApi.md
6768
docs/Error.md
6869
docs/Favorite.md
@@ -130,6 +131,7 @@ docs/InstancesApi.md
130131
docs/Inventory.md
131132
docs/InventoryApi.md
132133
docs/InventoryDrop.md
134+
docs/InventoryFlag.md
133135
docs/InventoryItem.md
134136
docs/InventoryItemType.md
135137
docs/InventoryMetadata.md
@@ -166,6 +168,7 @@ docs/NotificationDetailRequestInviteResponse.md
166168
docs/NotificationDetailVoteToKick.md
167169
docs/NotificationType.md
168170
docs/NotificationsApi.md
171+
docs/OkStatus.md
169172
docs/OrderOption.md
170173
docs/PaginatedCalendarEventList.md
171174
docs/PaginatedGroupAuditLogEntryList.md
@@ -201,7 +204,12 @@ docs/Response.md
201204
docs/SentNotification.md
202205
docs/ServiceQueueStats.md
203206
docs/ServiceStatus.md
207+
docs/ShareInventoryItemDirectRequest.md
204208
docs/SortOption.md
209+
docs/Store.md
210+
docs/StoreShelf.md
211+
docs/StoreType.md
212+
docs/StoreView.md
205213
docs/Submission.md
206214
docs/Subscription.md
207215
docs/SubscriptionPeriod.md
@@ -227,6 +235,7 @@ docs/UpdateGroupMemberRequest.md
227235
docs/UpdateGroupRepresentationRequest.md
228236
docs/UpdateGroupRequest.md
229237
docs/UpdateGroupRoleRequest.md
238+
docs/UpdateInventoryItemRequest.md
230239
docs/UpdateInviteMessageRequest.md
231240
docs/UpdateUserBadgeRequest.md
232241
docs/UpdateUserNoteRequest.md
@@ -239,6 +248,7 @@ docs/UserNoteTargetUser.md
239248
docs/UserState.md
240249
docs/UserStatus.md
241250
docs/UserSubscription.md
251+
docs/UserSubscriptionEligible.md
242252
docs/UsersApi.md
243253
docs/Verify2FAEmailCodeResult.md
244254
docs/Verify2FAResult.md
@@ -344,6 +354,7 @@ src/VRChat.API/Model/CurrentUserPresence.cs
344354
src/VRChat.API/Model/DeveloperType.cs
345355
src/VRChat.API/Model/Disable2FAResult.cs
346356
src/VRChat.API/Model/DynamicContentRow.cs
357+
src/VRChat.API/Model/EconomyAccount.cs
347358
src/VRChat.API/Model/Error.cs
348359
src/VRChat.API/Model/Favorite.cs
349360
src/VRChat.API/Model/FavoriteGroup.cs
@@ -404,6 +415,7 @@ src/VRChat.API/Model/InstanceShortNameResponse.cs
404415
src/VRChat.API/Model/InstanceType.cs
405416
src/VRChat.API/Model/Inventory.cs
406417
src/VRChat.API/Model/InventoryDrop.cs
418+
src/VRChat.API/Model/InventoryFlag.cs
407419
src/VRChat.API/Model/InventoryItem.cs
408420
src/VRChat.API/Model/InventoryItemType.cs
409421
src/VRChat.API/Model/InventoryMetadata.cs
@@ -436,6 +448,7 @@ src/VRChat.API/Model/NotificationDetailRequestInvite.cs
436448
src/VRChat.API/Model/NotificationDetailRequestInviteResponse.cs
437449
src/VRChat.API/Model/NotificationDetailVoteToKick.cs
438450
src/VRChat.API/Model/NotificationType.cs
451+
src/VRChat.API/Model/OkStatus.cs
439452
src/VRChat.API/Model/OrderOption.cs
440453
src/VRChat.API/Model/PaginatedCalendarEventList.cs
441454
src/VRChat.API/Model/PaginatedGroupAuditLogEntryList.cs
@@ -468,7 +481,12 @@ src/VRChat.API/Model/Response.cs
468481
src/VRChat.API/Model/SentNotification.cs
469482
src/VRChat.API/Model/ServiceQueueStats.cs
470483
src/VRChat.API/Model/ServiceStatus.cs
484+
src/VRChat.API/Model/ShareInventoryItemDirectRequest.cs
471485
src/VRChat.API/Model/SortOption.cs
486+
src/VRChat.API/Model/Store.cs
487+
src/VRChat.API/Model/StoreShelf.cs
488+
src/VRChat.API/Model/StoreType.cs
489+
src/VRChat.API/Model/StoreView.cs
472490
src/VRChat.API/Model/Submission.cs
473491
src/VRChat.API/Model/Subscription.cs
474492
src/VRChat.API/Model/SubscriptionPeriod.cs
@@ -494,6 +512,7 @@ src/VRChat.API/Model/UpdateGroupMemberRequest.cs
494512
src/VRChat.API/Model/UpdateGroupRepresentationRequest.cs
495513
src/VRChat.API/Model/UpdateGroupRequest.cs
496514
src/VRChat.API/Model/UpdateGroupRoleRequest.cs
515+
src/VRChat.API/Model/UpdateInventoryItemRequest.cs
497516
src/VRChat.API/Model/UpdateInviteMessageRequest.cs
498517
src/VRChat.API/Model/UpdateUserBadgeRequest.cs
499518
src/VRChat.API/Model/UpdateUserNoteRequest.cs
@@ -506,6 +525,7 @@ src/VRChat.API/Model/UserNoteTargetUser.cs
506525
src/VRChat.API/Model/UserState.cs
507526
src/VRChat.API/Model/UserStatus.cs
508527
src/VRChat.API/Model/UserSubscription.cs
528+
src/VRChat.API/Model/UserSubscriptionEligible.cs
509529
src/VRChat.API/Model/Verify2FAEmailCodeResult.cs
510530
src/VRChat.API/Model/Verify2FAResult.cs
511531
src/VRChat.API/Model/VerifyAuthTokenResult.cs

docs/CalendarApi.md

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ All URIs are relative to *https://api.vrchat.cloud/api/1*
1313
| [**GetGroupCalendarEvent**](CalendarApi.md#getgroupcalendarevent) | **GET** /calendar/{groupId}/{calendarId} | Get a calendar event |
1414
| [**GetGroupCalendarEventICS**](CalendarApi.md#getgroupcalendareventics) | **GET** /calendar/{groupId}/{calendarId}.ics | Download calendar event as ICS |
1515
| [**GetGroupCalendarEvents**](CalendarApi.md#getgroupcalendarevents) | **GET** /calendar/{groupId} | List a group's calendar events |
16+
| [**SearchCalendarEvents**](CalendarApi.md#searchcalendarevents) | **GET** /calendar/search | Search for calendar events |
1617
| [**UpdateGroupCalendarEvent**](CalendarApi.md#updategroupcalendarevent) | **PUT** /calendar/{groupId}/{calendarId}/event | Update a calendar event |
1718

1819
<a name="creategroupcalendarevent"></a>
@@ -906,6 +907,109 @@ catch (ApiException e)
906907
- **Accept**: application/json
907908

908909

910+
### HTTP response details
911+
| Status code | Description | Response headers |
912+
|-------------|-------------|------------------|
913+
| **200** | Returns a list of CalendarEvent objects. | - |
914+
| **401** | Error response due to missing auth cookie. | - |
915+
916+
[[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)
917+
918+
<a name="searchcalendarevents"></a>
919+
# **SearchCalendarEvents**
920+
> PaginatedCalendarEventList SearchCalendarEvents (string searchTerm, int? utcOffset = null, int? n = null, int? offset = null)
921+
922+
Search for calendar events
923+
924+
Get a list of calendar events by search terms
925+
926+
### Example
927+
```csharp
928+
using System.Collections.Generic;
929+
using System.Diagnostics;
930+
using VRChat.API.Api;
931+
using VRChat.API.Client;
932+
using VRChat.API.Model;
933+
934+
namespace Example
935+
{
936+
public class SearchCalendarEventsExample
937+
{
938+
public static void Main()
939+
{
940+
Configuration config = new Configuration();
941+
config.BasePath = "https://api.vrchat.cloud/api/1";
942+
// Configure API key authorization: authCookie
943+
config.AddApiKey("auth", "YOUR_API_KEY");
944+
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
945+
// config.AddApiKeyPrefix("auth", "Bearer");
946+
947+
var apiInstance = new CalendarApi(config);
948+
var searchTerm = game night; // string | Search term for calendar events.
949+
var utcOffset = 56; // int? | The offset from UTC in hours of the client or authenticated user. (optional)
950+
var n = 60; // int? | The number of objects to return. (optional) (default to 60)
951+
var offset = 56; // int? | A zero-based offset from the default object sorting from where search results start. (optional)
952+
953+
try
954+
{
955+
// Search for calendar events
956+
PaginatedCalendarEventList result = apiInstance.SearchCalendarEvents(searchTerm, utcOffset, n, offset);
957+
Debug.WriteLine(result);
958+
}
959+
catch (ApiException e)
960+
{
961+
Debug.Print("Exception when calling CalendarApi.SearchCalendarEvents: " + e.Message);
962+
Debug.Print("Status Code: " + e.ErrorCode);
963+
Debug.Print(e.StackTrace);
964+
}
965+
}
966+
}
967+
}
968+
```
969+
970+
#### Using the SearchCalendarEventsWithHttpInfo variant
971+
This returns an ApiResponse object which contains the response data, status code and headers.
972+
973+
```csharp
974+
try
975+
{
976+
// Search for calendar events
977+
ApiResponse<PaginatedCalendarEventList> response = apiInstance.SearchCalendarEventsWithHttpInfo(searchTerm, utcOffset, n, offset);
978+
Debug.Write("Status Code: " + response.StatusCode);
979+
Debug.Write("Response Headers: " + response.Headers);
980+
Debug.Write("Response Body: " + response.Data);
981+
}
982+
catch (ApiException e)
983+
{
984+
Debug.Print("Exception when calling CalendarApi.SearchCalendarEventsWithHttpInfo: " + e.Message);
985+
Debug.Print("Status Code: " + e.ErrorCode);
986+
Debug.Print(e.StackTrace);
987+
}
988+
```
989+
990+
### Parameters
991+
992+
| Name | Type | Description | Notes |
993+
|------|------|-------------|-------|
994+
| **searchTerm** | **string** | Search term for calendar events. | |
995+
| **utcOffset** | **int?** | The offset from UTC in hours of the client or authenticated user. | [optional] |
996+
| **n** | **int?** | The number of objects to return. | [optional] [default to 60] |
997+
| **offset** | **int?** | A zero-based offset from the default object sorting from where search results start. | [optional] |
998+
999+
### Return type
1000+
1001+
[**PaginatedCalendarEventList**](PaginatedCalendarEventList.md)
1002+
1003+
### Authorization
1004+
1005+
[authCookie](../README.md#authCookie)
1006+
1007+
### HTTP request headers
1008+
1009+
- **Content-Type**: Not defined
1010+
- **Accept**: application/json
1011+
1012+
9091013
### HTTP response details
9101014
| Status code | Description | Response headers |
9111015
|-------------|-------------|------------------|

docs/CalendarEvent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
77
**AccessType** | **string** | |
88
**Category** | **string** | | [optional]
99
**CloseInstanceAfterEndMinutes** | **int** | | [optional]
10-
**CreatedAt** | **DateTime** | |
10+
**CreatedAt** | **DateTime** | | [optional]
1111
**DeletedAt** | **DateTime?** | | [optional]
1212
**Description** | **string** | | [optional]
1313
**EndsAt** | **DateTime** | | [optional]

docs/CurrentUserPresence.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Name | Type | Description | Notes
1717
**ProfilePicOverride** | **string** | | [optional]
1818
**Status** | **string** | either a UserStatus or empty string | [optional]
1919
**TravelingToInstance** | **string** | | [optional]
20-
**TravelingToWorld** | **string** | WorldID be \&quot;offline\&quot; on User profiles if you are not friends with that user. | [optional]
20+
**TravelingToWorld** | **string** | Represents a unique location, consisting of a world identifier and an instance identifier, or \&quot;offline\&quot; if the user is not on your friends list. | [optional]
2121
**UserIcon** | **string** | | [optional]
2222
**World** | **string** | WorldID be \&quot;offline\&quot; on User profiles if you are not friends with that user. | [optional]
2323

docs/EconomyAccount.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# VRChat.API.Model.EconomyAccount
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**AccountActivatedOn** | **DateTime?** | |
8+
**AccountId** | **string** | |
9+
**Blocked** | **bool** | |
10+
**CanSpend** | **bool** | |
11+
**Source** | **string** | |
12+
**UserId** | **string** | A users unique ID, usually in the form of &#x60;usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469&#x60;. Legacy players can have old IDs in the form of &#x60;8JoV9XEdpo&#x60;. The ID can never be changed. |
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+

0 commit comments

Comments
 (0)