@squidcloud/backend 1.0.505 → 1.0.507
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.
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { IntegrationId } from '@squidcloud/client';
|
|
2
2
|
/**
|
|
3
|
-
* Represents the type of native query request,
|
|
3
|
+
* Represents the type of native query request: relational, MongoDB, Elasticsearch, Pure or Salesforce SOQL.
|
|
4
4
|
* @category Database
|
|
5
5
|
*/
|
|
6
|
-
export type NativeQueryRequestType = 'relational' | 'mongo' | 'elasticsearch' | 'pure';
|
|
6
|
+
export type NativeQueryRequestType = 'relational' | 'mongo' | 'elasticsearch' | 'pure' | 'soql';
|
|
7
7
|
/**
|
|
8
8
|
* Base fields shared by all native query contexts.
|
|
9
9
|
* @category Database
|
|
@@ -69,7 +69,19 @@ export interface PureNativeQueryContext extends BaseNativeQueryContext {
|
|
|
69
69
|
params: Record<string, any>;
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
72
|
+
* Context for executing a Salesforce SOQL query.
|
|
73
73
|
* @category Database
|
|
74
74
|
*/
|
|
75
|
-
export
|
|
75
|
+
export interface SoqlNativeQueryContext extends BaseNativeQueryContext {
|
|
76
|
+
/** Specifies that the query is a Salesforce SOQL query. */
|
|
77
|
+
type: 'soql';
|
|
78
|
+
/** SOQL query string to be executed, with `${name}` placeholders for the parameters. */
|
|
79
|
+
query: string;
|
|
80
|
+
/** Parameters to be bound into the query. */
|
|
81
|
+
params: Record<string, any>;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Union type representing any of the supported native query contexts.
|
|
85
|
+
* @category Database
|
|
86
|
+
*/
|
|
87
|
+
export type NativeQueryContext = RelationalNativeQueryContext | MongoNativeQueryContext | ElasticsearchNativeQueryContext | PureNativeQueryContext | SoqlNativeQueryContext;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@squidcloud/backend",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.507",
|
|
4
4
|
"description": "Squid Cloud's backend SDK",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"@langchain/core": "^1.1.48",
|
|
69
69
|
"@langchain/langgraph": "^1.4.0",
|
|
70
70
|
"@langchain/langgraph-checkpoint": "^1.1.0",
|
|
71
|
-
"@squidcloud/client": "^1.0.
|
|
71
|
+
"@squidcloud/client": "^1.0.507"
|
|
72
72
|
},
|
|
73
73
|
"peerDependenciesMeta": {
|
|
74
74
|
"@langchain/core": {
|