Răsfoiți Sursa

test(api-test): 新增 assessment 用例;客户端按新规格重生

一句只留一条、再写即覆盖,所以用例不删数据,跑多少次都不累积。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
visuddhinanda 12 ore în urmă
părinte
comite
be01ff70fc
85 a modificat fișierele cu 268 adăugiri și 183 ștergeri
  1. 52 0
      api-test/cases/07_discussions.php
  2. 1 1
      api-test/client/lib/Api/AgentGrantsApi.php
  3. 10 10
      api-test/client/lib/Api/DiscussionsApi.php
  4. 1 1
      api-test/client/lib/Api/EmailCertificationsApi.php
  5. 1 1
      api-test/client/lib/Api/HeartbeatApi.php
  6. 1 1
      api-test/client/lib/Api/InvitesApi.php
  7. 1 1
      api-test/client/lib/Api/MeApi.php
  8. 1 1
      api-test/client/lib/Api/PasswordResetsApi.php
  9. 1 1
      api-test/client/lib/Api/ProgressApi.php
  10. 1 1
      api-test/client/lib/Api/ReactionsApi.php
  11. 1 1
      api-test/client/lib/Api/SearchApi.php
  12. 1 1
      api-test/client/lib/Api/SearchSuggestApi.php
  13. 1 1
      api-test/client/lib/Api/SessionsApi.php
  14. 6 6
      api-test/client/lib/Api/TipitakaDiscussionsApi.php
  15. 1 1
      api-test/client/lib/Api/TipitakaReadingApi.php
  16. 1 1
      api-test/client/lib/Api/TipitakaRelatedParagraphsApi.php
  17. 1 1
      api-test/client/lib/Api/UpgradeApi.php
  18. 1 1
      api-test/client/lib/Api/UsersApi.php
  19. 1 1
      api-test/client/lib/ApiException.php
  20. 2 2
      api-test/client/lib/Configuration.php
  21. 1 1
      api-test/client/lib/FormDataProcessor.php
  22. 1 1
      api-test/client/lib/HeaderSelector.php
  23. 1 1
      api-test/client/lib/Model/GetApiV3Discussions200Response.php
  24. 42 1
      api-test/client/lib/Model/GetApiV3Discussions200ResponseDataInner.php
  25. 1 1
      api-test/client/lib/Model/GetApiV3Discussions200ResponseDataInnerAbilities.php
  26. 1 1
      api-test/client/lib/Model/GetApiV3Discussions200ResponseDataInnerEditor.php
  27. 1 1
      api-test/client/lib/Model/GetApiV3Discussions200ResponseDataInnerSentence.php
  28. 1 1
      api-test/client/lib/Model/GetApiV3DiscussionsSummary200Response.php
  29. 1 1
      api-test/client/lib/Model/GetApiV3DiscussionsSummary200ResponseData.php
  30. 1 1
      api-test/client/lib/Model/GetApiV3DiscussionsSummary200ResponseDataStatusCounts.php
  31. 1 1
      api-test/client/lib/Model/GetApiV3Heartbeat200Response.php
  32. 1 1
      api-test/client/lib/Model/GetApiV3Heartbeat200ResponseData.php
  33. 1 1
      api-test/client/lib/Model/GetApiV3Me200Response.php
  34. 1 1
      api-test/client/lib/Model/GetApiV3Me200ResponseData.php
  35. 1 1
      api-test/client/lib/Model/GetApiV3MeReactions200Response.php
  36. 1 1
      api-test/client/lib/Model/GetApiV3MeReactions200ResponseDataInner.php
  37. 1 1
      api-test/client/lib/Model/GetApiV3PasswordResetsToken200Response.php
  38. 1 1
      api-test/client/lib/Model/GetApiV3PasswordResetsToken200ResponseData.php
  39. 1 1
      api-test/client/lib/Model/GetApiV3Progress200Response.php
  40. 1 1
      api-test/client/lib/Model/GetApiV3Progress200ResponseDataInner.php
  41. 1 1
      api-test/client/lib/Model/GetApiV3ReactionsTally200Response.php
  42. 1 1
      api-test/client/lib/Model/GetApiV3ReactionsTally200ResponseDataInner.php
  43. 1 1
      api-test/client/lib/Model/GetApiV3Search200Response.php
  44. 1 1
      api-test/client/lib/Model/GetApiV3SearchSearch200Response.php
  45. 1 1
      api-test/client/lib/Model/GetApiV3TipitakaReadingChannel200Response.php
  46. 1 1
      api-test/client/lib/Model/GetApiV3TipitakaReadingChannel200ResponseDataInner.php
  47. 1 1
      api-test/client/lib/Model/GetApiV3TipitakaReadingChannel200ResponseMeta.php
  48. 1 1
      api-test/client/lib/Model/GetApiV3TipitakaRelatedParagraphs200Response.php
  49. 1 1
      api-test/client/lib/Model/GetApiV3TipitakaRelatedParagraphs200ResponseDataInner.php
  50. 1 1
      api-test/client/lib/Model/GetApiV3TipitakaRelatedParagraphs200ResponseDataInnerPathInner.php
  51. 1 1
      api-test/client/lib/Model/GetApiV3TipitakaRelatedParagraphs200ResponseMeta.php
  52. 1 1
      api-test/client/lib/Model/GetApiV3TipitakaRelatedParagraphsAggregate200Response.php
  53. 1 1
      api-test/client/lib/Model/GetApiV3TipitakaRelatedParagraphsAggregate200ResponseDataInner.php
  54. 1 1
      api-test/client/lib/Model/GetApiV3TipitakaRelatedParagraphsAggregateBookName200Response.php
  55. 1 1
      api-test/client/lib/Model/GetApiV3TipitakaRelatedParagraphsAggregateBookName200ResponseDataInner.php
  56. 1 1
      api-test/client/lib/Model/ModelInterface.php
  57. 1 1
      api-test/client/lib/Model/PaginationMeta.php
  58. 38 42
      api-test/client/lib/Model/PatchApiV3DiscussionsDiscussionRequest.php
  59. 1 1
      api-test/client/lib/Model/PatchApiV3PasswordResetsTokenRequest.php
  60. 1 1
      api-test/client/lib/Model/PostApiV3AgentGrants200Response.php
  61. 1 1
      api-test/client/lib/Model/PostApiV3AgentGrants200ResponseData.php
  62. 1 1
      api-test/client/lib/Model/PostApiV3AgentGrantsRequest.php
  63. 1 1
      api-test/client/lib/Model/PostApiV3Discussions200Response.php
  64. 1 1
      api-test/client/lib/Model/PostApiV3DiscussionsBatchCount200Response.php
  65. 1 1
      api-test/client/lib/Model/PostApiV3DiscussionsBatchCount200ResponseDataInner.php
  66. 1 1
      api-test/client/lib/Model/PostApiV3DiscussionsBatchCountRequest.php
  67. 1 1
      api-test/client/lib/Model/PostApiV3DiscussionsBatchCountRequestTargetsInner.php
  68. 1 1
      api-test/client/lib/Model/PostApiV3DiscussionsDiscussionRepliesRequest.php
  69. 40 44
      api-test/client/lib/Model/PostApiV3DiscussionsRequest.php
  70. 1 1
      api-test/client/lib/Model/PostApiV3EmailCertificationsRequest.php
  71. 1 1
      api-test/client/lib/Model/PostApiV3Invites200Response.php
  72. 1 1
      api-test/client/lib/Model/PostApiV3Invites200ResponseData.php
  73. 1 1
      api-test/client/lib/Model/PostApiV3InvitesRequest.php
  74. 1 1
      api-test/client/lib/Model/PostApiV3MeReactions200Response.php
  75. 1 1
      api-test/client/lib/Model/PostApiV3MeReactionsRequest.php
  76. 1 1
      api-test/client/lib/Model/PostApiV3PasswordResetsRequest.php
  77. 1 1
      api-test/client/lib/Model/PostApiV3SearchRequest.php
  78. 1 1
      api-test/client/lib/Model/PostApiV3Sessions200Response.php
  79. 1 1
      api-test/client/lib/Model/PostApiV3Sessions200ResponseData.php
  80. 1 1
      api-test/client/lib/Model/PostApiV3SessionsRequest.php
  81. 1 1
      api-test/client/lib/Model/PostApiV3Users200Response.php
  82. 1 1
      api-test/client/lib/Model/PostApiV3Users200ResponseData.php
  83. 1 1
      api-test/client/lib/Model/PostApiV3UsersRequest.php
  84. 1 1
      api-test/client/lib/Model/ProblemDetails.php
  85. 1 1
      api-test/client/lib/ObjectSerializer.php

