Skip to content

Commit c23fdec

Browse files
SK-2198: Update Node SDK v2 with latest Detect API changes (v4.0) (#238)
* SK-2198: update new entity types for detect
1 parent bb8e3b2 commit c23fdec

File tree

67 files changed

+471
-1141
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+471
-1141
lines changed

src/ _generated_/rest/Client.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { Records } from "./api/resources/records/client/Client";
1010
import { Tokens } from "./api/resources/tokens/client/Client";
1111
import { Query } from "./api/resources/query/client/Client";
1212
import { Authentication } from "./api/resources/authentication/client/Client";
13-
import { Deprecated } from "./api/resources/deprecated/client/Client";
13+
import { Guardrails } from "./api/resources/guardrails/client/Client";
1414
import { Strings } from "./api/resources/strings/client/Client";
1515
import { Files } from "./api/resources/files/client/Client";
1616

@@ -42,7 +42,7 @@ export class SkyflowClient {
4242
protected _tokens: Tokens | undefined;
4343
protected _query: Query | undefined;
4444
protected _authentication: Authentication | undefined;
45-
protected _deprecated: Deprecated | undefined;
45+
protected _guardrails: Guardrails | undefined;
4646
protected _strings: Strings | undefined;
4747
protected _files: Files | undefined;
4848

@@ -72,8 +72,8 @@ export class SkyflowClient {
7272
return (this._authentication ??= new Authentication(this._options));
7373
}
7474

75-
public get deprecated(): Deprecated {
76-
return (this._deprecated ??= new Deprecated(this._options));
75+
public get guardrails(): Guardrails {
76+
return (this._guardrails ??= new Guardrails(this._options));
7777
}
7878

7979
public get strings(): Strings {

src/ _generated_/rest/api/resources/deprecated/client/Client.ts

Lines changed: 0 additions & 305 deletions
This file was deleted.

src/ _generated_/rest/api/resources/deprecated/client/requests/DetectServiceDetectStatusRequest.ts

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/ _generated_/rest/api/resources/deprecated/client/requests/DetectServiceDetectTextRequest.ts

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)