@lambda-development/erp-core 0.1.47 → 0.1.49
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/api/client.d.ts +6 -1
- package/dist/i18n/locales/de.json.d.ts +4 -2
- package/dist/i18n/locales/en.json.d.ts +4 -2
- package/dist/i18n/locales/fr.json.d.ts +4 -2
- package/dist/index.js +1380 -1347
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/api/client.d.ts
CHANGED
|
@@ -270,9 +270,9 @@ export declare const api: {
|
|
|
270
270
|
getApiKeys: () => Promise<{
|
|
271
271
|
id: string;
|
|
272
272
|
name: string;
|
|
273
|
+
user?: string;
|
|
273
274
|
role: string;
|
|
274
275
|
key_prefix: string;
|
|
275
|
-
created_by?: string;
|
|
276
276
|
created_at?: string;
|
|
277
277
|
last_used_at?: string | null;
|
|
278
278
|
revoked: boolean;
|
|
@@ -280,6 +280,7 @@ export declare const api: {
|
|
|
280
280
|
createApiKey: (name: string, role: string) => Promise<{
|
|
281
281
|
id: string;
|
|
282
282
|
name: string;
|
|
283
|
+
user?: string;
|
|
283
284
|
role: string;
|
|
284
285
|
key_prefix: string;
|
|
285
286
|
token: string;
|
|
@@ -288,6 +289,10 @@ export declare const api: {
|
|
|
288
289
|
id: string;
|
|
289
290
|
revoked: boolean;
|
|
290
291
|
}>;
|
|
292
|
+
deleteApiKey: (id: string) => Promise<{
|
|
293
|
+
id: string;
|
|
294
|
+
deleted: boolean;
|
|
295
|
+
}>;
|
|
291
296
|
getDemoSpend: () => Promise<{
|
|
292
297
|
caps: {
|
|
293
298
|
global_hourly_usd: number;
|
|
@@ -282,7 +282,7 @@ declare const _default: {
|
|
|
282
282
|
"chatApiName": "Name",
|
|
283
283
|
"chatApiRole": "Rolle",
|
|
284
284
|
"chatApiCreate": "Schlüssel erstellen",
|
|
285
|
-
"chatApiWarn": "Ein
|
|
285
|
+
"chatApiWarn": "Ein Key handelt mit Ihrer Identität und höchstens Ihrer Rolle — wie ein Passwort behandeln. Erst widerrufen, dann löschen.",
|
|
286
286
|
"publicTitle": "Öffentlicher Zugriff (Demomodus)",
|
|
287
287
|
"publicActive": "Aktiv",
|
|
288
288
|
"publicActiveBody": "Der öffentliche Zugriff ist aktiviert. Jeder kann die Anwendung ohne Anmeldung nutzen. Alle Besucher erhalten Manager-Rechte.",
|
|
@@ -293,7 +293,9 @@ declare const _default: {
|
|
|
293
293
|
"enableWarning": "Dadurch kann jeder ohne Anmeldung auf die Anwendung zugreifen. Besucher können Dokumente erstellen, bearbeiten und buchen. Ihr Administratorkonto erfordert weiterhin eine Anmeldung.",
|
|
294
294
|
"yesEnable": "Ja, aktivieren",
|
|
295
295
|
"enabling": "Wird aktiviert...",
|
|
296
|
-
"tokenSpendTitle": "Token-Ausgaben"
|
|
296
|
+
"tokenSpendTitle": "Token-Ausgaben",
|
|
297
|
+
"chatApiDelete": "Löschen",
|
|
298
|
+
"chatApiPersonal": "Persönliche Bearer-Keys für die programmatische Chat-API. Ein Key handelt als SIE: begrenzt auf Ihre Rolle, folgt Rollenänderungen live und erlischt mit Ihrem Konto. Setzt voraus, dass der Admin die Chat-API aktiviert hat."
|
|
297
299
|
},
|
|
298
300
|
"status": {
|
|
299
301
|
"Draft": "Entwurf",
|
|
@@ -282,7 +282,7 @@ declare const _default: {
|
|
|
282
282
|
"chatApiName": "Name",
|
|
283
283
|
"chatApiRole": "Role",
|
|
284
284
|
"chatApiCreate": "Create key",
|
|
285
|
-
"chatApiWarn": "A key acts with
|
|
285
|
+
"chatApiWarn": "A key acts with your identity and at most your role — treat it like a password. Revoke first, then delete.",
|
|
286
286
|
"publicTitle": "Public Access (Demo Mode)",
|
|
287
287
|
"publicActive": "Active",
|
|
288
288
|
"publicActiveBody": "Public access is enabled. Anyone can use the application without logging in. All visitors get manager-level permissions.",
|
|
@@ -293,7 +293,9 @@ declare const _default: {
|
|
|
293
293
|
"enableWarning": "This will allow anyone to access the application without logging in. They will be able to create, edit, and submit documents. Your admin account still requires login.",
|
|
294
294
|
"yesEnable": "Yes, Enable",
|
|
295
295
|
"enabling": "Enabling...",
|
|
296
|
-
"tokenSpendTitle": "Token Spend"
|
|
296
|
+
"tokenSpendTitle": "Token Spend",
|
|
297
|
+
"chatApiDelete": "Delete",
|
|
298
|
+
"chatApiPersonal": "Personal Bearer keys for the programmatic chat API. A key acts as YOU: it is capped at your role, follows role changes live, and dies with your account. Requires the admin to have enabled the Chat API."
|
|
297
299
|
},
|
|
298
300
|
"status": {
|
|
299
301
|
"Draft": "Draft",
|
|
@@ -282,7 +282,7 @@ declare const _default: {
|
|
|
282
282
|
"chatApiName": "Nom",
|
|
283
283
|
"chatApiRole": "Rôle",
|
|
284
284
|
"chatApiCreate": "Créer une clé",
|
|
285
|
-
"chatApiWarn": "Une clé agit avec
|
|
285
|
+
"chatApiWarn": "Une clé agit avec votre identité et au plus votre rôle — à traiter comme un mot de passe. Révoquer d'abord, puis supprimer.",
|
|
286
286
|
"publicTitle": "Accès public (mode démo)",
|
|
287
287
|
"publicActive": "Actif",
|
|
288
288
|
"publicActiveBody": "L'accès public est activé. N'importe qui peut utiliser l'application sans se connecter. Tous les visiteurs obtiennent des autorisations de niveau gestionnaire.",
|
|
@@ -293,7 +293,9 @@ declare const _default: {
|
|
|
293
293
|
"enableWarning": "Cela permettra à quiconque d'accéder à l'application sans se connecter. Ils pourront créer, modifier et valider des documents. Votre compte administrateur nécessite toujours une connexion.",
|
|
294
294
|
"yesEnable": "Oui, activer",
|
|
295
295
|
"enabling": "Activation...",
|
|
296
|
-
"tokenSpendTitle": "Dépenses de jetons"
|
|
296
|
+
"tokenSpendTitle": "Dépenses de jetons",
|
|
297
|
+
"chatApiDelete": "Supprimer",
|
|
298
|
+
"chatApiPersonal": "Clés Bearer personnelles pour l'API de chat programmatique. Une clé agit en VOTRE nom : plafonnée à votre rôle, elle suit les changements de rôle en direct et expire avec votre compte. Nécessite que l'admin ait activé l'API de chat."
|
|
297
299
|
},
|
|
298
300
|
"status": {
|
|
299
301
|
"Draft": "Brouillon",
|