@squidcloud/client 1.0.289 → 1.0.291
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.
|
@@ -71,9 +71,10 @@ export declare enum IntegrationSchemaType {
|
|
|
71
71
|
'graphql' = "graphql"
|
|
72
72
|
}
|
|
73
73
|
export declare const AI_AGENTS_INTEGRATION_ID: IntegrationId;
|
|
74
|
-
export interface IntegrationInfo {
|
|
74
|
+
export interface IntegrationInfo<ConfigurationType = Record<string, any> | undefined> {
|
|
75
75
|
id: IntegrationId;
|
|
76
76
|
type: IntegrationType;
|
|
77
77
|
creationDate?: Date;
|
|
78
78
|
updateDate?: Date;
|
|
79
|
+
configuration: ConfigurationType;
|
|
79
80
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IntegrationId, IntegrationInfo, IntegrationType } from './public-types';
|
|
2
2
|
export declare class IntegrationClient {
|
|
3
3
|
private readonly rpcManager;
|
|
4
|
-
list(type?: IntegrationType): Promise<IntegrationInfo
|
|
5
|
-
get(id: IntegrationId): Promise<IntegrationInfo | undefined>;
|
|
4
|
+
list<ConfigurationType = Record<string, any>>(type?: IntegrationType): Promise<Array<IntegrationInfo<ConfigurationType>>>;
|
|
5
|
+
get<ConfigurationType = Record<string, any>>(id: IntegrationId): Promise<IntegrationInfo<ConfigurationType> | undefined>;
|
|
6
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SQUIDCLOUD_CLIENT_PACKAGE_VERSION = "1.0.
|
|
1
|
+
export declare const SQUIDCLOUD_CLIENT_PACKAGE_VERSION = "1.0.291";
|