+ 52 - 0
api-test/cases/07_discussions.php

@@ -269,3 +269,55 @@ test('glossary 一轮:带锚点建 → 公开可读 → 不收锚点的类型
     }
     assert_status(200, $del, '删 glossary');
 });
+
+/* ---- 译文评估(assessment) ---- */
+
+/*
+ * 评估一句只留一条,再 POST 就覆盖,所以这里不删:测试句上始终至多一条评估,跑多少次都不会累积,
+ * 留着还能在阅读页上看到句尾的对勾(本地开发库的测试数据要保留,见 mint 的 memory)。
+ */
+test('assessment 一轮:建或覆盖 → 再评估覆盖同一条 → 公开可读 → 分数 / 方法校验 422 → PATCH 改分', function () {
+    $token = required_token();
+    $stamp = 'api-test-assessment-' . date('Ymd-His');
+    $post = fn (array $body) => raw('POST', '/v3/discussions', null, [
+        'target_type' => 'sentence', 'target_id' => discussion_target(), 'type' => 'assessment', ...$body,
+    ], $token);
+
+    // 第一次:句上没有评估就 201,已有就 200 覆盖
+    $first = $post(['score' => 55, 'severity' => 'api-test', 'content' => $stamp]);
+    if (! in_array($first['status'], [200, 201], true)) {
+        assert_status(201, $first, '建 assessment');
+    }
+    $id = $first['body']['data']['id'] ?? null;
+    if (! $id) {
+        fail('建 assessment:应返回 id');
+    }
+    assert_eq(55, $first['body']['data']['score'] ?? null, 'assessment score');
+    assert_eq('api-test', $first['body']['data']['severity'] ?? null, 'assessment 方法存在 severity');
+
+    // 再评估:覆盖同一条,200,id 不变
+    $again = $post(['score' => 82.5, 'severity' => 'api-test', 'title' => '复评', 'content' => $stamp]);
+    assert_status(200, $again, '再评估');
+    assert_eq($id, $again['body']['data']['id'] ?? null, '再评估覆盖同一条');
+    assert_eq(82.5, $again['body']['data']['score'] ?? null, '覆盖后的 score');
+
+    // 公开:匿名也读得到;不带 type 的列表不列评估
+    assert_status(200, raw('GET', "/v3/discussions/{$id}"), '匿名读 assessment');
+    $listed = raw('GET', '/v3/discussions', ['target_type' => 'sentence', 'target_id' => discussion_target(), 'type' => 'assessment']);
+    assert_eq([$id], array_column($listed['body']['data'] ?? [], 'id'), 'type=assessment 列出这一条');
+
+    // 校验:缺分数、超范围、方法格式不对、其它类型带分数
+    assert_field_error('score', $post(['severity' => 'api-test']), 'assessment 缺 score');
+    assert_field_error('score', $post(['score' => 101, 'severity' => 'api-test']), 'assessment score 超范围');
+    assert_field_error('severity', $post(['score' => 50, 'severity' => 'bad method']), 'assessment 方法格式');
+    assert_field_error('score', raw('POST', '/v3/discussions', null, [
+        'target_type' => 'sentence', 'target_id' => discussion_target(), 'type' => 'issue',
+        'title' => $stamp, 'score' => 50, 'notify' => false,
+    ], $token), 'issue 带 score');
+
+    // PATCH 改分;评估没有开关
+    $patched = raw('PATCH', "/v3/discussions/{$id}", null, ['score' => 91], $token);
+    assert_status(200, $patched, 'PATCH assessment score');
+    assert_eq(91, $patched['body']['data']['score'] ?? null, 'PATCH 后的 score');
+    assert_field_error('status', raw('PATCH', "/v3/discussions/{$id}", null, ['status' => 'close'], $token), 'assessment 不能关闭');
+});

