@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.
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface LightweightUser {
5
+ userId: string;
6
+ displayName: string;
7
+ pictureUrl?: string;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -5,4 +5,5 @@ import { FernVenusApi } from "../../../..";
5
5
  export interface Organization {
6
6
  organizationId: FernVenusApi.OrganizationId;
7
7
  artifactReadRequiresToken: boolean;
8
+ users: FernVenusApi.LightweightUser[];
8
9
  }
@@ -1 +1,2 @@
1
1
  export * from "./Organization";
2
+ export * from "./LightweightUser";
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./Organization"), exports);
18
+ __exportStar(require("./LightweightUser"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fern-api/venus-api-sdk",
3
- "version": "0.0.20-3-g18f7cfd",
3
+ "version": "0.0.20-5-gd06fd6e",
4
4
  "private": false,
5
5
  "files": [
6
6
  "Client.d.ts",
@@ -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
+ });
@@ -9,5 +9,6 @@ export declare namespace Organization {
9
9
  interface Raw {
10
10
  organizationId: serializers.OrganizationId.Raw;
11
11
  artifactReadRequiresToken: boolean;
12
+ users: serializers.LightweightUser.Raw[];
12
13
  }
13
14
  }
@@ -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
  });
@@ -1 +1,2 @@
1
1
  export * from "./Organization";
2
+ export * from "./LightweightUser";
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./Organization"), exports);
18
+ __exportStar(require("./LightweightUser"), exports);