@botpress/cognitive 0.1.40 → 0.1.41
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/.turbo/turbo-build.log +5 -5
- package/dist/index.d.ts +25 -2
- package/package.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
|
|
2
|
-
> @botpress/cognitive@0.1.
|
|
2
|
+
> @botpress/cognitive@0.1.41 build /home/runner/work/botpress/botpress/packages/cognitive
|
|
3
3
|
> pnpm build:type && pnpm build:neutral && size-limit
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @botpress/cognitive@0.1.
|
|
6
|
+
> @botpress/cognitive@0.1.41 build:type /home/runner/work/botpress/botpress/packages/cognitive
|
|
7
7
|
> tsup --tsconfig tsconfig.build.json ./src/index.ts --dts-resolve --dts-only --clean
|
|
8
8
|
|
|
9
9
|
CLI Building entry: ./src/index.ts
|
|
10
10
|
CLI Using tsconfig: tsconfig.build.json
|
|
11
11
|
CLI tsup v8.0.2
|
|
12
12
|
DTS Build start
|
|
13
|
-
DTS ⚡️ Build success in
|
|
14
|
-
DTS dist/index.d.ts
|
|
13
|
+
DTS ⚡️ Build success in 9466ms
|
|
14
|
+
DTS dist/index.d.ts 624.13 KB
|
|
15
15
|
|
|
16
|
-
> @botpress/cognitive@0.1.
|
|
16
|
+
> @botpress/cognitive@0.1.41 build:neutral /home/runner/work/botpress/botpress/packages/cognitive
|
|
17
17
|
> ts-node -T ./build.ts --neutral
|
|
18
18
|
|
|
19
19
|
Done
|
package/dist/index.d.ts
CHANGED
|
@@ -2060,6 +2060,7 @@ interface CreateMessageRequestBody {
|
|
|
2060
2060
|
*/
|
|
2061
2061
|
delay?: number;
|
|
2062
2062
|
};
|
|
2063
|
+
origin?: "synthetic";
|
|
2063
2064
|
}
|
|
2064
2065
|
type CreateMessageInput = CreateMessageRequestBody & CreateMessageRequestHeaders & CreateMessageRequestQuery & CreateMessageRequestParams;
|
|
2065
2066
|
interface CreateMessageResponse {
|
|
@@ -2107,6 +2108,10 @@ interface CreateMessageResponse {
|
|
|
2107
2108
|
tags: {
|
|
2108
2109
|
[k: string]: string;
|
|
2109
2110
|
};
|
|
2111
|
+
/**
|
|
2112
|
+
* Origin of the message (`synthetic`).
|
|
2113
|
+
*/
|
|
2114
|
+
origin?: "synthetic";
|
|
2110
2115
|
};
|
|
2111
2116
|
}
|
|
2112
2117
|
|
|
@@ -2154,6 +2159,7 @@ interface GetOrCreateMessageRequestBody {
|
|
|
2154
2159
|
*/
|
|
2155
2160
|
delay?: number;
|
|
2156
2161
|
};
|
|
2162
|
+
origin?: "synthetic";
|
|
2157
2163
|
/**
|
|
2158
2164
|
* Optional list of tag names to use for strict matching when looking up existing messages. If provided, all specified tags must match exactly for a message to be considered a match. For example, with an existing message whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.
|
|
2159
2165
|
*/
|
|
@@ -2205,6 +2211,10 @@ interface GetOrCreateMessageResponse {
|
|
|
2205
2211
|
tags: {
|
|
2206
2212
|
[k: string]: string;
|
|
2207
2213
|
};
|
|
2214
|
+
/**
|
|
2215
|
+
* Origin of the message (`synthetic`).
|
|
2216
|
+
*/
|
|
2217
|
+
origin?: "synthetic";
|
|
2208
2218
|
};
|
|
2209
2219
|
}
|
|
2210
2220
|
|
|
@@ -2263,6 +2273,10 @@ interface GetMessageResponse {
|
|
|
2263
2273
|
tags: {
|
|
2264
2274
|
[k: string]: string;
|
|
2265
2275
|
};
|
|
2276
|
+
/**
|
|
2277
|
+
* Origin of the message (`synthetic`).
|
|
2278
|
+
*/
|
|
2279
|
+
origin?: "synthetic";
|
|
2266
2280
|
};
|
|
2267
2281
|
}
|
|
2268
2282
|
|
|
@@ -2333,6 +2347,10 @@ interface UpdateMessageResponse {
|
|
|
2333
2347
|
tags: {
|
|
2334
2348
|
[k: string]: string;
|
|
2335
2349
|
};
|
|
2350
|
+
/**
|
|
2351
|
+
* Origin of the message (`synthetic`).
|
|
2352
|
+
*/
|
|
2353
|
+
origin?: "synthetic";
|
|
2336
2354
|
};
|
|
2337
2355
|
}
|
|
2338
2356
|
|
|
@@ -2392,6 +2410,10 @@ interface ListMessagesResponse {
|
|
|
2392
2410
|
tags: {
|
|
2393
2411
|
[k: string]: string;
|
|
2394
2412
|
};
|
|
2413
|
+
/**
|
|
2414
|
+
* Origin of the message (`synthetic`).
|
|
2415
|
+
*/
|
|
2416
|
+
origin?: "synthetic";
|
|
2395
2417
|
}[];
|
|
2396
2418
|
meta: {
|
|
2397
2419
|
/**
|
|
@@ -3531,7 +3553,7 @@ interface CreateWorkflowRequestBody {
|
|
|
3531
3553
|
tags?: {
|
|
3532
3554
|
[k: string]: string;
|
|
3533
3555
|
};
|
|
3534
|
-
status: "pending" | "in_progress";
|
|
3556
|
+
status: "pending" | "in_progress" | "listening";
|
|
3535
3557
|
/**
|
|
3536
3558
|
* Event id must be specified if the workflow is created with the status in_progress
|
|
3537
3559
|
*/
|
|
@@ -3943,7 +3965,7 @@ interface GetOrCreateWorkflowRequestBody {
|
|
|
3943
3965
|
tags?: {
|
|
3944
3966
|
[k: string]: string;
|
|
3945
3967
|
};
|
|
3946
|
-
status: "pending" | "in_progress";
|
|
3968
|
+
status: "pending" | "in_progress" | "listening";
|
|
3947
3969
|
/**
|
|
3948
3970
|
* Event id must be specified if the workflow is created with the status in_progress
|
|
3949
3971
|
*/
|
|
@@ -18085,6 +18107,7 @@ declare class Client extends Client$1 implements IClient {
|
|
|
18085
18107
|
tags: {
|
|
18086
18108
|
[k: string]: string;
|
|
18087
18109
|
};
|
|
18110
|
+
origin?: "synthetic";
|
|
18088
18111
|
}>;
|
|
18089
18112
|
users: (props: {
|
|
18090
18113
|
tags?: {
|