@zernio/node 0.2.1174 → 0.2.1176
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 +40 -2
- package/dist/index.d.ts +40 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +42 -1
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.1176",
|
|
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
|
@@ -10750,6 +10750,10 @@ export type SupportRun = {
|
|
|
10750
10750
|
* The assistant's answer. Null while the run is in progress or when it failed.
|
|
10751
10751
|
*/
|
|
10752
10752
|
answer: (string) | null;
|
|
10753
|
+
/**
|
|
10754
|
+
* The answer as structured fields you can route on. Null while in progress, when the run failed or went to a person (needs_human), or when no diagnosis could be produced.
|
|
10755
|
+
*/
|
|
10756
|
+
diagnosis: (SupportRunDiagnosis | null);
|
|
10753
10757
|
usage: SupportRunUsage;
|
|
10754
10758
|
/**
|
|
10755
10759
|
* The exact amount charged for the question, in USD, never above `maxCostUsd`. 0 for a failed run.
|
|
@@ -10784,6 +10788,39 @@ export type status29 = 'queued' | 'running' | 'completed' | 'needs_human' | 'fai
|
|
|
10784
10788
|
*/
|
|
10785
10789
|
export type stopReason = 'answered' | 'human_review' | 'cost_cap' | 'deadline' | 'max_iterations' | 'error' | 'expired';
|
|
10786
10790
|
|
|
10791
|
+
export type SupportRunDiagnosis = {
|
|
10792
|
+
/**
|
|
10793
|
+
* What kind of problem the answer describes. New values may be added: treat any value you do not recognize as `other`.
|
|
10794
|
+
*/
|
|
10795
|
+
category: 'account_connection' | 'content_rejected' | 'rate_limited' | 'platform_issue' | 'zernio_issue' | 'billing' | 'configuration' | 'how_to' | 'other';
|
|
10796
|
+
/**
|
|
10797
|
+
* The cause the answer gives, in one sentence. Null when the answer reports no problem, for example a how-to question.
|
|
10798
|
+
*/
|
|
10799
|
+
cause: (string) | null;
|
|
10800
|
+
/**
|
|
10801
|
+
* The steps the answer recommends, in order. Empty when it recommends none.
|
|
10802
|
+
*/
|
|
10803
|
+
fixSteps: Array<(string)>;
|
|
10804
|
+
/**
|
|
10805
|
+
* Links to docs.zernio.com that the answer itself cites. Empty when it cites none.
|
|
10806
|
+
*/
|
|
10807
|
+
docsLinks: Array<(string)>;
|
|
10808
|
+
/**
|
|
10809
|
+
* Who has to act to resolve it: you (`integrator`), your end user, Zernio, the social platform, or nobody. New values may be added: treat any value you do not recognize as `none`.
|
|
10810
|
+
*/
|
|
10811
|
+
whoMustAct: 'integrator' | 'end_user' | 'zernio' | 'platform' | 'none';
|
|
10812
|
+
};
|
|
10813
|
+
|
|
10814
|
+
/**
|
|
10815
|
+
* What kind of problem the answer describes. New values may be added: treat any value you do not recognize as `other`.
|
|
10816
|
+
*/
|
|
10817
|
+
export type category = 'account_connection' | 'content_rejected' | 'rate_limited' | 'platform_issue' | 'zernio_issue' | 'billing' | 'configuration' | 'how_to' | 'other';
|
|
10818
|
+
|
|
10819
|
+
/**
|
|
10820
|
+
* Who has to act to resolve it: you (`integrator`), your end user, Zernio, the social platform, or nobody. New values may be added: treat any value you do not recognize as `none`.
|
|
10821
|
+
*/
|
|
10822
|
+
export type whoMustAct = 'integrator' | 'end_user' | 'zernio' | 'platform' | 'none';
|
|
10823
|
+
|
|
10787
10824
|
export type SupportRunUsage = {
|
|
10788
10825
|
inputTokens: number;
|
|
10789
10826
|
outputTokens: number;
|
|
@@ -15505,7 +15542,7 @@ export type changeType = 'scheduled' | 'applied';
|
|
|
15505
15542
|
/**
|
|
15506
15543
|
* The category right now, regardless of changeType.
|
|
15507
15544
|
*/
|
|
15508
|
-
export type
|
|
15545
|
+
export type category2 = 'UTILITY' | 'MARKETING' | 'AUTHENTICATION';
|
|
15509
15546
|
|
|
15510
15547
|
/**
|
|
15511
15548
|
* Present only when changeType is `applied`. The category before this change.
|
|
@@ -16497,6 +16534,10 @@ export type YouTubePlatformData = {
|
|
|
16497
16534
|
* AI-generated content disclosure. Set true if the video contains synthetic content that could be mistaken for real. YouTube may add a label.
|
|
16498
16535
|
*/
|
|
16499
16536
|
containsSyntheticMedia?: boolean;
|
|
16537
|
+
/**
|
|
16538
|
+
* Set false to skip notifying subscribers about this upload (YouTube's notifySubscribers). Defaults to true.
|
|
16539
|
+
*/
|
|
16540
|
+
notifySubscribers?: boolean;
|
|
16500
16541
|
/**
|
|
16501
16542
|
* YouTube video category ID. Defaults to 22 (People & Blogs). Common: 1 (Film), 2 (Autos), 10 (Music), 15 (Pets), 17 (Sports), 20 (Gaming), 23 (Comedy), 24 (Entertainment), 25 (News), 26 (Howto), 27 (Education), 28 (Science & Tech).
|
|
16502
16543
|
*/
|