Skip to content

Commit f159ae1

Browse files
HavenDVgithub-actions[bot]
andauthored
feat: Updated OpenAPI spec (#289)
Co-authored-by: github-actions[bot] <dependabot@bot.com>
1 parent e047a37 commit f159ae1

551 files changed

Lines changed: 2411 additions & 2411 deletions

File tree

Some content is hidden

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

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AdminApiKey.g.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -100,16 +100,16 @@ public sealed partial class AdminApiKey
100100
/// The redacted value of the API key<br/>
101101
/// Example: sk-admin...def
102102
/// </param>
103-
/// <param name="value">
104-
/// The value of the API key. Only shown on create.<br/>
105-
/// Example: sk-admin-1234abcd
106-
/// </param>
107103
/// <param name="createdAt">
108104
/// The Unix timestamp (in seconds) of when the API key was created<br/>
109105
/// Example: 1711471533
110106
/// </param>
111-
/// <param name="lastUsedAt"></param>
112107
/// <param name="owner"></param>
108+
/// <param name="value">
109+
/// The value of the API key. Only shown on create.<br/>
110+
/// Example: sk-admin-1234abcd
111+
/// </param>
112+
/// <param name="lastUsedAt"></param>
113113
#if NET7_0_OR_GREATER
114114
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
115115
#endif
@@ -127,10 +127,10 @@ public AdminApiKey(
127127
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
128128
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
129129
this.RedactedValue = redactedValue ?? throw new global::System.ArgumentNullException(nameof(redactedValue));
130-
this.CreatedAt = createdAt;
131-
this.Owner = owner ?? throw new global::System.ArgumentNullException(nameof(owner));
132130
this.Value = value;
131+
this.CreatedAt = createdAt;
133132
this.LastUsedAt = lastUsedAt;
133+
this.Owner = owner ?? throw new global::System.ArgumentNullException(nameof(owner));
134134
}
135135

136136
/// <summary>

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchCreateFileOperation.g.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,16 @@ public sealed partial class ApplyPatchCreateFileOperation
4040
/// <summary>
4141
/// Initializes a new instance of the <see cref="ApplyPatchCreateFileOperation" /> class.
4242
/// </summary>
43-
/// <param name="type">
44-
/// Create a new file with the provided diff.<br/>
45-
/// Default Value: create_file
46-
/// </param>
4743
/// <param name="path">
4844
/// Path of the file to create.
4945
/// </param>
5046
/// <param name="diff">
5147
/// Diff to apply.
5248
/// </param>
49+
/// <param name="type">
50+
/// Create a new file with the provided diff.<br/>
51+
/// Default Value: create_file
52+
/// </param>
5353
#if NET7_0_OR_GREATER
5454
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
5555
#endif
@@ -58,9 +58,9 @@ public ApplyPatchCreateFileOperation(
5858
string diff,
5959
global::tryAGI.OpenAI.ApplyPatchCreateFileOperationType type = global::tryAGI.OpenAI.ApplyPatchCreateFileOperationType.CreateFile)
6060
{
61+
this.Type = type;
6162
this.Path = path ?? throw new global::System.ArgumentNullException(nameof(path));
6263
this.Diff = diff ?? throw new global::System.ArgumentNullException(nameof(diff));
63-
this.Type = type;
6464
}
6565

6666
/// <summary>

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchCreateFileOperationParam.g.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,16 @@ public sealed partial class ApplyPatchCreateFileOperationParam
4040
/// <summary>
4141
/// Initializes a new instance of the <see cref="ApplyPatchCreateFileOperationParam" /> class.
4242
/// </summary>
43-
/// <param name="type">
44-
/// The operation type. Always `create_file`.<br/>
45-
/// Default Value: create_file
46-
/// </param>
4743
/// <param name="path">
4844
/// Path of the file to create relative to the workspace root.
4945
/// </param>
5046
/// <param name="diff">
5147
/// Unified diff content to apply when creating the file.
5248
/// </param>
49+
/// <param name="type">
50+
/// The operation type. Always `create_file`.<br/>
51+
/// Default Value: create_file
52+
/// </param>
5353
#if NET7_0_OR_GREATER
5454
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
5555
#endif
@@ -58,9 +58,9 @@ public ApplyPatchCreateFileOperationParam(
5858
string diff,
5959
global::tryAGI.OpenAI.ApplyPatchCreateFileOperationParamType type = global::tryAGI.OpenAI.ApplyPatchCreateFileOperationParamType.CreateFile)
6060
{
61+
this.Type = type;
6162
this.Path = path ?? throw new global::System.ArgumentNullException(nameof(path));
6263
this.Diff = diff ?? throw new global::System.ArgumentNullException(nameof(diff));
63-
this.Type = type;
6464
}
6565

6666
/// <summary>

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchDeleteFileOperation.g.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,22 @@ public sealed partial class ApplyPatchDeleteFileOperation
3333
/// <summary>
3434
/// Initializes a new instance of the <see cref="ApplyPatchDeleteFileOperation" /> class.
3535
/// </summary>
36+
/// <param name="path">
37+
/// Path of the file to delete.
38+
/// </param>
3639
/// <param name="type">
3740
/// Delete the specified file.<br/>
3841
/// Default Value: delete_file
3942
/// </param>
40-
/// <param name="path">
41-
/// Path of the file to delete.
42-
/// </param>
4343
#if NET7_0_OR_GREATER
4444
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
4545
#endif
4646
public ApplyPatchDeleteFileOperation(
4747
string path,
4848
global::tryAGI.OpenAI.ApplyPatchDeleteFileOperationType type = global::tryAGI.OpenAI.ApplyPatchDeleteFileOperationType.DeleteFile)
4949
{
50-
this.Path = path ?? throw new global::System.ArgumentNullException(nameof(path));
5150
this.Type = type;
51+
this.Path = path ?? throw new global::System.ArgumentNullException(nameof(path));
5252
}
5353

5454
/// <summary>

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchDeleteFileOperationParam.g.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,22 @@ public sealed partial class ApplyPatchDeleteFileOperationParam
3333
/// <summary>
3434
/// Initializes a new instance of the <see cref="ApplyPatchDeleteFileOperationParam" /> class.
3535
/// </summary>
36+
/// <param name="path">
37+
/// Path of the file to delete relative to the workspace root.
38+
/// </param>
3639
/// <param name="type">
3740
/// The operation type. Always `delete_file`.<br/>
3841
/// Default Value: delete_file
3942
/// </param>
40-
/// <param name="path">
41-
/// Path of the file to delete relative to the workspace root.
42-
/// </param>
4343
#if NET7_0_OR_GREATER
4444
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
4545
#endif
4646
public ApplyPatchDeleteFileOperationParam(
4747
string path,
4848
global::tryAGI.OpenAI.ApplyPatchDeleteFileOperationParamType type = global::tryAGI.OpenAI.ApplyPatchDeleteFileOperationParamType.DeleteFile)
4949
{
50-
this.Path = path ?? throw new global::System.ArgumentNullException(nameof(path));
5150
this.Type = type;
51+
this.Path = path ?? throw new global::System.ArgumentNullException(nameof(path));
5252
}
5353

5454
/// <summary>

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCall.g.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,6 @@ public sealed partial class ApplyPatchToolCall
6262
/// <summary>
6363
/// Initializes a new instance of the <see cref="ApplyPatchToolCall" /> class.
6464
/// </summary>
65-
/// <param name="type">
66-
/// The type of the item. Always `apply_patch_call`.<br/>
67-
/// Default Value: apply_patch_call
68-
/// </param>
6965
/// <param name="id">
7066
/// The unique ID of the apply patch tool call. Populated when this item is returned via API.
7167
/// </param>
@@ -81,6 +77,10 @@ public sealed partial class ApplyPatchToolCall
8177
/// <param name="createdBy">
8278
/// The ID of the entity that created this tool call.
8379
/// </param>
80+
/// <param name="type">
81+
/// The type of the item. Always `apply_patch_call`.<br/>
82+
/// Default Value: apply_patch_call
83+
/// </param>
8484
#if NET7_0_OR_GREATER
8585
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
8686
#endif
@@ -92,11 +92,11 @@ public ApplyPatchToolCall(
9292
string? createdBy,
9393
global::tryAGI.OpenAI.ApplyPatchToolCallType type = global::tryAGI.OpenAI.ApplyPatchToolCallType.ApplyPatchCall)
9494
{
95+
this.Type = type;
9596
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
9697
this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
9798
this.Status = status;
9899
this.Operation = operation;
99-
this.Type = type;
100100
this.CreatedBy = createdBy;
101101
}
102102

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCallItemParam.g.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,6 @@ public sealed partial class ApplyPatchToolCallItemParam
5555
/// <summary>
5656
/// Initializes a new instance of the <see cref="ApplyPatchToolCallItemParam" /> class.
5757
/// </summary>
58-
/// <param name="type">
59-
/// The type of the item. Always `apply_patch_call`.<br/>
60-
/// Default Value: apply_patch_call
61-
/// </param>
62-
/// <param name="id"></param>
6358
/// <param name="callId">
6459
/// The unique ID of the apply patch tool call generated by the model.
6560
/// </param>
@@ -69,6 +64,11 @@ public sealed partial class ApplyPatchToolCallItemParam
6964
/// <param name="operation">
7065
/// The specific create, delete, or update instruction for the apply_patch tool call.
7166
/// </param>
67+
/// <param name="id"></param>
68+
/// <param name="type">
69+
/// The type of the item. Always `apply_patch_call`.<br/>
70+
/// Default Value: apply_patch_call
71+
/// </param>
7272
#if NET7_0_OR_GREATER
7373
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
7474
#endif
@@ -79,11 +79,11 @@ public ApplyPatchToolCallItemParam(
7979
string? id,
8080
global::tryAGI.OpenAI.ApplyPatchToolCallItemParamType type = global::tryAGI.OpenAI.ApplyPatchToolCallItemParamType.ApplyPatchCall)
8181
{
82+
this.Type = type;
83+
this.Id = id;
8284
this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
8385
this.Status = status;
8486
this.Operation = operation;
85-
this.Type = type;
86-
this.Id = id;
8787
}
8888

8989
/// <summary>

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCallOutput.g.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,6 @@ public sealed partial class ApplyPatchToolCallOutput
6060
/// <summary>
6161
/// Initializes a new instance of the <see cref="ApplyPatchToolCallOutput" /> class.
6262
/// </summary>
63-
/// <param name="type">
64-
/// The type of the item. Always `apply_patch_call_output`.<br/>
65-
/// Default Value: apply_patch_call_output
66-
/// </param>
6763
/// <param name="id">
6864
/// The unique ID of the apply patch tool call output. Populated when this item is returned via API.
6965
/// </param>
@@ -77,6 +73,10 @@ public sealed partial class ApplyPatchToolCallOutput
7773
/// <param name="createdBy">
7874
/// The ID of the entity that created this tool call output.
7975
/// </param>
76+
/// <param name="type">
77+
/// The type of the item. Always `apply_patch_call_output`.<br/>
78+
/// Default Value: apply_patch_call_output
79+
/// </param>
8080
#if NET7_0_OR_GREATER
8181
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
8282
#endif
@@ -88,10 +88,10 @@ public ApplyPatchToolCallOutput(
8888
string? createdBy,
8989
global::tryAGI.OpenAI.ApplyPatchToolCallOutputType type = global::tryAGI.OpenAI.ApplyPatchToolCallOutputType.ApplyPatchCallOutput)
9090
{
91+
this.Type = type;
9192
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
9293
this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
9394
this.Status = status;
94-
this.Type = type;
9595
this.Output = output;
9696
this.CreatedBy = createdBy;
9797
}

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCallOutputItemParam.g.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,18 @@ public sealed partial class ApplyPatchToolCallOutputItemParam
5353
/// <summary>
5454
/// Initializes a new instance of the <see cref="ApplyPatchToolCallOutputItemParam" /> class.
5555
/// </summary>
56-
/// <param name="type">
57-
/// The type of the item. Always `apply_patch_call_output`.<br/>
58-
/// Default Value: apply_patch_call_output
59-
/// </param>
60-
/// <param name="id"></param>
6156
/// <param name="callId">
6257
/// The unique ID of the apply patch tool call generated by the model.
6358
/// </param>
6459
/// <param name="status">
6560
/// The status of the apply patch tool call output. One of `completed` or `failed`.
6661
/// </param>
62+
/// <param name="id"></param>
6763
/// <param name="output"></param>
64+
/// <param name="type">
65+
/// The type of the item. Always `apply_patch_call_output`.<br/>
66+
/// Default Value: apply_patch_call_output
67+
/// </param>
6868
#if NET7_0_OR_GREATER
6969
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
7070
#endif
@@ -75,10 +75,10 @@ public ApplyPatchToolCallOutputItemParam(
7575
string? output,
7676
global::tryAGI.OpenAI.ApplyPatchToolCallOutputItemParamType type = global::tryAGI.OpenAI.ApplyPatchToolCallOutputItemParamType.ApplyPatchCallOutput)
7777
{
78-
this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
79-
this.Status = status;
8078
this.Type = type;
8179
this.Id = id;
80+
this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
81+
this.Status = status;
8282
this.Output = output;
8383
}
8484

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchUpdateFileOperation.g.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,16 @@ public sealed partial class ApplyPatchUpdateFileOperation
4040
/// <summary>
4141
/// Initializes a new instance of the <see cref="ApplyPatchUpdateFileOperation" /> class.
4242
/// </summary>
43-
/// <param name="type">
44-
/// Update an existing file with the provided diff.<br/>
45-
/// Default Value: update_file
46-
/// </param>
4743
/// <param name="path">
4844
/// Path of the file to update.
4945
/// </param>
5046
/// <param name="diff">
5147
/// Diff to apply.
5248
/// </param>
49+
/// <param name="type">
50+
/// Update an existing file with the provided diff.<br/>
51+
/// Default Value: update_file
52+
/// </param>
5353
#if NET7_0_OR_GREATER
5454
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
5555
#endif
@@ -58,9 +58,9 @@ public ApplyPatchUpdateFileOperation(
5858
string diff,
5959
global::tryAGI.OpenAI.ApplyPatchUpdateFileOperationType type = global::tryAGI.OpenAI.ApplyPatchUpdateFileOperationType.UpdateFile)
6060
{
61+
this.Type = type;
6162
this.Path = path ?? throw new global::System.ArgumentNullException(nameof(path));
6263
this.Diff = diff ?? throw new global::System.ArgumentNullException(nameof(diff));
63-
this.Type = type;
6464
}
6565

6666
/// <summary>

0 commit comments

Comments
 (0)