@orvello/sdk 0.7.15 → 0.7.17

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.
package/dist/index.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
3
  // src/contract-hash.ts
4
- var CONTRACT_SHA256 = "3ffd5dd7aad80e3d04c3f7d3ef72b03cdb10ca60e4c3b63f149554e66f3861b4";
4
+ var CONTRACT_SHA256 = "87593aa94e20aa9787363cf3126d6ef22cf6ee1bcf4ab05debc6d88bc5dd9eaa";
5
5
 
6
6
  // src/diagnose.ts
7
- var SDK_VERSION = "0.7.15" ;
7
+ var SDK_VERSION = "0.7.17" ;
8
8
  function normalizeBaseUrl(raw) {
9
9
  const trimmed = raw.trim();
10
10
  if (!trimmed) throw new Error("Base URL cannot be empty");
@@ -481,6 +481,12 @@ var ROUTE_INDEX = {
481
481
  "invoices_dry_run_external": ["POST", "/invoices/external/dry-run", "b", "unified_bearer", 4, ["invoices:write"]],
482
482
  "invoices_get_by_id": ["GET", "/invoices/:invoiceId", "b", "frontend_bearer_http", 1],
483
483
  "invoices_get_by_id_external": ["GET", "/invoices/external/:invoiceId", "b", "unified_bearer", 1, ["invoices:read"]],
484
+ "invoices_issuer_evidence": ["POST", "/invoices/:invoiceId/versions/evidence", "b", "frontend_bearer_http", 7],
485
+ "invoices_issuer_preview": ["POST", "/invoices/issuer-corrections/preview", "b", "frontend_bearer_http", 6],
486
+ "invoices_issuer_result": ["GET", "/invoices/issuer-corrections/runs/:runId", "b", "frontend_bearer_http", 3],
487
+ "invoices_issuer_retry": ["POST", "/invoices/issuer-corrections/runs/:runId/retry", "b", "frontend_bearer_http", 7],
488
+ "invoices_issuer_runs": ["GET", "/invoices/issuer-corrections/runs", "b", "frontend_bearer_http", 2],
489
+ "invoices_issuer_start": ["POST", "/invoices/issuer-corrections/runs", "b", "frontend_bearer_http", 6],
484
490
  "invoices_list_overdue": ["GET", "/invoices/overdue", "b", "frontend_permission_http", 2],
485
491
  "invoices_list_pending": ["GET", "/invoices/pending", "b", "frontend_permission_http", 2],
486
492
  "invoices_overdue_external": ["GET", "/invoices/external/overdue", "b", "unified_bearer", 2, ["invoices:read"]],
@@ -498,6 +504,9 @@ var ROUTE_INDEX = {
498
504
  "invoices_status_policy_external": ["GET", "/invoices/external/:invoiceId/status-policy", "b", "unified_bearer", 1, ["invoices:read"]],
499
505
  "invoices_update_status": ["PUT", "/invoices/:invoiceId/status", "b", "frontend_bearer_http", 5],
500
506
  "invoices_update_status_external": ["PUT", "/invoices/external/:invoiceId/status", "b", "unified_bearer", 5, ["invoices:write"]],
507
+ "invoices_versions": ["GET", "/invoices/:invoiceId/versions", "b", "frontend_bearer_http", 3],
508
+ "invoices_versions_prefer": ["POST", "/invoices/:invoiceId/versions/preferred", "b", "frontend_bearer_http", 7],
509
+ "invoices_versions_send": ["POST", "/invoices/:invoiceId/versions/:versionId/send", "b", "frontend_permission_http", 7],
501
510
  "invoices_view_pdf": ["GET", "/invoices/:invoiceId/pdf", "n", "public", 3],
502
511
  "invoices_view_pdf_external": ["GET", "/invoices/external/:invoiceId/pdf", "b", "unified_bearer", 1, ["invoices:read"]],
503
512
  "logs_delete": ["DELETE", "/app-logs/delete/:logId", "b", "frontend_permission_http", 1],
@@ -555,6 +564,10 @@ var ROUTE_INDEX = {
555
564
  "managing_companies_logos_settings": ["GET", "/managing-companies/logos/settings", "b", "frontend_bearer_http", 2],
556
565
  "managing_companies_logos_upload": ["POST", "/managing-companies/logos/upload/:mode", "b", "frontend_bearer_http", 1],
557
566
  "managing_companies_logos_urls": ["GET", "/managing-companies/logos/urls", "b", "frontend_bearer_http", 2],
567
+ "managing_companies_profile_change_cancel": ["POST", "/managing-companies/profile-changes/:companyId/:changeId/cancel", "b", "frontend_bearer_http", 5],
568
+ "managing_companies_profile_change_create": ["POST", "/managing-companies/profile-changes/:companyId", "b", "frontend_bearer_http", 5],
569
+ "managing_companies_profile_change_preview": ["POST", "/managing-companies/profile-changes/:companyId/preview", "b", "frontend_bearer_http", 5],
570
+ "managing_companies_profile_changes": ["GET", "/managing-companies/profile-changes/:companyId", "b", "frontend_bearer_http", 1],
558
571
  "managing_companies_selected_current": ["GET", "/managing-companies/selected/current", "b", "frontend_bearer_http", 2],
559
572
  "managing_companies_selected_set": ["POST", "/managing-companies/selected/set/:companyId", "b", "frontend_bearer_http", 1],
560
573
  "managing_companies_transfer_owner": ["PUT", "/managing-companies/:id/owner", "b", "frontend_permission_http", 5],
@@ -914,7 +927,7 @@ function buildPath(operationId, params) {
914
927
  }
915
928
 
916
929
  // src/capabilities.ts
917
- var SDK_VERSION2 = "0.7.15" ;
930
+ var SDK_VERSION2 = "0.7.17" ;
918
931
  var CLIENT_MANAGEMENT_OPS = [
919
932
  "oauth2_external_clients_list",
920
933
  "oauth2_external_clients_get",