From 96524b5b12ae660cb5a9c8cf620573c5216fc00b Mon Sep 17 00:00:00 2001 From: "vycari-contract-sync[bot]" <355595071+vycari-contract-sync[bot]@users.noreply.github.com> Date: Sat, 14 Nov 2026 15:56:35 +0000 Subject: [PATCH] chore(contract): sync from Vycari/pepper @ 7297aa59 --- contracts/SOURCE.json | 6 +- contracts/api-v1.openapi.json | 381 ++++++++++++++++++++++++++++++++++ 2 files changed, 384 insertions(+), 3 deletions(-) diff --git a/contracts/SOURCE.json b/contracts/SOURCE.json index 938f558..8c51cfe 100644 --- a/contracts/SOURCE.json +++ b/contracts/SOURCE.json @@ -1,6 +1,6 @@ { "repo": "Vycari/pepper", - "run_id": 43544550290, - "head_sha": "e7c6f3552eb49402280da22ff9309257efaeba0e", - "synced_at": "2026-11-14T02:14:19Z" + "run_id": 43612330917, + "head_sha": "7297aa59f938e4dfaba3c155416f3546296bd440", + "synced_at": "2026-11-14T15:56:34Z" } diff --git a/contracts/api-v1.openapi.json b/contracts/api-v1.openapi.json index 46e76c9..81878d4 100644 --- a/contracts/api-v1.openapi.json +++ b/contracts/api-v1.openapi.json @@ -3954,6 +3954,22 @@ ], "type": "object" }, + "JoinLinkRequest": { + "properties": { + "max_redemptions": { + "anyOf": [ + { + "minimum": 1.0, + "type": "integer" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" + }, "MatrixIn": { "properties": { "event_id": { @@ -19486,6 +19502,203 @@ ] } }, + "/api/v1/groups/{group_id}/join-link": { + "post": { + "parameters": [ + { + "in": "path", + "name": "group_id", + "required": true, + "schema": { + "format": "uuid", + "type": "string" + } + }, + { + "in": "header", + "name": "authorization", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JoinLinkRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": {} + } + }, + "description": "" + }, + "422": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + }, + "description": "" + } + }, + "tags": [ + "client-api-groups" + ] + } + }, + "/api/v1/groups/{group_id}/join-link/{link_id}/cap": { + "post": { + "parameters": [ + { + "in": "path", + "name": "group_id", + "required": true, + "schema": { + "format": "uuid", + "type": "string" + } + }, + { + "in": "path", + "name": "link_id", + "required": true, + "schema": { + "format": "uuid", + "type": "string" + } + }, + { + "in": "header", + "name": "authorization", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JoinLinkRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": {} + } + }, + "description": "" + }, + "422": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + }, + "description": "" + } + }, + "tags": [ + "client-api-groups" + ] + } + }, + "/api/v1/groups/{group_id}/join-link/{link_id}/off": { + "post": { + "parameters": [ + { + "in": "path", + "name": "group_id", + "required": true, + "schema": { + "format": "uuid", + "type": "string" + } + }, + { + "in": "path", + "name": "link_id", + "required": true, + "schema": { + "format": "uuid", + "type": "string" + } + }, + { + "in": "header", + "name": "authorization", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": {} + } + }, + "description": "" + }, + "422": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + }, + "description": "" + } + }, + "tags": [ + "client-api-groups" + ] + } + }, "/api/v1/groups/{group_id}/leave": { "post": { "parameters": [ @@ -19539,6 +19752,59 @@ ] } }, + "/api/v1/groups/{group_id}/mascot": { + "post": { + "parameters": [ + { + "in": "path", + "name": "group_id", + "required": true, + "schema": { + "format": "uuid", + "type": "string" + } + }, + { + "in": "header", + "name": "authorization", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": {} + } + }, + "description": "" + }, + "422": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + }, + "description": "" + } + }, + "tags": [ + "client-api-groups" + ] + } + }, "/api/v1/groups/{group_id}/members": { "post": { "parameters": [ @@ -19623,6 +19889,15 @@ "type": "string" } }, + { + "in": "query", + "name": "rotate_join_link", + "required": false, + "schema": { + "default": false, + "type": "boolean" + } + }, { "in": "header", "name": "authorization", @@ -20254,6 +20529,112 @@ ] } }, + "/api/v1/groups/{group_id}/private": { + "post": { + "parameters": [ + { + "in": "path", + "name": "group_id", + "required": true, + "schema": { + "format": "uuid", + "type": "string" + } + }, + { + "in": "header", + "name": "authorization", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": {} + } + }, + "description": "" + }, + "422": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + }, + "description": "" + } + }, + "tags": [ + "client-api-groups" + ] + } + }, + "/api/v1/groups/{group_id}/public": { + "post": { + "parameters": [ + { + "in": "path", + "name": "group_id", + "required": true, + "schema": { + "format": "uuid", + "type": "string" + } + }, + { + "in": "header", + "name": "authorization", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": {} + } + }, + "description": "" + }, + "422": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + }, + "description": "" + } + }, + "tags": [ + "client-api-groups" + ] + } + }, "/api/v1/groups/{group_id}/read": { "get": { "parameters": [