diff --git a/.fern/metadata.json b/.fern/metadata.json
index dd87523..8819ebf 100644
--- a/.fern/metadata.json
+++ b/.fern/metadata.json
@@ -10,10 +10,10 @@
"base-exception-class-name": "CloudPDFException",
"base-api-exception-class-name": "CloudPDFApiException"
},
- "originGitCommit": "31a712963c171ce9ebd6815e873c9895e389afc2",
+ "originGitCommit": "08782e4eef6cd6ccce4b6a6883408d9915a2d7c4",
"originGitCommitIsDirty": false,
"invokedBy": "ci",
- "requestedVersion": "3.0.0-next.10",
+ "requestedVersion": "3.0.0-next.11",
"ciProvider": "github",
- "sdkVersion": "3.0.0-next.10"
+ "sdkVersion": "3.0.0-next.11"
}
\ No newline at end of file
diff --git a/cloudpdf-generation.json b/cloudpdf-generation.json
index 9019088..db9259d 100644
--- a/cloudpdf-generation.json
+++ b/cloudpdf-generation.json
@@ -1,12 +1,12 @@
{
"language": "csharp",
- "canonicalVersion": "3.0.0-next.10",
- "sdkVersion": "3.0.0-next.10",
+ "canonicalVersion": "3.0.0-next.11",
+ "sdkVersion": "3.0.0-next.11",
"source": {
"repository": "embedpdf/embed-pdf-viewer",
"openapi": "cloudpdf/contract/openapi.json",
- "openapiSha256": "9d6c7cdd459982ba9e718a3842c969003b466e3fd73883fef7783dc78e12cdfe",
- "gitCommit": "31a712963c171ce9ebd6815e873c9895e389afc2",
+ "openapiSha256": "7bc0eea37724b3e359b0437edc3102b137e3d3f499293c89bb2b3293c6e3b614",
+ "gitCommit": "08782e4eef6cd6ccce4b6a6883408d9915a2d7c4",
"gitCommitIsDirty": false
},
"fern": {
diff --git a/src/CloudPDF.Test/Unit/MockServer/Doc/Annotations/ListTest.cs b/src/CloudPDF.Test/Unit/MockServer/Doc/Annotations/ListTest.cs
index 1dbfdca..971a2ed 100644
--- a/src/CloudPDF.Test/Unit/MockServer/Doc/Annotations/ListTest.cs
+++ b/src/CloudPDF.Test/Unit/MockServer/Doc/Annotations/ListTest.cs
@@ -74,9 +74,8 @@ public async Task MockServerTest_1()
"actions": {
"activate": {
"root": {
- "type": "unknown",
+ "type": "javascript",
"subtype": "subtype",
- "script": "script",
"next": [
{
"key": "value"
@@ -84,7 +83,8 @@ public async Task MockServerTest_1()
{
"key": "value"
}
- ]
+ ],
+ "script": "script"
},
"incomplete": true,
"warningFlags": 1,
@@ -95,9 +95,8 @@ public async Task MockServerTest_1()
},
"cursorEnter": {
"root": {
- "type": "unknown",
+ "type": "javascript",
"subtype": "subtype",
- "script": "script",
"next": [
{
"key": "value"
@@ -105,7 +104,8 @@ public async Task MockServerTest_1()
{
"key": "value"
}
- ]
+ ],
+ "script": "script"
},
"incomplete": true,
"warningFlags": 1,
@@ -116,9 +116,8 @@ public async Task MockServerTest_1()
},
"cursorExit": {
"root": {
- "type": "unknown",
+ "type": "javascript",
"subtype": "subtype",
- "script": "script",
"next": [
{
"key": "value"
@@ -126,7 +125,8 @@ public async Task MockServerTest_1()
{
"key": "value"
}
- ]
+ ],
+ "script": "script"
},
"incomplete": true,
"warningFlags": 1,
@@ -137,9 +137,8 @@ public async Task MockServerTest_1()
},
"mouseDown": {
"root": {
- "type": "unknown",
+ "type": "javascript",
"subtype": "subtype",
- "script": "script",
"next": [
{
"key": "value"
@@ -147,7 +146,8 @@ public async Task MockServerTest_1()
{
"key": "value"
}
- ]
+ ],
+ "script": "script"
},
"incomplete": true,
"warningFlags": 1,
@@ -158,9 +158,8 @@ public async Task MockServerTest_1()
},
"mouseUp": {
"root": {
- "type": "unknown",
+ "type": "javascript",
"subtype": "subtype",
- "script": "script",
"next": [
{
"key": "value"
@@ -168,7 +167,8 @@ public async Task MockServerTest_1()
{
"key": "value"
}
- ]
+ ],
+ "script": "script"
},
"incomplete": true,
"warningFlags": 1,
@@ -179,9 +179,8 @@ public async Task MockServerTest_1()
},
"focus": {
"root": {
- "type": "unknown",
+ "type": "javascript",
"subtype": "subtype",
- "script": "script",
"next": [
{
"key": "value"
@@ -189,7 +188,8 @@ public async Task MockServerTest_1()
{
"key": "value"
}
- ]
+ ],
+ "script": "script"
},
"incomplete": true,
"warningFlags": 1,
@@ -200,9 +200,8 @@ public async Task MockServerTest_1()
},
"blur": {
"root": {
- "type": "unknown",
+ "type": "javascript",
"subtype": "subtype",
- "script": "script",
"next": [
{
"key": "value"
@@ -210,7 +209,8 @@ public async Task MockServerTest_1()
{
"key": "value"
}
- ]
+ ],
+ "script": "script"
},
"incomplete": true,
"warningFlags": 1,
@@ -221,9 +221,8 @@ public async Task MockServerTest_1()
},
"pageOpen": {
"root": {
- "type": "unknown",
+ "type": "javascript",
"subtype": "subtype",
- "script": "script",
"next": [
{
"key": "value"
@@ -231,7 +230,8 @@ public async Task MockServerTest_1()
{
"key": "value"
}
- ]
+ ],
+ "script": "script"
},
"incomplete": true,
"warningFlags": 1,
@@ -242,9 +242,8 @@ public async Task MockServerTest_1()
},
"pageClose": {
"root": {
- "type": "unknown",
+ "type": "javascript",
"subtype": "subtype",
- "script": "script",
"next": [
{
"key": "value"
@@ -252,7 +251,8 @@ public async Task MockServerTest_1()
{
"key": "value"
}
- ]
+ ],
+ "script": "script"
},
"incomplete": true,
"warningFlags": 1,
@@ -263,9 +263,8 @@ public async Task MockServerTest_1()
},
"pageVisible": {
"root": {
- "type": "unknown",
+ "type": "javascript",
"subtype": "subtype",
- "script": "script",
"next": [
{
"key": "value"
@@ -273,7 +272,8 @@ public async Task MockServerTest_1()
{
"key": "value"
}
- ]
+ ],
+ "script": "script"
},
"incomplete": true,
"warningFlags": 1,
@@ -284,9 +284,8 @@ public async Task MockServerTest_1()
},
"pageInvisible": {
"root": {
- "type": "unknown",
+ "type": "javascript",
"subtype": "subtype",
- "script": "script",
"next": [
{
"key": "value"
@@ -294,7 +293,8 @@ public async Task MockServerTest_1()
{
"key": "value"
}
- ]
+ ],
+ "script": "script"
},
"incomplete": true,
"warningFlags": 1,
@@ -397,9 +397,8 @@ public async Task MockServerTest_1()
"actions": {
"activate": {
"root": {
- "type": "unknown",
+ "type": "javascript",
"subtype": "subtype",
- "script": "script",
"next": [
{
"key": "value"
@@ -407,7 +406,8 @@ public async Task MockServerTest_1()
{
"key": "value"
}
- ]
+ ],
+ "script": "script"
},
"incomplete": true,
"warningFlags": 1,
@@ -418,9 +418,8 @@ public async Task MockServerTest_1()
},
"cursorEnter": {
"root": {
- "type": "unknown",
+ "type": "javascript",
"subtype": "subtype",
- "script": "script",
"next": [
{
"key": "value"
@@ -428,7 +427,8 @@ public async Task MockServerTest_1()
{
"key": "value"
}
- ]
+ ],
+ "script": "script"
},
"incomplete": true,
"warningFlags": 1,
@@ -439,9 +439,8 @@ public async Task MockServerTest_1()
},
"cursorExit": {
"root": {
- "type": "unknown",
+ "type": "javascript",
"subtype": "subtype",
- "script": "script",
"next": [
{
"key": "value"
@@ -449,7 +448,8 @@ public async Task MockServerTest_1()
{
"key": "value"
}
- ]
+ ],
+ "script": "script"
},
"incomplete": true,
"warningFlags": 1,
@@ -460,9 +460,8 @@ public async Task MockServerTest_1()
},
"mouseDown": {
"root": {
- "type": "unknown",
+ "type": "javascript",
"subtype": "subtype",
- "script": "script",
"next": [
{
"key": "value"
@@ -470,7 +469,8 @@ public async Task MockServerTest_1()
{
"key": "value"
}
- ]
+ ],
+ "script": "script"
},
"incomplete": true,
"warningFlags": 1,
@@ -481,9 +481,8 @@ public async Task MockServerTest_1()
},
"mouseUp": {
"root": {
- "type": "unknown",
+ "type": "javascript",
"subtype": "subtype",
- "script": "script",
"next": [
{
"key": "value"
@@ -491,7 +490,8 @@ public async Task MockServerTest_1()
{
"key": "value"
}
- ]
+ ],
+ "script": "script"
},
"incomplete": true,
"warningFlags": 1,
@@ -502,9 +502,8 @@ public async Task MockServerTest_1()
},
"focus": {
"root": {
- "type": "unknown",
+ "type": "javascript",
"subtype": "subtype",
- "script": "script",
"next": [
{
"key": "value"
@@ -512,7 +511,8 @@ public async Task MockServerTest_1()
{
"key": "value"
}
- ]
+ ],
+ "script": "script"
},
"incomplete": true,
"warningFlags": 1,
@@ -523,9 +523,8 @@ public async Task MockServerTest_1()
},
"blur": {
"root": {
- "type": "unknown",
+ "type": "javascript",
"subtype": "subtype",
- "script": "script",
"next": [
{
"key": "value"
@@ -533,7 +532,8 @@ public async Task MockServerTest_1()
{
"key": "value"
}
- ]
+ ],
+ "script": "script"
},
"incomplete": true,
"warningFlags": 1,
@@ -544,9 +544,8 @@ public async Task MockServerTest_1()
},
"pageOpen": {
"root": {
- "type": "unknown",
+ "type": "javascript",
"subtype": "subtype",
- "script": "script",
"next": [
{
"key": "value"
@@ -554,7 +553,8 @@ public async Task MockServerTest_1()
{
"key": "value"
}
- ]
+ ],
+ "script": "script"
},
"incomplete": true,
"warningFlags": 1,
@@ -565,9 +565,8 @@ public async Task MockServerTest_1()
},
"pageClose": {
"root": {
- "type": "unknown",
+ "type": "javascript",
"subtype": "subtype",
- "script": "script",
"next": [
{
"key": "value"
@@ -575,7 +574,8 @@ public async Task MockServerTest_1()
{
"key": "value"
}
- ]
+ ],
+ "script": "script"
},
"incomplete": true,
"warningFlags": 1,
@@ -586,9 +586,8 @@ public async Task MockServerTest_1()
},
"pageVisible": {
"root": {
- "type": "unknown",
+ "type": "javascript",
"subtype": "subtype",
- "script": "script",
"next": [
{
"key": "value"
@@ -596,7 +595,8 @@ public async Task MockServerTest_1()
{
"key": "value"
}
- ]
+ ],
+ "script": "script"
},
"incomplete": true,
"warningFlags": 1,
@@ -607,9 +607,8 @@ public async Task MockServerTest_1()
},
"pageInvisible": {
"root": {
- "type": "unknown",
+ "type": "javascript",
"subtype": "subtype",
- "script": "script",
"next": [
{
"key": "value"
@@ -617,7 +616,8 @@ public async Task MockServerTest_1()
{
"key": "value"
}
- ]
+ ],
+ "script": "script"
},
"incomplete": true,
"warningFlags": 1,
diff --git a/src/CloudPDF.Test/Unit/MockServer/Doc/Forms/GetTest.cs b/src/CloudPDF.Test/Unit/MockServer/Doc/Forms/GetTest.cs
index 2c448e4..af5d103 100644
--- a/src/CloudPDF.Test/Unit/MockServer/Doc/Forms/GetTest.cs
+++ b/src/CloudPDF.Test/Unit/MockServer/Doc/Forms/GetTest.cs
@@ -43,9 +43,8 @@ public async Task MockServerTest_1()
"actions": {
"keystroke": {
"root": {
- "type": "unknown",
+ "type": "javascript",
"subtype": "subtype",
- "script": "script",
"next": [
{
"key": "value"
@@ -53,7 +52,8 @@ public async Task MockServerTest_1()
{
"key": "value"
}
- ]
+ ],
+ "script": "script"
},
"incomplete": true,
"warningFlags": 1,
@@ -64,9 +64,8 @@ public async Task MockServerTest_1()
},
"format": {
"root": {
- "type": "unknown",
+ "type": "javascript",
"subtype": "subtype",
- "script": "script",
"next": [
{
"key": "value"
@@ -74,7 +73,8 @@ public async Task MockServerTest_1()
{
"key": "value"
}
- ]
+ ],
+ "script": "script"
},
"incomplete": true,
"warningFlags": 1,
@@ -85,9 +85,8 @@ public async Task MockServerTest_1()
},
"validate": {
"root": {
- "type": "unknown",
+ "type": "javascript",
"subtype": "subtype",
- "script": "script",
"next": [
{
"key": "value"
@@ -95,7 +94,8 @@ public async Task MockServerTest_1()
{
"key": "value"
}
- ]
+ ],
+ "script": "script"
},
"incomplete": true,
"warningFlags": 1,
@@ -106,9 +106,8 @@ public async Task MockServerTest_1()
},
"calculate": {
"root": {
- "type": "unknown",
+ "type": "javascript",
"subtype": "subtype",
- "script": "script",
"next": [
{
"key": "value"
@@ -116,7 +115,8 @@ public async Task MockServerTest_1()
{
"key": "value"
}
- ]
+ ],
+ "script": "script"
},
"incomplete": true,
"warningFlags": 1,
@@ -169,9 +169,8 @@ public async Task MockServerTest_1()
"actions": {
"keystroke": {
"root": {
- "type": "unknown",
+ "type": "javascript",
"subtype": "subtype",
- "script": "script",
"next": [
{
"key": "value"
@@ -179,7 +178,8 @@ public async Task MockServerTest_1()
{
"key": "value"
}
- ]
+ ],
+ "script": "script"
},
"incomplete": true,
"warningFlags": 1,
@@ -190,9 +190,8 @@ public async Task MockServerTest_1()
},
"format": {
"root": {
- "type": "unknown",
+ "type": "javascript",
"subtype": "subtype",
- "script": "script",
"next": [
{
"key": "value"
@@ -200,7 +199,8 @@ public async Task MockServerTest_1()
{
"key": "value"
}
- ]
+ ],
+ "script": "script"
},
"incomplete": true,
"warningFlags": 1,
@@ -211,9 +211,8 @@ public async Task MockServerTest_1()
},
"validate": {
"root": {
- "type": "unknown",
+ "type": "javascript",
"subtype": "subtype",
- "script": "script",
"next": [
{
"key": "value"
@@ -221,7 +220,8 @@ public async Task MockServerTest_1()
{
"key": "value"
}
- ]
+ ],
+ "script": "script"
},
"incomplete": true,
"warningFlags": 1,
@@ -232,9 +232,8 @@ public async Task MockServerTest_1()
},
"calculate": {
"root": {
- "type": "unknown",
+ "type": "javascript",
"subtype": "subtype",
- "script": "script",
"next": [
{
"key": "value"
@@ -242,7 +241,8 @@ public async Task MockServerTest_1()
{
"key": "value"
}
- ]
+ ],
+ "script": "script"
},
"incomplete": true,
"warningFlags": 1,
diff --git a/src/CloudPDF/CloudPDF.csproj b/src/CloudPDF/CloudPDF.csproj
index 20d78d3..8e5893e 100644
--- a/src/CloudPDF/CloudPDF.csproj
+++ b/src/CloudPDF/CloudPDF.csproj
@@ -11,7 +11,7 @@
enable
12
enable
- 3.0.0-next.10
+ 3.0.0-next.11
3.0.0.0
3.0.0.0
README.md
diff --git a/src/CloudPDF/Core/Public/Version.cs b/src/CloudPDF/Core/Public/Version.cs
index 020dbec..d51f479 100644
--- a/src/CloudPDF/Core/Public/Version.cs
+++ b/src/CloudPDF/Core/Public/Version.cs
@@ -3,5 +3,5 @@ namespace CloudPDF;
[Serializable]
internal class Version
{
- public const string Current = "3.0.0-next.10";
+ public const string Current = "3.0.0-next.11";
}
diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaret.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaret.cs
index 93589c2..277db11 100644
--- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaret.cs
+++ b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaret.cs
@@ -69,7 +69,7 @@ public record DocAnnotationsList200ResponseAnnotationsItemCaret : IJsonOnDeseria
public string? UpdatedBy { get; set; }
[JsonPropertyName("actions")]
- public DocAnnotationsList200ResponseAnnotationsItemCaretActions? Actions { get; set; }
+ public PdfAnnotationActions? Actions { get; set; }
[JsonPropertyName("color")]
public required DocAnnotationsList200ResponseAnnotationsItemCaretColor Color { get; set; }
diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActions.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActions.cs
deleted file mode 100644
index 8b88d44..0000000
--- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActions.cs
+++ /dev/null
@@ -1,58 +0,0 @@
-using CloudPDF.Core;
-using global::System.Text.Json;
-using global::System.Text.Json.Serialization;
-
-namespace CloudPDF;
-
-[Serializable]
-public record DocAnnotationsList200ResponseAnnotationsItemCaretActions : IJsonOnDeserialized
-{
- [JsonExtensionData]
- private readonly IDictionary _extensionData =
- new Dictionary();
-
- [JsonPropertyName("activate")]
- public DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivate? Activate { get; set; }
-
- [JsonPropertyName("cursorEnter")]
- public DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorEnter? CursorEnter { get; set; }
-
- [JsonPropertyName("cursorExit")]
- public DocAnnotationsList200ResponseAnnotationsItemCaretActionsCursorExit? CursorExit { get; set; }
-
- [JsonPropertyName("mouseDown")]
- public DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseDown? MouseDown { get; set; }
-
- [JsonPropertyName("mouseUp")]
- public DocAnnotationsList200ResponseAnnotationsItemCaretActionsMouseUp? MouseUp { get; set; }
-
- [JsonPropertyName("focus")]
- public DocAnnotationsList200ResponseAnnotationsItemCaretActionsFocus? Focus { get; set; }
-
- [JsonPropertyName("blur")]
- public DocAnnotationsList200ResponseAnnotationsItemCaretActionsBlur? Blur { get; set; }
-
- [JsonPropertyName("pageOpen")]
- public DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageOpen? PageOpen { get; set; }
-
- [JsonPropertyName("pageClose")]
- public DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageClose? PageClose { get; set; }
-
- [JsonPropertyName("pageVisible")]
- public DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageVisible? PageVisible { get; set; }
-
- [JsonPropertyName("pageInvisible")]
- public DocAnnotationsList200ResponseAnnotationsItemCaretActionsPageInvisible? PageInvisible { get; set; }
-
- [JsonIgnore]
- public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new();
-
- void IJsonOnDeserialized.OnDeserialized() =>
- AdditionalProperties.CopyFromExtensionData(_extensionData);
-
- ///
- public override string ToString()
- {
- return JsonUtils.Serialize(this);
- }
-}
diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivate.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivate.cs
deleted file mode 100644
index 50c885c..0000000
--- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivate.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-using CloudPDF.Core;
-using global::System.Text.Json;
-using global::System.Text.Json.Serialization;
-
-namespace CloudPDF;
-
-[Serializable]
-public record DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivate : IJsonOnDeserialized
-{
- [JsonExtensionData]
- private readonly IDictionary _extensionData =
- new Dictionary();
-
- [JsonPropertyName("root")]
- public DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRoot? Root { get; set; }
-
- [JsonPropertyName("incomplete")]
- public required bool Incomplete { get; set; }
-
- [JsonPropertyName("warningFlags")]
- public required int WarningFlags { get; set; }
-
- [JsonPropertyName("warnings")]
- public IEnumerable Warnings { get; set; } =
- new List();
-
- [JsonIgnore]
- public ReadOnlyAdditionalProperties AdditionalProperties { get; private set; } = new();
-
- void IJsonOnDeserialized.OnDeserialized() =>
- AdditionalProperties.CopyFromExtensionData(_extensionData);
-
- ///
- public override string ToString()
- {
- return JsonUtils.Serialize(this);
- }
-}
diff --git a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRoot.cs b/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRoot.cs
deleted file mode 100644
index 6a52459..0000000
--- a/src/CloudPDF/Types/DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRoot.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-using CloudPDF.Core;
-using global::System.Text.Json;
-using global::System.Text.Json.Serialization;
-
-namespace CloudPDF;
-
-[Serializable]
-public record DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRoot
- : IJsonOnDeserialized
-{
- [JsonExtensionData]
- private readonly IDictionary _extensionData =
- new Dictionary();
-
- [JsonPropertyName("type")]
- public required DocAnnotationsList200ResponseAnnotationsItemCaretActionsActivateRootType Type { get; set; }
-
- [JsonPropertyName("subtype")]
- public required string Subtype { get; set; }
-
- [JsonPropertyName("script")]
- public string? Script { get; set; }
-
- [JsonPropertyName("next")]
- public IEnumerable