@wevion/cli 1.0.2632 → 1.0.2663

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 +212 -3
  2. package/package.json +1 -1
package/openapi.json CHANGED
@@ -30496,6 +30496,178 @@
30496
30496
  }
30497
30497
  }
30498
30498
  },
30499
+ "/api/v1/billing/bank-transfer/pay-now": {
30500
+ "post": {
30501
+ "operationId": "billingBankTransferPayNow",
30502
+ "summary": "Pay the annual plan now by bank transfer",
30503
+ "tags": [
30504
+ "billing"
30505
+ ],
30506
+ "description": "Pays the ANNUAL EUR plan by SEPA bank transfer: Stripe issues an open invoice with virtual-IBAN payment instructions and the subscription stays active while the funds are in transit (trust window of BANK_TRANSFER_DUE_DAYS days, then the account is blocked if unpaid). While trialing, the trial ends immediately and the existing subscription is converted (plan_id is ignored: the trial pays the current plan). With no live Stripe subscription (Free after trial, or canceled) a new send_invoice subscription is created for plan_id (defaults to the current plan) — re-subscribe by bank transfer cannot go through Checkout, which rejects customer_balance in subscription mode. Only available for EUR billing countries and when the bank-transfer feature flag is enabled — otherwise 409 BANK_TRANSFER_NOT_ELIGIBLE. Idempotent: re-calling inside an open trust window returns the existing open invoice URL.",
30507
+ "requestBody": {
30508
+ "required": true,
30509
+ "content": {
30510
+ "application/json": {
30511
+ "schema": {
30512
+ "additionalProperties": false,
30513
+ "type": "object",
30514
+ "properties": {
30515
+ "plan_id": {
30516
+ "format": "uuid",
30517
+ "description": "Plan to buy on the re-subscribe (create) branch; ignored while trialing. Defaults to the current plan.",
30518
+ "type": "string"
30519
+ }
30520
+ }
30521
+ }
30522
+ }
30523
+ }
30524
+ },
30525
+ "security": [
30526
+ {
30527
+ "bearerAuth": []
30528
+ }
30529
+ ],
30530
+ "responses": {
30531
+ "200": {
30532
+ "description": "Successful response",
30533
+ "content": {
30534
+ "application/json": {
30535
+ "schema": {
30536
+ "additionalProperties": false,
30537
+ "type": "object",
30538
+ "required": [
30539
+ "invoice_url",
30540
+ "due_date"
30541
+ ],
30542
+ "properties": {
30543
+ "invoice_url": {
30544
+ "description": "Stripe hosted invoice page carrying the bank-transfer payment instructions.",
30545
+ "type": "string"
30546
+ },
30547
+ "due_date": {
30548
+ "format": "date-time",
30549
+ "description": "When the invoice is due (end of the bank-transfer trust window).",
30550
+ "type": "string"
30551
+ }
30552
+ }
30553
+ }
30554
+ }
30555
+ }
30556
+ },
30557
+ "401": {
30558
+ "description": "Unauthorized - missing or invalid bearer token",
30559
+ "content": {
30560
+ "application/json": {
30561
+ "schema": {
30562
+ "type": "object",
30563
+ "required": [
30564
+ "statusCode",
30565
+ "error",
30566
+ "message"
30567
+ ],
30568
+ "properties": {
30569
+ "statusCode": {
30570
+ "type": "number"
30571
+ },
30572
+ "error": {
30573
+ "type": "string"
30574
+ },
30575
+ "message": {
30576
+ "type": "string"
30577
+ }
30578
+ }
30579
+ }
30580
+ }
30581
+ }
30582
+ },
30583
+ "409": {
30584
+ "description": "Conflict - resource state prevents the operation",
30585
+ "content": {
30586
+ "application/json": {
30587
+ "schema": {
30588
+ "type": "object",
30589
+ "required": [
30590
+ "statusCode",
30591
+ "error",
30592
+ "message",
30593
+ "code"
30594
+ ],
30595
+ "properties": {
30596
+ "statusCode": {
30597
+ "type": "number"
30598
+ },
30599
+ "error": {
30600
+ "type": "string"
30601
+ },
30602
+ "message": {
30603
+ "type": "string"
30604
+ },
30605
+ "code": {
30606
+ "type": "string",
30607
+ "enum": [
30608
+ "BANK_TRANSFER_NOT_ELIGIBLE"
30609
+ ]
30610
+ }
30611
+ }
30612
+ }
30613
+ }
30614
+ }
30615
+ },
30616
+ "500": {
30617
+ "description": "Internal server error",
30618
+ "content": {
30619
+ "application/json": {
30620
+ "schema": {
30621
+ "type": "object",
30622
+ "required": [
30623
+ "statusCode",
30624
+ "error",
30625
+ "message"
30626
+ ],
30627
+ "properties": {
30628
+ "statusCode": {
30629
+ "type": "number"
30630
+ },
30631
+ "error": {
30632
+ "type": "string"
30633
+ },
30634
+ "message": {
30635
+ "type": "string"
30636
+ }
30637
+ }
30638
+ }
30639
+ }
30640
+ }
30641
+ },
30642
+ "503": {
30643
+ "description": "Service unavailable",
30644
+ "content": {
30645
+ "application/json": {
30646
+ "schema": {
30647
+ "type": "object",
30648
+ "required": [
30649
+ "statusCode",
30650
+ "error",
30651
+ "message"
30652
+ ],
30653
+ "properties": {
30654
+ "statusCode": {
30655
+ "type": "number"
30656
+ },
30657
+ "error": {
30658
+ "type": "string"
30659
+ },
30660
+ "message": {
30661
+ "type": "string"
30662
+ }
30663
+ }
30664
+ }
30665
+ }
30666
+ }
30667
+ }
30668
+ }
30669
+ }
30670
+ },
30499
30671
  "/api/v1/billing/cancel": {
30500
30672
  "post": {
30501
30673
  "operationId": "billingCancelSubscription",
@@ -32688,6 +32860,7 @@
32688
32860
  "billing_currency",
32689
32861
  "scheduled_plan_id",
32690
32862
  "scheduled_change_at",
32863
+ "bank_transfer",
32691
32864
  "plan"
32692
32865
  ],
32693
32866
  "properties": {
@@ -32836,6 +33009,12 @@
32836
33009
  "admin_suspended"
32837
33010
  ]
32838
33011
  },
