@fern-api/venus-api-sdk 0.0.1
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/core.d.ts +3 -0
- package/dist/browser/cjs/core.js +4286 -0
- package/dist/browser/cjs/index.js +6332 -0
- package/dist/browser/cjs/serialization.js +5852 -0
- package/dist/browser/esm/core.js +4280 -0
- package/dist/browser/esm/index.js +6328 -0
- package/dist/browser/esm/serialization.js +5864 -0
- package/dist/node/core.js +12643 -0
- package/dist/node/index.js +14715 -0
- package/dist/node/serialization.js +14721 -0
- package/package.json +57 -0
- package/serialization.d.ts +3 -0
- package/types/Client.d.ts +21 -0
- package/types/api/index.d.ts +1 -0
- package/types/api/resources/commons/index.d.ts +1 -0
- package/types/api/resources/commons/types/OrganizationId.d.ts +8 -0
- package/types/api/resources/commons/types/UserId.d.ts +8 -0
- package/types/api/resources/commons/types/index.d.ts +2 -0
- package/types/api/resources/index.d.ts +11 -0
- package/types/api/resources/organization/client/Client.d.ts +24 -0
- package/types/api/resources/organization/client/addUser.d.ts +33 -0
- package/types/api/resources/organization/client/create.d.ts +33 -0
- package/types/api/resources/organization/client/get.d.ts +28 -0
- package/types/api/resources/organization/client/getMyOrganizationFromScopedToken.d.ts +28 -0
- package/types/api/resources/organization/client/index.d.ts +7 -0
- package/types/api/resources/organization/client/isMember.d.ts +23 -0
- package/types/api/resources/organization/client/requests/AddUserToOrgRequest.d.ts +8 -0
- package/types/api/resources/organization/client/requests/CreateOrganizationRequest.d.ts +8 -0
- package/types/api/resources/organization/client/requests/UpdateOrganizationRequest.d.ts +6 -0
- package/types/api/resources/organization/client/requests/index.d.ts +3 -0
- package/types/api/resources/organization/client/update.d.ts +28 -0
- package/types/api/resources/organization/index.d.ts +2 -0
- package/types/api/resources/organization/types/Organization.d.ts +8 -0
- package/types/api/resources/organization/types/index.d.ts +1 -0
- package/types/api/resources/registry/client/Client.d.ts +18 -0
- package/types/api/resources/registry/client/generateRegistryTokens.d.ts +33 -0
- package/types/api/resources/registry/client/hasRegistryPermission.d.ts +33 -0
- package/types/api/resources/registry/client/index.d.ts +4 -0
- package/types/api/resources/registry/client/requests/CheckRegistryPermissionRequest.d.ts +8 -0
- package/types/api/resources/registry/client/requests/GenerateRegistryTokensRequest.d.ts +7 -0
- package/types/api/resources/registry/client/requests/RevokeTokenRequest.d.ts +8 -0
- package/types/api/resources/registry/client/requests/index.d.ts +3 -0
- package/types/api/resources/registry/client/revokeToken.d.ts +33 -0
- package/types/api/resources/registry/index.d.ts +2 -0
- package/types/api/resources/registry/types/MavenRegistryToken.d.ts +7 -0
- package/types/api/resources/registry/types/NpmRegistryToken.d.ts +6 -0
- package/types/api/resources/registry/types/RegistryToken.d.ts +34 -0
- package/types/api/resources/registry/types/RegistryTokens.d.ts +8 -0
- package/types/api/resources/registry/types/index.d.ts +4 -0
- package/types/api/resources/user/client/Client.d.ts +17 -0
- package/types/api/resources/user/client/getMyOrganizations.d.ts +23 -0
- package/types/api/resources/user/client/getMyself.d.ts +23 -0
- package/types/api/resources/user/client/index.d.ts +3 -0
- package/types/api/resources/user/client/requests/GetUserOrganizationsRequest.d.ts +6 -0
- package/types/api/resources/user/client/requests/index.d.ts +1 -0
- package/types/api/resources/user/index.d.ts +2 -0
- package/types/api/resources/user/types/OrganizationsPage.d.ts +8 -0
- package/types/api/resources/user/types/User.d.ts +10 -0
- package/types/api/resources/user/types/index.d.ts +2 -0
- package/types/core/auth/BasicAuth.d.ts +8 -0
- package/types/core/auth/BearerToken.d.ts +5 -0
- package/types/core/auth/index.d.ts +2 -0
- package/types/core/fetcher/APIResponse.d.ts +9 -0
- package/types/core/fetcher/Fetcher.d.ts +35 -0
- package/types/core/fetcher/Supplier.d.ts +4 -0
- package/types/core/fetcher/index.d.ts +3 -0
- package/types/core/index.d.ts +3 -0
- package/types/core/schemas/Schema.d.ts +18 -0
- package/types/core/schemas/builders/date/date.d.ts +2 -0
- package/types/core/schemas/builders/date/index.d.ts +1 -0
- package/types/core/schemas/builders/enum/enum.d.ts +2 -0
- package/types/core/schemas/builders/enum/index.d.ts +1 -0
- package/types/core/schemas/builders/identity/createIdentitySchemaCreator.d.ts +2 -0
- package/types/core/schemas/builders/identity/identity.d.ts +2 -0
- package/types/core/schemas/builders/identity/index.d.ts +2 -0
- package/types/core/schemas/builders/index.d.ts +13 -0
- package/types/core/schemas/builders/lazy/index.d.ts +2 -0
- package/types/core/schemas/builders/lazy/lazy.d.ts +5 -0
- package/types/core/schemas/builders/lazy/lazyObject.d.ts +3 -0
- package/types/core/schemas/builders/list/index.d.ts +1 -0
- package/types/core/schemas/builders/list/list.d.ts +2 -0
- package/types/core/schemas/builders/literals/index.d.ts +1 -0
- package/types/core/schemas/builders/literals/stringLiteral.d.ts +2 -0
- package/types/core/schemas/builders/object/index.d.ts +3 -0
- package/types/core/schemas/builders/object/object.d.ts +3 -0
- package/types/core/schemas/builders/object/property.d.ts +8 -0
- package/types/core/schemas/builders/object/types.d.ts +25 -0
- package/types/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +8 -0
- package/types/core/schemas/builders/object-like/index.d.ts +2 -0
- package/types/core/schemas/builders/object-like/types.d.ts +13 -0
- package/types/core/schemas/builders/primitives/any.d.ts +1 -0
- package/types/core/schemas/builders/primitives/boolean.d.ts +1 -0
- package/types/core/schemas/builders/primitives/index.d.ts +5 -0
- package/types/core/schemas/builders/primitives/number.d.ts +1 -0
- package/types/core/schemas/builders/primitives/string.d.ts +1 -0
- package/types/core/schemas/builders/primitives/unknown.d.ts +1 -0
- package/types/core/schemas/builders/record/index.d.ts +1 -0
- package/types/core/schemas/builders/record/record.d.ts +2 -0
- package/types/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +12 -0
- package/types/core/schemas/builders/schema-utils/index.d.ts +2 -0
- package/types/core/schemas/builders/schema-utils/types.d.ts +7 -0
- package/types/core/schemas/builders/set/index.d.ts +1 -0
- package/types/core/schemas/builders/set/set.d.ts +2 -0
- package/types/core/schemas/builders/union/discriminant.d.ts +5 -0
- package/types/core/schemas/builders/union/index.d.ts +3 -0
- package/types/core/schemas/builders/union/types.d.ts +13 -0
- package/types/core/schemas/builders/union/union.d.ts +4 -0
- package/types/core/schemas/index.d.ts +2 -0
- package/types/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +9 -0
- package/types/core/schemas/utils/entries.d.ts +1 -0
- package/types/core/schemas/utils/filterObject.d.ts +1 -0
- package/types/core/schemas/utils/keys.d.ts +1 -0
- package/types/core/schemas/utils/partition.d.ts +1 -0
- package/types/index.d.ts +2 -0
- package/types/serialization/index.d.ts +1 -0
- package/types/serialization/resources/commons/index.d.ts +1 -0
- package/types/serialization/resources/commons/types/OrganizationId.d.ts +10 -0
- package/types/serialization/resources/commons/types/UserId.d.ts +10 -0
- package/types/serialization/resources/commons/types/index.d.ts +2 -0
- package/types/serialization/resources/index.d.ts +8 -0
- package/types/serialization/resources/organization/client/addUser.d.ts +23 -0
- package/types/serialization/resources/organization/client/create.d.ts +23 -0
- package/types/serialization/resources/organization/client/get.d.ts +17 -0
- package/types/serialization/resources/organization/client/getMyOrganizationFromScopedToken.d.ts +17 -0
- package/types/serialization/resources/organization/client/index.d.ts +6 -0
- package/types/serialization/resources/organization/client/isMember.d.ts +9 -0
- package/types/serialization/resources/organization/client/update.d.ts +19 -0
- package/types/serialization/resources/organization/index.d.ts +2 -0
- package/types/serialization/resources/organization/types/Organization.d.ts +13 -0
- package/types/serialization/resources/organization/types/index.d.ts +1 -0
- package/types/serialization/resources/registry/client/generateRegistryTokens.d.ts +26 -0
- package/types/serialization/resources/registry/client/hasRegistryPermission.d.ts +27 -0
- package/types/serialization/resources/registry/client/index.d.ts +3 -0
- package/types/serialization/resources/registry/client/revokeToken.d.ts +23 -0
- package/types/serialization/resources/registry/index.d.ts +2 -0
- package/types/serialization/resources/registry/types/MavenRegistryToken.d.ts +13 -0
- package/types/serialization/resources/registry/types/NpmRegistryToken.d.ts +12 -0
- package/types/serialization/resources/registry/types/RegistryToken.d.ts +16 -0
- package/types/serialization/resources/registry/types/RegistryTokens.d.ts +13 -0
- package/types/serialization/resources/registry/types/index.d.ts +4 -0
- package/types/serialization/resources/user/client/getMyOrganizations.d.ts +10 -0
- package/types/serialization/resources/user/client/getMyself.d.ts +10 -0
- package/types/serialization/resources/user/client/index.d.ts +2 -0
- package/types/serialization/resources/user/index.d.ts +2 -0
- package/types/serialization/resources/user/types/OrganizationsPage.d.ts +13 -0
- package/types/serialization/resources/user/types/User.d.ts +15 -0
- package/types/serialization/resources/user/types/index.d.ts +2 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import { FernVenusApi } from "../../../..";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const Response: core.serialization.Schema<serializers.organization.get.Response.Raw, FernVenusApi.Organization>;
|
|
8
|
+
export declare namespace Response {
|
|
9
|
+
type Raw = serializers.Organization.Raw;
|
|
10
|
+
}
|
|
11
|
+
export declare const Error: core.serialization.Schema<serializers.organization.get.Error.Raw, FernVenusApi.organization.get.Error>;
|
|
12
|
+
export declare namespace Error {
|
|
13
|
+
type Raw = Error.UnauthorizedError;
|
|
14
|
+
interface UnauthorizedError {
|
|
15
|
+
error: "UnauthorizedError";
|
|
16
|
+
}
|
|
17
|
+
}
|
package/types/serialization/resources/organization/client/getMyOrganizationFromScopedToken.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import { FernVenusApi } from "../../../..";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const Response: core.serialization.Schema<serializers.organization.getMyOrganizationFromScopedToken.Response.Raw, FernVenusApi.Organization>;
|
|
8
|
+
export declare namespace Response {
|
|
9
|
+
type Raw = serializers.Organization.Raw;
|
|
10
|
+
}
|
|
11
|
+
export declare const Error: core.serialization.Schema<serializers.organization.getMyOrganizationFromScopedToken.Error.Raw, FernVenusApi.organization.getMyOrganizationFromScopedToken.Error>;
|
|
12
|
+
export declare namespace Error {
|
|
13
|
+
type Raw = Error.UnauthorizedError;
|
|
14
|
+
interface UnauthorizedError {
|
|
15
|
+
error: "UnauthorizedError";
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * as create from "./create";
|
|
2
|
+
export * as update from "./update";
|
|
3
|
+
export * as get from "./get";
|
|
4
|
+
export * as isMember from "./isMember";
|
|
5
|
+
export * as getMyOrganizationFromScopedToken from "./getMyOrganizationFromScopedToken";
|
|
6
|
+
export * as addUser from "./addUser";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as core from "../../../../core";
|
|
6
|
+
export declare const Response: core.serialization.Schema<serializers.organization.isMember.Response.Raw, boolean>;
|
|
7
|
+
export declare namespace Response {
|
|
8
|
+
type Raw = boolean;
|
|
9
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import { FernVenusApi } from "../../../..";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const Request: core.serialization.Schema<serializers.organization.update.Request.Raw, FernVenusApi.UpdateOrganizationRequest>;
|
|
8
|
+
export declare namespace Request {
|
|
9
|
+
interface Raw {
|
|
10
|
+
artifactReadRequiresToken: boolean;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
export declare const Error: core.serialization.Schema<serializers.organization.update.Error.Raw, FernVenusApi.organization.update.Error>;
|
|
14
|
+
export declare namespace Error {
|
|
15
|
+
type Raw = Error.UnauthorizedError;
|
|
16
|
+
interface UnauthorizedError {
|
|
17
|
+
error: "UnauthorizedError";
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import { FernVenusApi } from "../../../..";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const Organization: core.serialization.ObjectSchema<serializers.Organization.Raw, FernVenusApi.Organization>;
|
|
8
|
+
export declare namespace Organization {
|
|
9
|
+
interface Raw {
|
|
10
|
+
organizationId: serializers.OrganizationId.Raw;
|
|
11
|
+
artifactReadRequiresToken: boolean;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Organization";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import { FernVenusApi } from "../../../..";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const Request: core.serialization.Schema<serializers.registry.generateRegistryTokens.Request.Raw, FernVenusApi.GenerateRegistryTokensRequest>;
|
|
8
|
+
export declare namespace Request {
|
|
9
|
+
interface Raw {
|
|
10
|
+
organizationId: serializers.OrganizationId.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
export declare const Response: core.serialization.Schema<serializers.registry.generateRegistryTokens.Response.Raw, FernVenusApi.RegistryTokens>;
|
|
14
|
+
export declare namespace Response {
|
|
15
|
+
type Raw = serializers.RegistryTokens.Raw;
|
|
16
|
+
}
|
|
17
|
+
export declare const Error: core.serialization.Schema<serializers.registry.generateRegistryTokens.Error.Raw, FernVenusApi.registry.generateRegistryTokens.Error>;
|
|
18
|
+
export declare namespace Error {
|
|
19
|
+
type Raw = Error.UnauthorizedError | Error.OrganizationNotFoundError;
|
|
20
|
+
interface UnauthorizedError {
|
|
21
|
+
error: "UnauthorizedError";
|
|
22
|
+
}
|
|
23
|
+
interface OrganizationNotFoundError {
|
|
24
|
+
error: "OrganizationNotFoundError";
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import { FernVenusApi } from "../../../..";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const Request: core.serialization.Schema<serializers.registry.hasRegistryPermission.Request.Raw, FernVenusApi.CheckRegistryPermissionRequest>;
|
|
8
|
+
export declare namespace Request {
|
|
9
|
+
interface Raw {
|
|
10
|
+
organizationId: serializers.OrganizationId.Raw;
|
|
11
|
+
token?: serializers.RegistryToken.Raw | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export declare const Response: core.serialization.Schema<serializers.registry.hasRegistryPermission.Response.Raw, boolean>;
|
|
15
|
+
export declare namespace Response {
|
|
16
|
+
type Raw = boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare const Error: core.serialization.Schema<serializers.registry.hasRegistryPermission.Error.Raw, FernVenusApi.registry.hasRegistryPermission.Error>;
|
|
19
|
+
export declare namespace Error {
|
|
20
|
+
type Raw = Error.UnauthorizedError | Error.OrganizationNotFoundError;
|
|
21
|
+
interface UnauthorizedError {
|
|
22
|
+
error: "UnauthorizedError";
|
|
23
|
+
}
|
|
24
|
+
interface OrganizationNotFoundError {
|
|
25
|
+
error: "OrganizationNotFoundError";
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import { FernVenusApi } from "../../../..";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const Request: core.serialization.Schema<serializers.registry.revokeToken.Request.Raw, FernVenusApi.RevokeTokenRequest>;
|
|
8
|
+
export declare namespace Request {
|
|
9
|
+
interface Raw {
|
|
10
|
+
organizationId: serializers.OrganizationId.Raw;
|
|
11
|
+
token: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export declare const Error: core.serialization.Schema<serializers.registry.revokeToken.Error.Raw, FernVenusApi.registry.revokeToken.Error>;
|
|
15
|
+
export declare namespace Error {
|
|
16
|
+
type Raw = Error.UnauthorizedError | Error.OrganizationNotFoundError;
|
|
17
|
+
interface UnauthorizedError {
|
|
18
|
+
error: "UnauthorizedError";
|
|
19
|
+
}
|
|
20
|
+
interface OrganizationNotFoundError {
|
|
21
|
+
error: "OrganizationNotFoundError";
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import { FernVenusApi } from "../../../..";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const MavenRegistryToken: core.serialization.ObjectSchema<serializers.MavenRegistryToken.Raw, FernVenusApi.MavenRegistryToken>;
|
|
8
|
+
export declare namespace MavenRegistryToken {
|
|
9
|
+
interface Raw {
|
|
10
|
+
username: string;
|
|
11
|
+
password: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import { FernVenusApi } from "../../../..";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const NpmRegistryToken: core.serialization.ObjectSchema<serializers.NpmRegistryToken.Raw, FernVenusApi.NpmRegistryToken>;
|
|
8
|
+
export declare namespace NpmRegistryToken {
|
|
9
|
+
interface Raw {
|
|
10
|
+
token: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import { FernVenusApi } from "../../../..";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const RegistryToken: core.serialization.Schema<serializers.RegistryToken.Raw, FernVenusApi.RegistryToken>;
|
|
8
|
+
export declare namespace RegistryToken {
|
|
9
|
+
type Raw = RegistryToken.Npm | RegistryToken.Maven;
|
|
10
|
+
interface Npm extends serializers.NpmRegistryToken.Raw {
|
|
11
|
+
type: "npm";
|
|
12
|
+
}
|
|
13
|
+
interface Maven extends serializers.MavenRegistryToken.Raw {
|
|
14
|
+
type: "maven";
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import { FernVenusApi } from "../../../..";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const RegistryTokens: core.serialization.ObjectSchema<serializers.RegistryTokens.Raw, FernVenusApi.RegistryTokens>;
|
|
8
|
+
export declare namespace RegistryTokens {
|
|
9
|
+
interface Raw {
|
|
10
|
+
npm: serializers.NpmRegistryToken.Raw;
|
|
11
|
+
maven: serializers.MavenRegistryToken.Raw;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import { FernVenusApi } from "../../../..";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const Response: core.serialization.Schema<serializers.user.getMyOrganizations.Response.Raw, FernVenusApi.OrganizationsPage>;
|
|
8
|
+
export declare namespace Response {
|
|
9
|
+
type Raw = serializers.OrganizationsPage.Raw;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import { FernVenusApi } from "../../../..";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const Response: core.serialization.Schema<serializers.user.getMyself.Response.Raw, FernVenusApi.User>;
|
|
8
|
+
export declare namespace Response {
|
|
9
|
+
type Raw = serializers.User.Raw;
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import { FernVenusApi } from "../../../..";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const OrganizationsPage: core.serialization.ObjectSchema<serializers.OrganizationsPage.Raw, FernVenusApi.OrganizationsPage>;
|
|
8
|
+
export declare namespace OrganizationsPage {
|
|
9
|
+
interface Raw {
|
|
10
|
+
organizations: serializers.OrganizationId.Raw[];
|
|
11
|
+
nextPage?: number | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import { FernVenusApi } from "../../../..";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const User: core.serialization.ObjectSchema<serializers.User.Raw, FernVenusApi.User>;
|
|
8
|
+
export declare namespace User {
|
|
9
|
+
interface Raw {
|
|
10
|
+
userId: serializers.UserId.Raw;
|
|
11
|
+
username: string;
|
|
12
|
+
email?: string | null;
|
|
13
|
+
created_at?: string | null;
|
|
14
|
+
}
|
|
15
|
+
}
|