Skip to content

Commit

Permalink
Release 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Dec 8, 2023
1 parent 827c750 commit 78f29aa
Show file tree
Hide file tree
Showing 13 changed files with 11 additions and 43 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flagright",
"version": "1.1.0",
"version": "1.1.1",
"private": false,
"repository": "https://github.com/flagright/flagright-node",
"main": "./index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/api/resources/businessUserEvents/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export class BusinessUserEvents {
"x-api-key": await core.Supplier.get(this._options.apiKey),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "flagright",
"X-Fern-SDK-Version": "1.1.0",
"X-Fern-SDK-Version": "1.1.1",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down
4 changes: 2 additions & 2 deletions src/api/resources/businessUsers/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class BusinessUsers {
"x-api-key": await core.Supplier.get(this._options.apiKey),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "flagright",
"X-Fern-SDK-Version": "1.1.0",
"X-Fern-SDK-Version": "1.1.1",
},
contentType: "application/json",
body: await serializers.Business.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
Expand Down Expand Up @@ -125,7 +125,7 @@ export class BusinessUsers {
"x-api-key": await core.Supplier.get(this._options.apiKey),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "flagright",
"X-Fern-SDK-Version": "1.1.0",
"X-Fern-SDK-Version": "1.1.1",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
Expand Down
2 changes: 1 addition & 1 deletion src/api/resources/consumerUserEvents/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export class ConsumerUserEvents {
"x-api-key": await core.Supplier.get(this._options.apiKey),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "flagright",
"X-Fern-SDK-Version": "1.1.0",
"X-Fern-SDK-Version": "1.1.1",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down
4 changes: 2 additions & 2 deletions src/api/resources/consumerUsers/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class ConsumerUsers {
"x-api-key": await core.Supplier.get(this._options.apiKey),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "flagright",
"X-Fern-SDK-Version": "1.1.0",
"X-Fern-SDK-Version": "1.1.1",
},
contentType: "application/json",
body: await serializers.User.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
Expand Down Expand Up @@ -121,7 +121,7 @@ export class ConsumerUsers {
"x-api-key": await core.Supplier.get(this._options.apiKey),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "flagright",
"X-Fern-SDK-Version": "1.1.0",
"X-Fern-SDK-Version": "1.1.1",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
Expand Down
4 changes: 2 additions & 2 deletions src/api/resources/transactionEvents/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class TransactionEvents {
"x-api-key": await core.Supplier.get(this._options.apiKey),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "flagright",
"X-Fern-SDK-Version": "1.1.0",
"X-Fern-SDK-Version": "1.1.1",
},
contentType: "application/json",
body: await serializers.TransactionEvent.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
Expand Down Expand Up @@ -133,7 +133,7 @@ export class TransactionEvents {
"x-api-key": await core.Supplier.get(this._options.apiKey),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "flagright",
"X-Fern-SDK-Version": "1.1.0",
"X-Fern-SDK-Version": "1.1.1",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
Expand Down
4 changes: 2 additions & 2 deletions src/api/resources/transactions/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class Transactions {
"x-api-key": await core.Supplier.get(this._options.apiKey),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "flagright",
"X-Fern-SDK-Version": "1.1.0",
"X-Fern-SDK-Version": "1.1.1",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -144,7 +144,7 @@ export class Transactions {
"x-api-key": await core.Supplier.get(this._options.apiKey),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "flagright",
"X-Fern-SDK-Version": "1.1.0",
"X-Fern-SDK-Version": "1.1.1",
},
contentType: "application/json",
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
Expand Down
10 changes: 0 additions & 10 deletions src/api/types/CaseSubjectType.ts

This file was deleted.

2 changes: 0 additions & 2 deletions src/api/types/RuleHitMeta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import * as Flagright from "..";
* Details of rule execution, for internal purposes only
*/
export interface RuleHitMeta {
subjectType?: Flagright.CaseSubjectType;
createCaseFor?: Flagright.CaseSubjectType;
hitDirections?: Flagright.RuleHitDirection[];
falsePositiveDetails?: Flagright.FalsePositiveDetails;
sanctionsDetails?: Flagright.SanctionsDetails[];
Expand Down
1 change: 0 additions & 1 deletion src/api/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ export * from "./TransactionLimitsPaymentMethodLimits";
export * from "./RuleAction";
export * from "./RuleHitMeta";
export * from "./RuleHitDirection";
export * from "./CaseSubjectType";
export * from "./RuleNature";
export * from "./RuleLabels";
export * from "./CaseManagementEvent";
Expand Down
14 changes: 0 additions & 14 deletions src/serialization/types/CaseSubjectType.ts

This file was deleted.

4 changes: 0 additions & 4 deletions src/serialization/types/RuleHitMeta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import * as core from "../../core";

export const RuleHitMeta: core.serialization.ObjectSchema<serializers.RuleHitMeta.Raw, Flagright.RuleHitMeta> =
core.serialization.object({
subjectType: core.serialization.lazy(async () => (await import("..")).CaseSubjectType).optional(),
createCaseFor: core.serialization.lazy(async () => (await import("..")).CaseSubjectType).optional(),
hitDirections: core.serialization
.list(core.serialization.lazy(async () => (await import("..")).RuleHitDirection))
.optional(),
Expand All @@ -23,8 +21,6 @@ export const RuleHitMeta: core.serialization.ObjectSchema<serializers.RuleHitMet

export declare namespace RuleHitMeta {
interface Raw {
subjectType?: serializers.CaseSubjectType.Raw | null;
createCaseFor?: serializers.CaseSubjectType.Raw | null;
hitDirections?: serializers.RuleHitDirection.Raw[] | null;
falsePositiveDetails?: serializers.FalsePositiveDetails.Raw | null;
sanctionsDetails?: serializers.SanctionsDetails.Raw[] | null;
Expand Down
1 change: 0 additions & 1 deletion src/serialization/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ export * from "./TransactionLimitsPaymentMethodLimits";
export * from "./RuleAction";
export * from "./RuleHitMeta";
export * from "./RuleHitDirection";
export * from "./CaseSubjectType";
export * from "./RuleNature";
export * from "./RuleLabels";
export * from "./CaseManagementEvent";
Expand Down

0 comments on commit 78f29aa

Please sign in to comment.