Skip to content

Commit

Permalink
Release 0.0.14
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Dec 17, 2024
1 parent 051fad6 commit ae9b4a8
Show file tree
Hide file tree
Showing 12 changed files with 43 additions and 45 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opengovsg/refx-ts-sdk",
"version": "0.0.13",
"version": "0.0.14",
"private": false,
"repository": "https://github.com/opengovsg/refer-ts-sdk",
"main": "./index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/api/resources/eligibility/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ export class Eligibility {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.13",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.13",
"X-Fern-SDK-Version": "0.0.14",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.14",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
4 changes: 2 additions & 2 deletions src/api/resources/health/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ export class Health {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.13",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.13",
"X-Fern-SDK-Version": "0.0.14",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.14",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
4 changes: 2 additions & 2 deletions src/api/resources/notes/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ export class Notes {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.13",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.13",
"X-Fern-SDK-Version": "0.0.14",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.14",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
12 changes: 6 additions & 6 deletions src/api/resources/offerings/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ export class Offerings {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.13",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.13",
"X-Fern-SDK-Version": "0.0.14",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.14",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -107,8 +107,8 @@ export class Offerings {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.13",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.13",
"X-Fern-SDK-Version": "0.0.14",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.14",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -178,8 +178,8 @@ export class Offerings {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.13",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.13",
"X-Fern-SDK-Version": "0.0.14",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.14",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
4 changes: 2 additions & 2 deletions src/api/resources/public/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ export class Public {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.13",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.13",
"X-Fern-SDK-Version": "0.0.14",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.14",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
36 changes: 18 additions & 18 deletions src/api/resources/referrals/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ export class Referrals {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.13",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.13",
"X-Fern-SDK-Version": "0.0.14",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.14",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -160,8 +160,8 @@ export class Referrals {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.13",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.13",
"X-Fern-SDK-Version": "0.0.14",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.14",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -229,8 +229,8 @@ export class Referrals {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.13",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.13",
"X-Fern-SDK-Version": "0.0.14",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.14",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -292,8 +292,8 @@ export class Referrals {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.13",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.13",
"X-Fern-SDK-Version": "0.0.14",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.14",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -356,8 +356,8 @@ export class Referrals {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.13",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.13",
"X-Fern-SDK-Version": "0.0.14",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.14",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -423,8 +423,8 @@ export class Referrals {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.13",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.13",
"X-Fern-SDK-Version": "0.0.14",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.14",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -490,8 +490,8 @@ export class Referrals {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.13",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.13",
"X-Fern-SDK-Version": "0.0.14",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.14",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -557,8 +557,8 @@ export class Referrals {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.13",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.13",
"X-Fern-SDK-Version": "0.0.14",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.14",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -620,8 +620,8 @@ export class Referrals {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.13",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.13",
"X-Fern-SDK-Version": "0.0.14",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.14",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
8 changes: 4 additions & 4 deletions src/api/resources/webhooks/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ export class Webhooks {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.13",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.13",
"X-Fern-SDK-Version": "0.0.14",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.14",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -105,8 +105,8 @@ export class Webhooks {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@opengovsg/refx-ts-sdk",
"X-Fern-SDK-Version": "0.0.13",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.13",
"X-Fern-SDK-Version": "0.0.14",
"User-Agent": "@opengovsg/refx-ts-sdk/0.0.14",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
6 changes: 2 additions & 4 deletions src/api/types/TimelineEventDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@
import * as ReferralExchange from "../index";

export interface TimelineEventDto {
type: ReferralExchange.TimelineEventDtoType;
label: string;
/** Additional (verbose) information, where relevant */
description?: string;
type: ReferralExchange.TimelineEventType;
description: string;
/** milliseconds since epoch */
producedAt: number;
/** System that produced the event */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* This file was auto-generated by Fern from our API Definition.
*/

export type TimelineEventDtoType =
export type TimelineEventType =
| "draft.created"
| "draft.updated"
| "draft.deleted"
Expand All @@ -22,7 +22,7 @@ export type TimelineEventDtoType =
| "referral.ea-reminder-sent"
| "referral.form-response-submitted"
| "referral.back-to-draft";
export const TimelineEventDtoType = {
export const TimelineEventType = {
DraftCreated: "draft.created",
DraftUpdated: "draft.updated",
DraftDeleted: "draft.deleted",
Expand Down
2 changes: 1 addition & 1 deletion src/api/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export * from "./ReferralDto";
export * from "./PaginatedQuery";
export * from "./PaginationMetadata";
export * from "./PaginatedReferralsDto";
export * from "./TimelineEventDtoType";
export * from "./TimelineEventType";
export * from "./TimelineEventDtoSystem";
export * from "./TimelineEventDto";
export * from "./FullReferralDtoStatus";
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const SDK_VERSION = "0.0.13";
export const SDK_VERSION = "0.0.14";

0 comments on commit ae9b4a8

Please sign in to comment.