+ 1 - 1
api-test/client/lib/Api/AgentGrantsApi.php

@@ -14,7 +14,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 10 - 10
api-test/client/lib/Api/DiscussionsApi.php

@@ -14,7 +14,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */
@@ -477,7 +477,7 @@ class DiscussionsApi
      * @param  int|null $per_page 每页数量,最大 200 (optional, default to 15)
      * @param  string|null $type 类型,不传则只列评论线程 (optional)
      * @param  string|null $status 话题状态,不传则两种都要 (optional)
-     * @param  string|null $severity 严重程度,逗号分隔多选 (optional)
+     * @param  string|null $severity 严重程度(assessment 为评估方法),逗号分隔多选 (optional)
      * @param  string|null $sort 排序,前缀 - 表示倒序 (optional, default to '-created_at')
      * @param  int|null $page 页码 (optional, default to 1)
      * @param  string $contentType The value for the Content-Type header. Check self::contentTypes['getApiV3Discussions'] to see the possible values for this operation
@@ -502,7 +502,7 @@ class DiscussionsApi
      * @param  int|null $per_page 每页数量,最大 200 (optional, default to 15)
      * @param  string|null $type 类型,不传则只列评论线程 (optional)
      * @param  string|null $status 话题状态,不传则两种都要 (optional)
-     * @param  string|null $severity 严重程度,逗号分隔多选 (optional)
+     * @param  string|null $severity 严重程度(assessment 为评估方法),逗号分隔多选 (optional)
      * @param  string|null $sort 排序,前缀 - 表示倒序 (optional, default to '-created_at')
      * @param  int|null $page 页码 (optional, default to 1)
      * @param  string $contentType The value for the Content-Type header. Check self::contentTypes['getApiV3Discussions'] to see the possible values for this operation
@@ -608,7 +608,7 @@ class DiscussionsApi
      * @param  int|null $per_page 每页数量,最大 200 (optional, default to 15)
      * @param  string|null $type 类型,不传则只列评论线程 (optional)
      * @param  string|null $status 话题状态,不传则两种都要 (optional)
-     * @param  string|null $severity 严重程度,逗号分隔多选 (optional)
+     * @param  string|null $severity 严重程度(assessment 为评估方法),逗号分隔多选 (optional)
      * @param  string|null $sort 排序,前缀 - 表示倒序 (optional, default to '-created_at')
      * @param  int|null $page 页码 (optional, default to 1)
      * @param  string $contentType The value for the Content-Type header. Check self::contentTypes['getApiV3Discussions'] to see the possible values for this operation
@@ -636,7 +636,7 @@ class DiscussionsApi
      * @param  int|null $per_page 每页数量,最大 200 (optional, default to 15)
      * @param  string|null $type 类型,不传则只列评论线程 (optional)
      * @param  string|null $status 话题状态,不传则两种都要 (optional)
-     * @param  string|null $severity 严重程度,逗号分隔多选 (optional)
+     * @param  string|null $severity 严重程度(assessment 为评估方法),逗号分隔多选 (optional)
      * @param  string|null $sort 排序,前缀 - 表示倒序 (optional, default to '-created_at')
      * @param  int|null $page 页码 (optional, default to 1)
      * @param  string $contentType The value for the Content-Type header. Check self::contentTypes['getApiV3Discussions'] to see the possible values for this operation
@@ -693,7 +693,7 @@ class DiscussionsApi
      * @param  int|null $per_page 每页数量,最大 200 (optional, default to 15)
      * @param  string|null $type 类型,不传则只列评论线程 (optional)
      * @param  string|null $status 话题状态,不传则两种都要 (optional)
-     * @param  string|null $severity 严重程度,逗号分隔多选 (optional)
+     * @param  string|null $severity 严重程度(assessment 为评估方法),逗号分隔多选 (optional)
      * @param  string|null $sort 排序,前缀 - 表示倒序 (optional, default to '-created_at')
      * @param  int|null $page 页码 (optional, default to 1)
      * @param  string $contentType The value for the Content-Type header. Check self::contentTypes['getApiV3Discussions'] to see the possible values for this operation
