Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

🌿 Fern Regeneration -- May 7, 2024 #5

Merged
merged 1 commit into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hookdeck/sdk",
"version": "0.1.6",
"version": "0.2.0",
"private": false,
"repository": "https://github.com/hookdeck/hookdeck-typescript-sdk",
"main": "./index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/api/resources/attempt/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export class Attempt {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -171,7 +171,7 @@ export class Attempt {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
14 changes: 7 additions & 7 deletions src/api/resources/bookmark/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export class Bookmark {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -198,7 +198,7 @@ export class Bookmark {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -283,7 +283,7 @@ export class Bookmark {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -363,7 +363,7 @@ export class Bookmark {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -461,7 +461,7 @@ export class Bookmark {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -535,7 +535,7 @@ export class Bookmark {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -615,7 +615,7 @@ export class Bookmark {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
22 changes: 11 additions & 11 deletions src/api/resources/connection/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export class Connection {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -218,7 +218,7 @@ export class Connection {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -304,7 +304,7 @@ export class Connection {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -421,7 +421,7 @@ export class Connection {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -506,7 +506,7 @@ export class Connection {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -586,7 +586,7 @@ export class Connection {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -684,7 +684,7 @@ export class Connection {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -758,7 +758,7 @@ export class Connection {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -832,7 +832,7 @@ export class Connection {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -906,7 +906,7 @@ export class Connection {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -980,7 +980,7 @@ export class Connection {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
/**
* Period to rate limit attempts
*/
export type ConnectionCreateRequestDestinationRateLimitPeriod = "second" | "minute" | "hour";
export type ConnectionCreateRequestDestinationRateLimitPeriod = "second" | "minute" | "hour" | "concurrent";

export const ConnectionCreateRequestDestinationRateLimitPeriod = {
Second: "second",
Minute: "minute",
Hour: "hour",
Concurrent: "concurrent",
} as const;
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
/**
* Period to rate limit attempts
*/
export type ConnectionUpsertRequestDestinationRateLimitPeriod = "second" | "minute" | "hour";
export type ConnectionUpsertRequestDestinationRateLimitPeriod = "second" | "minute" | "hour" | "concurrent";

export const ConnectionUpsertRequestDestinationRateLimitPeriod = {
Second: "second",
Minute: "minute",
Hour: "hour",
Concurrent: "concurrent",
} as const;
6 changes: 3 additions & 3 deletions src/api/resources/customDomain/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class CustomDomain {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -104,7 +104,7 @@ export class CustomDomain {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -168,7 +168,7 @@ export class CustomDomain {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
16 changes: 8 additions & 8 deletions src/api/resources/destination/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export class Destination {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -196,7 +196,7 @@ export class Destination {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -284,7 +284,7 @@ export class Destination {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -369,7 +369,7 @@ export class Destination {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -449,7 +449,7 @@ export class Destination {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -547,7 +547,7 @@ export class Destination {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -621,7 +621,7 @@ export class Destination {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -695,7 +695,7 @@ export class Destination {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
/**
* Period to rate limit attempts
*/
export type DestinationCreateRequestRateLimitPeriod = "second" | "minute" | "hour";
export type DestinationCreateRequestRateLimitPeriod = "second" | "minute" | "hour" | "concurrent";

export const DestinationCreateRequestRateLimitPeriod = {
Second: "second",
Minute: "minute",
Hour: "hour",
Concurrent: "concurrent",
} as const;
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
/**
* Period to rate limit attempts
*/
export type DestinationUpdateRequestRateLimitPeriod = "second" | "minute" | "hour";
export type DestinationUpdateRequestRateLimitPeriod = "second" | "minute" | "hour" | "concurrent";

export const DestinationUpdateRequestRateLimitPeriod = {
Second: "second",
Minute: "minute",
Hour: "hour",
Concurrent: "concurrent",
} as const;
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
/**
* Period to rate limit attempts
*/
export type DestinationUpsertRequestRateLimitPeriod = "second" | "minute" | "hour";
export type DestinationUpsertRequestRateLimitPeriod = "second" | "minute" | "hour" | "concurrent";

export const DestinationUpsertRequestRateLimitPeriod = {
Second: "second",
Minute: "minute",
Hour: "hour",
Concurrent: "concurrent",
} as const;
10 changes: 5 additions & 5 deletions src/api/resources/event/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export class Event {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -301,7 +301,7 @@ export class Event {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -375,7 +375,7 @@ export class Event {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -449,7 +449,7 @@ export class Event {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -523,7 +523,7 @@ export class Event {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@hookdeck/sdk",
"X-Fern-SDK-Version": "0.1.6",
"X-Fern-SDK-Version": "0.2.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
Loading