lumnisai 0.1.6 → 0.1.7
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 +13 -7
- package/dist/index.d.cts +10 -4
- package/dist/index.d.mts +10 -4
- package/dist/index.d.ts +10 -4
- package/dist/index.mjs +13 -7
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1319,23 +1319,29 @@ class LumnisClient {
|
|
|
1319
1319
|
async listApps(params) {
|
|
1320
1320
|
return this.integrations.listApps(params);
|
|
1321
1321
|
}
|
|
1322
|
-
async
|
|
1323
|
-
return this.integrations.
|
|
1322
|
+
async listProviders() {
|
|
1323
|
+
return this.integrations.listProviders();
|
|
1324
|
+
}
|
|
1325
|
+
async isAppEnabled(appName, provider) {
|
|
1326
|
+
return this.integrations.isAppEnabled(appName, provider);
|
|
1324
1327
|
}
|
|
1325
|
-
async setAppEnabled(appName, enabled) {
|
|
1326
|
-
return this.integrations.setAppEnabled(appName, { enabled });
|
|
1328
|
+
async setAppEnabled(appName, enabled, provider) {
|
|
1329
|
+
return this.integrations.setAppEnabled(appName, { enabled, provider });
|
|
1327
1330
|
}
|
|
1328
1331
|
async initiateConnection(params) {
|
|
1329
1332
|
return this.integrations.initiateConnection(params);
|
|
1330
1333
|
}
|
|
1331
|
-
async getConnectionStatus(userId, appName) {
|
|
1332
|
-
return this.integrations.getConnectionStatus({ userId, appName });
|
|
1334
|
+
async getConnectionStatus(userId, appName, provider) {
|
|
1335
|
+
return this.integrations.getConnectionStatus({ userId, appName, provider });
|
|
1333
1336
|
}
|
|
1334
1337
|
async listConnections(userId, params) {
|
|
1335
1338
|
return this.integrations.listConnections(userId, params);
|
|
1336
1339
|
}
|
|
1337
1340
|
async getIntegrationTools(userId, params) {
|
|
1338
|
-
return this.integrations.getTools({ userId, appFilter: params?.appFilter });
|
|
1341
|
+
return this.integrations.getTools({ userId, appFilter: params?.appFilter, provider: params?.provider });
|
|
1342
|
+
}
|
|
1343
|
+
async disconnect(userId, appName, provider) {
|
|
1344
|
+
return this.integrations.disconnect({ userId, appName, provider });
|
|
1339
1345
|
}
|
|
1340
1346
|
// Model Preference methods
|
|
1341
1347
|
async getModelPreferences(params) {
|
package/dist/index.d.cts
CHANGED
|
@@ -1478,14 +1478,20 @@ declare class LumnisClient {
|
|
|
1478
1478
|
getApiKeyMode(): Promise<ApiKeyModeResponse>;
|
|
1479
1479
|
setApiKeyMode(mode: Parameters<ExternalAPIKeysResource['setMode']>[0]): Promise<ApiKeyModeResponse>;
|
|
1480
1480
|
listApps(params?: Parameters<IntegrationsResource['listApps']>[0]): Promise<AppsListResponse>;
|
|
1481
|
-
|
|
1482
|
-
|
|
1481
|
+
listProviders(): Promise<ListProvidersResponse>;
|
|
1482
|
+
isAppEnabled(appName: string, provider?: string): Promise<AppEnabledResponse>;
|
|
1483
|
+
setAppEnabled(appName: string, enabled: boolean, provider?: string): Promise<UpdateAppStatusResponse>;
|
|
1483
1484
|
initiateConnection(params: Parameters<IntegrationsResource['initiateConnection']>[0]): Promise<InitiateConnectionResponse>;
|
|
1484
|
-
getConnectionStatus(userId: string, appName: string): Promise<ConnectionStatusResponse>;
|
|
1485
|
-
listConnections(userId: string, params?:
|
|
1485
|
+
getConnectionStatus(userId: string, appName: string, provider?: string): Promise<ConnectionStatusResponse>;
|
|
1486
|
+
listConnections(userId: string, params?: {
|
|
1487
|
+
appFilter?: string;
|
|
1488
|
+
provider?: string;
|
|
1489
|
+
}): Promise<UserConnectionsResponse>;
|
|
1486
1490
|
getIntegrationTools(userId: string, params?: {
|
|
1487
1491
|
appFilter?: string[];
|
|
1492
|
+
provider?: string;
|
|
1488
1493
|
}): Promise<GetToolsResponse>;
|
|
1494
|
+
disconnect(userId: string, appName: string, provider?: string): Promise<DisconnectResponse>;
|
|
1489
1495
|
getModelPreferences(params?: Parameters<ModelPreferencesResource['list']>[0]): Promise<TenantModelPreferencesResponse>;
|
|
1490
1496
|
updateModelPreferences(params: Parameters<ModelPreferencesResource['updateBulk']>[0]): Promise<TenantModelPreferencesResponse>;
|
|
1491
1497
|
createMcpServer(params: Parameters<MCPServersResource['create']>[0]): Promise<MCPServerResponse>;
|
package/dist/index.d.mts
CHANGED
|
@@ -1478,14 +1478,20 @@ declare class LumnisClient {
|
|
|
1478
1478
|
getApiKeyMode(): Promise<ApiKeyModeResponse>;
|
|
1479
1479
|
setApiKeyMode(mode: Parameters<ExternalAPIKeysResource['setMode']>[0]): Promise<ApiKeyModeResponse>;
|
|
1480
1480
|
listApps(params?: Parameters<IntegrationsResource['listApps']>[0]): Promise<AppsListResponse>;
|
|
1481
|
-
|
|
1482
|
-
|
|
1481
|
+
listProviders(): Promise<ListProvidersResponse>;
|
|
1482
|
+
isAppEnabled(appName: string, provider?: string): Promise<AppEnabledResponse>;
|
|
1483
|
+
setAppEnabled(appName: string, enabled: boolean, provider?: string): Promise<UpdateAppStatusResponse>;
|
|
1483
1484
|
initiateConnection(params: Parameters<IntegrationsResource['initiateConnection']>[0]): Promise<InitiateConnectionResponse>;
|
|
1484
|
-
getConnectionStatus(userId: string, appName: string): Promise<ConnectionStatusResponse>;
|
|
1485
|
-
listConnections(userId: string, params?:
|
|
1485
|
+
getConnectionStatus(userId: string, appName: string, provider?: string): Promise<ConnectionStatusResponse>;
|
|
1486
|
+
listConnections(userId: string, params?: {
|
|
1487
|
+
appFilter?: string;
|
|
1488
|
+
provider?: string;
|
|
1489
|
+
}): Promise<UserConnectionsResponse>;
|
|
1486
1490
|
getIntegrationTools(userId: string, params?: {
|
|
1487
1491
|
appFilter?: string[];
|
|
1492
|
+
provider?: string;
|
|
1488
1493
|
}): Promise<GetToolsResponse>;
|
|
1494
|
+
disconnect(userId: string, appName: string, provider?: string): Promise<DisconnectResponse>;
|
|
1489
1495
|
getModelPreferences(params?: Parameters<ModelPreferencesResource['list']>[0]): Promise<TenantModelPreferencesResponse>;
|
|
1490
1496
|
updateModelPreferences(params: Parameters<ModelPreferencesResource['updateBulk']>[0]): Promise<TenantModelPreferencesResponse>;
|
|
1491
1497
|
createMcpServer(params: Parameters<MCPServersResource['create']>[0]): Promise<MCPServerResponse>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1478,14 +1478,20 @@ declare class LumnisClient {
|
|
|
1478
1478
|
getApiKeyMode(): Promise<ApiKeyModeResponse>;
|
|
1479
1479
|
setApiKeyMode(mode: Parameters<ExternalAPIKeysResource['setMode']>[0]): Promise<ApiKeyModeResponse>;
|
|
1480
1480
|
listApps(params?: Parameters<IntegrationsResource['listApps']>[0]): Promise<AppsListResponse>;
|
|
1481
|
-
|
|
1482
|
-
|
|
1481
|
+
listProviders(): Promise<ListProvidersResponse>;
|
|
1482
|
+
isAppEnabled(appName: string, provider?: string): Promise<AppEnabledResponse>;
|
|
1483
|
+
setAppEnabled(appName: string, enabled: boolean, provider?: string): Promise<UpdateAppStatusResponse>;
|
|
1483
1484
|
initiateConnection(params: Parameters<IntegrationsResource['initiateConnection']>[0]): Promise<InitiateConnectionResponse>;
|
|
1484
|
-
getConnectionStatus(userId: string, appName: string): Promise<ConnectionStatusResponse>;
|
|
1485
|
-
listConnections(userId: string, params?:
|
|
1485
|
+
getConnectionStatus(userId: string, appName: string, provider?: string): Promise<ConnectionStatusResponse>;
|
|
1486
|
+
listConnections(userId: string, params?: {
|
|
1487
|
+
appFilter?: string;
|
|
1488
|
+
provider?: string;
|
|
1489
|
+
}): Promise<UserConnectionsResponse>;
|
|
1486
1490
|
getIntegrationTools(userId: string, params?: {
|
|
1487
1491
|
appFilter?: string[];
|
|
1492
|
+
provider?: string;
|
|
1488
1493
|
}): Promise<GetToolsResponse>;
|
|
1494
|
+
disconnect(userId: string, appName: string, provider?: string): Promise<DisconnectResponse>;
|
|
1489
1495
|
getModelPreferences(params?: Parameters<ModelPreferencesResource['list']>[0]): Promise<TenantModelPreferencesResponse>;
|
|
1490
1496
|
updateModelPreferences(params: Parameters<ModelPreferencesResource['updateBulk']>[0]): Promise<TenantModelPreferencesResponse>;
|
|
1491
1497
|
createMcpServer(params: Parameters<MCPServersResource['create']>[0]): Promise<MCPServerResponse>;
|
package/dist/index.mjs
CHANGED
|
@@ -1315,23 +1315,29 @@ class LumnisClient {
|
|
|
1315
1315
|
async listApps(params) {
|
|
1316
1316
|
return this.integrations.listApps(params);
|
|
1317
1317
|
}
|
|
1318
|
-
async
|
|
1319
|
-
return this.integrations.
|
|
1318
|
+
async listProviders() {
|
|
1319
|
+
return this.integrations.listProviders();
|
|
1320
|
+
}
|
|
1321
|
+
async isAppEnabled(appName, provider) {
|
|
1322
|
+
return this.integrations.isAppEnabled(appName, provider);
|
|
1320
1323
|
}
|
|
1321
|
-
async setAppEnabled(appName, enabled) {
|
|
1322
|
-
return this.integrations.setAppEnabled(appName, { enabled });
|
|
1324
|
+
async setAppEnabled(appName, enabled, provider) {
|
|
1325
|
+
return this.integrations.setAppEnabled(appName, { enabled, provider });
|
|
1323
1326
|
}
|
|
1324
1327
|
async initiateConnection(params) {
|
|
1325
1328
|
return this.integrations.initiateConnection(params);
|
|
1326
1329
|
}
|
|
1327
|
-
async getConnectionStatus(userId, appName) {
|
|
1328
|
-
return this.integrations.getConnectionStatus({ userId, appName });
|
|
1330
|
+
async getConnectionStatus(userId, appName, provider) {
|
|
1331
|
+
return this.integrations.getConnectionStatus({ userId, appName, provider });
|
|
1329
1332
|
}
|
|
1330
1333
|
async listConnections(userId, params) {
|
|
1331
1334
|
return this.integrations.listConnections(userId, params);
|
|
1332
1335
|
}
|
|
1333
1336
|
async getIntegrationTools(userId, params) {
|
|
1334
|
-
return this.integrations.getTools({ userId, appFilter: params?.appFilter });
|
|
1337
|
+
return this.integrations.getTools({ userId, appFilter: params?.appFilter, provider: params?.provider });
|
|
1338
|
+
}
|
|
1339
|
+
async disconnect(userId, appName, provider) {
|
|
1340
|
+
return this.integrations.disconnect({ userId, appName, provider });
|
|
1335
1341
|
}
|
|
1336
1342
|
// Model Preference methods
|
|
1337
1343
|
async getModelPreferences(params) {
|