@@ -2144,7 +2144,7 @@ class DiscussionsApi
     /**
      * Operation postApiV3Discussions
      *
-     * 发起话题或新建批注
+     * 发起话题、新建批注或评估
      *
      * @param  \WikipaliApi\Model\PostApiV3DiscussionsRequest $post_api_v3_discussions_request post_api_v3_discussions_request (required)
      * @param  string $contentType The value for the Content-Type header. Check self::contentTypes['postApiV3Discussions'] to see the possible values for this operation
@@ -2162,7 +2162,7 @@ class DiscussionsApi
     /**
      * Operation postApiV3DiscussionsWithHttpInfo
      *
-     * 发起话题或新建批注
+     * 发起话题、新建批注或评估
      *
      * @param  \WikipaliApi\Model\PostApiV3DiscussionsRequest $post_api_v3_discussions_request (required)
      * @param  string $contentType The value for the Content-Type header. Check self::contentTypes['postApiV3Discussions'] to see the possible values for this operation
@@ -2303,7 +2303,7 @@ class DiscussionsApi
     /**
      * Operation postApiV3DiscussionsAsync
      *
-     * 发起话题或新建批注
+     * 发起话题、新建批注或评估
      *
      * @param  \WikipaliApi\Model\PostApiV3DiscussionsRequest $post_api_v3_discussions_request (required)
      * @param  string $contentType The value for the Content-Type header. Check self::contentTypes['postApiV3Discussions'] to see the possible values for this operation
@@ -2324,7 +2324,7 @@ class DiscussionsApi
     /**
      * Operation postApiV3DiscussionsAsyncWithHttpInfo
      *
-     * 发起话题或新建批注
+     * 发起话题、新建批注或评估
      *
      * @param  \WikipaliApi\Model\PostApiV3DiscussionsRequest $post_api_v3_discussions_request (required)
      * @param  string $contentType The value for the Content-Type header. Check self::contentTypes['postApiV3Discussions'] to see the possible values for this operation

+ 1 - 1
api-test/client/lib/Api/EmailCertificationsApi.php

@@ -14,7 +14,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Api/HeartbeatApi.php

@@ -14,7 +14,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Api/InvitesApi.php

@@ -14,7 +14,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Api/MeApi.php

@@ -14,7 +14,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Api/PasswordResetsApi.php

@@ -14,7 +14,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Api/ProgressApi.php

@@ -14,7 +14,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Api/ReactionsApi.php

@@ -14,7 +14,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Api/SearchApi.php

@@ -14,7 +14,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Api/SearchSuggestApi.php

@@ -14,7 +14,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Api/SessionsApi.php

@@ -14,7 +14,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 6 - 6
api-test/client/lib/Api/TipitakaDiscussionsApi.php

@@ -14,7 +14,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */
@@ -138,7 +138,7 @@ class TipitakaDiscussionsApi
      * @param  int|null $to 结束段落号(含),缺省同 para (optional)
      * @param  string|null $type 类型,逗号分隔多选;不传则只列评论线程 (optional)
      * @param  string|null $status 话题状态,不传则两种都要 (optional)
-     * @param  string|null $severity 严重程度,逗号分隔多选 (optional)
+     * @param  string|null $severity 严重程度(assessment 为评估方法),逗号分隔多选 (optional)
      * @param  int|null $page 页码 (optional, default to 1)
      * @param  string $contentType The value for the Content-Type header. Check self::contentTypes['getApiV3TipitakaDiscussionsChannel'] to see the possible values for this operation
      *
@@ -165,7 +165,7 @@ class TipitakaDiscussionsApi
      * @param  int|null $to 结束段落号(含),缺省同 para (optional)
      * @param  string|null $type 类型,逗号分隔多选;不传则只列评论线程 (optional)
      * @param  string|null $status 话题状态,不传则两种都要 (optional)
-     * @param  string|null $severity 严重程度,逗号分隔多选 (optional)
+     * @param  string|null $severity 严重程度(assessment 为评估方法),逗号分隔多选 (optional)
      * @param  int|null $page 页码 (optional, default to 1)
      * @param  string $contentType The value for the Content-Type header. Check self::contentTypes['getApiV3TipitakaDiscussionsChannel'] to see the possible values for this operation
      *
@@ -287,7 +287,7 @@ class TipitakaDiscussionsApi
      * @param  int|null $to 结束段落号(含),缺省同 para (optional)
      * @param  string|null $type 类型,逗号分隔多选;不传则只列评论线程 (optional)
      * @param  string|null $status 话题状态,不传则两种都要 (optional)
-     * @param  string|null $severity 严重程度,逗号分隔多选 (optional)
+     * @param  string|null $severity 严重程度(assessment 为评估方法),逗号分隔多选 (optional)
      * @param  int|null $page 页码 (optional, default to 1)
      * @param  string $contentType The value for the Content-Type header. Check self::contentTypes['getApiV3TipitakaDiscussionsChannel'] to see the possible values for this operation
      *
@@ -317,7 +317,7 @@ class TipitakaDiscussionsApi
      * @param  int|null $to 结束段落号(含),缺省同 para (optional)
      * @param  string|null $type 类型,逗号分隔多选;不传则只列评论线程 (optional)
      * @param  string|null $status 话题状态,不传则两种都要 (optional)
-     * @param  string|null $severity 严重程度,逗号分隔多选 (optional)
+     * @param  string|null $severity 严重程度(assessment 为评估方法),逗号分隔多选 (optional)
      * @param  int|null $page 页码 (optional, default to 1)
      * @param  string $contentType The value for the Content-Type header. Check self::contentTypes['getApiV3TipitakaDiscussionsChannel'] to see the possible values for this operation
      *
@@ -376,7 +376,7 @@ class TipitakaDiscussionsApi
      * @param  int|null $to 结束段落号(含),缺省同 para (optional)
      * @param  string|null $type 类型,逗号分隔多选;不传则只列评论线程 (optional)
      * @param  string|null $status 话题状态,不传则两种都要 (optional)
