From 01baece7163ad329952478af2826ad86f767a202 Mon Sep 17 00:00:00 2001 From: tiankaima <91816094+tiankaima@users.noreply.github.com> Date: Wed, 12 Aug 2026 05:51:15 +0000 Subject: [PATCH] chore: sync OpenAPI contract --- api/openapi.json | 290 ++++++--------------------------- api/openapi.provenance.json | 4 +- internal/openapi/client.gen.go | 110 +++++-------- 3 files changed, 99 insertions(+), 305 deletions(-) diff --git a/api/openapi.json b/api/openapi.json index 61cae46..745558e 100644 --- a/api/openapi.json +++ b/api/openapi.json @@ -10960,7 +10960,6 @@ "maximum": 9007199254740991 }, "jwId": { - "nullable": true, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 @@ -11240,7 +11239,6 @@ "maximum": 9007199254740991 }, "jwId": { - "nullable": true, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 @@ -11525,12 +11523,6 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "sourceLastSeenAt": { - "nullable": true, - "type": "string", - "format": "date-time", - "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$" - }, "retiredAt": { "nullable": true, "type": "string", @@ -12074,7 +12066,6 @@ "maximum": 9007199254740991 }, "jwId": { - "nullable": true, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 @@ -12110,13 +12101,12 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "personId": { - "nullable": true, + "jwId": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "teacherId": { + "personId": { "nullable": true, "type": "integer", "minimum": -9007199254740991, @@ -12136,8 +12126,8 @@ }, "required": [ "id", + "jwId", "personId", - "teacherId", "code", "nameCn", "nameEn" @@ -12265,13 +12255,12 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "personId": { - "nullable": true, + "jwId": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "teacherId": { + "personId": { "nullable": true, "type": "integer", "minimum": -9007199254740991, @@ -12405,8 +12394,8 @@ }, "required": [ "id", + "jwId", "personId", - "teacherId", "code", "nameCn", "nameEn", @@ -13318,12 +13307,6 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "sourceLastSeenAt": { - "nullable": true, - "type": "string", - "format": "date-time", - "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$" - }, "retiredAt": { "nullable": true, "type": "string", @@ -14165,12 +14148,6 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "sourceLastSeenAt": { - "nullable": true, - "type": "string", - "format": "date-time", - "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$" - }, "retiredAt": { "nullable": true, "type": "string", @@ -14861,12 +14838,6 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "sourceLastSeenAt": { - "nullable": true, - "type": "string", - "format": "date-time", - "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$" - }, "retiredAt": { "nullable": true, "type": "string", @@ -15834,7 +15805,6 @@ "maximum": 9007199254740991 }, "jwId": { - "nullable": true, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 @@ -16119,12 +16089,6 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "sourceLastSeenAt": { - "nullable": true, - "type": "string", - "format": "date-time", - "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$" - }, "retiredAt": { "nullable": true, "type": "string", @@ -16740,12 +16704,6 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "sourceLastSeenAt": { - "nullable": true, - "type": "string", - "format": "date-time", - "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$" - }, "retiredAt": { "nullable": true, "type": "string", @@ -17381,12 +17339,6 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "sourceLastSeenAt": { - "nullable": true, - "type": "string", - "format": "date-time", - "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$" - }, "retiredAt": { "nullable": true, "type": "string", @@ -17913,7 +17865,6 @@ "maximum": 9007199254740991 }, "jwId": { - "nullable": true, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 @@ -18198,12 +18149,6 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "sourceLastSeenAt": { - "nullable": true, - "type": "string", - "format": "date-time", - "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$" - }, "retiredAt": { "nullable": true, "type": "string", @@ -18622,12 +18567,6 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "sourceLastSeenAt": { - "nullable": true, - "type": "string", - "format": "date-time", - "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$" - }, "retiredAt": { "nullable": true, "type": "string", @@ -19039,7 +18978,6 @@ "maximum": 9007199254740991 }, "jwId": { - "nullable": true, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 @@ -19126,13 +19064,12 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "personId": { - "nullable": true, + "jwId": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "teacherId": { + "personId": { "nullable": true, "type": "integer", "minimum": -9007199254740991, @@ -19187,8 +19124,8 @@ }, "required": [ "id", + "jwId", "personId", - "teacherId", "code", "nameCn", "nameEn", @@ -19317,12 +19254,6 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "sourceLastSeenAt": { - "nullable": true, - "type": "string", - "format": "date-time", - "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$" - }, "retiredAt": { "nullable": true, "type": "string", @@ -19734,7 +19665,6 @@ "maximum": 9007199254740991 }, "jwId": { - "nullable": true, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 @@ -19821,13 +19751,12 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "personId": { - "nullable": true, + "jwId": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "teacherId": { + "personId": { "nullable": true, "type": "integer", "minimum": -9007199254740991, @@ -19882,8 +19811,8 @@ }, "required": [ "id", + "jwId", "personId", - "teacherId", "code", "nameCn", "nameEn", @@ -20024,12 +19953,6 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "sourceLastSeenAt": { - "nullable": true, - "type": "string", - "format": "date-time", - "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$" - }, "retiredAt": { "nullable": true, "type": "string", @@ -20441,7 +20364,6 @@ "maximum": 9007199254740991 }, "jwId": { - "nullable": true, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 @@ -20528,13 +20450,12 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "personId": { - "nullable": true, + "jwId": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "teacherId": { + "personId": { "nullable": true, "type": "integer", "minimum": -9007199254740991, @@ -20589,8 +20510,8 @@ }, "required": [ "id", + "jwId", "personId", - "teacherId", "code", "nameCn", "nameEn", @@ -22659,12 +22580,6 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "sourceLastSeenAt": { - "nullable": true, - "type": "string", - "format": "date-time", - "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$" - }, "retiredAt": { "nullable": true, "type": "string", @@ -22842,7 +22757,6 @@ "maximum": 9007199254740991 }, "jwId": { - "nullable": true, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 @@ -22878,13 +22792,12 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "personId": { - "nullable": true, + "jwId": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "teacherId": { + "personId": { "nullable": true, "type": "integer", "minimum": -9007199254740991, @@ -22932,8 +22845,8 @@ }, "required": [ "id", + "jwId", "personId", - "teacherId", "code", "nameCn", "nameEn", @@ -23026,12 +22939,6 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "sourceLastSeenAt": { - "nullable": true, - "type": "string", - "format": "date-time", - "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$" - }, "retiredAt": { "nullable": true, "type": "string", @@ -23434,7 +23341,6 @@ "maximum": 9007199254740991 }, "jwId": { - "nullable": true, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 @@ -23743,13 +23649,12 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "personId": { - "nullable": true, + "jwId": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "teacherId": { + "personId": { "nullable": true, "type": "integer", "minimum": -9007199254740991, @@ -23869,8 +23774,8 @@ }, "required": [ "id", + "jwId", "personId", - "teacherId", "code", "nameCn", "nameEn", @@ -23943,13 +23848,12 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "personId": { - "nullable": true, + "jwId": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "teacherId": { + "personId": { "nullable": true, "type": "integer", "minimum": -9007199254740991, @@ -23997,8 +23901,8 @@ }, "required": [ "id", + "jwId", "personId", - "teacherId", "code", "nameCn", "nameEn", @@ -24217,7 +24121,6 @@ "maximum": 9007199254740991 }, "jwId": { - "nullable": true, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 @@ -24423,12 +24326,6 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "sourceLastSeenAt": { - "nullable": true, - "type": "string", - "format": "date-time", - "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$" - }, "retiredAt": { "nullable": true, "type": "string", @@ -24840,7 +24737,6 @@ "maximum": 9007199254740991 }, "jwId": { - "nullable": true, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 @@ -24927,13 +24823,12 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "personId": { - "nullable": true, + "jwId": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "teacherId": { + "personId": { "nullable": true, "type": "integer", "minimum": -9007199254740991, @@ -24988,8 +24883,8 @@ }, "required": [ "id", + "jwId", "personId", - "teacherId", "code", "nameCn", "nameEn", @@ -25074,13 +24969,12 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "personId": { - "nullable": true, + "jwId": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "teacherId": { + "personId": { "nullable": true, "type": "integer", "minimum": -9007199254740991, @@ -25212,12 +25106,6 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "sourceLastSeenAt": { - "nullable": true, - "type": "string", - "format": "date-time", - "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$" - }, "retiredAt": { "nullable": true, "type": "string", @@ -25669,8 +25557,8 @@ }, "required": [ "id", + "jwId", "personId", - "teacherId", "code", "nameCn", "nameEn", @@ -26182,12 +26070,6 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "sourceLastSeenAt": { - "nullable": true, - "type": "string", - "format": "date-time", - "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$" - }, "retiredAt": { "nullable": true, "type": "string", @@ -27079,12 +26961,6 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "sourceLastSeenAt": { - "nullable": true, - "type": "string", - "format": "date-time", - "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$" - }, "retiredAt": { "nullable": true, "type": "string", @@ -27496,7 +27372,6 @@ "maximum": 9007199254740991 }, "jwId": { - "nullable": true, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 @@ -27583,13 +27458,12 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "personId": { - "nullable": true, + "jwId": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "teacherId": { + "personId": { "nullable": true, "type": "integer", "minimum": -9007199254740991, @@ -27644,8 +27518,8 @@ }, "required": [ "id", + "jwId", "personId", - "teacherId", "code", "nameCn", "nameEn", @@ -27756,12 +27630,6 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "sourceLastSeenAt": { - "nullable": true, - "type": "string", - "format": "date-time", - "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$" - }, "retiredAt": { "nullable": true, "type": "string", @@ -28173,7 +28041,6 @@ "maximum": 9007199254740991 }, "jwId": { - "nullable": true, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 @@ -28260,13 +28127,12 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "personId": { - "nullable": true, + "jwId": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "teacherId": { + "personId": { "nullable": true, "type": "integer", "minimum": -9007199254740991, @@ -28321,8 +28187,8 @@ }, "required": [ "id", + "jwId", "personId", - "teacherId", "code", "nameCn", "nameEn", @@ -28445,12 +28311,6 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "sourceLastSeenAt": { - "nullable": true, - "type": "string", - "format": "date-time", - "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$" - }, "retiredAt": { "nullable": true, "type": "string", @@ -28862,7 +28722,6 @@ "maximum": 9007199254740991 }, "jwId": { - "nullable": true, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 @@ -28949,13 +28808,12 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "personId": { - "nullable": true, + "jwId": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "teacherId": { + "personId": { "nullable": true, "type": "integer", "minimum": -9007199254740991, @@ -29010,8 +28868,8 @@ }, "required": [ "id", + "jwId", "personId", - "teacherId", "code", "nameCn", "nameEn", @@ -29160,12 +29018,6 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "sourceLastSeenAt": { - "nullable": true, - "type": "string", - "format": "date-time", - "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$" - }, "retiredAt": { "nullable": true, "type": "string", @@ -29577,7 +29429,6 @@ "maximum": 9007199254740991 }, "jwId": { - "nullable": true, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 @@ -29664,13 +29515,12 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "personId": { - "nullable": true, + "jwId": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "teacherId": { + "personId": { "nullable": true, "type": "integer", "minimum": -9007199254740991, @@ -29725,8 +29575,8 @@ }, "required": [ "id", + "jwId", "personId", - "teacherId", "code", "nameCn", "nameEn", @@ -29807,12 +29657,6 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "sourceLastSeenAt": { - "nullable": true, - "type": "string", - "format": "date-time", - "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$" - }, "retiredAt": { "nullable": true, "type": "string", @@ -30224,7 +30068,6 @@ "maximum": 9007199254740991 }, "jwId": { - "nullable": true, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 @@ -30311,13 +30154,12 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "personId": { - "nullable": true, + "jwId": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "teacherId": { + "personId": { "nullable": true, "type": "integer", "minimum": -9007199254740991, @@ -30372,8 +30214,8 @@ }, "required": [ "id", + "jwId", "personId", - "teacherId", "code", "nameCn", "nameEn", @@ -30454,12 +30296,6 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "sourceLastSeenAt": { - "nullable": true, - "type": "string", - "format": "date-time", - "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$" - }, "retiredAt": { "nullable": true, "type": "string", @@ -30871,7 +30707,6 @@ "maximum": 9007199254740991 }, "jwId": { - "nullable": true, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 @@ -30958,13 +30793,12 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "personId": { - "nullable": true, + "jwId": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "teacherId": { + "personId": { "nullable": true, "type": "integer", "minimum": -9007199254740991, @@ -31019,8 +30853,8 @@ }, "required": [ "id", + "jwId", "personId", - "teacherId", "code", "nameCn", "nameEn", @@ -31103,12 +30937,6 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "sourceLastSeenAt": { - "nullable": true, - "type": "string", - "format": "date-time", - "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$" - }, "retiredAt": { "nullable": true, "type": "string", @@ -31520,7 +31348,6 @@ "maximum": 9007199254740991 }, "jwId": { - "nullable": true, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 @@ -31607,13 +31434,12 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "personId": { - "nullable": true, + "jwId": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "teacherId": { + "personId": { "nullable": true, "type": "integer", "minimum": -9007199254740991, @@ -31668,8 +31494,8 @@ }, "required": [ "id", + "jwId", "personId", - "teacherId", "code", "nameCn", "nameEn", @@ -31879,12 +31705,6 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "sourceLastSeenAt": { - "nullable": true, - "type": "string", - "format": "date-time", - "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$" - }, "retiredAt": { "nullable": true, "type": "string", @@ -32296,7 +32116,6 @@ "maximum": 9007199254740991 }, "jwId": { - "nullable": true, "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 @@ -32383,13 +32202,12 @@ "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "personId": { - "nullable": true, + "jwId": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, - "teacherId": { + "personId": { "nullable": true, "type": "integer", "minimum": -9007199254740991, @@ -32444,8 +32262,8 @@ }, "required": [ "id", + "jwId", "personId", - "teacherId", "code", "nameCn", "nameEn", diff --git a/api/openapi.provenance.json b/api/openapi.provenance.json index 8c91383..4651175 100644 --- a/api/openapi.provenance.json +++ b/api/openapi.provenance.json @@ -1,5 +1,5 @@ { "repository": "Life-USTC/server", - "commit": "e32d01a31d2e3b79765448aed8665eb197b93977", - "sha256": "d56af5ae5da8dc89e5c3ef618bc39cd0ea9b64e93a8e0808e4e2ab6ffabd58f4" + "commit": "b86dfb4ce1e2353377371d92ba831b4f2727231b", + "sha256": "4f0f559e6037fc29bc40d727c01e162082a73e7cbba3080dbedbcf885e69b3ff" } diff --git a/internal/openapi/client.gen.go b/internal/openapi/client.gen.go index c20adfa..5c94dca 100644 --- a/internal/openapi/client.gen.go +++ b/internal/openapi/client.gen.go @@ -2620,7 +2620,7 @@ type CalendarSubscriptionAppendResponseSchema struct { Campus *struct { Code *string `json:"code"` Id int `json:"id"` - JwId *int `json:"jwId"` + JwId int `json:"jwId"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` NamePrimary string `json:"namePrimary"` @@ -2707,7 +2707,6 @@ type CalendarSubscriptionAppendResponseSchema struct { SelectedStdCount *int `json:"selectedStdCount"` Semester *SemesterSchema `json:"semester"` SemesterId *int `json:"semesterId"` - SourceLastSeenAt *time.Time `json:"sourceLastSeenAt,omitempty"` StdCount *int `json:"stdCount"` SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"` SuggestScheduleWeeks interface{} `json:"suggestScheduleWeeks"` @@ -2718,13 +2717,13 @@ type CalendarSubscriptionAppendResponseSchema struct { DepartmentId *int `json:"departmentId"` Email *string `json:"email"` Id int `json:"id"` + JwId int `json:"jwId"` Mobile *string `json:"mobile"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` NamePrimary string `json:"namePrimary"` NameSecondary *string `json:"nameSecondary"` PersonId *int `json:"personId"` - TeacherId *int `json:"teacherId"` TeacherTitleId *int `json:"teacherTitleId"` Telephone *string `json:"telephone"` } `json:"teachers"` @@ -2771,7 +2770,7 @@ type CalendarSubscriptionBatchResponseSchema struct { Campus *struct { Code *string `json:"code"` Id int `json:"id"` - JwId *int `json:"jwId"` + JwId int `json:"jwId"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` NamePrimary string `json:"namePrimary"` @@ -2858,7 +2857,6 @@ type CalendarSubscriptionBatchResponseSchema struct { SelectedStdCount *int `json:"selectedStdCount"` Semester *SemesterSchema `json:"semester"` SemesterId *int `json:"semesterId"` - SourceLastSeenAt *time.Time `json:"sourceLastSeenAt,omitempty"` StdCount *int `json:"stdCount"` SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"` SuggestScheduleWeeks interface{} `json:"suggestScheduleWeeks"` @@ -2869,13 +2867,13 @@ type CalendarSubscriptionBatchResponseSchema struct { DepartmentId *int `json:"departmentId"` Email *string `json:"email"` Id int `json:"id"` + JwId int `json:"jwId"` Mobile *string `json:"mobile"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` NamePrimary string `json:"namePrimary"` NameSecondary *string `json:"nameSecondary"` PersonId *int `json:"personId"` - TeacherId *int `json:"teacherId"` TeacherTitleId *int `json:"teacherTitleId"` Telephone *string `json:"telephone"` } `json:"teachers"` @@ -2898,7 +2896,7 @@ type CalendarSubscriptionBatchResponseSchema struct { Campus *struct { Code *string `json:"code"` Id int `json:"id"` - JwId *int `json:"jwId"` + JwId int `json:"jwId"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` NamePrimary string `json:"namePrimary"` @@ -2985,7 +2983,6 @@ type CalendarSubscriptionBatchResponseSchema struct { SelectedStdCount *int `json:"selectedStdCount"` Semester *SemesterSchema `json:"semester"` SemesterId *int `json:"semesterId"` - SourceLastSeenAt *time.Time `json:"sourceLastSeenAt,omitempty"` StdCount *int `json:"stdCount"` SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"` SuggestScheduleWeeks interface{} `json:"suggestScheduleWeeks"` @@ -2996,13 +2993,13 @@ type CalendarSubscriptionBatchResponseSchema struct { DepartmentId *int `json:"departmentId"` Email *string `json:"email"` Id int `json:"id"` + JwId int `json:"jwId"` Mobile *string `json:"mobile"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` NamePrimary string `json:"namePrimary"` NameSecondary *string `json:"nameSecondary"` PersonId *int `json:"personId"` - TeacherId *int `json:"teacherId"` TeacherTitleId *int `json:"teacherTitleId"` Telephone *string `json:"telephone"` } `json:"teachers"` @@ -3039,7 +3036,7 @@ type CalendarSubscriptionCreateResponseSchema struct { Campus *struct { Code *string `json:"code"` Id int `json:"id"` - JwId *int `json:"jwId"` + JwId int `json:"jwId"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` NamePrimary string `json:"namePrimary"` @@ -3126,7 +3123,6 @@ type CalendarSubscriptionCreateResponseSchema struct { SelectedStdCount *int `json:"selectedStdCount"` Semester *SemesterSchema `json:"semester"` SemesterId *int `json:"semesterId"` - SourceLastSeenAt *time.Time `json:"sourceLastSeenAt,omitempty"` StdCount *int `json:"stdCount"` SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"` SuggestScheduleWeeks interface{} `json:"suggestScheduleWeeks"` @@ -3137,13 +3133,13 @@ type CalendarSubscriptionCreateResponseSchema struct { DepartmentId *int `json:"departmentId"` Email *string `json:"email"` Id int `json:"id"` + JwId int `json:"jwId"` Mobile *string `json:"mobile"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` NamePrimary string `json:"namePrimary"` NameSecondary *string `json:"nameSecondary"` PersonId *int `json:"personId"` - TeacherId *int `json:"teacherId"` TeacherTitleId *int `json:"teacherTitleId"` Telephone *string `json:"telephone"` } `json:"teachers"` @@ -3164,7 +3160,7 @@ type CalendarSubscriptionImportResponseSchema struct { Campus *struct { Code *string `json:"code"` Id int `json:"id"` - JwId *int `json:"jwId"` + JwId int `json:"jwId"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` NamePrimary string `json:"namePrimary"` @@ -3251,7 +3247,6 @@ type CalendarSubscriptionImportResponseSchema struct { SelectedStdCount *int `json:"selectedStdCount"` Semester *SemesterSchema `json:"semester"` SemesterId *int `json:"semesterId"` - SourceLastSeenAt *time.Time `json:"sourceLastSeenAt,omitempty"` StdCount *int `json:"stdCount"` SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"` SuggestScheduleWeeks interface{} `json:"suggestScheduleWeeks"` @@ -3262,13 +3257,13 @@ type CalendarSubscriptionImportResponseSchema struct { DepartmentId *int `json:"departmentId"` Email *string `json:"email"` Id int `json:"id"` + JwId int `json:"jwId"` Mobile *string `json:"mobile"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` NamePrimary string `json:"namePrimary"` NameSecondary *string `json:"nameSecondary"` PersonId *int `json:"personId"` - TeacherId *int `json:"teacherId"` TeacherTitleId *int `json:"teacherTitleId"` Telephone *string `json:"telephone"` } `json:"teachers"` @@ -3283,7 +3278,7 @@ type CalendarSubscriptionImportResponseSchema struct { Campus *struct { Code *string `json:"code"` Id int `json:"id"` - JwId *int `json:"jwId"` + JwId int `json:"jwId"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` NamePrimary string `json:"namePrimary"` @@ -3370,7 +3365,6 @@ type CalendarSubscriptionImportResponseSchema struct { SelectedStdCount *int `json:"selectedStdCount"` Semester *SemesterSchema `json:"semester"` SemesterId *int `json:"semesterId"` - SourceLastSeenAt *time.Time `json:"sourceLastSeenAt,omitempty"` StdCount *int `json:"stdCount"` SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"` SuggestScheduleWeeks interface{} `json:"suggestScheduleWeeks"` @@ -3381,13 +3375,13 @@ type CalendarSubscriptionImportResponseSchema struct { DepartmentId *int `json:"departmentId"` Email *string `json:"email"` Id int `json:"id"` + JwId int `json:"jwId"` Mobile *string `json:"mobile"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` NamePrimary string `json:"namePrimary"` NameSecondary *string `json:"nameSecondary"` PersonId *int `json:"personId"` - TeacherId *int `json:"teacherId"` TeacherTitleId *int `json:"teacherTitleId"` Telephone *string `json:"telephone"` } `json:"teachers"` @@ -3403,7 +3397,7 @@ type CalendarSubscriptionImportResponseSchema struct { Campus *struct { Code *string `json:"code"` Id int `json:"id"` - JwId *int `json:"jwId"` + JwId int `json:"jwId"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` NamePrimary string `json:"namePrimary"` @@ -3490,7 +3484,6 @@ type CalendarSubscriptionImportResponseSchema struct { SelectedStdCount *int `json:"selectedStdCount"` Semester *SemesterSchema `json:"semester"` SemesterId *int `json:"semesterId"` - SourceLastSeenAt *time.Time `json:"sourceLastSeenAt,omitempty"` StdCount *int `json:"stdCount"` SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"` SuggestScheduleWeeks interface{} `json:"suggestScheduleWeeks"` @@ -3501,13 +3494,13 @@ type CalendarSubscriptionImportResponseSchema struct { DepartmentId *int `json:"departmentId"` Email *string `json:"email"` Id int `json:"id"` + JwId int `json:"jwId"` Mobile *string `json:"mobile"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` NamePrimary string `json:"namePrimary"` NameSecondary *string `json:"nameSecondary"` PersonId *int `json:"personId"` - TeacherId *int `json:"teacherId"` TeacherTitleId *int `json:"teacherTitleId"` Telephone *string `json:"telephone"` } `json:"teachers"` @@ -3530,7 +3523,7 @@ type CalendarSubscriptionImportResponseSchema struct { Campus *struct { Code *string `json:"code"` Id int `json:"id"` - JwId *int `json:"jwId"` + JwId int `json:"jwId"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` NamePrimary string `json:"namePrimary"` @@ -3617,7 +3610,6 @@ type CalendarSubscriptionImportResponseSchema struct { SelectedStdCount *int `json:"selectedStdCount"` Semester *SemesterSchema `json:"semester"` SemesterId *int `json:"semesterId"` - SourceLastSeenAt *time.Time `json:"sourceLastSeenAt,omitempty"` StdCount *int `json:"stdCount"` SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"` SuggestScheduleWeeks interface{} `json:"suggestScheduleWeeks"` @@ -3628,13 +3620,13 @@ type CalendarSubscriptionImportResponseSchema struct { DepartmentId *int `json:"departmentId"` Email *string `json:"email"` Id int `json:"id"` + JwId int `json:"jwId"` Mobile *string `json:"mobile"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` NamePrimary string `json:"namePrimary"` NameSecondary *string `json:"nameSecondary"` PersonId *int `json:"personId"` - TeacherId *int `json:"teacherId"` TeacherTitleId *int `json:"teacherTitleId"` Telephone *string `json:"telephone"` } `json:"teachers"` @@ -3676,7 +3668,7 @@ type CalendarSubscriptionQueryResponseSchema struct { Campus *struct { Code *string `json:"code"` Id int `json:"id"` - JwId *int `json:"jwId"` + JwId int `json:"jwId"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` NamePrimary string `json:"namePrimary"` @@ -3763,7 +3755,6 @@ type CalendarSubscriptionQueryResponseSchema struct { SelectedStdCount *int `json:"selectedStdCount"` Semester *SemesterSchema `json:"semester"` SemesterId *int `json:"semesterId"` - SourceLastSeenAt *time.Time `json:"sourceLastSeenAt,omitempty"` StdCount *int `json:"stdCount"` SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"` SuggestScheduleWeeks interface{} `json:"suggestScheduleWeeks"` @@ -3774,13 +3765,13 @@ type CalendarSubscriptionQueryResponseSchema struct { DepartmentId *int `json:"departmentId"` Email *string `json:"email"` Id int `json:"id"` + JwId int `json:"jwId"` Mobile *string `json:"mobile"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` NamePrimary string `json:"namePrimary"` NameSecondary *string `json:"nameSecondary"` PersonId *int `json:"personId"` - TeacherId *int `json:"teacherId"` TeacherTitleId *int `json:"teacherTitleId"` Telephone *string `json:"telephone"` } `json:"teachers"` @@ -3816,7 +3807,7 @@ type CalendarSubscriptionRemoveResponseSchema struct { Campus *struct { Code *string `json:"code"` Id int `json:"id"` - JwId *int `json:"jwId"` + JwId int `json:"jwId"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` NamePrimary string `json:"namePrimary"` @@ -3903,7 +3894,6 @@ type CalendarSubscriptionRemoveResponseSchema struct { SelectedStdCount *int `json:"selectedStdCount"` Semester *SemesterSchema `json:"semester"` SemesterId *int `json:"semesterId"` - SourceLastSeenAt *time.Time `json:"sourceLastSeenAt,omitempty"` StdCount *int `json:"stdCount"` SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"` SuggestScheduleWeeks interface{} `json:"suggestScheduleWeeks"` @@ -3914,13 +3904,13 @@ type CalendarSubscriptionRemoveResponseSchema struct { DepartmentId *int `json:"departmentId"` Email *string `json:"email"` Id int `json:"id"` + JwId int `json:"jwId"` Mobile *string `json:"mobile"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` NamePrimary string `json:"namePrimary"` NameSecondary *string `json:"nameSecondary"` PersonId *int `json:"personId"` - TeacherId *int `json:"teacherId"` TeacherTitleId *int `json:"teacherTitleId"` Telephone *string `json:"telephone"` } `json:"teachers"` @@ -4312,7 +4302,6 @@ type CompactOverviewResponseSchema struct { SelectedStdCount *int `json:"selectedStdCount"` Semester *SemesterSchema `json:"semester"` SemesterId *int `json:"semesterId"` - SourceLastSeenAt *time.Time `json:"sourceLastSeenAt,omitempty"` StdCount *int `json:"stdCount"` SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"` SuggestScheduleWeeks interface{} `json:"suggestScheduleWeeks"` @@ -4409,7 +4398,6 @@ type CompactOverviewResponseSchema struct { SelectedStdCount *int `json:"selectedStdCount"` Semester *SemesterSchema `json:"semester"` SemesterId *int `json:"semesterId"` - SourceLastSeenAt *time.Time `json:"sourceLastSeenAt,omitempty"` StdCount *int `json:"stdCount"` SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"` SuggestScheduleWeeks interface{} `json:"suggestScheduleWeeks"` @@ -4449,7 +4437,7 @@ type CompactOverviewResponseSchema struct { Campus *struct { Code *string `json:"code"` Id int `json:"id"` - JwId *int `json:"jwId"` + JwId int `json:"jwId"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` NamePrimary string `json:"namePrimary"` @@ -4545,7 +4533,6 @@ type CompactOverviewResponseSchema struct { SelectedStdCount *int `json:"selectedStdCount"` Semester *SemesterSchema `json:"semester"` SemesterId *int `json:"semesterId"` - SourceLastSeenAt *time.Time `json:"sourceLastSeenAt,omitempty"` StdCount *int `json:"stdCount"` SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"` SuggestScheduleWeeks interface{} `json:"suggestScheduleWeeks"` @@ -4668,7 +4655,7 @@ type CourseDetailSchema struct { Campus *struct { Code *string `json:"code"` Id int `json:"id"` - JwId *int `json:"jwId"` + JwId int `json:"jwId"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` } `json:"campus"` @@ -4699,7 +4686,6 @@ type CourseDetailSchema struct { SelectedStdCount *int `json:"selectedStdCount"` Semester *SemesterSchema `json:"semester"` SemesterId *int `json:"semesterId"` - SourceLastSeenAt *time.Time `json:"sourceLastSeenAt,omitempty"` StdCount *int `json:"stdCount"` SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"` SuggestScheduleWeeks interface{} `json:"suggestScheduleWeeks"` @@ -4710,11 +4696,11 @@ type CourseDetailSchema struct { DepartmentId *int `json:"departmentId"` Email *string `json:"email"` Id int `json:"id"` + JwId int `json:"jwId"` Mobile *string `json:"mobile"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` PersonId *int `json:"personId"` - TeacherId *int `json:"teacherId"` TeacherTitleId *int `json:"teacherTitleId"` Telephone *string `json:"telephone"` } `json:"teachers"` @@ -4742,7 +4728,7 @@ type CurrentCalendarSubscriptionResponseSchema struct { Campus *struct { Code *string `json:"code"` Id int `json:"id"` - JwId *int `json:"jwId"` + JwId int `json:"jwId"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` NamePrimary string `json:"namePrimary"` @@ -4829,7 +4815,6 @@ type CurrentCalendarSubscriptionResponseSchema struct { SelectedStdCount *int `json:"selectedStdCount"` Semester *SemesterSchema `json:"semester"` SemesterId *int `json:"semesterId"` - SourceLastSeenAt *time.Time `json:"sourceLastSeenAt,omitempty"` StdCount *int `json:"stdCount"` SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"` SuggestScheduleWeeks interface{} `json:"suggestScheduleWeeks"` @@ -4840,13 +4825,13 @@ type CurrentCalendarSubscriptionResponseSchema struct { DepartmentId *int `json:"departmentId"` Email *string `json:"email"` Id int `json:"id"` + JwId int `json:"jwId"` Mobile *string `json:"mobile"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` NamePrimary string `json:"namePrimary"` NameSecondary *string `json:"nameSecondary"` PersonId *int `json:"personId"` - TeacherId *int `json:"teacherId"` TeacherTitleId *int `json:"teacherTitleId"` Telephone *string `json:"telephone"` } `json:"teachers"` @@ -5279,7 +5264,6 @@ type HomeworkCreateResponseSchema struct { SelectedStdCount *int `json:"selectedStdCount"` Semester *SemesterSchema `json:"semester"` SemesterId *int `json:"semesterId"` - SourceLastSeenAt *time.Time `json:"sourceLastSeenAt,omitempty"` StdCount *int `json:"stdCount"` SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"` SuggestScheduleWeeks interface{} `json:"suggestScheduleWeeks"` @@ -5432,7 +5416,6 @@ type HomeworkUpdateResponseSchema struct { SelectedStdCount *int `json:"selectedStdCount"` Semester *SemesterSchema `json:"semester"` SemesterId *int `json:"semesterId"` - SourceLastSeenAt *time.Time `json:"sourceLastSeenAt,omitempty"` StdCount *int `json:"stdCount"` SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"` SuggestScheduleWeeks interface{} `json:"suggestScheduleWeeks"` @@ -5556,7 +5539,6 @@ type HomeworksListResponseSchema struct { SelectedStdCount *int `json:"selectedStdCount"` Semester *SemesterSchema `json:"semester"` SemesterId *int `json:"semesterId"` - SourceLastSeenAt *time.Time `json:"sourceLastSeenAt,omitempty"` StdCount *int `json:"stdCount"` SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"` SuggestScheduleWeeks interface{} `json:"suggestScheduleWeeks"` @@ -5632,7 +5614,7 @@ type MatchSectionCodesResponseSchema struct { Campus *struct { Code *string `json:"code"` Id int `json:"id"` - JwId *int `json:"jwId"` + JwId int `json:"jwId"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` NamePrimary string `json:"namePrimary"` @@ -5719,7 +5701,6 @@ type MatchSectionCodesResponseSchema struct { SelectedStdCount *int `json:"selectedStdCount"` Semester *SemesterSchema `json:"semester"` SemesterId *int `json:"semesterId"` - SourceLastSeenAt *time.Time `json:"sourceLastSeenAt,omitempty"` StdCount *int `json:"stdCount"` SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"` SuggestScheduleWeeks interface{} `json:"suggestScheduleWeeks"` @@ -5730,13 +5711,13 @@ type MatchSectionCodesResponseSchema struct { DepartmentId *int `json:"departmentId"` Email *string `json:"email"` Id int `json:"id"` + JwId int `json:"jwId"` Mobile *string `json:"mobile"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` NamePrimary string `json:"namePrimary"` NameSecondary *string `json:"nameSecondary"` PersonId *int `json:"personId"` - TeacherId *int `json:"teacherId"` TeacherTitleId *int `json:"teacherTitleId"` Telephone *string `json:"telephone"` } `json:"teachers"` @@ -5779,7 +5760,7 @@ type MetadataResponseSchema struct { } `json:"buildings"` Code *string `json:"code"` Id int `json:"id"` - JwId *int `json:"jwId"` + JwId int `json:"jwId"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` } `json:"campuses"` @@ -5988,7 +5969,7 @@ type PaginatedScheduleResponseSchema struct { Campus *struct { Code *string `json:"code"` Id int `json:"id"` - JwId *int `json:"jwId"` + JwId int `json:"jwId"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` NamePrimary string `json:"namePrimary"` @@ -6084,7 +6065,6 @@ type PaginatedScheduleResponseSchema struct { SelectedStdCount *int `json:"selectedStdCount"` Semester *SemesterSchema `json:"semester"` SemesterId *int `json:"semesterId"` - SourceLastSeenAt *time.Time `json:"sourceLastSeenAt,omitempty"` StdCount *int `json:"stdCount"` SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"` SuggestScheduleWeeks interface{} `json:"suggestScheduleWeeks"` @@ -6145,7 +6125,7 @@ type PaginatedSectionResponseSchema struct { Campus *struct { Code *string `json:"code"` Id int `json:"id"` - JwId *int `json:"jwId"` + JwId int `json:"jwId"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` } `json:"campus"` @@ -6173,12 +6153,12 @@ type PaginatedSectionResponseSchema struct { SemesterId *int `json:"semesterId"` StdCount *int `json:"stdCount"` Teachers []struct { - Code *string `json:"code"` - Id int `json:"id"` - NameCn string `json:"nameCn"` - NameEn *string `json:"nameEn"` - PersonId *int `json:"personId"` - TeacherId *int `json:"teacherId"` + Code *string `json:"code"` + Id int `json:"id"` + JwId int `json:"jwId"` + NameCn string `json:"nameCn"` + NameEn *string `json:"nameEn"` + PersonId *int `json:"personId"` } `json:"teachers"` } `json:"data"` Pagination struct { @@ -6218,11 +6198,11 @@ type PaginatedTeacherResponseSchema struct { DepartmentId *int `json:"departmentId"` Email *string `json:"email"` Id int `json:"id"` + JwId int `json:"jwId"` Mobile *string `json:"mobile"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` PersonId *int `json:"personId"` - TeacherId *int `json:"teacherId"` TeacherTitle *struct { Code string `json:"code"` Enabled *bool `json:"enabled"` @@ -6275,7 +6255,7 @@ type SectionDetailSchema struct { Enabled *bool `json:"enabled"` Grade *string `json:"grade"` Id int `json:"id"` - JwId *int `json:"jwId"` + JwId int `json:"jwId"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` PlanCount *int `json:"planCount"` @@ -6285,7 +6265,7 @@ type SectionDetailSchema struct { Campus *struct { Code *string `json:"code"` Id int `json:"id"` - JwId *int `json:"jwId"` + JwId int `json:"jwId"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` } `json:"campus"` @@ -6429,7 +6409,6 @@ type SectionDetailSchema struct { SelectedStdCount *int `json:"selectedStdCount"` Semester *SemesterSchema `json:"semester"` SemesterId *int `json:"semesterId"` - SourceLastSeenAt *time.Time `json:"sourceLastSeenAt,omitempty"` StdCount *int `json:"stdCount"` SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"` SuggestScheduleWeeks interface{} `json:"suggestScheduleWeeks"` @@ -6450,11 +6429,11 @@ type SectionDetailSchema struct { DepartmentId *int `json:"departmentId"` Email *string `json:"email"` Id int `json:"id"` + JwId int `json:"jwId"` Mobile *string `json:"mobile"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` PersonId *int `json:"personId"` - TeacherId *int `json:"teacherId"` TeacherTitleId *int `json:"teacherTitleId"` Telephone *string `json:"telephone"` } `json:"teacher"` @@ -6485,11 +6464,11 @@ type SectionDetailSchema struct { DepartmentId *int `json:"departmentId"` Email *string `json:"email"` Id int `json:"id"` + JwId int `json:"jwId"` Mobile *string `json:"mobile"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` PersonId *int `json:"personId"` - TeacherId *int `json:"teacherId"` TeacherTitle *struct { Code string `json:"code"` Enabled *bool `json:"enabled"` @@ -6615,7 +6594,6 @@ type SubscribedHomeworksResponseSchema struct { SelectedStdCount *int `json:"selectedStdCount"` Semester *SemesterSchema `json:"semester"` SemesterId *int `json:"semesterId"` - SourceLastSeenAt *time.Time `json:"sourceLastSeenAt,omitempty"` StdCount *int `json:"stdCount"` SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"` SuggestScheduleWeeks interface{} `json:"suggestScheduleWeeks"` @@ -6670,7 +6648,7 @@ type SubscribedSchedulesResponseSchema struct { Campus *struct { Code *string `json:"code"` Id int `json:"id"` - JwId *int `json:"jwId"` + JwId int `json:"jwId"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` NamePrimary string `json:"namePrimary"` @@ -6766,7 +6744,6 @@ type SubscribedSchedulesResponseSchema struct { SelectedStdCount *int `json:"selectedStdCount"` Semester *SemesterSchema `json:"semester"` SemesterId *int `json:"semesterId"` - SourceLastSeenAt *time.Time `json:"sourceLastSeenAt,omitempty"` StdCount *int `json:"stdCount"` SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"` SuggestScheduleWeeks interface{} `json:"suggestScheduleWeeks"` @@ -6837,6 +6814,7 @@ type TeacherDetailSchema struct { DepartmentId *int `json:"departmentId"` Email *string `json:"email"` Id int `json:"id"` + JwId int `json:"jwId"` Mobile *string `json:"mobile"` NameCn string `json:"nameCn"` NameEn *string `json:"nameEn"` @@ -6914,7 +6892,6 @@ type TeacherDetailSchema struct { SelectedStdCount *int `json:"selectedStdCount"` Semester *SemesterSchema `json:"semester"` SemesterId *int `json:"semesterId"` - SourceLastSeenAt *time.Time `json:"sourceLastSeenAt,omitempty"` StdCount *int `json:"stdCount"` SuggestScheduleWeekInfo *string `json:"suggestScheduleWeekInfo"` SuggestScheduleWeeks interface{} `json:"suggestScheduleWeeks"` @@ -6923,7 +6900,6 @@ type TeacherDetailSchema struct { TheoryPeriods *float32 `json:"theoryPeriods"` TimesPerWeek *int `json:"timesPerWeek"` } `json:"sections"` - TeacherId *int `json:"teacherId"` TeacherTitle *struct { Code string `json:"code"` Enabled *bool `json:"enabled"`