New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nuclia/core

Package Overview
Dependencies
Maintainers
3
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuclia/core - npm Package Compare versions

Comparing version 1.11.1 to 1.11.2

8

CHANGELOG.md

@@ -0,1 +1,9 @@

# 1.11.2 (2024-01-25)
### Improvements
- Add SAML related properties to `Account` interface
- Add `AccountModification` interface
- Support `origin.path` metadata in `Resource` model
# 1.11.1 (2024-01-22)

@@ -2,0 +10,0 @@

4

esm/libs/sdk-core/src/lib/db/db.d.ts
import { Observable } from 'rxjs';
import type { AccountUsersPayload, FullAccountUser, IDb, INuclia, InviteAccountUserPayload } from '../models';
import type { KbIndex, LearningConfigurations, PredictedToken } from './db.models';
import { AccountModification, KbIndex, LearningConfigurations, PredictedToken } from './db.models';
import { Account, AccountCreation, AccountStatus, NUAClient, NUAClientPayload, ProcessingPullResponse, ProcessingPushResponse, ProcessingStat, ProcessingStatusResponse, StatsPeriod, StatsRange, StatsType, Welcome } from './db.models';

@@ -36,3 +36,3 @@ import type { EventList, IKnowledgeBoxItem, KnowledgeBoxCreation } from './kb';

*/
modifyAccount(accountSlug: string, data: Partial<Account>): Observable<void>;
modifyAccount(accountSlug: string, data: AccountModification): Observable<void>;
/** Deletes an account. */

@@ -39,0 +39,0 @@ deleteAccount(accountSlug: string): Observable<void>;

@@ -10,2 +10,3 @@ export type AccountTypes = 'stash-trial' | 'v3starter' | 'v3fly' | 'v3growth' | 'v3enterprise' | 'stash-basic' | 'stash-team' | 'stash-startup' | 'stash-starter' | 'stash-growth' | 'stash-enterprise' | 'stash-developer' | 'stash-business';

current_users?: number;
domain?: string;
description?: string;

@@ -16,2 +17,5 @@ id: string;

max_users: number | null;
saml_entity_id?: string;
saml_sso_url?: string;
saml_x509_cert?: string;
slug: string;

