@narrative.io/data-collaboration-sdk-ts 2.95.0-beta.0 → 2.95.0-beta.1
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/build/access-rules/index.d.ts +1 -1
- package/build/access-tokens/index.d.ts +1 -1
- package/build/access-tokens/types.d.ts +2 -0
- package/build/access-tokens/types.js +2 -0
- package/build/apps/index.d.ts +1 -1
- package/build/attributes/index.d.ts +1 -1
- package/build/authentication/index.d.ts +1 -1
- package/build/collaboration-policy/core/jsonschema/json-schema-types.d.ts +2 -2
- package/build/collaboration-policy/core/jsonschema/sql-builder.js +2 -1
- package/build/collaboration-policy/core/sql-builder.js +9 -11
- package/build/collaboration-policy/types/collaboration-policy.d.ts +1370 -0
- package/build/collaboration-policy/types/collaboration-policy.js +274 -0
- package/build/collaboration-policy/types/index.d.ts +2 -0
- package/build/collaboration-policy/types/index.js +1 -0
- package/build/company-info/index.d.ts +1 -1
- package/build/connections/index.d.ts +1 -1
- package/build/contracts/index.d.ts +1 -1
- package/build/data-planes/types.d.ts +1 -1
- package/build/data-streams/index.d.ts +1 -1
- package/build/datasets/index.d.ts +12 -3
- package/build/datasets/index.js +19 -2
- package/build/datasets/statistics-types.d.ts +81 -0
- package/build/datasets/statistics-types.js +1 -0
- package/build/datasets/types.d.ts +83 -11
- package/build/datasets/types.js +1 -0
- package/build/forecast/index.d.ts +1 -1
- package/build/index.d.ts +1 -0
- package/build/index.js +1 -0
- package/build/installations/index.d.ts +1 -1
- package/build/jobs/index.d.ts +1 -1
- package/build/jobs/types.d.ts +1 -0
- package/build/mappings/index.d.ts +1 -1
- package/build/model-inference/index.d.ts +1 -1
- package/build/model-training/index.d.ts +1 -1
- package/build/models/index.d.ts +1 -1
- package/build/nql/Ast.d.ts +1 -1
- package/build/nql/index.d.ts +1 -1
- package/build/nql/index.js +1 -1
- package/build/nql/types.d.ts +9 -9
- package/build/products/index.d.ts +1 -1
- package/build/queries/index.d.ts +1 -1
- package/build/resources/index.d.ts +1 -1
- package/build/rosetta/types.d.ts +1 -1
- package/build/rosetta/types.js +1 -1
- package/build/rosetta-stone/index.d.ts +1 -1
- package/build/subscriptions/index.d.ts +1 -1
- package/build/uploads/index.d.ts +1 -1
- package/build/views/index.d.ts +1 -1
- package/build/workflows/index.d.ts +1 -1
- package/package.json +9 -9
|
@@ -111,4 +111,4 @@ declare class MappingsApi extends BaseApi {
|
|
|
111
111
|
*/
|
|
112
112
|
getMapping(mappingId: string): Promise<Mapping>;
|
|
113
113
|
}
|
|
114
|
-
export { type
|
|
114
|
+
export { type CreateMapping, type Mapping, type MappingExpressionDependencies, MappingsApi, type MappingTestResult, type MappingTestResults, type ObjectMapping, type PropertyMapping, type RawMappingDefinition, type RawObjectMapping, type RawPropertyMapping, type RawValueMapping, type ValueMapping, };
|
|
@@ -15,4 +15,4 @@ declare class ModelInferenceApi extends BaseApi {
|
|
|
15
15
|
*/
|
|
16
16
|
runModelInference(request: ModelInferenceRunRequest): Promise<ModelInferenceRunJob>;
|
|
17
17
|
}
|
|
18
|
-
export {
|
|
18
|
+
export { type InferenceConfig, type InferenceMessage, type InferenceModel, type InferenceUsage, type MessageRole, ModelInferenceApi, type ModelInferenceRunRequest, type ModelInferenceRunResult, };
|
|
@@ -20,4 +20,4 @@ declare class ModelTrainingApi extends BaseApi {
|
|
|
20
20
|
*/
|
|
21
21
|
trainClassifier(data: TrainClassifierRequest): Promise<TrainClassifierResponse>;
|
|
22
22
|
}
|
|
23
|
-
export { ModelTrainingApi, type
|
|
23
|
+
export { ModelTrainingApi, type ModelTrainingConfig, type OutputModel, type TrainClassifierRequest, type TrainClassifierResponse, type TrainModelRequest, type TrainModelResponse, };
|
package/build/models/index.d.ts
CHANGED
|
@@ -28,4 +28,4 @@ declare class ModelsApi extends BaseApi {
|
|
|
28
28
|
*/
|
|
29
29
|
deleteModel(modelId: string): Promise<void>;
|
|
30
30
|
}
|
|
31
|
-
export {
|
|
31
|
+
export { type CreateModelRequest, type Model, type ModelCollaborators, ModelsApi, type UpdateModelRequest, };
|
package/build/nql/Ast.d.ts
CHANGED
|
@@ -300,4 +300,4 @@ type NqlAst = {
|
|
|
300
300
|
type: string;
|
|
301
301
|
ast_metadata?: AstNodeMetadata;
|
|
302
302
|
} & (NqlAstList | NqlAggFunction | NqlBinaryOp | NqlCase | NqlFunction | NqlLit | NqlIdent | NqlJoin | NqlTypeSpec | NqlOp | NqlWindow | NqlUnknown | NqlSelect | NqlCreateMaterializedView | NqlExplain | NqlWhen | NqlElse | NqlPlaceholder);
|
|
303
|
-
export type { NqlAst, NqlAstList,
|
|
303
|
+
export type { ExtractPlaceholderType, NqlAggFunction, NqlAst, NqlAstList, NqlAstType, NqlBinaryOp, NqlBudget, NqlCase, NqlCreateMaterializedView, NqlElse, NqlExplain, NqlFunction, NqlIdent, NqlIdentColumn, NqlIdentTable, NqlJoin, NqlJoinConditionType, NqlJoinType, NqlLit, NqlOp, NqlPlaceholder, NqlSelect, NqlSimpleType, NqlTemplateConstraint, NqlTemplateConstraintGroup, NqlTemplateConstraintLogicalOperator, NqlTypeSpec, NqlUnknown, NqlWhen, NqlWindow, };
|
package/build/nql/index.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ declare class NqlApi extends BaseApi {
|
|
|
43
43
|
*/
|
|
44
44
|
getNqlByJobId(id: string): Promise<NqlResult>;
|
|
45
45
|
}
|
|
46
|
-
export { NqlApi, type Nql, type NqlField, type NqlResult, type NqlQueryInput, type NqlCompileResult, type NqlExpression, type NqlWhere, type NqlFilterExpression, type NqlBooleanExpression, type NqlFilterBinaryExpression, type NqlFilterUnaryExpression, };
|
|
47
46
|
export * from "./Ast";
|
|
48
47
|
export * from "./AstParser";
|
|
49
48
|
export * from "./NqlBuilder";
|
|
49
|
+
export { type Nql, NqlApi, type NqlBooleanExpression, type NqlCompileResult, type NqlExpression, type NqlField, type NqlFilterBinaryExpression, type NqlFilterExpression, type NqlFilterUnaryExpression, type NqlQueryInput, type NqlResult, type NqlWhere, };
|
package/build/nql/index.js
CHANGED
package/build/nql/types.d.ts
CHANGED
|
@@ -36,8 +36,8 @@ export declare const NqlQueryInputObj: z.ZodObject<{
|
|
|
36
36
|
data_plane_id: z.ZodNullable<z.ZodString>;
|
|
37
37
|
execution_cluster: z.ZodOptional<z.ZodObject<{
|
|
38
38
|
type: z.ZodEnum<{
|
|
39
|
-
shared: "shared";
|
|
40
39
|
dedicated: "dedicated";
|
|
40
|
+
shared: "shared";
|
|
41
41
|
}>;
|
|
42
42
|
}, z.core.$strip>>;
|
|
43
43
|
create_as_view: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -103,12 +103,12 @@ export declare const NqlFilterBinaryExpressionObj: z.ZodObject<{
|
|
|
103
103
|
}, z.core.$strip>;
|
|
104
104
|
}, z.core.$strip>, z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
105
105
|
operator: z.ZodEnum<{
|
|
106
|
+
"=": "=";
|
|
107
|
+
"!=": "!=";
|
|
106
108
|
">": ">";
|
|
107
109
|
"<": "<";
|
|
108
110
|
">=": ">=";
|
|
109
111
|
"<=": "<=";
|
|
110
|
-
"=": "=";
|
|
111
|
-
"!=": "!=";
|
|
112
112
|
IN: "IN";
|
|
113
113
|
"NOT IN": "NOT IN";
|
|
114
114
|
LIKE: "LIKE";
|
|
@@ -143,12 +143,12 @@ export declare const NqlFilterExpressionObj: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
143
143
|
}, z.core.$strip>;
|
|
144
144
|
}, z.core.$strip>, z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
145
145
|
operator: z.ZodEnum<{
|
|
146
|
+
"=": "=";
|
|
147
|
+
"!=": "!=";
|
|
146
148
|
">": ">";
|
|
147
149
|
"<": "<";
|
|
148
150
|
">=": ">=";
|
|
149
151
|
"<=": "<=";
|
|
150
|
-
"=": "=";
|
|
151
|
-
"!=": "!=";
|
|
152
152
|
IN: "IN";
|
|
153
153
|
"NOT IN": "NOT IN";
|
|
154
154
|
LIKE: "LIKE";
|
|
@@ -194,12 +194,12 @@ export declare const NqlWhereObj: z.ZodObject<{
|
|
|
194
194
|
}, z.core.$strip>;
|
|
195
195
|
}, z.core.$strip>, z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
196
196
|
operator: z.ZodEnum<{
|
|
197
|
+
"=": "=";
|
|
198
|
+
"!=": "!=";
|
|
197
199
|
">": ">";
|
|
198
200
|
"<": "<";
|
|
199
201
|
">=": ">=";
|
|
200
202
|
"<=": "<=";
|
|
201
|
-
"=": "=";
|
|
202
|
-
"!=": "!=";
|
|
203
203
|
IN: "IN";
|
|
204
204
|
"NOT IN": "NOT IN";
|
|
205
205
|
LIKE: "LIKE";
|
|
@@ -257,12 +257,12 @@ export declare const NqlObj: z.ZodObject<{
|
|
|
257
257
|
}, z.core.$strip>;
|
|
258
258
|
}, z.core.$strip>, z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
259
259
|
operator: z.ZodEnum<{
|
|
260
|
+
"=": "=";
|
|
261
|
+
"!=": "!=";
|
|
260
262
|
">": ">";
|
|
261
263
|
"<": "<";
|
|
262
264
|
">=": ">=";
|
|
263
265
|
"<=": "<=";
|
|
264
|
-
"=": "=";
|
|
265
|
-
"!=": "!=";
|
|
266
266
|
IN: "IN";
|
|
267
267
|
"NOT IN": "NOT IN";
|
|
268
268
|
LIKE: "LIKE";
|
package/build/queries/index.d.ts
CHANGED
|
@@ -42,4 +42,4 @@ declare class QueriesApi extends BaseApi {
|
|
|
42
42
|
*/
|
|
43
43
|
updateQuery(queryId: string, data: UpdateNqlQueryRequest): Promise<NqlQueryResponse>;
|
|
44
44
|
}
|
|
45
|
-
export {
|
|
45
|
+
export { type CreateNqlQueryRequest, type NqlOwnedQueryResponse, type NqlQueryAst, type NqlQueryCollaborators, type NqlQueryMetadata, type NqlQueryOwner, type NqlQueryResponse, type NqlSharedQueryResponse, QueriesApi, type UpdateNqlQueryRequest, };
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { BaseApi } from "../base-api";
|
|
6
6
|
import type { ApiRecords } from "../types";
|
|
7
7
|
import type { BucketCreationRequest, Resource, UpdateAccessTypeRequest } from "./types";
|
|
8
|
-
export type {
|
|
8
|
+
export type { BucketCreationRequest, Resource, UpdateAccessTypeRequest };
|
|
9
9
|
/**
|
|
10
10
|
* @class ResourceApi
|
|
11
11
|
* @extends {BaseApi}
|
package/build/rosetta/types.d.ts
CHANGED
|
@@ -311,4 +311,4 @@ interface RespomseMessage {
|
|
|
311
311
|
}
|
|
312
312
|
type RosettaResponseMessage = InfoMessage | HistoryMessage | ConversationUpdatedMessage | PongMessage | ErrorMessage | ThoughtMessage | RespomseMessage | ConversationListMessage;
|
|
313
313
|
declare function isType<T>(input: unknown, schema: z.ZodType<T>): input is T;
|
|
314
|
-
export { type
|
|
314
|
+
export { type ConversationAssistantMessage, type ConversationAssistantMessageWithFunctionCall, type ConversationAssistantMessageWithoutFunctionCall, type ConversationFunctionMessage, type ConversationIOMessage, type ConversationMessage, type ConversationMessageFunctionCall, type ConversationMessageName, type ConversationMessageRole, type ConversationMessages, type ConversationSystemMessage, type ConversationUserMessage, isConversationAssistantMessage, isConversationAssistantMessageWithFunctionCall, isConversationAssistantMessageWithoutFunctionCall, isConversationFunctionMessage, isConversationInputMessage, isConversationMessage, isConversationMessageFunctionCall, isConversationMessageName, isConversationMessageRole, isConversationMessages, isConversationSystemMessage, isConversationUserMessage, isRosettaRequestMessage, isType, type RosettaRequestMessage, type RosettaResponseMessage, };
|
package/build/rosetta/types.js
CHANGED
|
@@ -225,4 +225,4 @@ function isType(input, schema) {
|
|
|
225
225
|
/// ///////////////////
|
|
226
226
|
// Exports
|
|
227
227
|
/// ///////////////////
|
|
228
|
-
export {
|
|
228
|
+
export { isConversationAssistantMessage, isConversationAssistantMessageWithFunctionCall, isConversationAssistantMessageWithoutFunctionCall, isConversationFunctionMessage, isConversationInputMessage, isConversationMessage, isConversationMessageFunctionCall, isConversationMessageName, isConversationMessageRole, isConversationMessages, isConversationSystemMessage, isConversationUserMessage, isRosettaRequestMessage, isType, };
|
|
@@ -14,4 +14,4 @@ declare class RosettaStoneApi extends BaseApi {
|
|
|
14
14
|
response: Mapping[];
|
|
15
15
|
}>;
|
|
16
16
|
}
|
|
17
|
-
export { RosettaStoneApi, type
|
|
17
|
+
export { RosettaStoneApi, type RosettaStoneResponse, type SampleRecord, type SampleRecords, };
|
|
@@ -13,4 +13,4 @@ declare class SubscriptionsApi extends BaseApi {
|
|
|
13
13
|
*/
|
|
14
14
|
getSubscriptions(): Promise<ApiRecords<Subscription>>;
|
|
15
15
|
}
|
|
16
|
-
export { type
|
|
16
|
+
export { type DataStreamSubscriptionDetails, type MarketplaceSubscriptionDetails, type Subscription, type SubscriptionBudget, type SubscriptionDetails, type SubscriptionOutput, type SubscriptionStatus, SubscriptionsApi, type SubscriptionType, };
|
package/build/uploads/index.d.ts
CHANGED
|
@@ -33,4 +33,4 @@ declare class UploadsApi extends BaseApi {
|
|
|
33
33
|
*/
|
|
34
34
|
uploadFileToS3(file: File, uploadInfo: UploadsResponse): Promise<boolean>;
|
|
35
35
|
}
|
|
36
|
-
export { type
|
|
36
|
+
export { type ConfirmDatasetUpload, UploadsApi, type UploadsResponse };
|
package/build/views/index.d.ts
CHANGED
|
@@ -42,4 +42,4 @@ declare class ViewsApi extends BaseApi {
|
|
|
42
42
|
*/
|
|
43
43
|
updateView(viewId: string, data: UpdateViewRequest): Promise<View>;
|
|
44
44
|
}
|
|
45
|
-
export {
|
|
45
|
+
export { type CreateViewRequest, type OwnedView, type SharedView, type UpdateViewRequest, type View, type ViewOwner, ViewsApi, };
|
|
@@ -63,4 +63,4 @@ declare class WorkflowsApi extends BaseApi {
|
|
|
63
63
|
*/
|
|
64
64
|
listWorkflowRuns(workflowId: string, params?: ListRunsParams): Promise<ListRunsResponse>;
|
|
65
65
|
}
|
|
66
|
-
export {
|
|
66
|
+
export { type CreateWorkflowRequest, type CreateWorkflowResponse, type ListRunsParams, type ListRunsResponse, type ListWorkflowsResponse, type ScheduleWorkflowRequest, type ScheduleWorkflowResponse, type TriggerWorkflowResponse, type WorkflowResponse, type WorkflowRun, type WorkflowRunStatus, type WorkflowStatus, WorkflowsApi, };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@narrative.io/data-collaboration-sdk-ts",
|
|
3
|
-
"version": "2.95.0-beta.
|
|
3
|
+
"version": "2.95.0-beta.1",
|
|
4
4
|
"main": "build/index.js",
|
|
5
5
|
"repository": "github:narrative-io/data-collaboration-sdk-ts",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -26,20 +26,20 @@
|
|
|
26
26
|
"license": "ISC",
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@babel/core": "7.29.0",
|
|
29
|
-
"@babel/preset-env": "7.29.
|
|
29
|
+
"@babel/preset-env": "7.29.2",
|
|
30
30
|
"@babel/preset-typescript": "7.28.5",
|
|
31
|
-
"@biomejs/biome": "2.
|
|
32
|
-
"@commitlint/cli": "20.
|
|
33
|
-
"@commitlint/config-conventional": "20.
|
|
31
|
+
"@biomejs/biome": "2.4.8",
|
|
32
|
+
"@commitlint/cli": "20.5.0",
|
|
33
|
+
"@commitlint/config-conventional": "20.5.0",
|
|
34
34
|
"@types/jest": "30.0.0",
|
|
35
35
|
"@types/json-schema": "^7.0.15",
|
|
36
|
-
"babel-jest": "30.
|
|
37
|
-
"jest": "30.
|
|
38
|
-
"lefthook": "2.1.
|
|
36
|
+
"babel-jest": "30.3.0",
|
|
37
|
+
"jest": "30.3.0",
|
|
38
|
+
"lefthook": "2.1.4",
|
|
39
39
|
"ts-jest": "29.4.6"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"bignumber.js": "
|
|
42
|
+
"bignumber.js": "10.0.2",
|
|
43
43
|
"mande": "2.0.9",
|
|
44
44
|
"zod": "4.3.6"
|
|
45
45
|
},
|