33012
+ {
33013
+ "type": "string",
33014
+ "enum": [
33015
+ "bank_transfer_unpaid"
33016
+ ]
33017
+ },
32839
33018
  {
32840
33019
  "maxLength": 50,
32841
33020
  "type": "string"
@@ -32877,6 +33056,32 @@
32877
33056
  }
32878
33057
  ]
32879
33058
  },
33059
+ "bank_transfer": {
33060
+ "additionalProperties": false,
33061
+ "type": "object",
33062
+ "required": [
33063
+ "eligible",
33064
+ "pending_until"
33065
+ ],
33066
+ "properties": {
33067
+ "eligible": {
33068
+ "description": "True when the annual plan can be paid now by SEPA bank transfer: feature flag ON, a payable state (status trialing, or no live Stripe subscription / canceled for a re-subscribe), and the billing country resolves to EUR.",
33069
+ "type": "boolean"
33070
+ },
33071
+ "pending_until": {
33072
+ "description": "End of the bank-transfer trust window (access granted while funds are in transit); null when no transfer is pending.",
33073
+ "anyOf": [
33074
+ {
33075
+ "format": "date-time",
33076
+ "type": "string"
33077
+ },
33078
+ {
33079
+ "type": "null"
33080
+ }
33081
+ ]
33082
+ }
33083
+ }
33084
+ },
32880
33085
  "plan": {
32881
33086
  "type": "object",
32882
33087
  "required": [
@@ -33866,6 +34071,7 @@
33866
34071
  "properties": {
33867
34072
  "quantity": {
33868
34073
  "minimum": 1,
34074
+ "maximum": 25,
33869
34075
  "type": "integer"
33870
34076
  }
33871
34077
  }
@@ -34059,6 +34265,7 @@
34059
34265
  "properties": {
34060
34266
  "quantity": {
34061
34267
  "minimum": 1,
34268
+ "maximum": 25,
34062
34269
  "type": "integer"
34063
34270
  }
34064
34271
  }
@@ -87301,7 +87508,7 @@
87301
87508
  "tags": [
87302
87509
  "ai-chat"
87303
87510
  ],
87304
- "description": "Accepts a single file (max 10MB, enforced via the multipart limits registered on this route) and uploads to S3 or local filesystem. Supported MIME types: jpeg, png, webp, gif, pdf, csv, txt, docx, xlsx. HEIC/HEIF photos are rejected (415) with guidance to convert to JPEG.",
87511
+ "description": "Accepts a single file (max 10MB, enforced via the multipart limits registered on this route) and uploads to S3 or local filesystem. Supported MIME types: jpeg, png, webp, gif, pdf, csv, txt, markdown, ms-excel (Windows-exported CSV), docx, xlsx. HEIC/HEIF photos are rejected (415) with guidance to convert to JPEG.",
87305
87512
  "security": [
87306
87513
  {
87307
87514
  "bearerAuth": []
@@ -142357,7 +142564,7 @@
142357
142564
  "tags": [
142358
142565
  "billing"
142359
142566
  ],
142360
- "description": "Redeems an ambassador coupon for a new authenticated signup: comps 3 months of the Pro plan (no Stripe). Existing accounts and accounts that already have a subscription are refused.",
142567
+ "description": "Redeems an ambassador coupon for a new authenticated signup: comps the plan and window configured on the coupon (default 3 months of Pro; e.g. the Budapest voucher grants 1 month of Plus), with no Stripe involvement. Existing accounts and accounts that already have a subscription are refused.",
142361
142568
  "requestBody": {
142362
142569
  "required": true,
142363
142570
  "content": {
@@ -239682,12 +239889,14 @@
239682
239889
  },
239683
239890
  {
239684
239891
  "schema": {
239892
+ "minimum": 0,
239893
+ "maximum": 1000000,
239685
239894
  "type": "number"
239686
239895
  },
239687
239896
  "in": "query",
239688
239897
  "name": "payout",
239689
239898
  "required": true,
239690
- "description": "The payout amount for the conversion."
239899
+ "description": "The payout amount for the conversion (0 to 1,000,000)."
239691
239900
  },
239692
239901
  {
239693
239902
  "schema": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wevion/cli",
3
- "version": "1.0.2632",
3
+ "version": "1.0.2663",
4
4
  "description": "Wevion API command-line interface — generated from the public OpenAPI spec",
5
5
  "type": "module",
6
6
  "bin": {