@fern-api/venus-api-sdk 0.2.3 → 0.2.4-1-g0b5e38f
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.
- package/api/resources/organization/client/requests/UpdateOrganizationRequest.d.ts +2 -0
- package/api/resources/organization/types/Organization.d.ts +4 -0
- package/package.json +1 -1
- package/serialization/resources/organization/client/requests/UpdateOrganizationRequest.d.ts +2 -0
- package/serialization/resources/organization/client/requests/UpdateOrganizationRequest.js +2 -0
- package/serialization/resources/organization/types/Organization.d.ts +2 -0
- package/serialization/resources/organization/types/Organization.js +2 -0
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
export interface UpdateOrganizationRequest {
|
|
5
5
|
artifactReadRequiresToken?: boolean;
|
|
6
6
|
isWhitelabeled?: boolean;
|
|
7
|
+
previewEnabled?: boolean;
|
|
8
|
+
snippetsEnabled?: boolean;
|
|
7
9
|
snippetUnitTestsEnabled?: boolean;
|
|
8
10
|
apiPlaygroundEnabled?: boolean;
|
|
9
11
|
workosOrganizationId?: string;
|
|
@@ -10,6 +10,10 @@ 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;
|
|
15
|
+
/** If the organization has paid for snippets. */
|
|
16
|
+
snippetsEnabled: boolean;
|
|
13
17
|
/** If the organization has paid for snippet unit tests. */
|
|
14
18
|
snippetUnitTestsEnabled: boolean;
|
|
15
19
|
/** If the organization has paid for api playground. */
|
package/package.json
CHANGED
|
@@ -9,6 +9,8 @@ export declare namespace UpdateOrganizationRequest {
|
|
|
9
9
|
interface Raw {
|
|
10
10
|
artifactReadRequiresToken?: boolean | null;
|
|
11
11
|
isWhitelabeled?: boolean | null;
|
|
12
|
+
previewEnabled?: boolean | null;
|
|
13
|
+
snippetsEnabled?: boolean | null;
|
|
12
14
|
snippetUnitTestsEnabled?: boolean | null;
|
|
13
15
|
apiPlaygroundEnabled?: boolean | null;
|
|
14
16
|
workosOrganizationId?: string | null;
|
|
@@ -31,6 +31,8 @@ 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(),
|
|
35
|
+
snippetsEnabled: core.serialization.boolean().optional(),
|
|
34
36
|
snippetUnitTestsEnabled: core.serialization.boolean().optional(),
|
|
35
37
|
apiPlaygroundEnabled: core.serialization.boolean().optional(),
|
|
36
38
|
workosOrganizationId: core.serialization.string().optional(),
|
|
@@ -13,6 +13,8 @@ export declare namespace Organization {
|
|
|
13
13
|
artifactReadRequiresToken: boolean;
|
|
14
14
|
users: serializers.LightweightUser.Raw[];
|
|
15
15
|
isWhitelabled: boolean;
|
|
16
|
+
previewEnabled: boolean;
|
|
17
|
+
snippetsEnabled: boolean;
|
|
16
18
|
snippetUnitTestsEnabled: boolean;
|
|
17
19
|
apiPlaygroundEnabled: boolean;
|
|
18
20
|
workosOrganizationId?: string | null;
|
|
@@ -35,6 +35,8 @@ 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(),
|
|
39
|
+
snippetsEnabled: core.serialization.boolean(),
|
|
38
40
|
snippetUnitTestsEnabled: core.serialization.boolean(),
|
|
39
41
|
apiPlaygroundEnabled: core.serialization.boolean(),
|
|
40
42
|
workosOrganizationId: core.serialization.string().optional(),
|