saha-equation-admin-portal-client 2.0.1 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,50 +1,61 @@
1
1
  {
2
- "note": "Two ASCII messages; input order reversed, canonical sort puts m1 (earlier sentAt) first.",
2
+ "note": "One certificate with two text messages (the reporter's, then the reported member's).",
3
+ "reporterSubject": "a1b2c3d4-0000-4e8a-9f12-aaaabbbbcccc",
4
+ "verifyAt": 1794700300000,
3
5
  "input": {
4
- "reportId": "rep_01HZ",
5
- "conversationId": "conv_42",
6
- "messages": [
7
- {
8
- "messageId": "m2",
9
- "sentAt": "2026-10-26T12:00:01.000Z",
10
- "senderSide": "reported",
11
- "text": "stop messaging me"
12
- },
13
- {
14
- "messageId": "m1",
15
- "sentAt": "2026-10-26T12:00:00.000Z",
16
- "senderSide": "reporter",
17
- "text": "hello"
18
- }
6
+ "reportId": "b3f1c2de-4a5b-4c6d-8e9f-0a1b2c3d4e5f",
7
+ "conversationId": "c0ffee00-2222-4a3b-9c4d-5e6f7a8b9c0d",
8
+ "certificates": [
9
+ "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ijg4NmZjMGViYzZiNzc4YmYifQ.eyJpc3MiOiJvbmVob29rLWNoYXQtdGVzdCIsImF1ZCI6Im1vZGVyYXRpb24iLCJzdWIiOiJhMWIyYzNkNC0wMDAwLTRlOGEtOWYxMi1hYWFhYmJiYmNjY2MiLCJtYXRjaElkIjoiYzBmZmVlMDAtMjIyMi00YTNiLTljNGQtNWU2ZjdhOGI5YzBkIiwicHVycG9zZSI6InJlcG9ydCIsImlhdCI6MTc5NDcwMDAwMCwiZXhwIjoxNzk0NzAzNjAwLCJqdGkiOiIwMDAwMDAwMC0wMDAwLTQwMDAtODAwMC0wMDAwMDAwMDAwMDEiLCJpdGVtcyI6W3sibWVzc2FnZUlkIjoibXNnLTAwMDEiLCJzZW50QXQiOjE3OTQ2Nzg0MDAwMDAsInNlbmRlciI6InNlbGYiLCJraW5kIjoidGV4dCIsInRleHQiOiJoZWxsbyJ9LHsibWVzc2FnZUlkIjoibXNnLTAwMDIiLCJzZW50QXQiOjE3OTQ2Nzg0MDEwMDAsInNlbmRlciI6Im1hdGNoIiwia2luZCI6InRleHQiLCJ0ZXh0Ijoic3RvcCBtZXNzYWdpbmcgbWUifV19.CJ8ak3vEXcukPLqxVKYod9TAWpbv9cWfTXGsbYA0DXf6l40huMDWr1AHzOTRMGL4zUu3iahdtSi4ujBU1fzyWw"
19
10
  ]
20
11
  },
12
+ "items": [
13
+ {
14
+ "messageId": "msg-0001",
15
+ "sentAt": 1794678400000,
16
+ "sender": "self",
17
+ "kind": "text",
18
+ "text": "hello"
19
+ },
20
+ {
21
+ "messageId": "msg-0002",
22
+ "sentAt": 1794678401000,
23
+ "sender": "match",
24
+ "kind": "text",
25
+ "text": "stop messaging me"
26
+ }
27
+ ],
28
+ "presign": {
29
+ "reportId": "b3f1c2de-4a5b-4c6d-8e9f-0a1b2c3d4e5f",
30
+ "sizeBytes": 929,
31
+ "sha256": "3991377598c1d0670545a40cda460d6f9b672bab7c703a183f4734269a60a99a",
32
+ "messageCount": 2,
33
+ "includesMedia": false
34
+ },
35
+ "complete": {
36
+ "reportId": "b3f1c2de-4a5b-4c6d-8e9f-0a1b2c3d4e5f",
37
+ "messageIds": [
38
+ "msg-0001",
39
+ "msg-0002"
40
+ ],
41
+ "firstSentAt": 1794678400000,
42
+ "lastSentAt": 1794678401000
43
+ },
21
44
  "bundle": {
22
- "v": 1,
23
- "reportId": "rep_01HZ",
24
- "conversationId": "conv_42",
45
+ "v": 2,
46
+ "reportId": "b3f1c2de-4a5b-4c6d-8e9f-0a1b2c3d4e5f",
47
+ "conversationId": "c0ffee00-2222-4a3b-9c4d-5e6f7a8b9c0d",
25
48
  "window": {
26
49
  "maxMessages": 200,
27
50
  "maxDays": 30
28
51
  },
29
- "messages": [
30
- {
31
- "messageId": "m1",
32
- "sentAt": "2026-10-26T12:00:00.000Z",
33
- "senderSide": "reporter",
34
- "text": "hello"
35
- },
36
- {
37
- "messageId": "m2",
38
- "sentAt": "2026-10-26T12:00:01.000Z",
39
- "senderSide": "reported",
40
- "text": "stop messaging me"
41
- }
42
- ],
43
- "attachments": []
52
+ "certificates": [
53
+ "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ijg4NmZjMGViYzZiNzc4YmYifQ.eyJpc3MiOiJvbmVob29rLWNoYXQtdGVzdCIsImF1ZCI6Im1vZGVyYXRpb24iLCJzdWIiOiJhMWIyYzNkNC0wMDAwLTRlOGEtOWYxMi1hYWFhYmJiYmNjY2MiLCJtYXRjaElkIjoiYzBmZmVlMDAtMjIyMi00YTNiLTljNGQtNWU2ZjdhOGI5YzBkIiwicHVycG9zZSI6InJlcG9ydCIsImlhdCI6MTc5NDcwMDAwMCwiZXhwIjoxNzk0NzAzNjAwLCJqdGkiOiIwMDAwMDAwMC0wMDAwLTQwMDAtODAwMC0wMDAwMDAwMDAwMDEiLCJpdGVtcyI6W3sibWVzc2FnZUlkIjoibXNnLTAwMDEiLCJzZW50QXQiOjE3OTQ2Nzg0MDAwMDAsInNlbmRlciI6InNlbGYiLCJraW5kIjoidGV4dCIsInRleHQiOiJoZWxsbyJ9LHsibWVzc2FnZUlkIjoibXNnLTAwMDIiLCJzZW50QXQiOjE3OTQ2Nzg0MDEwMDAsInNlbmRlciI6Im1hdGNoIiwia2luZCI6InRleHQiLCJ0ZXh0Ijoic3RvcCBtZXNzYWdpbmcgbWUifV19.CJ8ak3vEXcukPLqxVKYod9TAWpbv9cWfTXGsbYA0DXf6l40huMDWr1AHzOTRMGL4zUu3iahdtSi4ujBU1fzyWw"
54
+ ]
44
55
  },
45
- "canonical": "{\"v\":1,\"reportId\":\"rep_01HZ\",\"conversationId\":\"conv_42\",\"window\":{\"maxMessages\":200,\"maxDays\":30},\"messages\":[{\"messageId\":\"m1\",\"sentAt\":\"2026-10-26T12:00:00.000Z\",\"senderSide\":\"reporter\",\"text\":\"hello\"},{\"messageId\":\"m2\",\"sentAt\":\"2026-10-26T12:00:01.000Z\",\"senderSide\":\"reported\",\"text\":\"stop messaging me\"}],\"attachments\":[]}",
46
- "canonicalByteLength": 328,
47
- "canonicalBytesHex": "7b2276223a312c227265706f72744964223a227265705f3031485a222c22636f6e766572736174696f6e4964223a22636f6e765f3432222c2277696e646f77223a7b226d61784d65737361676573223a3230302c226d617844617973223a33307d2c226d65737361676573223a5b7b226d6573736167654964223a226d31222c2273656e744174223a22323032362d31302d32365431323a30303a30302e3030305a222c2273656e64657253696465223a227265706f72746572222c2274657874223a2268656c6c6f227d2c7b226d6573736167654964223a226d32222c2273656e744174223a22323032362d31302d32365431323a30303a30312e3030305a222c2273656e64657253696465223a227265706f72746564222c2274657874223a2273746f70206d6573736167696e67206d65227d5d2c226174746163686d656e7473223a5b5d7d",
48
- "sha256Hex": "d0cd2fdab27cee978781a8b341d0fa5f4fffb4da7e483c00c9848d10dd662998",
49
- "sha256Base64": "0M0v2rJ87peHgaizQdD6X0//tNp+SDwAyYSNEN1mKZg="
56
+ "canonical": "{\"v\":2,\"reportId\":\"b3f1c2de-4a5b-4c6d-8e9f-0a1b2c3d4e5f\",\"conversationId\":\"c0ffee00-2222-4a3b-9c4d-5e6f7a8b9c0d\",\"window\":{\"maxMessages\":200,\"maxDays\":30},\"certificates\":[\"eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ijg4NmZjMGViYzZiNzc4YmYifQ.eyJpc3MiOiJvbmVob29rLWNoYXQtdGVzdCIsImF1ZCI6Im1vZGVyYXRpb24iLCJzdWIiOiJhMWIyYzNkNC0wMDAwLTRlOGEtOWYxMi1hYWFhYmJiYmNjY2MiLCJtYXRjaElkIjoiYzBmZmVlMDAtMjIyMi00YTNiLTljNGQtNWU2ZjdhOGI5YzBkIiwicHVycG9zZSI6InJlcG9ydCIsImlhdCI6MTc5NDcwMDAwMCwiZXhwIjoxNzk0NzAzNjAwLCJqdGkiOiIwMDAwMDAwMC0wMDAwLTQwMDAtODAwMC0wMDAwMDAwMDAwMDEiLCJpdGVtcyI6W3sibWVzc2FnZUlkIjoibXNnLTAwMDEiLCJzZW50QXQiOjE3OTQ2Nzg0MDAwMDAsInNlbmRlciI6InNlbGYiLCJraW5kIjoidGV4dCIsInRleHQiOiJoZWxsbyJ9LHsibWVzc2FnZUlkIjoibXNnLTAwMDIiLCJzZW50QXQiOjE3OTQ2Nzg0MDEwMDAsInNlbmRlciI6Im1hdGNoIiwia2luZCI6InRleHQiLCJ0ZXh0Ijoic3RvcCBtZXNzYWdpbmcgbWUifV19.CJ8ak3vEXcukPLqxVKYod9TAWpbv9cWfTXGsbYA0DXf6l40huMDWr1AHzOTRMGL4zUu3iahdtSi4ujBU1fzyWw\"]}",
57
+ "canonicalByteLength": 929,
58
+ "canonicalBytesHex": "7b2276223a322c227265706f72744964223a2262336631633264652d346135622d346336642d386539662d306131623263336434653566222c22636f6e766572736174696f6e4964223a2263306666656530302d323232322d346133622d396334642d356536663761386239633064222c2277696e646f77223a7b226d61784d65737361676573223a3230302c226d617844617973223a33307d2c22636572746966696361746573223a5b2265794a68624763694f694a46557a49314e694973496e523563434936496b705856434973496d74705a434936496a67344e6d5a6a4d475669597a5a694e7a6334596d596966512e65794a7063334d694f694a76626d566f623239724c574e6f595851746447567a64434973496d46315a434936496d31765a47567959585270623234694c434a7a645749694f694a684d574979597a4e6b4e4330774d4441774c54526c4f4745744f5759784d69316859574668596d4a69596d4e6a59324d694c434a745958526a61456c6b496a6f69597a426d5a6d566c4d4441744d6a49794d69303059544e694c546c6a4e4751744e5755325a6a64684f474935597a426b49697769634856796347397a5a534936496e4a6c6347397964434973496d6c68644349364d5463354e4463774d4441774d4377695a586877496a6f784e7a6b304e7a417a4e6a41774c434a7164476b694f6949774d4441774d4441774d4330774d4441774c5451774d4441744f4441774d4330774d4441774d4441774d4441774d4445694c434a706447567463794936573373696257567a6332466e5a556c6b496a6f6962584e6e4c5441774d4445694c434a7a5a573530515851694f6a45334f5451324e7a67304d4441774d444173496e4e6c626d526c63694936496e4e6c624759694c434a726157356b496a6f696447563464434973496e526c654851694f694a6f5a57787362794a394c4873696257567a6332466e5a556c6b496a6f6962584e6e4c5441774d4449694c434a7a5a573530515851694f6a45334f5451324e7a67304d4445774d444173496e4e6c626d526c63694936496d316864474e6f4969776961326c755a434936496e526c654851694c434a305a586830496a6f6963335276634342745a584e7a59576470626d636762575569665631392e434a38616b3376455863756b504c7178564b596f6439544157706276396357665458477362594130445866366c343068754d4457723141487a4f54524d474c347a5575336961686474536934756a425531667a795777225d7d",
59
+ "sha256Hex": "3991377598c1d0670545a40cda460d6f9b672bab7c703a183f4734269a60a99a",
60
+ "sha256Base64": "OZE3dZjB0GcFRaQM2kYNb5tnK6t8cDoYP0c0JppgqZo="
50
61
  }
@@ -1,38 +1,53 @@
1
1
  {
2
- "note": "Locks escaping: escape only \" \\ and control<0x20 (\\b\\f\\n\\r\\t else \\u00XX lowercase); never escape / or non-ASCII or DEL.",
2
+ "note": "Canonical string escaping of the bundle's own strings: reportId and conversationId hold a quote, a backslash, '/', a tab, U+0001 (\\u0001, lowercase hex), DEL and non-ASCII. Real ids are UUIDs; this vector only pins the escaper.",
3
+ "reporterSubject": "a1b2c3d4-0000-4e8a-9f12-aaaabbbbcccc",
4
+ "verifyAt": 1794700300000,
3
5
  "input": {
4
- "reportId": "rep_esc",
5
- "conversationId": "conv_esc",
6
- "messages": [
7
- {
8
- "messageId": "m1",
9
- "sentAt": "2026-10-26T00:00:00.000Z",
10
- "senderSide": "reporter",
11
- "text": "quote:\" backslash:\\ slash:/ tab:\t newline:\n ctrl:\u0001 del: emoji:😀 accent:café"
12
- }
6
+ "reportId": "rep \"q\" \\ / \t \u0001  é",
7
+ "conversationId": "conv/é😀\n",
8
+ "certificates": [
9
+ "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ijg4NmZjMGViYzZiNzc4YmYifQ.eyJpc3MiOiJvbmVob29rLWNoYXQtdGVzdCIsImF1ZCI6Im1vZGVyYXRpb24iLCJzdWIiOiJhMWIyYzNkNC0wMDAwLTRlOGEtOWYxMi1hYWFhYmJiYmNjY2MiLCJtYXRjaElkIjoiY29udi_DqfCfmIBcbiIsInB1cnBvc2UiOiJyZXBvcnQiLCJpYXQiOjE3OTQ3MDAwMDAsImV4cCI6MTc5NDcwMzYwMCwianRpIjoiMDAwMDAwMDAtMDAwMC00MDAwLTgwMDAtMDAwMDAwMDAwMDA0IiwiaXRlbXMiOlt7Im1lc3NhZ2VJZCI6Im1zZy0wMDAxIiwic2VudEF0IjoxNzk0Njc4NDAwMDAwLCJzZW5kZXIiOiJzZWxmIiwia2luZCI6InRleHQiLCJ0ZXh0IjoiaGVsbG8ifV19.KYaSnv9mAbXyuJQ8fHNs7BsjFd2ts0xwp5gKnemHNN9NGWhR4-bc7jKeXVHWgvbOHt83lErfTqfx4qWbbnSTmg"
13
10
  ]
14
11
  },
12
+ "items": [
13
+ {
14
+ "messageId": "msg-0001",
15
+ "sentAt": 1794678400000,
16
+ "sender": "self",
17
+ "kind": "text",
18
+ "text": "hello"
19
+ }
20
+ ],
21
+ "presign": {
22
+ "reportId": "rep \"q\" \\ / \t \u0001  é",
23
+ "sizeBytes": 727,
24
+ "sha256": "83464c2580596dc2b54b712b68ffc96ee78cd36e886b5ab734d8e0da86200138",
25
+ "messageCount": 1,
26
+ "includesMedia": false
27
+ },
28
+ "complete": {
29
+ "reportId": "rep \"q\" \\ / \t \u0001  é",
30
+ "messageIds": [
31
+ "msg-0001"
32
+ ],
33
+ "firstSentAt": 1794678400000,
34
+ "lastSentAt": 1794678400000
35
+ },
15
36
  "bundle": {
16
- "v": 1,
17
- "reportId": "rep_esc",
18
- "conversationId": "conv_esc",
37
+ "v": 2,
38
+ "reportId": "rep \"q\" \\ / \t \u0001  é",
39
+ "conversationId": "conv/é😀\n",
19
40
  "window": {
20
41
  "maxMessages": 200,
21
42
  "maxDays": 30
22
43
  },
23
- "messages": [
24
- {
25
- "messageId": "m1",
26
- "sentAt": "2026-10-26T00:00:00.000Z",
27
- "senderSide": "reporter",
28
- "text": "quote:\" backslash:\\ slash:/ tab:\t newline:\n ctrl:\u0001 del: emoji:😀 accent:café"
29
- }
30
- ],
31
- "attachments": []
44
+ "certificates": [
45
+ "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ijg4NmZjMGViYzZiNzc4YmYifQ.eyJpc3MiOiJvbmVob29rLWNoYXQtdGVzdCIsImF1ZCI6Im1vZGVyYXRpb24iLCJzdWIiOiJhMWIyYzNkNC0wMDAwLTRlOGEtOWYxMi1hYWFhYmJiYmNjY2MiLCJtYXRjaElkIjoiY29udi_DqfCfmIBcbiIsInB1cnBvc2UiOiJyZXBvcnQiLCJpYXQiOjE3OTQ3MDAwMDAsImV4cCI6MTc5NDcwMzYwMCwianRpIjoiMDAwMDAwMDAtMDAwMC00MDAwLTgwMDAtMDAwMDAwMDAwMDA0IiwiaXRlbXMiOlt7Im1lc3NhZ2VJZCI6Im1zZy0wMDAxIiwic2VudEF0IjoxNzk0Njc4NDAwMDAwLCJzZW5kZXIiOiJzZWxmIiwia2luZCI6InRleHQiLCJ0ZXh0IjoiaGVsbG8ifV19.KYaSnv9mAbXyuJQ8fHNs7BsjFd2ts0xwp5gKnemHNN9NGWhR4-bc7jKeXVHWgvbOHt83lErfTqfx4qWbbnSTmg"
46
+ ]
32
47
  },
33
- "canonical": "{\"v\":1,\"reportId\":\"rep_esc\",\"conversationId\":\"conv_esc\",\"window\":{\"maxMessages\":200,\"maxDays\":30},\"messages\":[{\"messageId\":\"m1\",\"sentAt\":\"2026-10-26T00:00:00.000Z\",\"senderSide\":\"reporter\",\"text\":\"quote:\\\" backslash:\\\\ slash:/ tab:\\t newline:\\n ctrl:\\u0001 del: emoji:😀 accent:café\"}],\"attachments\":[]}",
34
- "canonicalByteLength": 306,
35
- "canonicalBytesHex": "7b2276223a312c227265706f72744964223a227265705f657363222c22636f6e766572736174696f6e4964223a22636f6e765f657363222c2277696e646f77223a7b226d61784d65737361676573223a3230302c226d617844617973223a33307d2c226d65737361676573223a5b7b226d6573736167654964223a226d31222c2273656e744174223a22323032362d31302d32365430303a30303a30302e3030305a222c2273656e64657253696465223a227265706f72746572222c2274657874223a2271756f74653a5c22206261636b736c6173683a5c5c20736c6173683a2f207461623a5c74206e65776c696e653a5c6e206374726c3a5c75303030312064656c3a7f20656d6f6a693af09f988020616363656e743a636166c3a9227d5d2c226174746163686d656e7473223a5b5d7d",
36
- "sha256Hex": "89206a07737afb492a63295099ced43b3b84baa6893f293377e99aaedc2d64bf",
37
- "sha256Base64": "iSBqB3N6+0kqYylQmc7UOzuEuqaJPykzd+martwtZL8="
48
+ "canonical": "{\"v\":2,\"reportId\":\"rep \\\"q\\\" \\\\ / \\t \\u0001  é\",\"conversationId\":\"conv/é😀\\n\",\"window\":{\"maxMessages\":200,\"maxDays\":30},\"certificates\":[\"eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ijg4NmZjMGViYzZiNzc4YmYifQ.eyJpc3MiOiJvbmVob29rLWNoYXQtdGVzdCIsImF1ZCI6Im1vZGVyYXRpb24iLCJzdWIiOiJhMWIyYzNkNC0wMDAwLTRlOGEtOWYxMi1hYWFhYmJiYmNjY2MiLCJtYXRjaElkIjoiY29udi_DqfCfmIBcbiIsInB1cnBvc2UiOiJyZXBvcnQiLCJpYXQiOjE3OTQ3MDAwMDAsImV4cCI6MTc5NDcwMzYwMCwianRpIjoiMDAwMDAwMDAtMDAwMC00MDAwLTgwMDAtMDAwMDAwMDAwMDA0IiwiaXRlbXMiOlt7Im1lc3NhZ2VJZCI6Im1zZy0wMDAxIiwic2VudEF0IjoxNzk0Njc4NDAwMDAwLCJzZW5kZXIiOiJzZWxmIiwia2luZCI6InRleHQiLCJ0ZXh0IjoiaGVsbG8ifV19.KYaSnv9mAbXyuJQ8fHNs7BsjFd2ts0xwp5gKnemHNN9NGWhR4-bc7jKeXVHWgvbOHt83lErfTqfx4qWbbnSTmg\"]}",
49
+ "canonicalByteLength": 727,
50
+ "canonicalBytesHex": "7b2276223a322c227265706f72744964223a22726570205c22715c22205c5c202f205c74205c7530303031207f20c3a9222c22636f6e766572736174696f6e4964223a22636f6e762fc3a9f09f98805c6e222c2277696e646f77223a7b226d61784d65737361676573223a3230302c226d617844617973223a33307d2c22636572746966696361746573223a5b2265794a68624763694f694a46557a49314e694973496e523563434936496b705856434973496d74705a434936496a67344e6d5a6a4d475669597a5a694e7a6334596d596966512e65794a7063334d694f694a76626d566f623239724c574e6f595851746447567a64434973496d46315a434936496d31765a47567959585270623234694c434a7a645749694f694a684d574979597a4e6b4e4330774d4441774c54526c4f4745744f5759784d69316859574668596d4a69596d4e6a59324d694c434a745958526a61456c6b496a6f695932397564695f44716643666d49426362694973496e4231636e4276633255694f694a795a584276636e51694c434a70595851694f6a45334f5451334d4441774d444173496d5634634349364d5463354e4463774d7a59774d437769616e5270496a6f694d4441774d4441774d4441744d4441774d4330304d4441774c5467774d4441744d4441774d4441774d4441774d444130496977696158526c62584d694f6c7437496d316c63334e685a32564a5a434936496d317a5a7930774d444178496977696332567564454630496a6f784e7a6b304e6a63344e4441774d4441774c434a7a5a57356b5a5849694f694a7a5a57786d4969776961326c755a434936496e526c654851694c434a305a586830496a6f696147567362473869665631392e4b5961536e76396d41625879754a513866484e733742736a46643274733078777035674b6e656d484e4e394e47576852342d6263376a4b65585648576776624f487438336c4572665471667834715762626e53546d67225d7d",
51
+ "sha256Hex": "83464c2580596dc2b54b712b68ffc96ee78cd36e886b5ab734d8e0da86200138",
52
+ "sha256Base64": "g0ZMJYBZbcK1S3EraP/JbueM026Ia1q3NNjg2oYgATg="
38
53
  }
@@ -0,0 +1,137 @@
1
+ {
2
+ "note": "Two certificates (a report certified in two chunks, kept in certification order) covering every message kind: text with a newline and emoji, photo, voice note and file with attachment metadata, location, live location (its start point), contact, quotes / backslash / ZWJ emoji / tab inside a text, unsupported.",
3
+ "reporterSubject": "a1b2c3d4-0000-4e8a-9f12-aaaabbbbcccc",
4
+ "verifyAt": 1794700300000,
5
+ "input": {
6
+ "reportId": "b3f1c2de-4a5b-4c6d-8e9f-0a1b2c3d4e5f",
7
+ "conversationId": "c0ffee00-2222-4a3b-9c4d-5e6f7a8b9c0d",
8
+ "certificates": [
9
+ "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ijg4NmZjMGViYzZiNzc4YmYifQ.eyJpc3MiOiJvbmVob29rLWNoYXQtdGVzdCIsImF1ZCI6Im1vZGVyYXRpb24iLCJzdWIiOiJhMWIyYzNkNC0wMDAwLTRlOGEtOWYxMi1hYWFhYmJiYmNjY2MiLCJtYXRjaElkIjoiYzBmZmVlMDAtMjIyMi00YTNiLTljNGQtNWU2ZjdhOGI5YzBkIiwicHVycG9zZSI6InJlcG9ydCIsImlhdCI6MTc5NDcwMDAwMCwiZXhwIjoxNzk0NzAzNjAwLCJqdGkiOiIwMDAwMDAwMC0wMDAwLTQwMDAtODAwMC0wMDAwMDAwMDAwMDIiLCJpdGVtcyI6W3sibWVzc2FnZUlkIjoibXNnLTAxMDEiLCJzZW50QXQiOjE3OTQ2Nzg0MDAwMDAsInNlbmRlciI6InNlbGYiLCJraW5kIjoidGV4dCIsInRleHQiOiJBcmUgeW91IGZyZWUgb24gU3VuZGF5P1xuTGV0J3MgbWVldCDimJXvuI8ifSx7Im1lc3NhZ2VJZCI6Im1zZy0wMTAyIiwic2VudEF0IjoxNzk0Njc4NDYwMDAwLCJzZW5kZXIiOiJtYXRjaCIsImtpbmQiOiJwaG90byIsInRleHQiOiJbUGhvdG9dIFN1bnNldCBmcm9tIHRoZSB0ZXJyYWNlIiwiYXR0YWNobWVudCI6eyJzaGEyNTYiOiJGVGdVaTg4ZENkYjNFaDJja2tzbWQweXJRVU9RRlN0WHB4bzlUV214eEZzIiwibWltZSI6ImltYWdlL2pwZWciLCJuYW1lIjoiSU1HXzAwM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VdIn1dfQ.7SraRLFaJnAUV5OW4dYPsF4Q8-MlGIg8B1KBXjNtlyOmcENzfXFyC04ObXwcuGlMkM7OoOGrtgOT9_NRBMzRvQ"
11
+ ]
12
+ },
13
+ "items": [
14
+ {
15
+ "messageId": "msg-0101",
16
+ "sentAt": 1794678400000,
17
+ "sender": "self",
18
+ "kind": "text",
19
+ "text": "Are you free on Sunday?\nLet's meet ☕️"
20
+ },
21
+ {
22
+ "messageId": "msg-0102",
23
+ "sentAt": 1794678460000,
24
+ "sender": "match",
25
+ "kind": "photo",
26
+ "text": "[Photo] Sunset from the terrace",
27
+ "attachment": {
28
+ "sha256": "FTgUi88dCdb3Eh2ckksmd0yrQUOQFStXpxo9TWmxxFs",
29
+ "mime": "image/jpeg",
30
+ "name": "IMG_0001.jpg",
31
+ "size": 182734
32
+ }
33
+ },
34
+ {
35
+ "messageId": "msg-0103",
36
+ "sentAt": 1794678520000,
37
+ "sender": "match",
38
+ "kind": "voice_note",
39
+ "text": "[Voice note]",
40
+ "attachment": {
41
+ "sha256": "mLhCXi9CV7etsTMHgOdKO_is_wPCg99IPyALVwAtmHs",
42
+ "mime": "audio/mp4",
43
+ "name": "voice.m4a",
44
+ "size": 48213
45
+ }
46
+ },
47
+ {
48
+ "messageId": "msg-0104",
49
+ "sentAt": 1794678580000,
50
+ "sender": "self",
51
+ "kind": "file",
52
+ "text": "[File: Itinerary.pdf] Our plan for Sunday",
53
+ "attachment": {
54
+ "sha256": "7rPIXlIbAO3AdQuOFqeKZXtw9guyE_wvx_h8tfmeT8A",
55
+ "mime": "application/pdf",
56
+ "name": "Itinerary.pdf",
57
+ "size": 90211
58
+ }
59
+ },
60
+ {
61
+ "messageId": "msg-0105",
62
+ "sentAt": 1794678640000,
63
+ "sender": "match",
64
+ "kind": "location",
65
+ "text": "[Location] Cafe Mocha · 12 MG Road, Bengaluru · 12.9716,77.5946"
66
+ },
67
+ {
68
+ "messageId": "msg-0106",
69
+ "sentAt": 1794678700000,
70
+ "sender": "match",
71
+ "kind": "live_location",
72
+ "text": "[Live location] 12.971812,77.594901"
73
+ },
74
+ {
75
+ "messageId": "msg-0107",
76
+ "sentAt": 1794678760000,
77
+ "sender": "self",
78
+ "kind": "contact",
79
+ "text": "[Contact] Asha Rao · Acme Studio · +91 98765 43210 · asha@example.com"
80
+ },
81
+ {
82
+ "messageId": "msg-0108",
83
+ "sentAt": 1794678820000,
84
+ "sender": "match",
85
+ "kind": "text",
86
+ "text": "She said \"stop\" \\ 👩‍👩‍👧 \t tab"
87
+ },
88
+ {
89
+ "messageId": "msg-0109",
90
+ "sentAt": 1794678880000,
91
+ "sender": "match",
92
+ "kind": "unsupported",
93
+ "text": "[Unsupported message]"
94
+ }
95
+ ],
96
+ "presign": {
97
+ "reportId": "b3f1c2de-4a5b-4c6d-8e9f-0a1b2c3d4e5f",
98
+ "sizeBytes": 3251,
99
+ "sha256": "4854354d0802d0758d58dcf74d5dd090b9482b419eec769cedabbc8ba65d7db2",
100
+ "messageCount": 9,
101
+ "includesMedia": false
102
+ },
103
+ "complete": {
104
+ "reportId": "b3f1c2de-4a5b-4c6d-8e9f-0a1b2c3d4e5f",
105
+ "messageIds": [
106
+ "msg-0101",
107
+ "msg-0102",
108
+ "msg-0103",
109
+ "msg-0104",
110
+ "msg-0105",
111
+ "msg-0106",
112
+ "msg-0107",
113
+ "msg-0108",
114
+ "msg-0109"
115
+ ],
116
+ "firstSentAt": 1794678400000,
117
+ "lastSentAt": 1794678880000
118
+ },
119
+ "bundle": {
120
+ "v": 2,
121
+ "reportId": "b3f1c2de-4a5b-4c6d-8e9f-0a1b2c3d4e5f",
122
+ "conversationId": "c0ffee00-2222-4a3b-9c4d-5e6f7a8b9c0d",
123
+ "window": {
124
+ "maxMessages": 200,
125
+ "maxDays": 30
126
+ },
127
+ "certificates": [
128
+ "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ijg4NmZjMGViYzZiNzc4YmYifQ.eyJpc3MiOiJvbmVob29rLW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ZXhwIjoxNzk0NzAzNjAwLCJqdGkiOiIwMDAwMDAwMC0wMDAwLTQwMDAtODAwMC0wMDAwMDAwMDAwMDMiLCJpdGVtcyI6W3sibWVzc2FnZUlkIjoibXNnLTAxMDYiLCJzZW50QXQiOjE3OTQ2Nzg3MDAwMDAsInNlbmRlciI6Im1hdGNoIiwia2luZCI6ImxpdmVfbG9jYXRpb24iLCJ0ZXh0IjoiW0xpdmUgbG9jYXRpb25dIDEyLjk3MTgxMiw3Ny41OTQ5MDEifSx7Im1lc3NhZ2VJZCI6Im1zZy0wMTA3Iiwic2VudEF0IjoxNzk0Njc4NzYwMDAwLCJzZW5kZXIiOiJzZWxmIiwia2luZCI6ImNvbnRhY3QiLCJ0ZXh0IjoiW0NvbnRhY3RdIEFzaGEgUmFvIMK3IEFjbWUgU3R1ZGlvIMK3ICs5MSA5ODc2NSA0MzIxMCDCtyBhc2hhQGV4YW1wbGUuY29tIn0seyJtZXNzYWdlSWQiOiJtc2ctMDEwOCIsInNlbnRBdCI6MTc5NDY3ODgyMDAwMCwic2VuZGVyIjoibWF0Y2giLCJraW5kIjoidGV4dCIsInRleHQiOiJTaGUgc2FpZCBcInN0b3BcIiBcXCDwn5Gp4oCN8J-RqeKAjfCfkacgXHQgdGFiIn0seyJtZXNzYWdlSWQiOiJtc2ctMDEwOSIsInNlbnRBdCI6MTc5NDY3ODg4MDAwMCwic2VuZGVyIjoibWF0Y2giLCJraW5kIjoidW5zdXBwb3J0ZWQiLCJ0ZXh0IjoiW1Vuc3VwcG9ydGVkIG1lc3NhZ2VdIn1dfQ.7SraRLFaJnAUV5OW4dYPsF4Q8-MlGIg8B1KBXjNtlyOmcENzfXFyC04ObXwcuGlMkM7OoOGrtgOT9_NRBMzRvQ\"]}",
133
+ "canonicalByteLength": 3251,
134
+ "canonicalBytesHex": "7b2276223a322c227265706f72744964223a2262336631633264652d346135622d346336642d386539662d306131623263336434653566222c22636f6e766572736174696f6e4964223a2263306666656530302d323232322d346133622d396334642d356536663761386239633064222c2277696e646f77223a7b226d61784d65737361676573223a3230302c226d617844617973223a33307d2c22636572746966696361746573223a5b2265794a68624763694f694a46557a49314e694973496e523563434936496b705856434973496d74705a434936496a67344e6d5a6a4d475669597a5a694e7a6334596d596966512e65794a7063334d694f694a76626d566f623239724c574e6f595851746447567a64434973496d46315a434936496d31765a47567959585270623234694c434a7a645749694f694a684d574979597a4e6b4e4330774d4441774c54526c4f4745744f5759784d69316859574668596d4a69596d4e6a59324d694c434a745958526a61456c6b496a6f69597a426d5a6d566c4d4441744d6a49794d69303059544e694c546c6a4e4751744e5755325a6a64684f474935597a426b49697769634856796347397a5a534936496e4a6c6347397964434973496d6c68644349364d5463354e4463774d4441774d4377695a586877496a6f784e7a6b304e7a417a4e6a41774c434a7164476b694f6949774d4441774d4441774d4330774d4441774c5451774d4441744f4441774d4330774d4441774d4441774d4441774d4449694c434a706447567463794936573373696257567a6332466e5a556c6b496a6f6962584e6e4c5441784d4445694c434a7a5a573530515851694f6a45334f5451324e7a67304d4441774d444173496e4e6c626d526c63694936496e4e6c624759694c434a726157356b496a6f696447563464434973496e526c654851694f694a42636d55676557393149475a795a57556762323467553356755a47463550317875544756304a334d676257566c644344696d4a58767549386966537837496d316c63334e685a32564a5a434936496d317a5a7930774d544179496977696332567564454630496a6f784e7a6b304e6a63344e4459774d4441774c434a7a5a57356b5a5849694f694a745958526a61434973496d7470626d51694f694a776147393062794973496e526c654851694f694a62554768766447396449464e31626e4e6c6443426d636d39744948526f5a5342305a584a7959574e6c496977695958523059574e6f625756756443493665794a7a614745794e5459694f694a4756476456615467345a454e6b596a4e4661444a6a6132747a6257517765584a5256553952526c4e3057484234627a6c555632313465455a7a4969776962576c745a534936496d6c745957646c4c3270775a5763694c434a755957316c496a6f6953553148587a41774d444575616e426e4969776963326c365a5349364d5467794e7a4d306658307365794a745a584e7a5957646c535751694f694a74633263744d4445774d794973496e4e6c626e5242644349364d5463354e4459334f4455794d4441774d437769633256755a475679496a6f6962574630593267694c434a726157356b496a6f69646d397059325666626d39305a534973496e526c654851694f694a62566d397059325567626d39305a5630694c434a6864485268593268745a573530496a7037496e4e6f595449314e694936496d314d61454e5961546c44566a646c64484e555455686e5432524c543139706331393355454e6e4f546c4a55486c4254465a335158527453484d694c434a746157316c496a6f695958566b615738766258413049697769626d46745a534936496e5a7661574e6c4c6d303059534973496e4e70656d55694f6a51344d6a457a6658307365794a745a584e7a5957646c535751694f694a74633263744d4445774e434973496e4e6c626e5242644349364d5463354e4459334f4455344d4441774d437769633256755a475679496a6f69633256735a694973496d7470626d51694f694a6d6157786c496977696447563464434936496c74476157786c4f69424a64476c755a584a68636e6b756347526d5853425064584967634778686269426d62334967553356755a474635496977695958523059574e6f625756756443493665794a7a614745794e5459694f694933636c424a5747784a596b46504d30466b55585650526e466c53317059644863355a33563552563933646e6866614468305a6d316c564468424969776962576c745a534936496d46776347787059324630615739754c33426b5a694973496d3568625755694f694a4a64476c755a584a68636e6b756347526d4969776963326c365a5349364f5441794d54463966537837496d316c63334e685a32564a5a434936496d317a5a7930774d544131496977696332567564454630496a6f784e7a6b304e6a63344e6a51774d4441774c434a7a5a57356b5a5849694f694a745958526a61434973496d7470626d51694f694a7362324e6864476c7662694973496e526c654851694f694a625447396a595852706232356449454e685a6d55675457396a61474567777263674d54496754556367556d39685a437767516d56755a32467364584a31494d4b33494445794c6a6b334d5459734e7a63754e546b304e694a395858302e4f6f4c46554737714e4e4b5a4373597138644c67533547307474307536544438645a334643365946367a70716c63356442364c4c626c70467152364751744b3873736d6133753870734737515a502d75486946396577222c2265794a68624763694f694a46557a49314e694973496e523563434936496b705856434973496d74705a434936496a67344e6d5a6a4d475669597a5a694e7a6334596d596966512e65794a7063334d694f694a76626d566f623239724c574e6f595851746447567a64434973496d46315a434936496d31765a47567959585270623234694c434a7a645749694f694a684d574979597a4e6b4e4330774d4441774c54526c4f4745744f5759784d69316859574668596d4a69596d4e6a59324d694c434a745958526a61456c6b496a6f69597a426d5a6d566c4d4441744d6a49794d69303059544e694c546c6a4e4751744e5755325a6a64684f474935597a426b49697769634856796347397a5a534936496e4a6c6347397964434973496d6c68644349364d5463354e4463774d4441774d4377695a586877496a6f784e7a6b304e7a417a4e6a41774c434a7164476b694f6949774d4441774d4441774d4330774d4441774c5451774d4441744f4441774d4330774d4441774d4441774d4441774d444d694c434a706447567463794936573373696257567a6332466e5a556c6b496a6f6962584e6e4c5441784d4459694c434a7a5a573530515851694f6a45334f5451324e7a67334d4441774d444173496e4e6c626d526c63694936496d316864474e6f4969776961326c755a434936496d7870646d56666247396a59585270623234694c434a305a586830496a6f6957307870646d55676247396a5958527062323564494445794c6a6b334d5467784d6977334e7934314f5451354d44456966537837496d316c63334e685a32564a5a434936496d317a5a7930774d544133496977696332567564454630496a6f784e7a6b304e6a63344e7a59774d4441774c434a7a5a57356b5a5849694f694a7a5a57786d4969776961326c755a434936496d4e76626e5268593351694c434a305a586830496a6f6957304e76626e5268593352644945467a61474567556d4676494d4b334945466a62575567553352315a476c76494d4b33494373354d5341354f4463324e5341304d7a49784d434443747942686332686851475634595731776247557559323974496e307365794a745a584e7a5957646c535751694f694a74633263744d4445774f434973496e4e6c626e5242644349364d5463354e4459334f4467794d4441774d437769633256755a475679496a6f6962574630593267694c434a726157356b496a6f696447563464434973496e526c654851694f694a5461475567633246705a434263496e4e306233426349694263584344776e354770346f434e384a2d5271654b416a6643666b6163675848516764474669496e307365794a745a584e7a5957646c535751694f694a74633263744d4445774f534973496e4e6c626e5242644349364d5463354e4459334f4467344d4441774d437769633256755a475679496a6f6962574630593267694c434a726157356b496a6f696457357a6458427762334a305a5751694c434a305a586830496a6f695731567563335677634739796447566b4947316c63334e685a325664496e316466512e37537261524c46614a6e415556354f573464595073463451382d4d6c4749673842314b42586a4e746c794f6d63454e7a665846794330344f6258776375476c4d6b4d374f6f4f477274674f54395f4e52424d7a527651225d7d",
135
+ "sha256Hex": "4854354d0802d0758d58dcf74d5dd090b9482b419eec769cedabbc8ba65d7db2",
136
+ "sha256Base64": "SFQ1TQgC0HWNWNz3TV3QkLlIK0Ge7Hac7au8i6ZdfbI="
137
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "keys": [
3
+ {
4
+ "kty": "EC",
5
+ "crv": "P-256",
6
+ "x": "72FM3Zvge-NSGlf1BZzRVBJb1wfIMcJ0wZe6wK32-P4",
7
+ "y": "ZpxZKHVL93zcR8-OEAz2pa594SGsUxR28sDmhFIiWHY",
8
+ "kid": "886fc0ebc6b778bf",
9
+ "alg": "ES256",
10
+ "use": "sig"
11
+ }
12
+ ]
13
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "kty": "EC",
3
+ "crv": "P-256",
4
+ "x": "72FM3Zvge-NSGlf1BZzRVBJb1wfIMcJ0wZe6wK32-P4",
5
+ "y": "ZpxZKHVL93zcR8-OEAz2pa594SGsUxR28sDmhFIiWHY",
6
+ "d": "Yn13r7IjvFxm4PiNPcmbb_hgxcMv4k91PGvULLhjVwo",
7
+ "kid": "886fc0ebc6b778bf",
8
+ "alg": "ES256",
9
+ "use": "sig",
10
+ "_comment": "TEST ONLY. Signs the bundle-*.json certificates. Never put this key in a deployed MESSAGE_CERTIFICATE_JWKS."
11
+ }
@@ -28,19 +28,31 @@ declare const CompleteEvidenceCommand_base: {
28
28
  };
29
29
  /**
30
30
  * Finalises an upload: HEADs the object and requires its size and S3 SHA-256 checksum to match the
31
- * presign, records the evidence on the reported member's case (hasEvidence, priority recomputed) and
32
- * tags the object `state=open`. Idempotent on `evidenceId`: a replay after completion answers
33
- * `idempotent: true` and writes nothing.
31
+ * presign, reads the bundle back and verifies every message certificate in it, records the evidence
32
+ * on the reported member's case (hasEvidence, priority recomputed) and tags the object `state=open`.
33
+ * Idempotent on `evidenceId`: a replay after completion answers `idempotent: true` and writes nothing.
34
+ *
35
+ * Certificate rules (any failure is 400 `EVIDENCE_CERTIFICATE_INVALID`): the bundle is a canonical
36
+ * version 2 bundle for this `reportId` and the report's conversation, with at least one certificate;
37
+ * every certificate is ES256 with a key from the Chat service's JWKS, `aud` `moderation`, `purpose`
38
+ * `report`, `sub` the reporter, `matchId` the bundle's `conversationId`, issued no more than 1 hour
39
+ * before the upload (S3's upload time) and not expired at it; no `messageId` repeats across
40
+ * certificates; at most evidence.window.maxMessages (200) items, each `sentAt` within the window
41
+ * (maxDays before the upload); `messageCount` from the presign is the number of items; `messageIds`
42
+ * are exactly the items' `messageId`s and `firstSentAt` / `lastSentAt` the earliest / latest
43
+ * `sentAt`. App action: certify again once, then show an error.
34
44
  *
35
45
  * Codes:
36
- * 400 `INVALID_REQUEST`, `WINDOW_EXCEEDED`, `DUPLICATE_MESSAGE_IDS`, `INVALID_WINDOW`;
46
+ * 400 `INVALID_REQUEST`, `WINDOW_EXCEEDED`, `DUPLICATE_MESSAGE_IDS`, `INVALID_WINDOW`,
47
+ * `EVIDENCE_CERTIFICATE_INVALID`;
37
48
  * 403 `NOT_REPORTER` (a different member than the one who presigned);
38
49
  * 404 `NOT_FOUND` (the case is gone);
39
50
  * 409 `EVIDENCE_ID_MISMATCH` (no presign for this report, or another evidenceId),
40
51
  * `EVIDENCE_NOT_UPLOADED`, `SIZE_MISMATCH`, `CHECKSUM_MISSING`, `HASH_MISMATCH`,
41
52
  * `CASE_VERSION_CONFLICT`;
42
53
  * 503 `EVIDENCE_FINALIZE_RETRY` (the `state=open` tag could not be confirmed; nothing was recorded,
43
- * so retry the same call. Its `retryable` is true).
54
+ * so retry the same call. Its `retryable` is true), `EVIDENCE_CERTIFICATE_KEYS_UNAVAILABLE`
55
+ * (the portal could not get the Chat verifying keys; nothing was recorded; `retryable` true).
44
56
  * @example
45
57
  * Use a bare-bones client and the command you need to make an API call.
46
58
  * ```javascript
@@ -31,6 +31,12 @@ declare const PresignEvidenceCommand_base: {
31
31
  * bundle (key `pending/\{reportId\}/\{evidenceId\}.json`, SSE-KMS, `x-amz-checksum-sha256`). Only the
32
32
  * reporter may do this. A new presign replaces an earlier one that was never completed.
33
33
  *
34
+ * The bundle is version 2 (OneHookBackend docs/message-franking.md §8), in the canonical JSON form
35
+ * of the contract fixtures (`contract-fixtures/moderation/bundle-*.json`):
36
+ * `\{"v":2,"reportId","conversationId","window":\{"maxMessages","maxDays"\},"certificates":<list of JWS strings>\}`.
37
+ * Each certificate is a Chat `CertifyMessages` result for purpose `report`, unchanged. There is no
38
+ * plain-text message list any more.
39
+ *
34
40
  * Codes, in the order they are checked:
35
41
  * 400 `INVALID_REQUEST` (a field is missing or malformed);
36
42
  * 403 `NOT_REPORTER` (the caller is not the reporter, or the report is unknown or unreadable; never
@@ -15,8 +15,8 @@ export interface ModerationEvidenceErrorDetail {
15
15
  */
16
16
  message: string;
17
17
  /**
18
- * Whether the portal marks the failure retryable (`rate-limited`, `internal-error` and
19
- * `EVIDENCE_FINALIZE_RETRY` are).
18
+ * Whether the portal marks the failure retryable (`rate-limited`, `internal-error`,
19
+ * `EVIDENCE_FINALIZE_RETRY` and `EVIDENCE_CERTIFICATE_KEYS_UNAVAILABLE` are).
20
20
  * @public
21
21
  */
22
22
  retryable: boolean;
@@ -66,17 +66,18 @@ export interface CompleteEvidenceRequest {
66
66
  */
67
67
  evidenceId: string;
68
68
  /**
69
- * Ids of the messages in the bundle: unique, non-empty, at most evidence.window.maxMessages.
69
+ * Ids of the certified messages in the bundle (every certificate item's `messageId`, in any order):
70
+ * unique, non-empty, at most evidence.window.maxMessages.
70
71
  * @public
71
72
  */
72
73
  messageIds: (string)[];
73
74
  /**
74
- * Sent time of the first message, epoch milliseconds. Not after `lastSentAt`.
75
+ * The earliest certified `sentAt`, epoch milliseconds. Not after `lastSentAt`.
75
76
  * @public
76
77
  */
77
78
  firstSentAt: number;
78
79
  /**
79
- * Sent time of the last message, epoch milliseconds.
80
+ * The latest certified `sentAt`, epoch milliseconds.
80
81
  * @public
81
82
  */
82
83
  lastSentAt: number;
@@ -259,7 +260,8 @@ export interface PresignEvidenceRequest {
259
260
  */
260
261
  sha256: string;
261
262
  /**
262
- * Messages in the bundle; at most evidence.window.maxMessages (default 200).
263
+ * Certified messages in the bundle: the items of all its certificates together; at most
264
+ * evidence.window.maxMessages (default 200). `CompleteEvidence` requires it to be exactly that count.
263
265
  * @public
264
266
  */
265
267
  messageCount: number;
@@ -7,7 +7,7 @@
7
7
  "paths": {
8
8
  "/api/p/{service}/{stage}/moderation/evidence/complete": {
9
9
  "post": {
10
- "description": "Finalises an upload: HEADs the object and requires its size and S3 SHA-256 checksum to match the\npresign, records the evidence on the reported member's case (hasEvidence, priority recomputed) and\ntags the object `state=open`. Idempotent on `evidenceId`: a replay after completion answers\n`idempotent: true` and writes nothing.\n\nCodes:\n 400 `INVALID_REQUEST`, `WINDOW_EXCEEDED`, `DUPLICATE_MESSAGE_IDS`, `INVALID_WINDOW`;\n 403 `NOT_REPORTER` (a different member than the one who presigned);\n 404 `NOT_FOUND` (the case is gone);\n 409 `EVIDENCE_ID_MISMATCH` (no presign for this report, or another evidenceId),\n `EVIDENCE_NOT_UPLOADED`, `SIZE_MISMATCH`, `CHECKSUM_MISSING`, `HASH_MISMATCH`,\n `CASE_VERSION_CONFLICT`;\n 503 `EVIDENCE_FINALIZE_RETRY` (the `state=open` tag could not be confirmed; nothing was recorded,\n so retry the same call. Its `retryable` is true).",
10
+ "description": "Finalises an upload: HEADs the object and requires its size and S3 SHA-256 checksum to match the\npresign, reads the bundle back and verifies every message certificate in it, records the evidence\non the reported member's case (hasEvidence, priority recomputed) and tags the object `state=open`.\nIdempotent on `evidenceId`: a replay after completion answers `idempotent: true` and writes nothing.\n\nCertificate rules (any failure is 400 `EVIDENCE_CERTIFICATE_INVALID`): the bundle is a canonical\nversion 2 bundle for this `reportId` and the report's conversation, with at least one certificate;\nevery certificate is ES256 with a key from the Chat service's JWKS, `aud` `moderation`, `purpose`\n`report`, `sub` the reporter, `matchId` the bundle's `conversationId`, issued no more than 1 hour\nbefore the upload (S3's upload time) and not expired at it; no `messageId` repeats across\ncertificates; at most evidence.window.maxMessages (200) items, each `sentAt` within the window\n(maxDays before the upload); `messageCount` from the presign is the number of items; `messageIds`\nare exactly the items' `messageId`s and `firstSentAt` / `lastSentAt` the earliest / latest\n`sentAt`. App action: certify again once, then show an error.\n\nCodes:\n 400 `INVALID_REQUEST`, `WINDOW_EXCEEDED`, `DUPLICATE_MESSAGE_IDS`, `INVALID_WINDOW`,\n `EVIDENCE_CERTIFICATE_INVALID`;\n 403 `NOT_REPORTER` (a different member than the one who presigned);\n 404 `NOT_FOUND` (the case is gone);\n 409 `EVIDENCE_ID_MISMATCH` (no presign for this report, or another evidenceId),\n `EVIDENCE_NOT_UPLOADED`, `SIZE_MISMATCH`, `CHECKSUM_MISSING`, `HASH_MISMATCH`,\n `CASE_VERSION_CONFLICT`;\n 503 `EVIDENCE_FINALIZE_RETRY` (the `state=open` tag could not be confirmed; nothing was recorded,\n so retry the same call. Its `retryable` is true), `EVIDENCE_CERTIFICATE_KEYS_UNAVAILABLE`\n (the portal could not get the Chat verifying keys; nothing was recorded; `retryable` true).",
11
11
  "operationId": "CompleteEvidence",
12
12
  "requestBody": {
13
13
  "content": {
@@ -145,7 +145,7 @@
145
145
  },
146
146
  "/api/p/{service}/{stage}/moderation/evidence/presign": {
147
147
  "post": {
148
- "description": "Authorises an evidence upload for one report and returns a presigned S3 PUT for the canonical\nbundle (key `pending/{reportId}/{evidenceId}.json`, SSE-KMS, `x-amz-checksum-sha256`). Only the\nreporter may do this. A new presign replaces an earlier one that was never completed.\n\nCodes, in the order they are checked:\n 400 `INVALID_REQUEST` (a field is missing or malformed);\n 403 `NOT_REPORTER` (the caller is not the reporter, or the report is unknown or unreadable; never\n an existence signal);\n 404 `EVIDENCE_DISABLED` (evidence upload is off for this service);\n 409 `EVIDENCE_NOT_OFFERED`, `EVIDENCE_DISABLED` (the report's category does not allow evidence),\n `REPORT_TOO_OLD`, `EVIDENCE_ALREADY_COMPLETED`;\n 400 `MEDIA_NOT_ALLOWED`, `WINDOW_EXCEEDED`;\n 413 `EVIDENCE_TOO_LARGE`.",
148
+ "description": "Authorises an evidence upload for one report and returns a presigned S3 PUT for the canonical\nbundle (key `pending/{reportId}/{evidenceId}.json`, SSE-KMS, `x-amz-checksum-sha256`). Only the\nreporter may do this. A new presign replaces an earlier one that was never completed.\n\nThe bundle is version 2 (OneHookBackend docs/message-franking.md §8), in the canonical JSON form\nof the contract fixtures (`contract-fixtures/moderation/bundle-*.json`):\n`{\"v\":2,\"reportId\",\"conversationId\",\"window\":{\"maxMessages\",\"maxDays\"},\"certificates\":<list of JWS strings>}`.\nEach certificate is a Chat `CertifyMessages` result for purpose `report`, unchanged. There is no\nplain-text message list any more.\n\nCodes, in the order they are checked:\n 400 `INVALID_REQUEST` (a field is missing or malformed);\n 403 `NOT_REPORTER` (the caller is not the reporter, or the report is unknown or unreadable; never\n an existence signal);\n 404 `EVIDENCE_DISABLED` (evidence upload is off for this service);\n 409 `EVIDENCE_NOT_OFFERED`, `EVIDENCE_DISABLED` (the report's category does not allow evidence),\n `REPORT_TOO_OLD`, `EVIDENCE_ALREADY_COMPLETED`;\n 400 `MEDIA_NOT_ALLOWED`, `WINDOW_EXCEEDED`;\n 413 `EVIDENCE_TOO_LARGE`.",
149
149
  "operationId": "PresignEvidence",
150
150
  "requestBody": {
151
151
  "content": {
@@ -323,16 +323,16 @@
323
323
  "items": {
324
324
  "type": "string"
325
325
  },
326
- "description": "Ids of the messages in the bundle: unique, non-empty, at most evidence.window.maxMessages."
326
+ "description": "Ids of the certified messages in the bundle (every certificate item's `messageId`, in any order):\nunique, non-empty, at most evidence.window.maxMessages."
327
327
  },
328
328
  "firstSentAt": {
329
329
  "type": "integer",
330
- "description": "Sent time of the first message, epoch milliseconds. Not after `lastSentAt`.",
330
+ "description": "The earliest certified `sentAt`, epoch milliseconds. Not after `lastSentAt`.",
331
331
  "format": "int64"
332
332
  },
333
333
  "lastSentAt": {
334
334
  "type": "integer",
335
- "description": "Sent time of the last message, epoch milliseconds.",
335
+ "description": "The latest certified `sentAt`, epoch milliseconds.",
336
336
  "format": "int64"
337
337
  }
338
338
  },
@@ -447,7 +447,7 @@
447
447
  },
448
448
  "retryable": {
449
449
  "type": "boolean",
450
- "description": "Whether the portal marks the failure retryable (`rate-limited`, `internal-error` and\n`EVIDENCE_FINALIZE_RETRY` are)."
450
+ "description": "Whether the portal marks the failure retryable (`rate-limited`, `internal-error`,\n`EVIDENCE_FINALIZE_RETRY` and `EVIDENCE_CERTIFICATE_KEYS_UNAVAILABLE` are)."
451
451
  }
452
452
  },
453
453
  "required": [
@@ -502,7 +502,7 @@
502
502
  "messageCount": {
503
503
  "type": "integer",
504
504
  "minimum": 0,
505
- "description": "Messages in the bundle; at most evidence.window.maxMessages (default 200).",
505
+ "description": "Certified messages in the bundle: the items of all its certificates together; at most\nevidence.window.maxMessages (default 200). `CompleteEvidence` requires it to be exactly that count.",
506
506
  "format": "int32"
507
507
  },
508
508
  "includesMedia": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saha-equation-admin-portal-client",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "Generated TypeScript clients and route manifest for the admin portal's public feature APIs (moderation evidence, admissions), for any service the portal hosts.",
5
5
  "license": "UNLICENSED",
6
6
  "author": "OneHook",
@@ -1,24 +0,0 @@
1
- {
2
- "note": "No messages: empty messages[] and attachments[], default window.",
3
- "input": {
4
- "reportId": "rep_empty",
5
- "conversationId": "conv_empty",
6
- "messages": []
7
- },
8
- "bundle": {
9
- "v": 1,
10
- "reportId": "rep_empty",
11
- "conversationId": "conv_empty",
12
- "window": {
13
- "maxMessages": 200,
14
- "maxDays": 30
15
- },
16
- "messages": [],
17
- "attachments": []
18
- },
19
- "canonical": "{\"v\":1,\"reportId\":\"rep_empty\",\"conversationId\":\"conv_empty\",\"window\":{\"maxMessages\":200,\"maxDays\":30},\"messages\":[],\"attachments\":[]}",
20
- "canonicalByteLength": 133,
21
- "canonicalBytesHex": "7b2276223a312c227265706f72744964223a227265705f656d707479222c22636f6e766572736174696f6e4964223a22636f6e765f656d707479222c2277696e646f77223a7b226d61784d65737361676573223a3230302c226d617844617973223a33307d2c226d65737361676573223a5b5d2c226174746163686d656e7473223a5b5d7d",
22
- "sha256Hex": "256838f9f46c1e37e0e1c2936d70c5956f1ae40ac34a8cb4515c9d744660a1e5",
23
- "sha256Base64": "JWg4+fRsHjfg4cKTbXDFlW8a5ArDSoy0UVyddEZgoeU="
24
- }
@@ -1,57 +0,0 @@
1
- {
2
- "note": "Equal sentAt tie-broken by messageId (a before b); attachments present (media opt-in).",
3
- "input": {
4
- "reportId": "rep_media",
5
- "conversationId": "conv_media",
6
- "messages": [
7
- {
8
- "messageId": "b",
9
- "sentAt": "2026-10-26T09:30:00.500Z",
10
- "senderSide": "reported",
11
- "text": "two"
12
- },
13
- {
14
- "messageId": "a",
15
- "sentAt": "2026-10-26T09:30:00.500Z",
16
- "senderSide": "reporter",
17
- "text": "one"
18
- }
19
- ],
20
- "attachments": [
21
- "att_0001",
22
- "att_0002"
23
- ]
24
- },
25
- "bundle": {
26
- "v": 1,
27
- "reportId": "rep_media",
28
- "conversationId": "conv_media",
29
- "window": {
30
- "maxMessages": 200,
31
- "maxDays": 30
32
- },
33
- "messages": [
34
- {
35
- "messageId": "a",
36
- "sentAt": "2026-10-26T09:30:00.500Z",
37
- "senderSide": "reporter",
38
- "text": "one"
39
- },
40
- {
41
- "messageId": "b",
42
- "sentAt": "2026-10-26T09:30:00.500Z",
43
- "senderSide": "reported",
44
- "text": "two"
45
- }
46
- ],
47
- "attachments": [
48
- "att_0001",
49
- "att_0002"
50
- ]
51
- },
52
- "canonical": "{\"v\":1,\"reportId\":\"rep_media\",\"conversationId\":\"conv_media\",\"window\":{\"maxMessages\":200,\"maxDays\":30},\"messages\":[{\"messageId\":\"a\",\"sentAt\":\"2026-10-26T09:30:00.500Z\",\"senderSide\":\"reporter\",\"text\":\"one\"},{\"messageId\":\"b\",\"sentAt\":\"2026-10-26T09:30:00.500Z\",\"senderSide\":\"reported\",\"text\":\"two\"}],\"attachments\":[\"att_0001\",\"att_0002\"]}",
53
- "canonicalByteLength": 335,
54
- "canonicalBytesHex": "7b2276223a312c227265706f72744964223a227265705f6d65646961222c22636f6e766572736174696f6e4964223a22636f6e765f6d65646961222c2277696e646f77223a7b226d61784d65737361676573223a3230302c226d617844617973223a33307d2c226d65737361676573223a5b7b226d6573736167654964223a2261222c2273656e744174223a22323032362d31302d32365430393a33303a30302e3530305a222c2273656e64657253696465223a227265706f72746572222c2274657874223a226f6e65227d2c7b226d6573736167654964223a2262222c2273656e744174223a22323032362d31302d32365430393a33303a30302e3530305a222c2273656e64657253696465223a227265706f72746564222c2274657874223a2274776f227d5d2c226174746163686d656e7473223a5b226174745f30303031222c226174745f30303032225d7d",
55
- "sha256Hex": "975a5b39f428c09269cee0198040a6cc8a5c4387d5b4f86ebbd4dc541f29a870",
56
- "sha256Base64": "l1pbOfQowJJpzuAZgECmzIpcQ4fVtPhuu9TcVB8pqHA="
57
- }