-     * @param  string|null $severity 严重程度,逗号分隔多选 (optional)
+     * @param  string|null $severity 严重程度(assessment 为评估方法),逗号分隔多选 (optional)
      * @param  int|null $page 页码 (optional, default to 1)
      * @param  string $contentType The value for the Content-Type header. Check self::contentTypes['getApiV3TipitakaDiscussionsChannel'] to see the possible values for this operation
      *

+ 1 - 1
api-test/client/lib/Api/TipitakaReadingApi.php

@@ -14,7 +14,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Api/TipitakaRelatedParagraphsApi.php

@@ -14,7 +14,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Api/UpgradeApi.php

@@ -14,7 +14,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Api/UsersApi.php

@@ -14,7 +14,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/ApiException.php

@@ -14,7 +14,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 2 - 2
api-test/client/lib/Configuration.php

@@ -14,7 +14,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */
@@ -489,7 +489,7 @@ class Configuration
         $report  = 'PHP SDK (WikipaliApi) Debug Report:' . PHP_EOL;
         $report .= '    OS: ' . php_uname() . PHP_EOL;
         $report .= '    PHP Version: ' . PHP_VERSION . PHP_EOL;
-        $report .= '    The version of the OpenAPI document: 2026.10.21' . PHP_EOL;
+        $report .= '    The version of the OpenAPI document: 2026.10.22' . PHP_EOL;
         $report .= '    SDK Package Version: 1.0.0' . PHP_EOL;
         $report .= '    Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;
 

+ 1 - 1
api-test/client/lib/FormDataProcessor.php

@@ -14,7 +14,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/HeaderSelector.php

@@ -14,7 +14,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/GetApiV3Discussions200Response.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 42 - 1
api-test/client/lib/Model/GetApiV3Discussions200ResponseDataInner.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */
@@ -63,6 +63,7 @@ class GetApiV3Discussions200ResponseDataInner implements ModelInterface, ArrayAc
         'parent_id' => 'string',
         'type' => 'string',
         'severity' => 'string',
+        'score' => 'float',
         'status' => 'string',
         'title' => 'string',
         'content' => 'string',
@@ -99,6 +100,7 @@ class GetApiV3Discussions200ResponseDataInner implements ModelInterface, ArrayAc
         'parent_id' => null,
         'type' => null,
         'severity' => null,
+        'score' => null,
         'status' => null,
         'title' => null,
         'content' => null,
@@ -133,6 +135,7 @@ class GetApiV3Discussions200ResponseDataInner implements ModelInterface, ArrayAc
         'parent_id' => true,
         'type' => false,
         'severity' => true,
+        'score' => true,
         'status' => false,
         'title' => true,
         'content' => true,
@@ -247,6 +250,7 @@ class GetApiV3Discussions200ResponseDataInner implements ModelInterface, ArrayAc
         'parent_id' => 'parent_id',
         'type' => 'type',
         'severity' => 'severity',
+        'score' => 'score',
         'status' => 'status',
         'title' => 'title',
         'content' => 'content',
@@ -281,6 +285,7 @@ class GetApiV3Discussions200ResponseDataInner implements ModelInterface, ArrayAc
         'parent_id' => 'setParentId',
         'type' => 'setType',
         'severity' => 'setSeverity',
+        'score' => 'setScore',
         'status' => 'setStatus',
         'title' => 'setTitle',
         'content' => 'setContent',
@@ -315,6 +320,7 @@ class GetApiV3Discussions200ResponseDataInner implements ModelInterface, ArrayAc
         'parent_id' => 'getParentId',
         'type' => 'getType',
         'severity' => 'getSeverity',
+        'score' => 'getScore',
         'status' => 'getStatus',
         'title' => 'getTitle',
         'content' => 'getContent',
@@ -400,6 +406,7 @@ class GetApiV3Discussions200ResponseDataInner implements ModelInterface, ArrayAc
         $this->setIfExists('parent_id', $data ?? [], null);
         $this->setIfExists('type', $data ?? [], null);
         $this->setIfExists('severity', $data ?? [], null);
+        $this->setIfExists('score', $data ?? [], null);
         $this->setIfExists('status', $data ?? [], null);
         $this->setIfExists('title', $data ?? [], null);
         $this->setIfExists('content', $data ?? [], null);
@@ -640,6 +647,40 @@ class GetApiV3Discussions200ResponseDataInner implements ModelInterface, ArrayAc
         return $this;
     }
 
