@wevion/cli 1.0.4002 → 1.0.4011

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.
Files changed (2) hide show
  1. package/openapi.json +87 -0
  2. package/package.json +1 -1
package/openapi.json CHANGED
@@ -28446,6 +28446,93 @@
28446
28446
  }
28447
28447
  }
28448
28448
  },
28449
+ "/api/v1/auth-config/captcha": {
28450
+ "get": {
28451
+ "operationId": "getAuthCaptchaConfig",
28452
+ "summary": "Configurazione del captcha di iscrizione",
28453
+ "tags": [
28454
+ "public"
28455
+ ],
28456
+ "description": "Letta dalla pagina di registrazione prima del login. Se il captcha Cloudflare Turnstile è attivo restituisce il provider e la site key pubblica, altrimenti due null e il form resta com è. Pubblica e senza autenticazione; non espone mai la secret key. `Cache-Control` di 300 secondi.",
28457
+ "responses": {
28458
+ "200": {
28459
+ "description": "Successful response",
28460
+ "content": {
28461
+ "application/json": {
28462
+ "schema": {
28463
+ "anyOf": [
28464
+ {
28465
+ "additionalProperties": false,
28466
+ "type": "object",
28467
+ "required": [
28468
+ "provider",
28469
+ "site_key"
28470
+ ],
28471
+ "properties": {
28472
+ "provider": {
28473
+ "description": "Provider del captcha attivo.",
28474
+ "type": "string",
28475
+ "enum": [
28476
+ "turnstile"
28477
+ ]
28478
+ },
28479
+ "site_key": {
28480
+ "description": "Site key pubblica di Cloudflare Turnstile da passare al widget.",
28481
+ "type": "string"
28482
+ }
28483
+ }
28484
+ },
28485
+ {
28486
+ "additionalProperties": false,
28487
+ "type": "object",
28488
+ "required": [
28489
+ "provider",
28490
+ "site_key"
28491
+ ],
28492
+ "properties": {
28493
+ "provider": {
28494
+ "description": "Nessun captcha attivo: il form di iscrizione non mostra il widget.",
28495
+ "type": "null"
28496
+ },
28497
+ "site_key": {
28498
+ "type": "null"
28499
+ }
28500
+ }
28501
+ }
28502
+ ]
28503
+ }
28504
+ }
28505
+ }
28506
+ },
28507
+ "500": {
28508
+ "description": "Internal server error",
28509
+ "content": {
28510
+ "application/json": {
28511
+ "schema": {
28512
+ "type": "object",
28513
+ "required": [
28514
+ "statusCode",
28515
+ "error",
28516
+ "message"
28517
+ ],
28518
+ "properties": {
28519
+ "statusCode": {
28520
+ "type": "number"
28521
+ },
28522
+ "error": {
28523
+ "type": "string"
28524
+ },
28525
+ "message": {
28526
+ "type": "string"
28527
+ }
28528
+ }
28529
+ }
28530
+ }
28531
+ }
28532
+ }
28533
+ }
28534
+ }
28535
+ },
28449
28536
  "/api/v1/auth/claim-contact": {
28450
28537
  "post": {
28451
28538
  "operationId": "postApiV1AuthClaimContact",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wevion/cli",
3
- "version": "1.0.4002",
3
+ "version": "1.0.4011",
4
4
  "description": "Wevion API command-line interface — generated from the public OpenAPI spec",
5
5
  "type": "module",
6
6
  "bin": {