@orvello/sdk 0.2.1 → 0.2.3
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/CONTRACT_SHA256 +1 -1
- package/dist/contract.cjs +336 -46
- package/dist/contract.cjs.map +1 -1
- package/dist/contract.d.cts +2620 -11074
- package/dist/contract.d.ts +2620 -11074
- package/dist/contract.js +333 -46
- package/dist/contract.js.map +1 -1
- package/dist/index.cjs +37 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +37 -19
- package/dist/index.js.map +1 -1
- package/dist/openapi.json +9052 -2817
- package/package.json +1 -1
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 = "
|
|
4
|
+
var CONTRACT_SHA256 = "d19081d6e7c4efcf54245026a17458d7f8dff002d61ea69cdd8f41c7d0d033ad";
|
|
5
5
|
|
|
6
6
|
// src/diagnose.ts
|
|
7
|
-
var SDK_VERSION = "0.2.
|
|
7
|
+
var SDK_VERSION = "0.2.3" ;
|
|
8
8
|
function normalizeBaseUrl(raw) {
|
|
9
9
|
const trimmed = raw.trim();
|
|
10
10
|
if (!trimmed) throw new Error("Base URL cannot be empty");
|
|
@@ -185,20 +185,35 @@ function mapPaymentAccountToBankDetails(account) {
|
|
|
185
185
|
|
|
186
186
|
// src/route-index.generated.ts
|
|
187
187
|
var ROUTE_INDEX = {
|
|
188
|
-
"
|
|
189
|
-
"GET__api_amp_proxy__discover": ["GET", "/api/amp-proxy/_discover", "n", "public", 0],
|
|
190
|
-
"GET__api_amp_proxy_key": ["GET", "/api/amp-proxy/:key", "n", "public", 0],
|
|
191
|
-
"POST__api_amp_proxy_key": ["POST", "/api/amp-proxy/:key", "n", "public", 0],
|
|
188
|
+
"GET__security_public": ["GET", "/security/public", "n", "public", 0],
|
|
192
189
|
"admin_vat_create_system_settings": ["POST", "/admin/vat/system-settings", "b", "frontend_permission_http", 4],
|
|
193
190
|
"admin_vat_get_company_settings_history": ["GET", "/admin/vat/company/:companyId/settings-history", "b", "frontend_permission_http", 1],
|
|
194
191
|
"admin_vat_get_system_settings": ["GET", "/admin/vat/system-settings", "b", "frontend_permission_http", 0],
|
|
195
192
|
"admin_vat_get_system_settings_history": ["GET", "/admin/vat/system-settings/history", "b", "frontend_permission_http", 2],
|
|
196
193
|
"admin_vat_update_company_settings": ["PUT", "/admin/vat/company/:companyId/settings", "b", "frontend_permission_http", 5],
|
|
197
194
|
"admin_vat_update_system_settings": ["PUT", "/admin/vat/system-settings/:id", "b", "frontend_permission_http", 5],
|
|
195
|
+
"api_keys_audit": ["GET", "/api-keys/audit/:apiKeyId", "b", "frontend_bearer_http", 3],
|
|
196
|
+
"api_keys_by_id": ["GET", "/api-keys/byId/:apiKeyId", "b", "frontend_bearer_http", 1],
|
|
197
|
+
"api_keys_create": ["POST", "/api-keys/create", "b", "frontend_bearer_http", 4],
|
|
198
|
+
"api_keys_delete": ["DELETE", "/api-keys/delete/:apiKeyId", "b", "frontend_bearer_http", 1],
|
|
199
|
+
"api_keys_list": ["GET", "/api-keys/list", "b", "frontend_bearer_http", 2],
|
|
200
|
+
"api_keys_meta_capabilities": ["GET", "/api-keys/meta/capabilities", "b", "frontend_bearer_http", 2],
|
|
201
|
+
"api_keys_meta_scopes": ["GET", "/api-keys/meta/scopes", "b", "frontend_bearer_http", 2],
|
|
202
|
+
"api_keys_revoke": ["POST", "/api-keys/revoke/:apiKeyId", "b", "frontend_bearer_http", 5],
|
|
203
|
+
"api_keys_update": ["PUT", "/api-keys/update/:apiKeyId", "b", "frontend_bearer_http", 5],
|
|
198
204
|
"app_info_get": ["GET", "/app-info", "b", "frontend_bearer_http", 2],
|
|
199
205
|
"app_info_health": ["GET", "/app-info/health", "n", "public", 0],
|
|
200
206
|
"app_info_manifest": ["GET", "/app-info/manifest", "n", "public", 0],
|
|
201
207
|
"app_info_own_permissions_get": ["GET", "/app-info/ownPermissions", "b", "frontend_bearer_http", 2],
|
|
208
|
+
"auth_login": ["POST", "/auth/login", "n", "public", 4],
|
|
209
|
+
"auth_logout": ["POST", "/auth/logout", "n", "public", 4],
|
|
210
|
+
"auth_me": ["GET", "/auth/me", "b", "frontend_bearer_http", 2],
|
|
211
|
+
"auth_push_token_upsert": ["POST", "/auth/push-token", "b", "frontend_bearer_http", 4],
|
|
212
|
+
"auth_refresh": ["POST", "/auth/refresh", "n", "public", 4],
|
|
213
|
+
"auth_register": ["POST", "/auth/register", "n", "public", 4],
|
|
214
|
+
"auth_verify_email_confirm": ["POST", "/auth/verify-email/confirm", "n", "public", 4],
|
|
215
|
+
"auth_verify_email_landing": ["GET", "/auth/verify-email", "n", "public", 2],
|
|
216
|
+
"auth_verify_email_request": ["POST", "/auth/verify-email/request", "b", "frontend_bearer_http", 4],
|
|
202
217
|
"bookkeeping_assets_add_cost_component": ["POST", "/bookkeeping/assets/:assetId/cost-components", "b", "frontend_permission_http", 5],
|
|
203
218
|
"bookkeeping_assets_apply_sonderafa": ["POST", "/bookkeeping/assets/:assetId/sonderafa", "b", "frontend_permission_http", 5],
|
|
204
219
|
"bookkeeping_assets_create": ["POST", "/bookkeeping/assets", "b", "frontend_permission_http", 4],
|
|
@@ -349,19 +364,22 @@ var ROUTE_INDEX = {
|
|
|
349
364
|
"enterprise_onboarding_complete_step": ["POST", "/apps/enterprise/onboarding/complete-step", "b", "frontend_permission_http", 4],
|
|
350
365
|
"enterprise_onboarding_skip_step": ["POST", "/apps/enterprise/onboarding/skip-step", "b", "frontend_permission_http", 4],
|
|
351
366
|
"enterprise_onboarding_state_get": ["GET", "/apps/enterprise/onboarding/state", "b", "frontend_permission_http", 2],
|
|
352
|
-
"entitlements_assign": ["POST", "/entitlements", "b", "unified_bearer", 4
|
|
353
|
-
"entitlements_context_get_by_shop_assignment": ["GET", "/entitlements/context/by-shop-assignment/:shopAssignmentId", "b", "unified_bearer", 1
|
|
354
|
-
"entitlements_getAll": ["GET", "/entitlements/getAll", "b", "unified_bearer", 2
|
|
355
|
-
"entitlements_getAssigned": ["GET", "/entitlements/assigned", "b", "unified_bearer", 2
|
|
356
|
-
"entitlements_getById": ["GET", "/entitlements/:id", "b", "unified_bearer", 1
|
|
357
|
-
"entitlements_getUserEntitlements": ["GET", "/entitlements/user/:userId", "b", "unified_bearer", 1
|
|
358
|
-
"entitlements_get_state": ["GET", "/entitlements/:userId/:type/:identifier", "b", "unified_bearer", 1
|
|
359
|
-
"entitlements_list": ["GET", "/entitlements", "b", "unified_bearer", 2
|
|
360
|
-
"entitlements_revoke": ["DELETE", "/entitlements/:userId/:type/:identifier", "b", "unified_bearer", 1
|
|
361
|
-
"entitlements_update_state": ["PUT", "/entitlements/:userId/:type/:identifier", "b", "unified_bearer", 5
|
|
362
|
-
"entitlements_usage_overages_pull": ["GET", "/entitlements/usage-overages", "b", "unified_bearer", 2
|
|
367
|
+
"entitlements_assign": ["POST", "/entitlements", "b", "unified_bearer", 4],
|
|
368
|
+
"entitlements_context_get_by_shop_assignment": ["GET", "/entitlements/context/by-shop-assignment/:shopAssignmentId", "b", "unified_bearer", 1],
|
|
369
|
+
"entitlements_getAll": ["GET", "/entitlements/getAll", "b", "unified_bearer", 2],
|
|
370
|
+
"entitlements_getAssigned": ["GET", "/entitlements/assigned", "b", "unified_bearer", 2],
|
|
371
|
+
"entitlements_getById": ["GET", "/entitlements/:id", "b", "unified_bearer", 1],
|
|
372
|
+
"entitlements_getUserEntitlements": ["GET", "/entitlements/user/:userId", "b", "unified_bearer", 1],
|
|
373
|
+
"entitlements_get_state": ["GET", "/entitlements/:userId/:type/:identifier", "b", "unified_bearer", 1],
|
|
374
|
+
"entitlements_list": ["GET", "/entitlements", "b", "unified_bearer", 2],
|
|
375
|
+
"entitlements_revoke": ["DELETE", "/entitlements/:userId/:type/:identifier", "b", "unified_bearer", 1],
|
|
376
|
+
"entitlements_update_state": ["PUT", "/entitlements/:userId/:type/:identifier", "b", "unified_bearer", 5],
|
|
377
|
+
"entitlements_usage_overages_pull": ["GET", "/entitlements/usage-overages", "b", "unified_bearer", 2],
|
|
363
378
|
"exports_datev_buchungsstapel": ["GET", "/exports/bookkeeping/datev/buchungsstapel", "b", "frontend_permission_http", 0],
|
|
364
379
|
"exports_datev_metadata": ["GET", "/exports/bookkeeping/datev/metadata", "b", "frontend_permission_http", 0],
|
|
380
|
+
"internal_users_delete": ["DELETE", "/internal/users/:externalUserId", "k", "x_api_key_https", 1],
|
|
381
|
+
"internal_users_provision": ["POST", "/internal/users/provision", "k", "x_api_key_https", 4],
|
|
382
|
+
"internal_users_sync": ["POST", "/internal/users/sync", "k", "x_api_key_https", 4],
|
|
365
383
|
"invoice_dunning_delete_notice": ["DELETE", "/invoices/dunning/:invoiceId/notices/:noticeId", "b", "frontend_permission_http", 1],
|
|
366
384
|
"invoice_dunning_get_settings": ["GET", "/invoices/dunning/settings", "b", "frontend_permission_http", 2],
|
|
367
385
|
"invoice_dunning_issue": ["POST", "/invoices/dunning/:invoiceId/issue", "b", "frontend_permission_http", 5],
|
|
@@ -566,7 +584,7 @@ var ROUTE_INDEX = {
|
|
|
566
584
|
"users_update_external": ["PUT", "/users/update/external/:frontendUserId", "b", "frontend_bearer_http", 5],
|
|
567
585
|
"webhooks_delete": ["DELETE", "/webhooks/delete/:webhookId", "b", "frontend_permission_http", 1],
|
|
568
586
|
"webhooks_delete_bulk": ["DELETE", "/webhooks/delete/mass/:webhookIds", "b", "frontend_permission_http", 1],
|
|
569
|
-
"
|
|
587
|
+
"webhooks_search": ["GET", "/webhooks/search", "b", "frontend_permission_http", 2],
|
|
570
588
|
"work_tracking_approve": ["POST", "/apps/admin/work-tracking/approve/:workEntryId", "b", "frontend_permission_http", 5],
|
|
571
589
|
"work_tracking_assignment_create": ["POST", "/apps/admin/work-tracking/assignments/create", "b", "frontend_permission_http", 4],
|
|
572
590
|
"work_tracking_assignment_delete": ["DELETE", "/apps/admin/work-tracking/assignments/delete/:workEntryAssignmentId", "b", "frontend_permission_http", 1],
|
|
@@ -708,7 +726,7 @@ function buildPath(operationId, params) {
|
|
|
708
726
|
}
|
|
709
727
|
|
|
710
728
|
// src/capabilities.ts
|
|
711
|
-
var SDK_VERSION2 = "0.2.
|
|
729
|
+
var SDK_VERSION2 = "0.2.3" ;
|
|
712
730
|
var CLIENT_MANAGEMENT_OPS = [
|
|
713
731
|
"oauth2_external_clients_list",
|
|
714
732
|
"oauth2_external_clients_get",
|