diff --git a/package.json b/package.json
index d45e994..f5e26b0 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@devrev/api",
- "version": "0.0.2",
+ "version": "0.0.3",
"private": false,
"repository": "https://github.com/devrev/sdk-typescript",
"main": "./index.js",
diff --git a/reference.md b/reference.md
index aefeeac..b6cc044 100644
--- a/reference.md
+++ b/reference.md
@@ -9303,6 +9303,71 @@ await client.snapIns.resourcesPost({
+client.snapIns.update({ ...params }) -> DevRev.SnapInsUpdateResponse
+
+-
+
+#### 📝 Description
+
+
+-
+
+
+-
+
+Updates a snap-in.
+
+
+
+
+
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```typescript
+await client.snapIns.update({
+ id: "id",
+});
+```
+
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `DevRev.SnapInsUpdateRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `SnapIns.RequestOptions`
+
+
+
+
+
+
+
+
+
+
## snap-widgets
client.snapWidgets.create({ ...params }) -> DevRev.SnapWidgetsCreateResponse
diff --git a/src/Client.ts b/src/Client.ts
index 3cfb1b6..be10571 100644
--- a/src/Client.ts
+++ b/src/Client.ts
@@ -42,8 +42,8 @@ export declare namespace DevRevClient {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -54,8 +54,8 @@ export declare namespace DevRevClient {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
diff --git a/src/api/resources/accounts/client/Client.ts b/src/api/resources/accounts/client/Client.ts
index 2d3b561..812a2ef 100644
--- a/src/api/resources/accounts/client/Client.ts
+++ b/src/api/resources/accounts/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace Accounts {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace Accounts {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -70,8 +70,8 @@ export class Accounts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -220,8 +220,8 @@ export class Accounts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -367,8 +367,8 @@ export class Accounts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -507,8 +507,8 @@ export class Accounts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -655,8 +655,8 @@ export class Accounts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -806,8 +806,8 @@ export class Accounts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/resources/articles/client/Client.ts b/src/api/resources/articles/client/Client.ts
index 590d8f1..55700a4 100644
--- a/src/api/resources/articles/client/Client.ts
+++ b/src/api/resources/articles/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace Articles {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace Articles {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -66,8 +66,8 @@ export class Articles {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -210,8 +210,8 @@ export class Articles {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -350,8 +350,8 @@ export class Articles {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -500,8 +500,8 @@ export class Articles {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -647,8 +647,8 @@ export class Articles {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -787,8 +787,8 @@ export class Articles {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/resources/artifacts/client/Client.ts b/src/api/resources/artifacts/client/Client.ts
index 4971a6b..149eeb2 100644
--- a/src/api/resources/artifacts/client/Client.ts
+++ b/src/api/resources/artifacts/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace Artifacts {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace Artifacts {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -69,8 +69,8 @@ export class Artifacts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -217,8 +217,8 @@ export class Artifacts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -367,8 +367,8 @@ export class Artifacts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -516,8 +516,8 @@ export class Artifacts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -656,8 +656,8 @@ export class Artifacts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/resources/authConnection/client/Client.ts b/src/api/resources/authConnection/client/Client.ts
index 73c0941..09dff93 100644
--- a/src/api/resources/authConnection/client/Client.ts
+++ b/src/api/resources/authConnection/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace AuthConnection {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace AuthConnection {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -77,8 +77,8 @@ export class AuthConnection {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -221,8 +221,8 @@ export class AuthConnection {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -367,8 +367,8 @@ export class AuthConnection {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -519,8 +519,8 @@ export class AuthConnection {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -663,8 +663,8 @@ export class AuthConnection {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -814,8 +814,8 @@ export class AuthConnection {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/resources/authTokens/client/Client.ts b/src/api/resources/authTokens/client/Client.ts
index 4fa23e9..5a47283 100644
--- a/src/api/resources/authTokens/client/Client.ts
+++ b/src/api/resources/authTokens/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace AuthTokens {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace AuthTokens {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -68,8 +68,8 @@ export class AuthTokens {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -217,8 +217,8 @@ export class AuthTokens {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -362,8 +362,8 @@ export class AuthTokens {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -511,8 +511,8 @@ export class AuthTokens {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -660,8 +660,8 @@ export class AuthTokens {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -806,8 +806,8 @@ export class AuthTokens {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/resources/codeChanges/client/Client.ts b/src/api/resources/codeChanges/client/Client.ts
index 9e8030e..2b27b19 100644
--- a/src/api/resources/codeChanges/client/Client.ts
+++ b/src/api/resources/codeChanges/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace CodeChanges {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace CodeChanges {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -68,8 +68,8 @@ export class CodeChanges {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -207,8 +207,8 @@ export class CodeChanges {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -346,8 +346,8 @@ export class CodeChanges {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -483,8 +483,8 @@ export class CodeChanges {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -622,8 +622,8 @@ export class CodeChanges {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/resources/conversations/client/Client.ts b/src/api/resources/conversations/client/Client.ts
index 5e0a92d..1981597 100644
--- a/src/api/resources/conversations/client/Client.ts
+++ b/src/api/resources/conversations/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace Conversations {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace Conversations {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -68,8 +68,8 @@ export class Conversations {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -211,8 +211,8 @@ export class Conversations {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -358,8 +358,8 @@ export class Conversations {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -498,8 +498,8 @@ export class Conversations {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -645,8 +645,8 @@ export class Conversations {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -785,8 +785,8 @@ export class Conversations {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/resources/customization/client/Client.ts b/src/api/resources/customization/client/Client.ts
index 80158f2..1225dcf 100644
--- a/src/api/resources/customization/client/Client.ts
+++ b/src/api/resources/customization/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace Customization {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace Customization {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -69,8 +69,8 @@ export class Customization {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -219,8 +219,8 @@ export class Customization {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -366,8 +366,8 @@ export class Customization {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -524,8 +524,8 @@ export class Customization {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -662,8 +662,8 @@ export class Customization {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -809,8 +809,8 @@ export class Customization {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -946,8 +946,8 @@ export class Customization {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -1087,8 +1087,8 @@ export class Customization {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -1227,8 +1227,8 @@ export class Customization {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -1374,8 +1374,8 @@ export class Customization {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -1514,8 +1514,8 @@ export class Customization {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -1664,8 +1664,8 @@ export class Customization {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -1804,8 +1804,8 @@ export class Customization {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -1951,8 +1951,8 @@ export class Customization {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -2091,8 +2091,8 @@ export class Customization {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/resources/devUsers/client/Client.ts b/src/api/resources/devUsers/client/Client.ts
index a2d7e13..40f319f 100644
--- a/src/api/resources/devUsers/client/Client.ts
+++ b/src/api/resources/devUsers/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace DevUsers {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace DevUsers {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -69,8 +69,8 @@ export class DevUsers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -221,8 +221,8 @@ export class DevUsers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -372,8 +372,8 @@ export class DevUsers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -519,8 +519,8 @@ export class DevUsers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -658,8 +658,8 @@ export class DevUsers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -795,8 +795,8 @@ export class DevUsers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -934,8 +934,8 @@ export class DevUsers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/resources/engagements/client/Client.ts b/src/api/resources/engagements/client/Client.ts
index 3efd161..9cf559b 100644
--- a/src/api/resources/engagements/client/Client.ts
+++ b/src/api/resources/engagements/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace Engagements {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace Engagements {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -66,8 +66,8 @@ export class Engagements {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -208,8 +208,8 @@ export class Engagements {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -348,8 +348,8 @@ export class Engagements {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -498,8 +498,8 @@ export class Engagements {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -645,8 +645,8 @@ export class Engagements {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -785,8 +785,8 @@ export class Engagements {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/resources/eventSource/client/Client.ts b/src/api/resources/eventSource/client/Client.ts
index 7c7f5fc..605416d 100644
--- a/src/api/resources/eventSource/client/Client.ts
+++ b/src/api/resources/eventSource/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace EventSource {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace EventSource {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -69,8 +69,8 @@ export class EventSource {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -221,8 +221,8 @@ export class EventSource {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -374,8 +374,8 @@ export class EventSource {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -524,8 +524,8 @@ export class EventSource {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/resources/groups/client/Client.ts b/src/api/resources/groups/client/Client.ts
index 692acdc..177dec5 100644
--- a/src/api/resources/groups/client/Client.ts
+++ b/src/api/resources/groups/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace Groups {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace Groups {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -69,8 +69,8 @@ export class Groups {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -209,8 +209,8 @@ export class Groups {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -356,8 +356,8 @@ export class Groups {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -497,8 +497,8 @@ export class Groups {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -646,8 +646,8 @@ export class Groups {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -787,8 +787,8 @@ export class Groups {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -937,8 +937,8 @@ export class Groups {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/resources/keyring/client/Client.ts b/src/api/resources/keyring/client/Client.ts
index 45f698e..d48c925 100644
--- a/src/api/resources/keyring/client/Client.ts
+++ b/src/api/resources/keyring/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace Keyring {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace Keyring {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -69,8 +69,8 @@ export class Keyring {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/resources/links/client/Client.ts b/src/api/resources/links/client/Client.ts
index 5f810dc..86cf001 100644
--- a/src/api/resources/links/client/Client.ts
+++ b/src/api/resources/links/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace Links {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace Links {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -70,8 +70,8 @@ export class Links {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -210,8 +210,8 @@ export class Links {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -360,8 +360,8 @@ export class Links {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -509,8 +509,8 @@ export class Links {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/resources/notifications/client/Client.ts b/src/api/resources/notifications/client/Client.ts
index 578b89f..4504009 100644
--- a/src/api/resources/notifications/client/Client.ts
+++ b/src/api/resources/notifications/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace Notifications {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace Notifications {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -68,8 +68,8 @@ export class Notifications {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/resources/operate/client/Client.ts b/src/api/resources/operate/client/Client.ts
index 6676ccf..c055a63 100644
--- a/src/api/resources/operate/client/Client.ts
+++ b/src/api/resources/operate/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace Operate {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace Operate {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -68,8 +68,8 @@ export class Operate {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -208,8 +208,8 @@ export class Operate {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -358,8 +358,8 @@ export class Operate {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -507,8 +507,8 @@ export class Operate {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -644,8 +644,8 @@ export class Operate {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -784,8 +784,8 @@ export class Operate {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/resources/parts/client/Client.ts b/src/api/resources/parts/client/Client.ts
index 2522481..2e8d513 100644
--- a/src/api/resources/parts/client/Client.ts
+++ b/src/api/resources/parts/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace Parts {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace Parts {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -79,8 +79,8 @@ export class Parts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -219,8 +219,8 @@ export class Parts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -369,8 +369,8 @@ export class Parts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -516,8 +516,8 @@ export class Parts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -661,8 +661,8 @@ export class Parts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/resources/productUsage/client/Client.ts b/src/api/resources/productUsage/client/Client.ts
index c7459d2..f268c2b 100644
--- a/src/api/resources/productUsage/client/Client.ts
+++ b/src/api/resources/productUsage/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace ProductUsage {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace ProductUsage {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -75,8 +75,8 @@ export class ProductUsage {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -206,8 +206,8 @@ export class ProductUsage {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -358,8 +358,8 @@ export class ProductUsage {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -498,8 +498,8 @@ export class ProductUsage {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -642,8 +642,8 @@ export class ProductUsage {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -789,8 +789,8 @@ export class ProductUsage {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -940,8 +940,8 @@ export class ProductUsage {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/resources/questionAnswers/client/Client.ts b/src/api/resources/questionAnswers/client/Client.ts
index 0e41a60..2881ba0 100644
--- a/src/api/resources/questionAnswers/client/Client.ts
+++ b/src/api/resources/questionAnswers/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace QuestionAnswers {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace QuestionAnswers {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -72,8 +72,8 @@ export class QuestionAnswers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -212,8 +212,8 @@ export class QuestionAnswers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -356,8 +356,8 @@ export class QuestionAnswers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -503,8 +503,8 @@ export class QuestionAnswers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -643,8 +643,8 @@ export class QuestionAnswers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/resources/revOrgs/client/Client.ts b/src/api/resources/revOrgs/client/Client.ts
index 3b07e75..d8656e4 100644
--- a/src/api/resources/revOrgs/client/Client.ts
+++ b/src/api/resources/revOrgs/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace RevOrgs {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace RevOrgs {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -70,8 +70,8 @@ export class RevOrgs {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -220,8 +220,8 @@ export class RevOrgs {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -368,8 +368,8 @@ export class RevOrgs {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -518,8 +518,8 @@ export class RevOrgs {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -669,8 +669,8 @@ export class RevOrgs {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/resources/revUsers/client/Client.ts b/src/api/resources/revUsers/client/Client.ts
index 1fca299..e9f44f5 100644
--- a/src/api/resources/revUsers/client/Client.ts
+++ b/src/api/resources/revUsers/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace RevUsers {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace RevUsers {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -68,8 +68,8 @@ export class RevUsers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -218,8 +218,8 @@ export class RevUsers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -368,8 +368,8 @@ export class RevUsers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -516,8 +516,8 @@ export class RevUsers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -665,8 +665,8 @@ export class RevUsers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -813,8 +813,8 @@ export class RevUsers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -964,8 +964,8 @@ export class RevUsers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/resources/schedules/client/Client.ts b/src/api/resources/schedules/client/Client.ts
index bbcdac3..1e445b5 100644
--- a/src/api/resources/schedules/client/Client.ts
+++ b/src/api/resources/schedules/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace Schedules {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace Schedules {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -74,8 +74,8 @@ export class Schedules {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -215,8 +215,8 @@ export class Schedules {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -355,8 +355,8 @@ export class Schedules {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -498,8 +498,8 @@ export class Schedules {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -637,8 +637,8 @@ export class Schedules {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -774,8 +774,8 @@ export class Schedules {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -915,8 +915,8 @@ export class Schedules {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -1055,8 +1055,8 @@ export class Schedules {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -1195,8 +1195,8 @@ export class Schedules {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/resources/search/client/Client.ts b/src/api/resources/search/client/Client.ts
index 8cb6121..a9be8e8 100644
--- a/src/api/resources/search/client/Client.ts
+++ b/src/api/resources/search/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace Search {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace Search {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -68,8 +68,8 @@ export class Search {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -208,8 +208,8 @@ export class Search {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/resources/serviceAccounts/client/Client.ts b/src/api/resources/serviceAccounts/client/Client.ts
index 595329b..06e6548 100644
--- a/src/api/resources/serviceAccounts/client/Client.ts
+++ b/src/api/resources/serviceAccounts/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace ServiceAccounts {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace ServiceAccounts {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -69,8 +69,8 @@ export class ServiceAccounts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/resources/slas/client/Client.ts b/src/api/resources/slas/client/Client.ts
index 157d05b..0bfc986 100644
--- a/src/api/resources/slas/client/Client.ts
+++ b/src/api/resources/slas/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace Slas {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace Slas {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -66,8 +66,8 @@ export class Slas {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -206,8 +206,8 @@ export class Slas {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -356,8 +356,8 @@ export class Slas {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -505,8 +505,8 @@ export class Slas {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -645,8 +645,8 @@ export class Slas {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -792,8 +792,8 @@ export class Slas {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -933,8 +933,8 @@ export class Slas {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -1083,8 +1083,8 @@ export class Slas {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/resources/snapIns/client/Client.ts b/src/api/resources/snapIns/client/Client.ts
index 74b1e2b..a80518c 100644
--- a/src/api/resources/snapIns/client/Client.ts
+++ b/src/api/resources/snapIns/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace SnapIns {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace SnapIns {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -69,8 +69,8 @@ export class SnapIns {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -176,6 +176,156 @@ export class SnapIns {
}
}
+ /**
+ * Updates a snap-in.
+ *
+ * @param {DevRev.SnapInsUpdateRequest} request
+ * @param {SnapIns.RequestOptions} requestOptions - Request-specific configuration.
+ *
+ * @throws {@link DevRev.BadRequestError}
+ * @throws {@link DevRev.UnauthorizedError}
+ * @throws {@link DevRev.ForbiddenError}
+ * @throws {@link DevRev.NotFoundError}
+ * @throws {@link DevRev.TooManyRequestsError}
+ * @throws {@link DevRev.InternalServerError}
+ * @throws {@link DevRev.ServiceUnavailableError}
+ *
+ * @example
+ * await client.snapIns.update({
+ * id: "id"
+ * })
+ */
+ public async update(
+ request: DevRev.SnapInsUpdateRequest,
+ requestOptions?: SnapIns.RequestOptions
+ ): Promise {
+ const _response = await (this._options.fetcher ?? core.fetcher)({
+ url: urlJoin(
+ (await core.Supplier.get(this._options.environment)) ?? environments.DevRevEnvironment.Default,
+ "snap-ins.update"
+ ),
+ method: "POST",
+ headers: {
+ Authorization: await this._getAuthorizationHeader(),
+ "X-Fern-Language": "JavaScript",
+ "X-Fern-SDK-Name": "@devrev/api",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
+ "X-Fern-Runtime": core.RUNTIME.type,
+ "X-Fern-Runtime-Version": core.RUNTIME.version,
+ },
+ contentType: "application/json",
+ requestType: "json",
+ body: serializers.SnapInsUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
+ timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
+ maxRetries: requestOptions?.maxRetries,
+ abortSignal: requestOptions?.abortSignal,
+ });
+ if (_response.ok) {
+ return serializers.SnapInsUpdateResponse.parseOrThrow(_response.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ skipValidation: true,
+ breadcrumbsPrefix: ["response"],
+ });
+ }
+
+ if (_response.error.reason === "status-code") {
+ switch (_response.error.statusCode) {
+ case 400:
+ throw new DevRev.BadRequestError(
+ serializers.ErrorBadRequest.parseOrThrow(_response.error.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ skipValidation: true,
+ breadcrumbsPrefix: ["response"],
+ })
+ );
+ case 401:
+ throw new DevRev.UnauthorizedError(
+ serializers.ErrorUnauthorized.parseOrThrow(_response.error.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ skipValidation: true,
+ breadcrumbsPrefix: ["response"],
+ })
+ );
+ case 403:
+ throw new DevRev.ForbiddenError(
+ serializers.ErrorForbidden.parseOrThrow(_response.error.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ skipValidation: true,
+ breadcrumbsPrefix: ["response"],
+ })
+ );
+ case 404:
+ throw new DevRev.NotFoundError(
+ serializers.ErrorNotFound.parseOrThrow(_response.error.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ skipValidation: true,
+ breadcrumbsPrefix: ["response"],
+ })
+ );
+ case 429:
+ throw new DevRev.TooManyRequestsError(
+ serializers.ErrorTooManyRequests.parseOrThrow(_response.error.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ skipValidation: true,
+ breadcrumbsPrefix: ["response"],
+ })
+ );
+ case 500:
+ throw new DevRev.InternalServerError(
+ serializers.ErrorInternalServerError.parseOrThrow(_response.error.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ skipValidation: true,
+ breadcrumbsPrefix: ["response"],
+ })
+ );
+ case 503:
+ throw new DevRev.ServiceUnavailableError(
+ serializers.ErrorServiceUnavailable.parseOrThrow(_response.error.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ skipValidation: true,
+ breadcrumbsPrefix: ["response"],
+ })
+ );
+ default:
+ throw new errors.DevRevError({
+ statusCode: _response.error.statusCode,
+ body: _response.error.body,
+ });
+ }
+ }
+
+ switch (_response.error.reason) {
+ case "non-json":
+ throw new errors.DevRevError({
+ statusCode: _response.error.statusCode,
+ body: _response.error.rawBody,
+ });
+ case "timeout":
+ throw new errors.DevRevTimeoutError();
+ case "unknown":
+ throw new errors.DevRevError({
+ message: _response.error.errorMessage,
+ });
+ }
+ }
+
protected async _getAuthorizationHeader(): Promise {
const bearer = (await core.Supplier.get(this._options.token)) ?? process?.env["DEVREV_TOKEN"];
if (bearer == null) {
diff --git a/src/api/resources/snapIns/client/requests/SnapInsUpdateRequest.ts b/src/api/resources/snapIns/client/requests/SnapInsUpdateRequest.ts
new file mode 100644
index 0000000..828545d
--- /dev/null
+++ b/src/api/resources/snapIns/client/requests/SnapInsUpdateRequest.ts
@@ -0,0 +1,16 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+/**
+ * @example
+ * {
+ * id: "id"
+ * }
+ */
+export interface SnapInsUpdateRequest {
+ /** The ID of the snap-in to update. */
+ id: string;
+ /** The updated values of the inputs. */
+ inputsValues?: Record;
+}
diff --git a/src/api/resources/snapIns/client/requests/index.ts b/src/api/resources/snapIns/client/requests/index.ts
index 5ec2cd5..0d3ca2d 100644
--- a/src/api/resources/snapIns/client/requests/index.ts
+++ b/src/api/resources/snapIns/client/requests/index.ts
@@ -1 +1,2 @@
export { type SnapInsResourcesRequest } from "./SnapInsResourcesRequest";
+export { type SnapInsUpdateRequest } from "./SnapInsUpdateRequest";
diff --git a/src/api/resources/snapWidgets/client/Client.ts b/src/api/resources/snapWidgets/client/Client.ts
index 54af99b..a2ee691 100644
--- a/src/api/resources/snapWidgets/client/Client.ts
+++ b/src/api/resources/snapWidgets/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace SnapWidgets {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace SnapWidgets {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -109,8 +109,8 @@ export class SnapWidgets {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/resources/surveys/client/Client.ts b/src/api/resources/surveys/client/Client.ts
index f2f605b..47d7dbc 100644
--- a/src/api/resources/surveys/client/Client.ts
+++ b/src/api/resources/surveys/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace Surveys {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace Surveys {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -69,8 +69,8 @@ export class Surveys {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -209,8 +209,8 @@ export class Surveys {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -356,8 +356,8 @@ export class Surveys {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -493,8 +493,8 @@ export class Surveys {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -637,8 +637,8 @@ export class Surveys {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -777,8 +777,8 @@ export class Surveys {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/resources/sysUsers/client/Client.ts b/src/api/resources/sysUsers/client/Client.ts
index 3e216d8..7edd15a 100644
--- a/src/api/resources/sysUsers/client/Client.ts
+++ b/src/api/resources/sysUsers/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace SysUsers {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace SysUsers {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -66,8 +66,8 @@ export class SysUsers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -206,8 +206,8 @@ export class SysUsers {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/resources/tags/client/Client.ts b/src/api/resources/tags/client/Client.ts
index e060da2..c64b475 100644
--- a/src/api/resources/tags/client/Client.ts
+++ b/src/api/resources/tags/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace Tags {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace Tags {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -69,8 +69,8 @@ export class Tags {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -209,8 +209,8 @@ export class Tags {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -359,8 +359,8 @@ export class Tags {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -506,8 +506,8 @@ export class Tags {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -646,8 +646,8 @@ export class Tags {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/resources/timelineEntries/client/Client.ts b/src/api/resources/timelineEntries/client/Client.ts
index 9403920..9786c77 100644
--- a/src/api/resources/timelineEntries/client/Client.ts
+++ b/src/api/resources/timelineEntries/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace TimelineEntries {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace TimelineEntries {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -81,8 +81,8 @@ export class TimelineEntries {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -220,8 +220,8 @@ export class TimelineEntries {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -361,8 +361,8 @@ export class TimelineEntries {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -511,8 +511,8 @@ export class TimelineEntries {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -666,8 +666,8 @@ export class TimelineEntries {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/resources/webhooks/client/Client.ts b/src/api/resources/webhooks/client/Client.ts
index 20f66f5..b6315e9 100644
--- a/src/api/resources/webhooks/client/Client.ts
+++ b/src/api/resources/webhooks/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace Webhooks {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace Webhooks {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -68,8 +68,8 @@ export class Webhooks {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -208,8 +208,8 @@ export class Webhooks {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -358,8 +358,8 @@ export class Webhooks {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -507,8 +507,8 @@ export class Webhooks {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -647,8 +647,8 @@ export class Webhooks {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/resources/webhooks/client/requests/WebhooksCreateRequest.ts b/src/api/resources/webhooks/client/requests/WebhooksCreateRequest.ts
index d6f31ab..3fe35d9 100644
--- a/src/api/resources/webhooks/client/requests/WebhooksCreateRequest.ts
+++ b/src/api/resources/webhooks/client/requests/WebhooksCreateRequest.ts
@@ -13,6 +13,7 @@ import * as DevRev from "../../../../index";
export interface WebhooksCreateRequest {
/** The event types that the webhook endpoint will receive. */
eventTypes?: DevRev.WebhookEventType[];
+ /** The headers to include in every webhook invocation. */
headers?: DevRev.WebhookHeader[];
/**
* The secret to use when verifying webhook events. If provided, the
diff --git a/src/api/resources/works/client/Client.ts b/src/api/resources/works/client/Client.ts
index bc7133d..e0dcac8 100644
--- a/src/api/resources/works/client/Client.ts
+++ b/src/api/resources/works/client/Client.ts
@@ -13,8 +13,8 @@ export declare namespace Works {
interface Options {
environment?: core.Supplier;
token?: core.Supplier;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}
@@ -25,8 +25,8 @@ export declare namespace Works {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
- /** Override the X-DevRev-Version header */
- xDevRevVersion?: "2024-01-24";
+ /** Override the x-devrev-version header */
+ xDevrevVersion?: "2024-01-24";
}
}
@@ -104,8 +104,8 @@ export class Works {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -244,8 +244,8 @@ export class Works {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -391,8 +391,8 @@ export class Works {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -531,8 +531,8 @@ export class Works {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -678,8 +678,8 @@ export class Works {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
@@ -850,8 +850,8 @@ export class Works {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
- "X-Fern-SDK-Version": "0.0.2",
- "X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
+ "X-Fern-SDK-Version": "0.0.3",
+ "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/src/api/types/ArchetypeMetricTarget.ts b/src/api/types/ArchetypeMetricTarget.ts
index c0c556e..3668900 100644
--- a/src/api/types/ArchetypeMetricTarget.ts
+++ b/src/api/types/ArchetypeMetricTarget.ts
@@ -10,7 +10,8 @@ import * as DevRev from "../index";
export interface ArchetypeMetricTarget {
/**
* If true, the schedule attached to this metric is out of schedule at
- * the time of the query.
+ * the time of the query. It is not set for metrics in _completed_
+ * stage.
*/
isOutOfSchedule?: boolean;
metricDefinition: DevRev.MetricDefinitionSummary;
diff --git a/src/api/types/CustomStage.ts b/src/api/types/CustomStage.ts
index 8a13c10..df2d52d 100644
--- a/src/api/types/CustomStage.ts
+++ b/src/api/types/CustomStage.ts
@@ -4,4 +4,10 @@
import * as DevRev from "../index";
-export type CustomStage = DevRev.AtomBase;
+export interface CustomStage extends DevRev.AtomBase {
+ /** The human readable name of the state. */
+ name?: string;
+ /** Ordinal used to sort/group stages. */
+ ordinal?: number;
+ state?: DevRev.CustomStateSummary;
+}
diff --git a/src/api/types/CustomState.ts b/src/api/types/CustomState.ts
index 2aded07..0c480c4 100644
--- a/src/api/types/CustomState.ts
+++ b/src/api/types/CustomState.ts
@@ -4,4 +4,11 @@
import * as DevRev from "../index";
-export type CustomState = DevRev.AtomBase;
+export interface CustomState extends DevRev.AtomBase {
+ /** True if this is a final state. */
+ isFinal?: boolean;
+ /** The human readable name of the state. */
+ name?: string;
+ /** Ordinal used to identify system states. */
+ ordinal?: number;
+}
diff --git a/src/api/types/CustomStateSummary.ts b/src/api/types/CustomStateSummary.ts
new file mode 100644
index 0000000..f1711e4
--- /dev/null
+++ b/src/api/types/CustomStateSummary.ts
@@ -0,0 +1,7 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+import * as DevRev from "../index";
+
+export type CustomStateSummary = DevRev.AtomBaseSummary;
diff --git a/src/api/types/EnumValue.ts b/src/api/types/EnumValue.ts
index 2343d23..5558919 100644
--- a/src/api/types/EnumValue.ts
+++ b/src/api/types/EnumValue.ts
@@ -6,7 +6,7 @@
* The properties of an enum value.
*/
export interface EnumValue {
- /** The uiique ID of the enum value. */
+ /** The unique ID of the enum value. */
id: number;
/** The display label of the enum value. */
label: string;
diff --git a/src/api/types/IssueSummary.ts b/src/api/types/IssueSummary.ts
index 5ca8e7a..53fb392 100644
--- a/src/api/types/IssueSummary.ts
+++ b/src/api/types/IssueSummary.ts
@@ -6,4 +6,5 @@ import * as DevRev from "../index";
export interface IssueSummary extends DevRev.WorkBaseSummary {
priority?: DevRev.IssuePriority;
+ sprint?: DevRev.VistaGroupItemSummary;
}
diff --git a/src/api/types/LegacyStage.ts b/src/api/types/LegacyStage.ts
index 6be84b6..f52edc0 100644
--- a/src/api/types/LegacyStage.ts
+++ b/src/api/types/LegacyStage.ts
@@ -10,5 +10,10 @@ import * as DevRev from "../index";
export interface LegacyStage {
/** Current stage name of the work item. */
name: string;
+ /** Notes relevant to the stage. */
+ notes?: string;
+ /** Current stage number of the work item (sortable). */
+ ordinal?: number;
stage?: DevRev.CustomStageSummary;
+ state?: DevRev.CustomStateSummary;
}
diff --git a/src/api/types/LegacyStageSummary.ts b/src/api/types/LegacyStageSummary.ts
index b834c06..74b2012 100644
--- a/src/api/types/LegacyStageSummary.ts
+++ b/src/api/types/LegacyStageSummary.ts
@@ -2,10 +2,13 @@
* This file was auto-generated by Fern from our API Definition.
*/
+import * as DevRev from "../index";
+
/**
* Describes the current stage of a work item.
*/
export interface LegacyStageSummary {
/** Current stage name of the work item. */
name: string;
+ stage?: DevRev.CustomStageSummary;
}
diff --git a/src/api/types/RemovedSlaMetricHistory.ts b/src/api/types/RemovedSlaMetricHistory.ts
new file mode 100644
index 0000000..9d0db0e
--- /dev/null
+++ b/src/api/types/RemovedSlaMetricHistory.ts
@@ -0,0 +1,8 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+/**
+ * User, timestamp and metric id of removed metrics.
+ */
+export type RemovedSlaMetricHistory = Record;
diff --git a/src/api/types/SetIssueSelector.ts b/src/api/types/SetIssueSelector.ts
index e3e69f1..3093f4a 100644
--- a/src/api/types/SetIssueSelector.ts
+++ b/src/api/types/SetIssueSelector.ts
@@ -10,6 +10,8 @@ export interface SetIssueSelector {
* values.
*/
customFields?: Record;
+ /** The SLA policy applies to the issues of these owners. */
+ owners?: string[];
/** The SLA policy applies to the issues of these parts. */
parts?: string[];
/** The SLA policy applies to the issues of these revorgs. */
diff --git a/src/api/types/SetSlaSelector.ts b/src/api/types/SetSlaSelector.ts
index feb32f0..5d39d3e 100644
--- a/src/api/types/SetSlaSelector.ts
+++ b/src/api/types/SetSlaSelector.ts
@@ -13,7 +13,17 @@ export interface SetSlaSelector {
* value is null, the field must have null value or not be present.
*/
customFields?: Record;
+ /**
+ * The SLA policy applies to the tickets or conversations of these
+ * groups.
+ */
+ groups?: string[];
issueSelector?: DevRev.SetIssueSelector;
+ /**
+ * The SLA policy applies to the tickets or conversations of these
+ * owners.
+ */
+ owners?: string[];
/** The SLA policy applies to the tickets of these parts. */
parts?: string[];
/** The SLA policy applies to conversations with these priorities. */
@@ -26,4 +36,6 @@ export interface SetSlaSelector {
subtype?: string[];
/** The SLA policy applies to items with these tags. */
tags?: string[];
+ /** The SLA policy applies to tickets with these source channels. */
+ ticketSourceChannel?: string[];
}
diff --git a/src/api/types/SlaTracker.ts b/src/api/types/SlaTracker.ts
index fad8f55..ff101dd 100644
--- a/src/api/types/SlaTracker.ts
+++ b/src/api/types/SlaTracker.ts
@@ -9,6 +9,8 @@ export interface SlaTracker extends DevRev.AtomBase {
appliesToId?: string;
/** Summary of the metrics target being tracked in the SLA tracker. */
metricTargetSummaries: DevRev.ArchetypeMetricTarget[];
+ /** User, timestamp and metric Id of removed metrics. */
+ removedSlaMetricHistory?: DevRev.RemovedSlaMetricHistory[];
sla?: DevRev.SlaSummary;
/**
* Details of the applicable SLA policy. Can be omitted if no sla
diff --git a/src/api/types/SnapIn.ts b/src/api/types/SnapIn.ts
new file mode 100644
index 0000000..7d29ba6
--- /dev/null
+++ b/src/api/types/SnapIn.ts
@@ -0,0 +1,10 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+import * as DevRev from "../index";
+
+export interface SnapIn extends DevRev.AtomBase {
+ /** Values of the inputs. */
+ inputsValues?: Record;
+}
diff --git a/src/api/types/SnapInsUpdateResponse.ts b/src/api/types/SnapInsUpdateResponse.ts
new file mode 100644
index 0000000..259dc5f
--- /dev/null
+++ b/src/api/types/SnapInsUpdateResponse.ts
@@ -0,0 +1,9 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+import * as DevRev from "../index";
+
+export interface SnapInsUpdateResponse {
+ snapIn: DevRev.SnapIn;
+}
diff --git a/src/api/types/WebhookEventType.ts b/src/api/types/WebhookEventType.ts
index 54e5246..ff94cf3 100644
--- a/src/api/types/WebhookEventType.ts
+++ b/src/api/types/WebhookEventType.ts
@@ -20,6 +20,9 @@ export type WebhookEventType =
| "group_member_added"
| "group_member_removed"
| "group_updated"
+ | "link_created"
+ | "link_deleted"
+ | "link_updated"
| "part_created"
| "part_deleted"
| "part_updated"
@@ -61,6 +64,9 @@ export const WebhookEventType = {
GroupMemberAdded: "group_member_added",
GroupMemberRemoved: "group_member_removed",
GroupUpdated: "group_updated",
+ LinkCreated: "link_created",
+ LinkDeleted: "link_deleted",
+ LinkUpdated: "link_updated",
PartCreated: "part_created",
PartDeleted: "part_deleted",
PartUpdated: "part_updated",
diff --git a/src/api/types/WebhooksUpdateRequestHeaders.ts b/src/api/types/WebhooksUpdateRequestHeaders.ts
index d4f6c29..274eb5d 100644
--- a/src/api/types/WebhooksUpdateRequestHeaders.ts
+++ b/src/api/types/WebhooksUpdateRequestHeaders.ts
@@ -5,7 +5,17 @@
import * as DevRev from "../index";
export interface WebhooksUpdateRequestHeaders {
+ /**
+ * The headers to be added to every webhook invocation. If a provided
+ * header is already specified for the webhook, its value is replaced.
+ */
add?: DevRev.WebhookHeader[];
+ /**
+ * The headers to be removed from every webhook invocation. If a
+ * provided header is not specified for the webhook, then it's
+ * ignored.
+ */
remove?: string[];
+ /** Sets the headers to include in every webhook invocation. */
set?: DevRev.WebhookHeader[];
}
diff --git a/src/api/types/WorkBase.ts b/src/api/types/WorkBase.ts
index 8d8c898..b85ac7b 100644
--- a/src/api/types/WorkBase.ts
+++ b/src/api/types/WorkBase.ts
@@ -5,6 +5,8 @@
import * as DevRev from "../index";
export interface WorkBase extends DevRev.AtomBase {
+ /** Timestamp when the work was actually completed. */
+ actualCloseDate?: Date;
appliesToPart?: DevRev.PartSummary;
/** The artifacts attached to the work item. */
artifacts?: DevRev.ArtifactSummary[];
diff --git a/src/api/types/index.ts b/src/api/types/index.ts
index 3044a21..407483f 100644
--- a/src/api/types/index.ts
+++ b/src/api/types/index.ts
@@ -146,6 +146,7 @@ export * from "./CustomStagesGetResponse";
export * from "./CustomStagesListResponse";
export * from "./CustomStagesUpdateResponse";
export * from "./CustomState";
+export * from "./CustomStateSummary";
export * from "./CustomStatesCreateResponse";
export * from "./CustomStatesGetResponse";
export * from "./CustomStatesListResponse";
@@ -368,6 +369,7 @@ export * from "./QuestionAnswersUpdateRequestSharedWith";
export * from "./QuestionAnswersUpdateRequestSources";
export * from "./QuestionAnswersUpdateRequestTags";
export * from "./QuestionAnswersUpdateResponse";
+export * from "./RemovedSlaMetricHistory";
export * from "./Resource";
export * from "./ResourceSummary";
export * from "./RevOrg";
@@ -476,9 +478,11 @@ export * from "./SlasGetResponse";
export * from "./SlasListResponse";
export * from "./SlasTransitionResponse";
export * from "./SlasUpdateResponse";
+export * from "./SnapIn";
export * from "./SnapInVersionSummary";
export * from "./SnapInsResourcesResponse";
export * from "./SnapInsResourcesResponseKeyringData";
+export * from "./SnapInsUpdateResponse";
export * from "./SnapWidget";
export * from "./SnapWidgetNamespace";
export * from "./SnapWidgetStatus";
diff --git a/src/api/version.ts b/src/api/version.ts
index 7bf5703..b4caf16 100644
--- a/src/api/version.ts
+++ b/src/api/version.ts
@@ -2,5 +2,5 @@
* This file was auto-generated by Fern from our API Definition.
*/
-/** The version of the API, sent as the X-DevRev-Version header. */
+/** The version of the API, sent as the x-devrev-version header. */
export type DevRevVersion = "2024-01-24";
diff --git a/src/serialization/resources/snapIns/client/requests/SnapInsUpdateRequest.ts b/src/serialization/resources/snapIns/client/requests/SnapInsUpdateRequest.ts
new file mode 100644
index 0000000..5e1eafa
--- /dev/null
+++ b/src/serialization/resources/snapIns/client/requests/SnapInsUpdateRequest.ts
@@ -0,0 +1,25 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+import * as serializers from "../../../../index";
+import * as DevRev from "../../../../../api/index";
+import * as core from "../../../../../core";
+
+export const SnapInsUpdateRequest: core.serialization.Schema<
+ serializers.SnapInsUpdateRequest.Raw,
+ DevRev.SnapInsUpdateRequest
+> = core.serialization.object({
+ id: core.serialization.string(),
+ inputsValues: core.serialization.property(
+ "inputs_values",
+ core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()
+ ),
+});
+
+export declare namespace SnapInsUpdateRequest {
+ interface Raw {
+ id: string;
+ inputs_values?: Record | null;
+ }
+}
diff --git a/src/serialization/resources/snapIns/client/requests/index.ts b/src/serialization/resources/snapIns/client/requests/index.ts
index baadb23..46ea357 100644
--- a/src/serialization/resources/snapIns/client/requests/index.ts
+++ b/src/serialization/resources/snapIns/client/requests/index.ts
@@ -1 +1,2 @@
export { SnapInsResourcesRequest } from "./SnapInsResourcesRequest";
+export { SnapInsUpdateRequest } from "./SnapInsUpdateRequest";
diff --git a/src/serialization/types/CustomStage.ts b/src/serialization/types/CustomStage.ts
index bc82bc4..a807c22 100644
--- a/src/serialization/types/CustomStage.ts
+++ b/src/serialization/types/CustomStage.ts
@@ -5,10 +5,22 @@
import * as serializers from "../index";
import * as DevRev from "../../api/index";
import * as core from "../../core";
+import { CustomStateSummary } from "./CustomStateSummary";
import { AtomBase } from "./AtomBase";
-export const CustomStage: core.serialization.ObjectSchema = AtomBase;
+export const CustomStage: core.serialization.ObjectSchema =
+ core.serialization
+ .object({
+ name: core.serialization.string().optional(),
+ ordinal: core.serialization.number().optional(),
+ state: CustomStateSummary.optional(),
+ })
+ .extend(AtomBase);
export declare namespace CustomStage {
- type Raw = AtomBase.Raw;
+ interface Raw extends AtomBase.Raw {
+ name?: string | null;
+ ordinal?: number | null;
+ state?: CustomStateSummary.Raw | null;
+ }
}
diff --git a/src/serialization/types/CustomState.ts b/src/serialization/types/CustomState.ts
index 41de644..266d6a7 100644
--- a/src/serialization/types/CustomState.ts
+++ b/src/serialization/types/CustomState.ts
@@ -7,8 +7,19 @@ import * as DevRev from "../../api/index";
import * as core from "../../core";
import { AtomBase } from "./AtomBase";
-export const CustomState: core.serialization.ObjectSchema = AtomBase;
+export const CustomState: core.serialization.ObjectSchema =
+ core.serialization
+ .object({
+ isFinal: core.serialization.property("is_final", core.serialization.boolean().optional()),
+ name: core.serialization.string().optional(),
+ ordinal: core.serialization.number().optional(),
+ })
+ .extend(AtomBase);
export declare namespace CustomState {
- type Raw = AtomBase.Raw;
+ interface Raw extends AtomBase.Raw {
+ is_final?: boolean | null;
+ name?: string | null;
+ ordinal?: number | null;
+ }
}
diff --git a/src/serialization/types/CustomStateSummary.ts b/src/serialization/types/CustomStateSummary.ts
new file mode 100644
index 0000000..30ab611
--- /dev/null
+++ b/src/serialization/types/CustomStateSummary.ts
@@ -0,0 +1,17 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+import * as serializers from "../index";
+import * as DevRev from "../../api/index";
+import * as core from "../../core";
+import { AtomBaseSummary } from "./AtomBaseSummary";
+
+export const CustomStateSummary: core.serialization.ObjectSchema<
+ serializers.CustomStateSummary.Raw,
+ DevRev.CustomStateSummary
+> = AtomBaseSummary;
+
+export declare namespace CustomStateSummary {
+ type Raw = AtomBaseSummary.Raw;
+}
diff --git a/src/serialization/types/IssueSummary.ts b/src/serialization/types/IssueSummary.ts
index 9762754..1d866d9 100644
--- a/src/serialization/types/IssueSummary.ts
+++ b/src/serialization/types/IssueSummary.ts
@@ -6,17 +6,20 @@ import * as serializers from "../index";
import * as DevRev from "../../api/index";
import * as core from "../../core";
import { IssuePriority } from "./IssuePriority";
+import { VistaGroupItemSummary } from "./VistaGroupItemSummary";
import { WorkBaseSummary } from "./WorkBaseSummary";
export const IssueSummary: core.serialization.ObjectSchema =
core.serialization
.object({
priority: IssuePriority.optional(),
+ sprint: VistaGroupItemSummary.optional(),
})
.extend(WorkBaseSummary);
export declare namespace IssueSummary {
interface Raw extends WorkBaseSummary.Raw {
priority?: IssuePriority.Raw | null;
+ sprint?: VistaGroupItemSummary.Raw | null;
}
}
diff --git a/src/serialization/types/LegacyStage.ts b/src/serialization/types/LegacyStage.ts
index ba875e1..4a40692 100644
--- a/src/serialization/types/LegacyStage.ts
+++ b/src/serialization/types/LegacyStage.ts
@@ -6,16 +6,23 @@ import * as serializers from "../index";
import * as DevRev from "../../api/index";
import * as core from "../../core";
import { CustomStageSummary } from "./CustomStageSummary";
+import { CustomStateSummary } from "./CustomStateSummary";
export const LegacyStage: core.serialization.ObjectSchema =
core.serialization.object({
name: core.serialization.string(),
+ notes: core.serialization.string().optional(),
+ ordinal: core.serialization.number().optional(),
stage: CustomStageSummary.optional(),
+ state: CustomStateSummary.optional(),
});
export declare namespace LegacyStage {
interface Raw {
name: string;
+ notes?: string | null;
+ ordinal?: number | null;
stage?: CustomStageSummary.Raw | null;
+ state?: CustomStateSummary.Raw | null;
}
}
diff --git a/src/serialization/types/LegacyStageSummary.ts b/src/serialization/types/LegacyStageSummary.ts
index d3d1a7b..2d548f7 100644
--- a/src/serialization/types/LegacyStageSummary.ts
+++ b/src/serialization/types/LegacyStageSummary.ts
@@ -5,16 +5,19 @@
import * as serializers from "../index";
import * as DevRev from "../../api/index";
import * as core from "../../core";
+import { CustomStageSummary } from "./CustomStageSummary";
export const LegacyStageSummary: core.serialization.ObjectSchema<
serializers.LegacyStageSummary.Raw,
DevRev.LegacyStageSummary
> = core.serialization.object({
name: core.serialization.string(),
+ stage: CustomStageSummary.optional(),
});
export declare namespace LegacyStageSummary {
interface Raw {
name: string;
+ stage?: CustomStageSummary.Raw | null;
}
}
diff --git a/src/serialization/types/RemovedSlaMetricHistory.ts b/src/serialization/types/RemovedSlaMetricHistory.ts
new file mode 100644
index 0000000..ee510e5
--- /dev/null
+++ b/src/serialization/types/RemovedSlaMetricHistory.ts
@@ -0,0 +1,16 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+import * as serializers from "../index";
+import * as DevRev from "../../api/index";
+import * as core from "../../core";
+
+export const RemovedSlaMetricHistory: core.serialization.Schema<
+ serializers.RemovedSlaMetricHistory.Raw,
+ DevRev.RemovedSlaMetricHistory
+> = core.serialization.record(core.serialization.string(), core.serialization.unknown());
+
+export declare namespace RemovedSlaMetricHistory {
+ type Raw = Record;
+}
diff --git a/src/serialization/types/SetIssueSelector.ts b/src/serialization/types/SetIssueSelector.ts
index da2657f..ab65dfb 100644
--- a/src/serialization/types/SetIssueSelector.ts
+++ b/src/serialization/types/SetIssueSelector.ts
@@ -14,6 +14,7 @@ export const SetIssueSelector: core.serialization.ObjectSchema<
"custom_fields",
core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()
),
+ owners: core.serialization.list(core.serialization.string()).optional(),
parts: core.serialization.list(core.serialization.string()).optional(),
revOrgs: core.serialization.property("rev_orgs", core.serialization.list(core.serialization.string()).optional()),
stageName: core.serialization.property(
@@ -27,6 +28,7 @@ export const SetIssueSelector: core.serialization.ObjectSchema<
export declare namespace SetIssueSelector {
interface Raw {
custom_fields?: Record | null;
+ owners?: string[] | null;
parts?: string[] | null;
rev_orgs?: string[] | null;
stage_name?: string[] | null;
diff --git a/src/serialization/types/SetSlaSelector.ts b/src/serialization/types/SetSlaSelector.ts
index 0c2b184..cc04e33 100644
--- a/src/serialization/types/SetSlaSelector.ts
+++ b/src/serialization/types/SetSlaSelector.ts
@@ -17,7 +17,9 @@ export const SetSlaSelector: core.serialization.ObjectSchema | null;
+ groups?: string[] | null;
issue_selector?: SetIssueSelector.Raw | null;
+ owners?: string[] | null;
parts?: string[] | null;
priority?: SlaSelectorPriority.Raw[] | null;
severity?: SlaSelectorSeverity.Raw[] | null;
source_channel?: string[] | null;
subtype?: string[] | null;
tags?: string[] | null;
+ ticket_source_channel?: string[] | null;
}
}
diff --git a/src/serialization/types/SlaTracker.ts b/src/serialization/types/SlaTracker.ts
index c106b06..d2e8e9c 100644
--- a/src/serialization/types/SlaTracker.ts
+++ b/src/serialization/types/SlaTracker.ts
@@ -6,6 +6,7 @@ import * as serializers from "../index";
import * as DevRev from "../../api/index";
import * as core from "../../core";
import { ArchetypeMetricTarget } from "./ArchetypeMetricTarget";
+import { RemovedSlaMetricHistory } from "./RemovedSlaMetricHistory";
import { SlaSummary } from "./SlaSummary";
import { AtomBase } from "./AtomBase";
@@ -17,6 +18,10 @@ export const SlaTracker: core.serialization.ObjectSchema = core.serialization
+ .object({
+ inputsValues: core.serialization.property(
+ "inputs_values",
+ core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()
+ ),
+ })
+ .extend(AtomBase);
+
+export declare namespace SnapIn {
+ interface Raw extends AtomBase.Raw {
+ inputs_values?: Record | null;
+ }
+}
diff --git a/src/serialization/types/SnapInsUpdateResponse.ts b/src/serialization/types/SnapInsUpdateResponse.ts
new file mode 100644
index 0000000..d67d5ab
--- /dev/null
+++ b/src/serialization/types/SnapInsUpdateResponse.ts
@@ -0,0 +1,21 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+import * as serializers from "../index";
+import * as DevRev from "../../api/index";
+import * as core from "../../core";
+import { SnapIn } from "./SnapIn";
+
+export const SnapInsUpdateResponse: core.serialization.ObjectSchema<
+ serializers.SnapInsUpdateResponse.Raw,
+ DevRev.SnapInsUpdateResponse
+> = core.serialization.object({
+ snapIn: core.serialization.property("snap_in", SnapIn),
+});
+
+export declare namespace SnapInsUpdateResponse {
+ interface Raw {
+ snap_in: SnapIn.Raw;
+ }
+}
diff --git a/src/serialization/types/WebhookEventType.ts b/src/serialization/types/WebhookEventType.ts
index 0851ef5..44e9dd5 100644
--- a/src/serialization/types/WebhookEventType.ts
+++ b/src/serialization/types/WebhookEventType.ts
@@ -22,6 +22,9 @@ export const WebhookEventType: core.serialization.Schema = core.serialization
.object({
+ actualCloseDate: core.serialization.property("actual_close_date", core.serialization.date().optional()),
appliesToPart: core.serialization.property("applies_to_part", PartSummary.optional()),
artifacts: core.serialization.list(ArtifactSummary).optional(),
body: core.serialization.string().optional(),
@@ -41,6 +42,7 @@ export const WorkBase: core.serialization.ObjectSchema