Skip to content

Commit

Permalink
SDK regeneration (#172)
Browse files Browse the repository at this point in the history
Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
  • Loading branch information
fern-api[bot] committed Jan 18, 2024
1 parent 5d31588 commit 0a885c5
Show file tree
Hide file tree
Showing 24 changed files with 125 additions and 85 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@trycourier/courier",
"version": "v6.0.3",
"version": "v6.0.4",
"private": false,
"repository": "https://github.com/trycourier/courier-node",
"main": "./index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/Client.ts
Expand Up @@ -59,7 +59,7 @@ export class CourierClient {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
"Idempotency-Key": requestOptions?.idempotencyKey != null ? requestOptions?.idempotencyKey : undefined,
"X-Idempotency-Expiration":
requestOptions?.idempotencyExpiry != null
Expand Down
10 changes: 5 additions & 5 deletions src/api/resources/audiences/client/Client.ts
Expand Up @@ -37,7 +37,7 @@ export class Audiences {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
Expand Down Expand Up @@ -87,7 +87,7 @@ export class Audiences {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
},
contentType: "application/json",
body: request,
Expand Down Expand Up @@ -134,7 +134,7 @@ export class Audiences {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
Expand Down Expand Up @@ -191,7 +191,7 @@ export class Audiences {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -253,7 +253,7 @@ export class Audiences {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down
4 changes: 2 additions & 2 deletions src/api/resources/auditEvents/client/Client.ts
Expand Up @@ -46,7 +46,7 @@ export class AuditEvents {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -93,7 +93,7 @@ export class AuditEvents {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
Expand Down
2 changes: 1 addition & 1 deletion src/api/resources/authTokens/client/Client.ts
Expand Up @@ -45,7 +45,7 @@ export class AuthTokens {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
"Idempotency-Key": requestOptions?.idempotencyKey != null ? requestOptions?.idempotencyKey : undefined,
"X-Idempotency-Expiration":
requestOptions?.idempotencyExpiry != null
Expand Down
4 changes: 2 additions & 2 deletions src/api/resources/automations/client/Client.ts
Expand Up @@ -46,7 +46,7 @@ export class Automations {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
"Idempotency-Key": requestOptions?.idempotencyKey != null ? requestOptions?.idempotencyKey : undefined,
"X-Idempotency-Expiration":
requestOptions?.idempotencyExpiry != null
Expand Down Expand Up @@ -101,7 +101,7 @@ export class Automations {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
"Idempotency-Key": requestOptions?.idempotencyKey != null ? requestOptions?.idempotencyKey : undefined,
"X-Idempotency-Expiration":
requestOptions?.idempotencyExpiry != null
Expand Down
10 changes: 5 additions & 5 deletions src/api/resources/brands/client/Client.ts
Expand Up @@ -47,7 +47,7 @@ export class Brands {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
"Idempotency-Key": requestOptions?.idempotencyKey != null ? requestOptions?.idempotencyKey : undefined,
"X-Idempotency-Expiration":
requestOptions?.idempotencyExpiry != null
Expand Down Expand Up @@ -108,7 +108,7 @@ export class Brands {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
Expand Down Expand Up @@ -163,7 +163,7 @@ export class Brands {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -211,7 +211,7 @@ export class Brands {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
Expand Down Expand Up @@ -266,7 +266,7 @@ export class Brands {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
},
contentType: "application/json",
body: request,
Expand Down
10 changes: 5 additions & 5 deletions src/api/resources/bulk/client/Client.ts
Expand Up @@ -45,7 +45,7 @@ export class Bulk {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
"Idempotency-Key": requestOptions?.idempotencyKey != null ? requestOptions?.idempotencyKey : undefined,
"X-Idempotency-Expiration":
requestOptions?.idempotencyExpiry != null
Expand Down Expand Up @@ -106,7 +106,7 @@ export class Bulk {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
"Idempotency-Key": requestOptions?.idempotencyKey != null ? requestOptions?.idempotencyKey : undefined,
"X-Idempotency-Expiration":
requestOptions?.idempotencyExpiry != null
Expand Down Expand Up @@ -159,7 +159,7 @@ export class Bulk {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
"Idempotency-Key": requestOptions?.idempotencyKey != null ? requestOptions?.idempotencyKey : undefined,
"X-Idempotency-Expiration":
requestOptions?.idempotencyExpiry != null
Expand Down Expand Up @@ -216,7 +216,7 @@ export class Bulk {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
Expand Down Expand Up @@ -271,7 +271,7 @@ export class Bulk {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
Expand Down
20 changes: 10 additions & 10 deletions src/api/resources/lists/client/Client.ts
Expand Up @@ -56,7 +56,7 @@ export class Lists {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -123,7 +123,7 @@ export class Lists {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -179,7 +179,7 @@ export class Lists {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
},
contentType: "application/json",
body: request,
Expand Down Expand Up @@ -226,7 +226,7 @@ export class Lists {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
Expand Down Expand Up @@ -272,7 +272,7 @@ export class Lists {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
Expand Down Expand Up @@ -329,7 +329,7 @@ export class Lists {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -386,7 +386,7 @@ export class Lists {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
},
contentType: "application/json",
body: request,
Expand Down Expand Up @@ -443,7 +443,7 @@ export class Lists {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
"Idempotency-Key": requestOptions?.idempotencyKey != null ? requestOptions?.idempotencyKey : undefined,
"X-Idempotency-Expiration":
requestOptions?.idempotencyExpiry != null
Expand Down Expand Up @@ -505,7 +505,7 @@ export class Lists {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
},
contentType: "application/json",
body: request,
Expand Down Expand Up @@ -553,7 +553,7 @@ export class Lists {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
Expand Down
12 changes: 6 additions & 6 deletions src/api/resources/messages/client/Client.ts
Expand Up @@ -103,7 +103,7 @@ export class Messages {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -152,7 +152,7 @@ export class Messages {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
Expand Down Expand Up @@ -208,7 +208,7 @@ export class Messages {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
"Idempotency-Key": requestOptions?.idempotencyKey != null ? requestOptions?.idempotencyKey : undefined,
"X-Idempotency-Expiration":
requestOptions?.idempotencyExpiry != null
Expand Down Expand Up @@ -271,7 +271,7 @@ export class Messages {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -329,7 +329,7 @@ export class Messages {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
Expand Down Expand Up @@ -379,7 +379,7 @@ export class Messages {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@trycourier/courier",
"X-Fern-SDK-Version": "v6.0.3",
"X-Fern-SDK-Version": "v6.0.4",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
Expand Down

0 comments on commit 0a885c5

Please sign in to comment.