@fern-api/venus-api-sdk 0.0.20-3-g18f7cfd → 0.0.20-5-gd06fd6e
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/types/LightweightUser.d.ts +8 -0
- package/api/resources/organization/types/LightweightUser.js +5 -0
- package/api/resources/organization/types/Organization.d.ts +1 -0
- package/api/resources/organization/types/index.d.ts +1 -0
- package/api/resources/organization/types/index.js +1 -0
- package/package.json +1 -1
- package/serialization/resources/organization/types/LightweightUser.d.ts +14 -0
- package/serialization/resources/organization/types/LightweightUser.js +35 -0
- package/serialization/resources/organization/types/Organization.d.ts +1 -0
- package/serialization/resources/organization/types/Organization.js +1 -0
- package/serialization/resources/organization/types/index.d.ts +1 -0
- package/serialization/resources/organization/types/index.js +1 -0
package/package.json
CHANGED
|
@@ -0,0 +1,14 @@
|
|
|
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 LightweightUser: core.serialization.ObjectSchema<serializers.LightweightUser.Raw, FernVenusApi.LightweightUser>;
|
|
8
|
+
export declare namespace LightweightUser {
|
|
9
|
+
interface Raw {
|
|
10
|
+
userId: string;
|
|
11
|
+
displayName: string;
|
|
12
|
+
picture_url?: string | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.LightweightUser = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.LightweightUser = core.serialization.object({
|
|
32
|
+
userId: core.serialization.string(),
|
|
33
|
+
displayName: core.serialization.string(),
|
|
34
|
+
pictureUrl: core.serialization.property("picture_url", core.serialization.string().optional()),
|
|
35
|
+
});
|
|
@@ -31,4 +31,5 @@ const core = __importStar(require("../../../../core"));
|
|
|
31
31
|
exports.Organization = core.serialization.object({
|
|
32
32
|
organizationId: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).OrganizationId),
|
|
33
33
|
artifactReadRequiresToken: core.serialization.boolean(),
|
|
34
|
+
users: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).LightweightUser)),
|
|
34
35
|
});
|