@fern-api/venus-api-sdk 0.2.4 → 0.3.0-2-g994ae9e

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,8 +4,11 @@
4
4
  export interface UpdateOrganizationRequest {
5
5
  artifactReadRequiresToken?: boolean;
6
6
  isWhitelabeled?: boolean;
7
+ previewEnabled?: boolean;
7
8
  snippetsEnabled?: boolean;
8
9
  snippetUnitTestsEnabled?: boolean;
10
+ snippetsApiAccessEnabled?: boolean;
11
+ oauthClientEnabled?: boolean;
9
12
  apiPlaygroundEnabled?: boolean;
10
13
  workosOrganizationId?: string;
11
14
  }
@@ -10,10 +10,16 @@ export interface Organization {
10
10
  users: FernVenusApi.LightweightUser[];
11
11
  /** If the organization has paid for whitelabelling. */
12
12
  isWhitelabled: boolean;
13
+ /** If the organization has paid for previews. */
14
+ previewEnabled: boolean;
13
15
  /** If the organization has paid for snippets. */
14
16
  snippetsEnabled: boolean;
15
17
  /** If the organization has paid for snippet unit tests. */
16
18
  snippetUnitTestsEnabled: boolean;
19
+ /** If the organization has paid for the snippets API. */
20
+ snippetsApiAccessEnabled: boolean;
21
+ /** If the organization has paid for automated oauth clients within their SDKs. */
22
+ oauthClientEnabled: boolean;
17
23
  /** If the organization has paid for api playground. */
18
24
  apiPlaygroundEnabled: boolean;
19
25
  /** If the organization has sso enabled. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fern-api/venus-api-sdk",
3
- "version": "0.2.4",
3
+ "version": "0.3.0-2-g994ae9e",
4
4
  "private": false,
5
5
  "files": [
6
6
  "Client.d.ts",
@@ -9,8 +9,11 @@ export declare namespace UpdateOrganizationRequest {
9
9
  interface Raw {
10
10
  artifactReadRequiresToken?: boolean | null;
11
11
  isWhitelabeled?: boolean | null;
12
+ previewEnabled?: boolean | null;
12
13
  snippetsEnabled?: boolean | null;
13
14
  snippetUnitTestsEnabled?: boolean | null;
15
+ snippetsApiAccessEnabled?: boolean | null;
16
+ oauthClientEnabled?: boolean | null;
14
17
  apiPlaygroundEnabled?: boolean | null;
15
18
  workosOrganizationId?: string | null;
16
19
  }
@@ -31,8 +31,11 @@ const core = __importStar(require("../../../../../core"));
31
31
  exports.UpdateOrganizationRequest = core.serialization.object({
32
32
  artifactReadRequiresToken: core.serialization.boolean().optional(),
33
33
  isWhitelabeled: core.serialization.boolean().optional(),
34
+ previewEnabled: core.serialization.boolean().optional(),
34
35
  snippetsEnabled: core.serialization.boolean().optional(),
35
36
  snippetUnitTestsEnabled: core.serialization.boolean().optional(),
37
+ snippetsApiAccessEnabled: core.serialization.boolean().optional(),
38
+ oauthClientEnabled: core.serialization.boolean().optional(),
36
39
  apiPlaygroundEnabled: core.serialization.boolean().optional(),
37
40
  workosOrganizationId: core.serialization.string().optional(),
38
41
  });
@@ -13,8 +13,11 @@ export declare namespace Organization {
13
13
  artifactReadRequiresToken: boolean;
14
14
  users: serializers.LightweightUser.Raw[];
15
15
  isWhitelabled: boolean;
16
+ previewEnabled: boolean;
16
17
  snippetsEnabled: boolean;
17
18
  snippetUnitTestsEnabled: boolean;
19
+ snippetsApiAccessEnabled: boolean;
20
+ oauthClientEnabled: boolean;
18
21
  apiPlaygroundEnabled: boolean;
19
22
  workosOrganizationId?: string | null;
20
23
  }
@@ -35,8 +35,11 @@ exports.Organization = core.serialization.object({
35
35
  artifactReadRequiresToken: core.serialization.boolean(),
36
36
  users: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).LightweightUser)),
37
37
  isWhitelabled: core.serialization.boolean(),
38
+ previewEnabled: core.serialization.boolean(),
38
39
  snippetsEnabled: core.serialization.boolean(),
39
40
  snippetUnitTestsEnabled: core.serialization.boolean(),
41
+ snippetsApiAccessEnabled: core.serialization.boolean(),
42
+ oauthClientEnabled: core.serialization.boolean(),
40
43
  apiPlaygroundEnabled: core.serialization.boolean(),
41
44
  workosOrganizationId: core.serialization.string().optional(),
42
45
  });