@wevion/cli 1.0.3450 → 1.0.3455

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 +321 -0
  2. package/package.json +1 -1
package/openapi.json CHANGED
@@ -166152,6 +166152,327 @@
166152
166152
  }
166153
166153
  }
166154
166154
  },
166155
+ "/api/v1/referral/enroll": {
166156
+ "get": {
166157
+ "operationId": "getPartnerEnrollmentOffer",
166158
+ "summary": "Posso iscrivermi al programma referral?",
166159
+ "tags": [
166160
+ "partner"
166161
+ ],
166162
+ "description": "C’è un invito al programma referral che posso accettare? `204` quando non c’è nulla da offrire — indistintamente perché il programma non è acceso o perché sono già dentro. ⚠️ La non-distinzione è deliberata: due risposte diverse renderebbero questa rotta un oracolo sullo stato del programma per chiunque abbia un account. La superficie che la chiama non ha bisogno di sapere QUALE dei due casi sia: in entrambi non deve mostrare nulla.",
166163
+ "security": [
166164
+ {
166165
+ "bearerAuth": []
166166
+ }
166167
+ ],
166168
+ "responses": {
166169
+ "200": {
166170
+ "description": "Successful response",
166171
+ "content": {
166172
+ "application/json": {
166173
+ "schema": {
166174
+ "additionalProperties": false,
166175
+ "type": "object",
166176
+ "required": [
166177
+ "available"
166178
+ ],
166179
+ "properties": {
166180
+ "available": {
166181
+ "description": "Sempre `true` quando la risposta è 200: il 204 dice il resto.",
166182
+ "type": "boolean"
166183
+ }
166184
+ }
166185
+ }
166186
+ }
166187
+ }
166188
+ },
166189
+ "204": {
166190
+ "description": "Niente da offrire."
166191
+ },
166192
+ "401": {
166193
+ "description": "Errore standard del backend.",
166194
+ "content": {
166195
+ "application/json": {
166196
+ "schema": {
166197
+ "additionalProperties": false,
166198
+ "description": "Errore standard del backend.",
166199
+ "type": "object",
166200
+ "required": [
166201
+ "error",
166202
+ "message",
166203
+ "statusCode"
166204
+ ],
166205
+ "properties": {
166206
+ "code": {
166207
+ "description": "Codice macchina dell’errore, quando disponibile.",
166208
+ "type": "string"
166209
+ },
166210
+ "error": {
166211
+ "description": "Etichetta breve dell’errore.",
166212
+ "type": "string"
166213
+ },
166214
+ "message": {
166215
+ "description": "Messaggio leggibile.",
166216
+ "type": "string"
166217
+ },
166218
+ "statusCode": {
166219
+ "description": "Codice di stato HTTP ripetuto nel corpo.",
166220
+ "type": "integer"
166221
+ }
166222
+ }
166223
+ }
166224
+ }
166225
+ }
166226
+ },
166227
+ "429": {
166228
+ "description": "Errore standard del backend.",
166229
+ "content": {
166230
+ "application/json": {
166231
+ "schema": {
166232
+ "additionalProperties": false,
166233
+ "description": "Errore standard del backend.",
166234
+ "type": "object",
166235
+ "required": [
166236
+ "error",
166237
+ "message",
166238
+ "statusCode"
166239
+ ],
166240
+ "properties": {
166241
+ "code": {
166242
+ "description": "Codice macchina dell’errore, quando disponibile.",
166243
+ "type": "string"
166244
+ },
166245
+ "error": {
166246
+ "description": "Etichetta breve dell’errore.",
166247
+ "type": "string"
166248
+ },
166249
+ "message": {
166250
+ "description": "Messaggio leggibile.",
166251
+ "type": "string"
166252
+ },
166253
+ "statusCode": {
166254
+ "description": "Codice di stato HTTP ripetuto nel corpo.",
166255
+ "type": "integer"
166256
+ }
166257
+ }
166258
+ }
166259
+ }
166260
+ }
166261
+ }
166262
+ }
166263
+ },
166264
+ "post": {
166265
+ "operationId": "selfEnrollPartnerTrackA",
166266
+ "summary": "Mi iscrivo al programma referral (Binario A)",
166267
+ "tags": [
166268
+ "partner"
166269
+ ],
166270
+ "description": "Mi iscrivo al programma referral come cliente (Binario A). ⚠️ Non crea un account, non cambia il mio ruolo, non manda email: fa nascere la mia anagrafica di referrer e il mio codice invito. È idempotente — chiamarla due volte restituisce lo stesso partner. Risponde `404` quando il programma non è acceso: a commutatore spento non esiste per il cliente, e un 403 direbbe che esiste ma non è per lui, che è falso.",
166271
+ "security": [
166272
+ {
166273
+ "bearerAuth": []
166274
+ }
166275
+ ],
166276
+ "responses": {
166277
+ "200": {
166278
+ "description": "Successful response",
166279
+ "content": {
166280
+ "application/json": {
166281
+ "schema": {
166282
+ "additionalProperties": false,
166283
+ "type": "object",
166284
+ "required": [
166285
+ "partner_id"
166286
+ ],
166287
+ "properties": {
166288
+ "partner_id": {
166289
+ "description": "Il partner appena creato — o quello che esisteva già: la chiamata è idempotente.",
166290
+ "format": "uuid",
166291
+ "type": "string"
166292
+ }
166293
+ }
166294
+ }
166295
+ }
166296
+ }
166297
+ },
166298
+ "401": {
166299
+ "description": "Errore standard del backend.",
166300
+ "content": {
166301
+ "application/json": {
166302
+ "schema": {
166303
+ "additionalProperties": false,
166304
+ "description": "Errore standard del backend.",
166305
+ "type": "object",
166306
+ "required": [
166307
+ "error",
166308
+ "message",
166309
+ "statusCode"
166310
+ ],
166311
+ "properties": {
166312
+ "code": {
166313
+ "description": "Codice macchina dell’errore, quando disponibile.",
166314
+ "type": "string"
166315
+ },
166316
+ "error": {
166317
+ "description": "Etichetta breve dell’errore.",
166318
+ "type": "string"
166319
+ },
166320
+ "message": {
166321
+ "description": "Messaggio leggibile.",
166322
+ "type": "string"
166323
+ },
166324
+ "statusCode": {
166325
+ "description": "Codice di stato HTTP ripetuto nel corpo.",
166326
+ "type": "integer"
166327
+ }
166328
+ }
166329
+ }
166330
+ }
166331
+ }
166332
+ },
166333
+ "404": {
166334
+ "description": "Errore standard del backend.",
166335
+ "content": {
166336
+ "application/json": {
166337
+ "schema": {
166338
+ "additionalProperties": false,
166339
+ "description": "Errore standard del backend.",
166340
+ "type": "object",
166341
+ "required": [
166342
+ "error",
166343
+ "message",
166344
+ "statusCode"
166345
+ ],
166346
+ "properties": {
166347
+ "code": {
166348
+ "description": "Codice macchina dell’errore, quando disponibile.",
166349
+ "type": "string"
166350
+ },
166351
+ "error": {
166352
+ "description": "Etichetta breve dell’errore.",
166353
+ "type": "string"
166354
+ },
166355
+ "message": {
166356
+ "description": "Messaggio leggibile.",
166357
+ "type": "string"
166358
+ },
166359
+ "statusCode": {
166360
+ "description": "Codice di stato HTTP ripetuto nel corpo.",
166361
+ "type": "integer"
166362
+ }
166363
+ }
166364
+ }
166365
+ }
166366
+ }
166367
+ },
166368
+ "409": {
166369
+ "description": "Errore standard del backend.",
166370
+ "content": {
166371
+ "application/json": {
166372
+ "schema": {
166373
+ "additionalProperties": false,
166374
+ "description": "Errore standard del backend.",
166375
+ "type": "object",
166376
+ "required": [
166377
+ "error",
166378
+ "message",
166379
+ "statusCode"
166380
+ ],
166381
+ "properties": {
166382
+ "code": {
166383
+ "description": "Codice macchina dell’errore, quando disponibile.",
166384
+ "type": "string"
166385
+ },
166386
+ "error": {
166387
+ "description": "Etichetta breve dell’errore.",
166388
+ "type": "string"
166389
+ },
166390
+ "message": {
166391
+ "description": "Messaggio leggibile.",
166392
+ "type": "string"
166393
+ },
166394
+ "statusCode": {
166395
+ "description": "Codice di stato HTTP ripetuto nel corpo.",
166396
+ "type": "integer"
166397
+ }
166398
+ }
166399
+ }
166400
+ }
166401
+ }
166402
+ },
166403
+ "429": {
166404
+ "description": "Errore standard del backend.",
166405
+ "content": {
166406
+ "application/json": {
166407
+ "schema": {
166408
+ "additionalProperties": false,
166409
+ "description": "Errore standard del backend.",
166410
+ "type": "object",
166411
+ "required": [
166412
+ "error",
166413
+ "message",
166414
+ "statusCode"
166415
+ ],
166416
+ "properties": {
166417
+ "code": {
166418
+ "description": "Codice macchina dell’errore, quando disponibile.",
166419
+ "type": "string"
166420
+ },
166421
+ "error": {
166422
+ "description": "Etichetta breve dell’errore.",
166423
+ "type": "string"
166424
+ },
166425
+ "message": {
166426
+ "description": "Messaggio leggibile.",
166427
+ "type": "string"
166428
+ },
166429
+ "statusCode": {
166430
+ "description": "Codice di stato HTTP ripetuto nel corpo.",
166431
+ "type": "integer"
166432
+ }
166433
+ }
166434
+ }
166435
+ }
166436
+ }
166437
+ },
166438
+ "503": {
166439
+ "description": "Errore standard del backend.",
166440
+ "content": {
166441
+ "application/json": {
166442
+ "schema": {
166443
+ "additionalProperties": false,
166444
+ "description": "Errore standard del backend.",
166445
+ "type": "object",
166446
+ "required": [
166447
+ "error",
166448
+ "message",
166449
+ "statusCode"
166450
+ ],
166451
+ "properties": {
166452
+ "code": {
166453
+ "description": "Codice macchina dell’errore, quando disponibile.",
166454
+ "type": "string"
166455
+ },
166456
+ "error": {
166457
+ "description": "Etichetta breve dell’errore.",
166458
+ "type": "string"
166459
+ },
166460
+ "message": {
166461
+ "description": "Messaggio leggibile.",
166462
+ "type": "string"
166463
+ },
166464
+ "statusCode": {
166465
+ "description": "Codice di stato HTTP ripetuto nel corpo.",
166466
+ "type": "integer"
166467
+ }
166468
+ }
166469
+ }
166470
+ }
166471
+ }
166472
+ }
166473
+ }
166474
+ }
166475
+ },
166155
166476
  "/api/v1/partner/materials": {
166156
166477
  "get": {
166157
166478
  "operationId": "getPartnerMaterials",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wevion/cli",
3
- "version": "1.0.3450",
3
+ "version": "1.0.3455",
4
4
  "description": "Wevion API command-line interface — generated from the public OpenAPI spec",
5
5
  "type": "module",
6
6
  "bin": {