@@ -65,2 +69,13 @@ title: string;

}
export interface AccountModification {
title?: string;
description?: string;
g_speech_to_text?: boolean;
saml?: {
domain: string;
entity_id: string;
sso_url: string;
x509_cert: string;
};
}
export interface AccountStatus {

@@ -67,0 +82,0 @@ available: boolean;

@@ -114,2 +114,3 @@ export interface IResource {

source?: 'WEB' | 'DESKTOP' | 'API';
path?: string;
}

@@ -116,0 +117,0 @@ export interface IError {

import type { Observable } from 'rxjs';
import type { AuthTokens, JwtUser } from './auth';
import type { Account, AccountCreation, AccountStatus, AccountTypes, EventList, IKnowledgeBoxItem, IStandaloneKb, KnowledgeBox, KnowledgeBoxCreation, LearningConfigurations, NUAClient, NUAClientPayload, PredictedToken, ProcessingPullResponse, ProcessingPushResponse, ProcessingStat, ProcessingStatusResponse, StatsPeriod, StatsRange, StatsType, Welcome, WritableKnowledgeBox } from './db';
import { Account, AccountCreation, AccountModification, AccountStatus, AccountTypes, EventList, IKnowledgeBoxItem, IStandaloneKb, KnowledgeBox, KnowledgeBoxCreation, LearningConfigurations, NUAClient, NUAClientPayload, PredictedToken, ProcessingPullResponse, ProcessingPushResponse, ProcessingStat, ProcessingStatusResponse, StatsPeriod, StatsRange, StatsType, Welcome, WritableKnowledgeBox } from './db';
import { KbIndex } from './db';

@@ -76,3 +76,3 @@ export interface INuclia {

getAccountStatus(accountSlug: string): Observable<AccountStatus>;
modifyAccount(accountSlug: string, data: Partial<Account>): Observable<void>;
modifyAccount(accountSlug: string, data: AccountModification): Observable<void>;
deleteAccount(accountSlug: string): Observable<void>;

@@ -79,0 +79,0 @@ getWelcome(): Observable<Welcome>;

{
"name": "@nuclia/core",
"version": "1.11.1",
"version": "1.11.2",
"description": "SDK allowing to integrate Nuclia services in your frontend application",

@@ -5,0 +5,0 @@ "license": "MIT",

import { Observable } from 'rxjs';
import type { AccountUsersPayload, FullAccountUser, IDb, INuclia, InviteAccountUserPayload } from '../models';
import type { KbIndex, LearningConfigurations, PredictedToken } from './db.models';
import { AccountModification, KbIndex, LearningConfigurations, PredictedToken } from './db.models';
import { Account, AccountCreation, AccountStatus, NUAClient, NUAClientPayload, ProcessingPullResponse, ProcessingPushResponse, ProcessingStat, ProcessingStatusResponse, StatsPeriod, StatsRange, StatsType, Welcome } from './db.models';

@@ -36,3 +36,3 @@ import type { EventList, IKnowledgeBoxItem, KnowledgeBoxCreation } from './kb';

*/
modifyAccount(accountSlug: string, data: Partial<Account>): Observable<void>;
modifyAccount(accountSlug: string, data: AccountModification): Observable<void>;
/** Deletes an account. */

@@ -39,0 +39,0 @@ deleteAccount(accountSlug: string): Observable<void>;

@@ -10,2 +10,3 @@ export type AccountTypes = 'stash-trial' | 'v3starter' | 'v3fly' | 'v3growth' | 'v3enterprise' | 'stash-basic' | 'stash-team' | 'stash-startup' | 'stash-starter' | 'stash-growth' | 'stash-enterprise' | 'stash-developer' | 'stash-business';

current_users?: number;
domain?: string;
description?: string;

@@ -16,2 +17,5 @@ id: string;

max_users: number | null;
saml_entity_id?: string;
saml_sso_url?: string;
saml_x509_cert?: string;
slug: string;

@@ -65,2 +69,13 @@ title: string;

}
export interface AccountModification {
title?: string;
description?: string;
g_speech_to_text?: boolean;
saml?: {
domain: string;
entity_id: string;
sso_url: string;
x509_cert: string;
};
}
export interface AccountStatus {

@@ -67,0 +82,0 @@ available: boolean;

@@ -114,2 +114,3 @@ export interface IResource {

source?: 'WEB' | 'DESKTOP' | 'API';
path?: string;
}

@@ -116,0 +117,0 @@ export interface IError {

import type { Observable } from 'rxjs';
import type { AuthTokens, JwtUser } from './auth';
import type { Account, AccountCreation, AccountStatus, AccountTypes, EventList, IKnowledgeBoxItem, IStandaloneKb, KnowledgeBox, KnowledgeBoxCreation, LearningConfigurations, NUAClient, NUAClientPayload, PredictedToken, ProcessingPullResponse, ProcessingPushResponse, ProcessingStat, ProcessingStatusResponse, StatsPeriod, StatsRange, StatsType, Welcome, WritableKnowledgeBox } from './db';
import { Account, AccountCreation, AccountModification, AccountStatus, AccountTypes, EventList, IKnowledgeBoxItem, IStandaloneKb, KnowledgeBox, KnowledgeBoxCreation, LearningConfigurations, NUAClient, NUAClientPayload, PredictedToken, ProcessingPullResponse, ProcessingPushResponse, ProcessingStat, ProcessingStatusResponse, StatsPeriod, StatsRange, StatsType, Welcome, WritableKnowledgeBox } from './db';
import { KbIndex } from './db';

@@ -76,3 +76,3 @@ export interface INuclia {

getAccountStatus(accountSlug: string): Observable<AccountStatus>;
modifyAccount(accountSlug: string, data: Partial<Account>): Observable<void>;
modifyAccount(accountSlug: string, data: AccountModification): Observable<void>;
deleteAccount(accountSlug: string): Observable<void>;

@@ -79,0 +79,0 @@ getWelcome(): Observable<Welcome>;

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc