@zernio/node 0.2.1172 → 0.2.1174
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.d.mts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +2 -2
- package/src/generated/types.gen.ts +5 -1
package/dist/index.d.mts
CHANGED
|
@@ -38637,12 +38637,16 @@ type AskSupportQuestionData = {
|
|
|
38637
38637
|
*/
|
|
38638
38638
|
threadId?: string;
|
|
38639
38639
|
/**
|
|
38640
|
-
* Ids the assistant should look at.
|
|
38640
|
+
* Ids the assistant should look at. postId, accountId and profileId must belong to your workspace (404 otherwise).
|
|
38641
38641
|
*/
|
|
38642
38642
|
context?: {
|
|
38643
38643
|
postId?: string;
|
|
38644
38644
|
accountId?: string;
|
|
38645
38645
|
profileId?: string;
|
|
38646
|
+
/**
|
|
38647
|
+
* The X-Request-Id of a call you want explained. The assistant reads that request's logged record. Not checked up front.
|
|
38648
|
+
*/
|
|
38649
|
+
requestId?: string;
|
|
38646
38650
|
};
|
|
38647
38651
|
/**
|
|
38648
38652
|
* Cost cap for this run, in USD. The run stops at the cap and bills at most this amount.
|
package/dist/index.d.ts
CHANGED
|
@@ -38637,12 +38637,16 @@ type AskSupportQuestionData = {
|
|
|
38637
38637
|
*/
|
|
38638
38638
|
threadId?: string;
|
|
38639
38639
|
/**
|
|
38640
|
-
* Ids the assistant should look at.
|
|
38640
|
+
* Ids the assistant should look at. postId, accountId and profileId must belong to your workspace (404 otherwise).
|
|
38641
38641
|
*/
|
|
38642
38642
|
context?: {
|
|
38643
38643
|
postId?: string;
|
|
38644
38644
|
accountId?: string;
|
|
38645
38645
|
profileId?: string;
|
|
38646
|
+
/**
|
|
38647
|
+
* The X-Request-Id of a call you want explained. The assistant reads that request's logged record. Not checked up front.
|
|
38648
|
+
*/
|
|
38649
|
+
requestId?: string;
|
|
38646
38650
|
};
|
|
38647
38651
|
/**
|
|
38648
38652
|
* Cost cap for this run, in USD. The run stops at the cap and bills at most this amount.
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
36
36
|
// package.json
|
|
37
37
|
var package_default = {
|
|
38
38
|
name: "@zernio/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.1174",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5
5
|
// package.json
|
|
6
6
|
var package_default = {
|
|
7
7
|
name: "@zernio/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.1174",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
package/package.json
CHANGED
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -9001,7 +9001,7 @@ export const sendBroadcast = <ThrowOnError extends boolean = false>(options: Opt
|
|
|
9001
9001
|
|
|
9002
9002
|
/**
|
|
9003
9003
|
* Schedule broadcast for later
|
|
9004
|
-
* Schedule a draft broadcast
|
|
9004
|
+
* Schedule a draft broadcast, or move the date of an already scheduled one, to a future date and time.
|
|
9005
9005
|
*/
|
|
9006
9006
|
export const scheduleBroadcast = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ScheduleBroadcastData, ThrowOnError>) => {
|
|
9007
9007
|
return (options?.client ?? client).post<ScheduleBroadcastResponse, ScheduleBroadcastError, ThrowOnError>({
|
|
@@ -9060,7 +9060,7 @@ export const listSupportAnswers = <ThrowOnError extends boolean = false>(options
|
|
|
9060
9060
|
* starts a run that answers asynchronously: this returns 202 with a `runId`, and the
|
|
9061
9061
|
* answer arrives through the `support.run.completed` and `support.run.failed` webhooks.
|
|
9062
9062
|
* `GET /v1/support/runs/{runId}` is the fallback. Pass `threadId` to continue an earlier
|
|
9063
|
-
* conversation, and `context` to point the assistant at a post, account or
|
|
9063
|
+
* conversation, and `context` to point the assistant at a post, account, profile or a failed request (its `X-Request-Id`).
|
|
9064
9064
|
* When the assistant finds a problem on Zernio's side it opens a support ticket with
|
|
9065
9065
|
* the team (see `supportTicket` on the run) and the run ends as `needs_human`.
|
|
9066
9066
|
*
|
|
@@ -38909,12 +38909,16 @@ export type AskSupportQuestionData = {
|
|
|
38909
38909
|
*/
|
|
38910
38910
|
threadId?: string;
|
|
38911
38911
|
/**
|
|
38912
|
-
* Ids the assistant should look at.
|
|
38912
|
+
* Ids the assistant should look at. postId, accountId and profileId must belong to your workspace (404 otherwise).
|
|
38913
38913
|
*/
|
|
38914
38914
|
context?: {
|
|
38915
38915
|
postId?: string;
|
|
38916
38916
|
accountId?: string;
|
|
38917
38917
|
profileId?: string;
|
|
38918
|
+
/**
|
|
38919
|
+
* The X-Request-Id of a call you want explained. The assistant reads that request's logged record. Not checked up front.
|
|
38920
|
+
*/
|
|
38921
|
+
requestId?: string;
|
|
38918
38922
|
};
|
|
38919
38923
|
/**
|
|
38920
38924
|
* Cost cap for this run, in USD. The run stops at the cap and bills at most this amount.
|