+    /**
+     * Gets score
+     *
+     * @return float|null
+     */
+    public function getScore()
+    {
+        return $this->container['score'];
+    }
+
+    /**
+     * Sets score
+     *
+     * @param float|null $score score
+     *
+     * @return self
+     */
+    public function setScore($score)
+    {
+        if (is_null($score)) {
+            array_push($this->openAPINullablesSetToNull, 'score');
+        } else {
+            $nullablesSetToNull = $this->getOpenAPINullablesSetToNull();
+            $index = array_search('score', $nullablesSetToNull);
+            if ($index !== FALSE) {
+                unset($nullablesSetToNull[$index]);
+                $this->setOpenAPINullablesSetToNull($nullablesSetToNull);
+            }
+        }
+        $this->container['score'] = $score;
+
+        return $this;
+    }
+
     /**
      * Gets status
      *

+ 1 - 1
api-test/client/lib/Model/GetApiV3Discussions200ResponseDataInnerAbilities.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/GetApiV3Discussions200ResponseDataInnerEditor.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/GetApiV3Discussions200ResponseDataInnerSentence.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/GetApiV3DiscussionsSummary200Response.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/GetApiV3DiscussionsSummary200ResponseData.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/GetApiV3DiscussionsSummary200ResponseDataStatusCounts.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/GetApiV3Heartbeat200Response.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/GetApiV3Heartbeat200ResponseData.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/GetApiV3Me200Response.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/GetApiV3Me200ResponseData.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/GetApiV3MeReactions200Response.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/GetApiV3MeReactions200ResponseDataInner.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/GetApiV3PasswordResetsToken200Response.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/GetApiV3PasswordResetsToken200ResponseData.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/GetApiV3Progress200Response.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/GetApiV3Progress200ResponseDataInner.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/GetApiV3ReactionsTally200Response.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/GetApiV3ReactionsTally200ResponseDataInner.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/GetApiV3Search200Response.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/GetApiV3SearchSearch200Response.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/GetApiV3TipitakaReadingChannel200Response.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/GetApiV3TipitakaReadingChannel200ResponseDataInner.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/GetApiV3TipitakaReadingChannel200ResponseMeta.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/GetApiV3TipitakaRelatedParagraphs200Response.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/GetApiV3TipitakaRelatedParagraphs200ResponseDataInner.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/GetApiV3TipitakaRelatedParagraphs200ResponseDataInnerPathInner.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/GetApiV3TipitakaRelatedParagraphs200ResponseMeta.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/GetApiV3TipitakaRelatedParagraphsAggregate200Response.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/GetApiV3TipitakaRelatedParagraphsAggregate200ResponseDataInner.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/GetApiV3TipitakaRelatedParagraphsAggregateBookName200Response.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/GetApiV3TipitakaRelatedParagraphsAggregateBookName200ResponseDataInner.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/ModelInterface.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/PaginationMeta.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 38 - 42
api-test/client/lib/Model/PatchApiV3DiscussionsDiscussionRequest.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */
@@ -62,6 +62,7 @@ class PatchApiV3DiscussionsDiscussionRequest implements ModelInterface, ArrayAcc
         'status' => 'string',
         'type' => 'string',
         'severity' => 'string',
+        'score' => 'float',
         'pos_start' => 'int',
         'pos_end' => 'int',
         'quote_exact' => 'string',
@@ -82,6 +83,7 @@ class PatchApiV3DiscussionsDiscussionRequest implements ModelInterface, ArrayAcc
         'status' => null,
         'type' => null,
         'severity' => null,
+        'score' => null,
         'pos_start' => null,
         'pos_end' => null,
         'quote_exact' => null,
@@ -100,6 +102,7 @@ class PatchApiV3DiscussionsDiscussionRequest implements ModelInterface, ArrayAcc
         'status' => false,
         'type' => false,
         'severity' => false,
+        'score' => false,
         'pos_start' => false,
         'pos_end' => false,
         'quote_exact' => false,
@@ -198,6 +201,7 @@ class PatchApiV3DiscussionsDiscussionRequest implements ModelInterface, ArrayAcc
         'status' => 'status',
         'type' => 'type',
         'severity' => 'severity',
+        'score' => 'score',
         'pos_start' => 'pos_start',
         'pos_end' => 'pos_end',
         'quote_exact' => 'quote_exact',
@@ -216,6 +220,7 @@ class PatchApiV3DiscussionsDiscussionRequest implements ModelInterface, ArrayAcc
         'status' => 'setStatus',
         'type' => 'setType',
         'severity' => 'setSeverity',
+        'score' => 'setScore',
         'pos_start' => 'setPosStart',
         'pos_end' => 'setPosEnd',
         'quote_exact' => 'setQuoteExact',
@@ -234,6 +239,7 @@ class PatchApiV3DiscussionsDiscussionRequest implements ModelInterface, ArrayAcc
         'status' => 'getStatus',
         'type' => 'getType',
         'severity' => 'getSeverity',
+        'score' => 'getScore',
         'pos_start' => 'getPosStart',
         'pos_end' => 'getPosEnd',
         'quote_exact' => 'getQuoteExact',
@@ -291,11 +297,7 @@ class PatchApiV3DiscussionsDiscussionRequest implements ModelInterface, ArrayAcc
     public const TYPE_GLOSSARY = 'glossary';
     public const TYPE_NOTE = 'note';
     public const TYPE_COMMENTARY = 'commentary';
-    public const SEVERITY_ERROR = 'error';
-    public const SEVERITY_WARNING = 'warning';
-    public const SEVERITY_SUGGESTION = 'suggestion';
-    public const SEVERITY_URGENT = 'urgent';
-    public const SEVERITY_NORMAL = 'normal';
+    public const TYPE_ASSESSMENT = 'assessment';
 
     /**
      * Gets allowable values of the enum
@@ -325,22 +327,7 @@ class PatchApiV3DiscussionsDiscussionRequest implements ModelInterface, ArrayAcc
             self::TYPE_GLOSSARY,
             self::TYPE_NOTE,
             self::TYPE_COMMENTARY,
-        ];
-    }
-
-    /**
-     * Gets allowable values of the enum
-     *
-     * @return string[]
-     */
-    public function getSeverityAllowableValues()
-    {
-        return [
-            self::SEVERITY_ERROR,
-            self::SEVERITY_WARNING,
-            self::SEVERITY_SUGGESTION,
-            self::SEVERITY_URGENT,
-            self::SEVERITY_NORMAL,
+            self::TYPE_ASSESSMENT,
         ];
     }
 
@@ -364,6 +351,7 @@ class PatchApiV3DiscussionsDiscussionRequest implements ModelInterface, ArrayAcc
         $this->setIfExists('status', $data ?? [], null);
         $this->setIfExists('type', $data ?? [], null);
         $this->setIfExists('severity', $data ?? [], null);
+        $this->setIfExists('score', $data ?? [], null);
         $this->setIfExists('pos_start', $data ?? [], null);
         $this->setIfExists('pos_end', $data ?? [], null);
         $this->setIfExists('quote_exact', $data ?? [], null);
