Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
Release 1.3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Aug 3, 2024
1 parent bdb6e4f commit b7d8b1e
Show file tree
Hide file tree
Showing 10 changed files with 138 additions and 136 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "multion",
"version": "1.3.9",
"version": "1.3.10",
"private": false,
"repository": "https://github.com/MULTI-ON/multion-typescript",
"main": "./index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export class MultiOnClient {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "multion",
"X-Fern-SDK-Version": "1.3.9",
"X-Fern-SDK-Version": "1.3.10",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -186,7 +186,7 @@ export class MultiOnClient {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "multion",
"X-Fern-SDK-Version": "1.3.9",
"X-Fern-SDK-Version": "1.3.10",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
5 changes: 3 additions & 2 deletions src/api/client/requests/RetrieveInput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* This file was auto-generated by Fern from our API Definition.
*/

import * as MultiOn from "../../index";

/**
* @example
* {
Expand All @@ -21,8 +23,7 @@ export interface RetrieveInput {
local?: boolean;
/** List of fields (columns) to be outputted in data. */
fields?: string[];
/** Format of response data. (Default: json) */
format?: "json";
format?: MultiOn.Format;
/** Maximum number of data items to retrieve. (Default: 100) */
maxItems?: number;
/** Flag to retrieve full page (Default: True). If set to false, the data will only be retrieved from the current session viewport. */
Expand Down
12 changes: 6 additions & 6 deletions src/api/resources/sessions/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class Sessions {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "multion",
"X-Fern-SDK-Version": "1.3.9",
"X-Fern-SDK-Version": "1.3.10",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -126,7 +126,7 @@ export class Sessions {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "multion",
"X-Fern-SDK-Version": "1.3.9",
"X-Fern-SDK-Version": "1.3.10",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -226,7 +226,7 @@ export class Sessions {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "multion",
"X-Fern-SDK-Version": "1.3.9",
"X-Fern-SDK-Version": "1.3.10",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -309,7 +309,7 @@ export class Sessions {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "multion",
"X-Fern-SDK-Version": "1.3.9",
"X-Fern-SDK-Version": "1.3.10",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -388,7 +388,7 @@ export class Sessions {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "multion",
"X-Fern-SDK-Version": "1.3.9",
"X-Fern-SDK-Version": "1.3.10",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -461,7 +461,7 @@ export class Sessions {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "multion",
"X-Fern-SDK-Version": "1.3.9",
"X-Fern-SDK-Version": "1.3.10",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
13 changes: 13 additions & 0 deletions src/api/types/Format.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/**
* This file was auto-generated by Fern from our API Definition.
*/

/**
* The format of the response data. (Default: json)
*/
export type Format = "json" | "markdown";

export const Format = {
Json: "json",
Markdown: "markdown",
} as const;
1 change: 1 addition & 0 deletions src/api/types/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export * from "./Mode";
export * from "./Format";
export * from "./Metadata";
export * from "./BrowseOutput";
export * from "./HttpValidationError";
Expand Down
5 changes: 3 additions & 2 deletions src/serialization/client/requests/RetrieveInput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import * as serializers from "../../index";
import * as MultiOn from "../../../api/index";
import * as core from "../../../core";
import { Format } from "../../types/Format";

export const RetrieveInput: core.serialization.Schema<serializers.RetrieveInput.Raw, MultiOn.RetrieveInput> =
core.serialization.object({
Expand All @@ -13,7 +14,7 @@ export const RetrieveInput: core.serialization.Schema<serializers.RetrieveInput.
sessionId: core.serialization.property("session_id", core.serialization.string().optional()),
local: core.serialization.boolean().optional(),
fields: core.serialization.list(core.serialization.string()).optional(),
format: core.serialization.stringLiteral("json").optional(),
format: Format.optional(),
maxItems: core.serialization.property("max_items", core.serialization.number().optional()),
fullPage: core.serialization.property("full_page", core.serialization.boolean().optional()),
renderJs: core.serialization.property("render_js", core.serialization.boolean().optional()),
Expand All @@ -28,7 +29,7 @@ export declare namespace RetrieveInput {
session_id?: string | null;
local?: boolean | null;
fields?: string[] | null;
format?: "json" | null;
format?: Format.Raw | null;
max_items?: number | null;
full_page?: boolean | null;
render_js?: boolean | null;
Expand Down
16 changes: 16 additions & 0 deletions src/serialization/types/Format.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/**
* This file was auto-generated by Fern from our API Definition.
*/

import * as serializers from "../index";
import * as MultiOn from "../../api/index";
import * as core from "../../core";

export const Format: core.serialization.Schema<serializers.Format.Raw, MultiOn.Format> = core.serialization.enum_([
"json",
"markdown",
]);

export declare namespace Format {
type Raw = "json" | "markdown";
}
1 change: 1 addition & 0 deletions src/serialization/types/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export * from "./Mode";
export * from "./Format";
export * from "./Metadata";
export * from "./BrowseOutput";
export * from "./HttpValidationError";
Expand Down
Loading

0 comments on commit b7d8b1e

Please sign in to comment.