@relevanceai/sdk 1.64.0 → 1.66.0

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.
@@ -7558,13 +7558,10 @@ export interface components {
7558
7558
  ListWorkflowsInput: unknown;
7559
7559
  ListWorkflowsOutput: {
7560
7560
  results: ({
7561
- job_status: "InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped";
7562
- job_message: string;
7563
- creation_time: string;
7561
+ creation_time?: string;
7564
7562
  notebook_path?: string;
7565
7563
  instance_type?: string;
7566
7564
  dataset_id?: string;
7567
- status?: string;
7568
7565
  params?: {
7569
7566
  [key: string]: unknown;
7570
7567
  };
@@ -7572,19 +7569,19 @@ export interface components {
7572
7569
  metadata?: {
7573
7570
  [key: string]: unknown;
7574
7571
  };
7572
+ /** @description Status of the workflow. Used for knowing when to send an email notification. */
7573
+ status?: "complete" | "inprogress" | "failed";
7574
+ job_status?: "InProgress" | "Completed" | "Failed";
7575
7575
  } & {
7576
7576
  [key: string]: unknown;
7577
7577
  })[];
7578
7578
  };
7579
7579
  GetWorkflowStatusInput: unknown;
7580
7580
  GetWorkflowStatusOutput: {
7581
- job_status: "InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped";
7582
- job_message: string;
7583
- creation_time: string;
7581
+ creation_time?: string;
7584
7582
  notebook_path?: string;
7585
7583
  instance_type?: string;
7586
7584
  dataset_id?: string;
7587
- status?: string;
7588
7585
  params?: {
7589
7586
  [key: string]: unknown;
7590
7587
  };
@@ -7592,6 +7589,9 @@ export interface components {
7592
7589
  metadata?: {
7593
7590
  [key: string]: unknown;
7594
7591
  };
7592
+ /** @description Status of the workflow. Used for knowing when to send an email notification. */
7593
+ status?: "complete" | "inprogress" | "failed";
7594
+ job_status?: "InProgress" | "Completed" | "Failed";
7595
7595
  } & {
7596
7596
  [key: string]: unknown;
7597
7597
  };
@@ -7615,7 +7615,10 @@ export interface components {
7615
7615
  workflow_name?: string;
7616
7616
  /** @description Additional information of the workflow that is passed into the email. */
7617
7617
  additional_information?: string;
7618
- /** @description Whether to send an email on workflow completion. */
7618
+ /**
7619
+ * @description Whether to send an email on workflow completion.
7620
+ * @default true
7621
+ */
7619
7622
  send_email?: boolean;
7620
7623
  };
7621
7624
  UpsertWorkflowStatusOutput: unknown;
@@ -10015,7 +10018,7 @@ export interface operations {
10015
10018
  parameters: {
10016
10019
  query: {
10017
10020
  /** Only retrieve workflows of this status */
10018
- job_status?: "InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped";
10021
+ job_status?: string;
10019
10022
  /** Currently limited to exact_match, ids, exists, regexp filter_type */
10020
10023
  filters?: {
10021
10024
  strict?: "must" | "should" | "must_or";
@@ -10026,6 +10029,10 @@ export interface operations {
10026
10029
  fuzzy?: number;
10027
10030
  join?: boolean;
10028
10031
  }[];
10032
+ /** Size of each page of results. */
10033
+ page?: number;
10034
+ /** Size of each page of results. */
10035
+ page_size?: number;
10029
10036
  };
10030
10037
  };
10031
10038
  responses: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@relevanceai/sdk",
3
- "version": "1.64.0",
3
+ "version": "1.66.0",
4
4
  "description": "Javascript client for RelevanceAI APIs. Browser, Node.js and typescript support.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "types": "./dist-types/index.d.ts",