@@ -416,15 +404,6 @@ class PatchApiV3DiscussionsDiscussionRequest implements ModelInterface, ArrayAcc
             );
         }
 
-        $allowedValues = $this->getSeverityAllowableValues();
-        if (!is_null($this->container['severity']) && !in_array($this->container['severity'], $allowedValues, true)) {
-            $invalidProperties[] = sprintf(
-                "invalid value '%s' for 'severity', must be one of '%s'",
-                $this->container['severity'],
-                implode("', '", $allowedValues)
-            );
-        }
-
         return $invalidProperties;
     }
 
@@ -581,7 +560,7 @@ class PatchApiV3DiscussionsDiscussionRequest implements ModelInterface, ArrayAcc
     /**
      * Sets severity
      *
-     * @param string|null $severity 严重程度(只限话题),null 表示清空
+     * @param string|null $severity 严重程度(只限话题),null 表示清空;assessment 为评估方法,不能清空
      *
      * @return self
      */
@@ -590,21 +569,38 @@ class PatchApiV3DiscussionsDiscussionRequest implements ModelInterface, ArrayAcc
         if (is_null($severity)) {
             throw new \InvalidArgumentException('non-nullable severity cannot be null');
         }
-        $allowedValues = $this->getSeverityAllowableValues();
-        if (!in_array($severity, $allowedValues, true)) {
-            throw new \InvalidArgumentException(
-                sprintf(
-                    "Invalid value '%s' for 'severity', must be one of '%s'",
-                    $severity,
-                    implode("', '", $allowedValues)
-                )
-            );
-        }
         $this->container['severity'] = $severity;
 
         return $this;
     }
 
+    /**
+     * Gets score
+     *
+     * @return float|null
+     */
+    public function getScore()
+    {
+        return $this->container['score'];
+    }
+
+    /**
+     * Sets score
+     *
+     * @param float|null $score 评估分数 0–100(只限 assessment)
+     *
+     * @return self
+     */
+    public function setScore($score)
+    {
+        if (is_null($score)) {
+            throw new \InvalidArgumentException('non-nullable score cannot be null');
+        }
+        $this->container['score'] = $score;
+
+        return $this;
+    }
+
     /**
      * Gets pos_start
      *

+ 1 - 1
api-test/client/lib/Model/PatchApiV3PasswordResetsTokenRequest.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/PostApiV3AgentGrants200Response.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/PostApiV3AgentGrants200ResponseData.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/PostApiV3AgentGrantsRequest.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/PostApiV3Discussions200Response.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/PostApiV3DiscussionsBatchCount200Response.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/PostApiV3DiscussionsBatchCount200ResponseDataInner.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/PostApiV3DiscussionsBatchCountRequest.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/PostApiV3DiscussionsBatchCountRequestTargetsInner.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/PostApiV3DiscussionsDiscussionRepliesRequest.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 40 - 44
api-test/client/lib/Model/PostApiV3DiscussionsRequest.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */
@@ -63,6 +63,7 @@ class PostApiV3DiscussionsRequest implements ModelInterface, ArrayAccess, \JsonS
         'title' => 'string',
         'content' => 'string',
         'severity' => 'string',
+        'score' => 'float',
         'pos_start' => 'int',
         'pos_end' => 'int',
         'quote_exact' => 'string',
@@ -86,6 +87,7 @@ class PostApiV3DiscussionsRequest implements ModelInterface, ArrayAccess, \JsonS
         'title' => null,
         'content' => null,
         'severity' => null,
+        'score' => null,
         'pos_start' => null,
         'pos_end' => null,
         'quote_exact' => null,
@@ -107,6 +109,7 @@ class PostApiV3DiscussionsRequest implements ModelInterface, ArrayAccess, \JsonS
         'title' => false,
         'content' => false,
         'severity' => false,
+        'score' => false,
         'pos_start' => false,
         'pos_end' => false,
         'quote_exact' => false,
@@ -208,6 +211,7 @@ class PostApiV3DiscussionsRequest implements ModelInterface, ArrayAccess, \JsonS
         'title' => 'title',
         'content' => 'content',
         'severity' => 'severity',
+        'score' => 'score',
         'pos_start' => 'pos_start',
         'pos_end' => 'pos_end',
         'quote_exact' => 'quote_exact',
@@ -229,6 +233,7 @@ class PostApiV3DiscussionsRequest implements ModelInterface, ArrayAccess, \JsonS
         'title' => 'setTitle',
         'content' => 'setContent',
         'severity' => 'setSeverity',
+        'score' => 'setScore',
         'pos_start' => 'setPosStart',
         'pos_end' => 'setPosEnd',
         'quote_exact' => 'setQuoteExact',
@@ -250,6 +255,7 @@ class PostApiV3DiscussionsRequest implements ModelInterface, ArrayAccess, \JsonS
         'title' => 'getTitle',
         'content' => 'getContent',
         'severity' => 'getSeverity',
+        'score' => 'getScore',
         'pos_start' => 'getPosStart',
         'pos_end' => 'getPosEnd',
         'quote_exact' => 'getQuoteExact',
@@ -312,11 +318,7 @@ class PostApiV3DiscussionsRequest implements ModelInterface, ArrayAccess, \JsonS
     public const TYPE_GLOSSARY = 'glossary';
     public const TYPE_NOTE = 'note';
     public const TYPE_COMMENTARY = 'commentary';
