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