@zernio/node 0.2.1172 → 0.2.1173

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 CHANGED
@@ -38637,12 +38637,16 @@ type AskSupportQuestionData = {
38637
38637
  */
38638
38638
  threadId?: string;
38639
38639
  /**
38640
- * Ids the assistant should look at. Each must belong to your workspace.
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. Each must belong to your workspace.
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.1172",
39
+ version: "0.2.1173",
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.1172",
8
+ version: "0.2.1173",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.1172",
3
+ "version": "0.2.1173",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -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 profile.
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. Each must belong to your workspace.
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.