-    public const SEVERITY_ERROR = 'error';
-    public const SEVERITY_WARNING = 'warning';
-    public const SEVERITY_SUGGESTION = 'suggestion';
-    public const SEVERITY_URGENT = 'urgent';
-    public const SEVERITY_NORMAL = 'normal';
+    public const TYPE_ASSESSMENT = 'assessment';
 
     /**
      * Gets allowable values of the enum
@@ -349,22 +351,7 @@ class PostApiV3DiscussionsRequest implements ModelInterface, ArrayAccess, \JsonS
             self::TYPE_GLOSSARY,
             self::TYPE_NOTE,
             self::TYPE_COMMENTARY,
-        ];
-    }
-
-    /**
-     * Gets allowable values of the enum
-     *
-     * @return string[]
-     */
-    public function getSeverityAllowableValues()
-    {
-        return [
-            self::SEVERITY_ERROR,
-            self::SEVERITY_WARNING,
-            self::SEVERITY_SUGGESTION,
-            self::SEVERITY_URGENT,
-            self::SEVERITY_NORMAL,
+            self::TYPE_ASSESSMENT,
         ];
     }
 
@@ -389,6 +376,7 @@ class PostApiV3DiscussionsRequest implements ModelInterface, ArrayAccess, \JsonS
         $this->setIfExists('title', $data ?? [], null);
         $this->setIfExists('content', $data ?? [], null);
         $this->setIfExists('severity', $data ?? [], null);
+        $this->setIfExists('score', $data ?? [], null);
         $this->setIfExists('pos_start', $data ?? [], null);
         $this->setIfExists('pos_end', $data ?? [], null);
         $this->setIfExists('quote_exact', $data ?? [], null);
@@ -449,15 +437,6 @@ class PostApiV3DiscussionsRequest implements ModelInterface, ArrayAccess, \JsonS
             );
         }
 
-        $allowedValues = $this->getSeverityAllowableValues();
-        if (!is_null($this->container['severity']) && !in_array($this->container['severity'], $allowedValues, true)) {
-            $invalidProperties[] = sprintf(
-                "invalid value '%s' for 'severity', must be one of '%s'",
-                $this->container['severity'],
-                implode("', '", $allowedValues)
-            );
-        }
-
         return $invalidProperties;
     }
 
@@ -587,7 +566,7 @@ class PostApiV3DiscussionsRequest implements ModelInterface, ArrayAccess, \JsonS
     /**
      * Sets title
      *
-     * @param string|null $title 标题,最长 256 字符;评论线程必填(glossary 填术语词头),批注可省
+     * @param string|null $title 标题,最长 256 字符;评论线程必填(glossary 填术语词头),批注与评估可省
      *
      * @return self
      */
@@ -614,7 +593,7 @@ class PostApiV3DiscussionsRequest implements ModelInterface, ArrayAccess, \JsonS
     /**
      * Sets content
      *
-     * @param string|null $content 正文(markdown);批注必填
+     * @param string|null $content 正文(markdown);批注必填,评估写打分理由
      *
      * @return self
      */
@@ -641,7 +620,7 @@ class PostApiV3DiscussionsRequest implements ModelInterface, ArrayAccess, \JsonS
     /**
      * Sets severity
      *
-     * @param string|null $severity 严重程度
+     * @param string|null $severity 严重程度:issue 为 error / warning / suggestion,help 为 urgent / normal;assessment 必填,填评估方法(1–16 位字母数字 . _ -)
      *
      * @return self
      */
@@ -650,21 +629,38 @@ class PostApiV3DiscussionsRequest implements ModelInterface, ArrayAccess, \JsonS
         if (is_null($severity)) {
             throw new \InvalidArgumentException('non-nullable severity cannot be null');
         }
-        $allowedValues = $this->getSeverityAllowableValues();
-        if (!in_array($severity, $allowedValues, true)) {
-            throw new \InvalidArgumentException(
-                sprintf(
-                    "Invalid value '%s' for 'severity', must be one of '%s'",
-                    $severity,
-                    implode("', '", $allowedValues)
-                )
-            );
-        }
         $this->container['severity'] = $severity;
 
         return $this;
     }
 
+    /**
+     * Gets score
+     *
+     * @return float|null
+     */
+    public function getScore()
+    {
+        return $this->container['score'];
+    }
+
+    /**
+     * Sets score
+     *
+     * @param float|null $score 评估分数 0–100(只限且必填于 assessment)
+     *
+     * @return self
+     */
+    public function setScore($score)
+    {
+        if (is_null($score)) {
+            throw new \InvalidArgumentException('non-nullable score cannot be null');
+        }
+        $this->container['score'] = $score;
+
+        return $this;
+    }
+
     /**
      * Gets pos_start
      *

+ 1 - 1
api-test/client/lib/Model/PostApiV3EmailCertificationsRequest.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/PostApiV3Invites200Response.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/PostApiV3Invites200ResponseData.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/PostApiV3InvitesRequest.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/PostApiV3MeReactions200Response.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/PostApiV3MeReactionsRequest.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/PostApiV3PasswordResetsRequest.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/PostApiV3SearchRequest.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/PostApiV3Sessions200Response.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/PostApiV3Sessions200ResponseData.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/PostApiV3SessionsRequest.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/PostApiV3Users200Response.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/PostApiV3Users200ResponseData.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/PostApiV3UsersRequest.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/Model/ProblemDetails.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */

+ 1 - 1
api-test/client/lib/ObjectSerializer.php

@@ -15,7 +15,7 @@
  *
  * International Academy Of Pali Tipitaka(国际巴利三藏学院)  由 `php openapi/scripts/generate.php` 依据 api-v13 的路由与控制器源码生成。 响应统一封装为 `{ok, message, data}`;`ok=false` 时 `message` 为错误信息。
  *
- * The version of the OpenAPI document: 2026.10.21
+ * The version of the OpenAPI document: 2026.10.22
  * Generated by: https://openapi-generator.tech
  * Generator version: 7.25.0
  */