@fern-api/venus-api-sdk 15.0.0 → 15.1.0

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.
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
43
43
  const headers = (0, headers_js_1.mergeHeaders)({
44
44
  "X-Fern-Language": "JavaScript",
45
45
  "X-Fern-SDK-Name": "@fern-api/venus-api-sdk",
46
- "X-Fern-SDK-Version": "15.0.0",
47
- "User-Agent": "@fern-api/venus-api-sdk/15.0.0",
46
+ "X-Fern-SDK-Version": "15.1.0",
47
+ "User-Agent": "@fern-api/venus-api-sdk/15.1.0",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -146,7 +146,10 @@ export declare class OrganizationClient {
146
146
  * user and valid for 15 minutes. Only the provisioner token and Postman's
147
147
  * integration service token can call it. For an organization held for a
148
148
  * Postman user, the caller must name that user as the publisher, or gets
149
- * 403 PublisherMismatchError.
149
+ * 403 PublisherMismatchError. An organization held for a GitHub
150
+ * repository always gets 403 PublisherMismatchError: a link is redeemed
151
+ * with a Postman sign-in, which says nothing about who owns the
152
+ * repository.
150
153
  *
151
154
  * @param {FernVenusApi.CreateClaimTokenRequest} request
152
155
  * @param {OrganizationClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -778,7 +778,10 @@ class OrganizationClient {
778
778
  * user and valid for 15 minutes. Only the provisioner token and Postman's
779
779
  * integration service token can call it. For an organization held for a
780
780
  * Postman user, the caller must name that user as the publisher, or gets
781
- * 403 PublisherMismatchError.
781
+ * 403 PublisherMismatchError. An organization held for a GitHub
782
+ * repository always gets 403 PublisherMismatchError: a link is redeemed
783
+ * with a Postman sign-in, which says nothing about who owns the
784
+ * repository.
782
785
  *
783
786
  * @param {FernVenusApi.CreateClaimTokenRequest} request
784
787
  * @param {OrganizationClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -1,8 +1,9 @@
1
1
  import type * as FernVenusApi from "../index.js";
2
2
  /**
3
- * Who an unclaimed organization is held for: a Postman team, or a single
4
- * Postman user. Whoever the calling service verifies as the publisher can
5
- * get a claim link for it.
3
+ * Who an unclaimed organization is held for: a Postman team, a single
4
+ * Postman user, or a GitHub repository. Whoever the calling service verifies
5
+ * as a Postman publisher can get a claim link for it. A GitHub repository's
6
+ * organization can't be claimed yet.
6
7
  */
7
8
  export interface Publisher {
8
9
  type: FernVenusApi.PublisherType;
@@ -1,5 +1,6 @@
1
1
  export declare const PublisherType: {
2
2
  readonly PostmanTeam: "postman_team";
3
3
  readonly PostmanUser: "postman_user";
4
+ readonly GithubRepo: "github_repo";
4
5
  };
5
6
  export type PublisherType = (typeof PublisherType)[keyof typeof PublisherType];
@@ -5,4 +5,5 @@ exports.PublisherType = void 0;
5
5
  exports.PublisherType = {
6
6
  PostmanTeam: "postman_team",
7
7
  PostmanUser: "postman_user",
8
+ GithubRepo: "github_repo",
8
9
  };
@@ -3,5 +3,5 @@ import * as core from "../../core/index.js";
3
3
  import type * as serializers from "../index.js";
4
4
  export declare const PublisherType: core.serialization.Schema<serializers.PublisherType.Raw, FernVenusApi.PublisherType>;
5
5
  export declare namespace PublisherType {
6
- type Raw = "postman_team" | "postman_user";
6
+ type Raw = "postman_team" | "postman_user" | "github_repo";
7
7
  }
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.PublisherType = void 0;
38
38
  const core = __importStar(require("../../core/index.js"));
39
- exports.PublisherType = core.serialization.enum_(["postman_team", "postman_user"]);
39
+ exports.PublisherType = core.serialization.enum_(["postman_team", "postman_user", "github_repo"]);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "15.0.0";
1
+ export declare const SDK_VERSION = "15.1.0";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "15.0.0";
4
+ exports.SDK_VERSION = "15.1.0";
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
6
6
  const headers = mergeHeaders({
7
7
  "X-Fern-Language": "JavaScript",
8
8
  "X-Fern-SDK-Name": "@fern-api/venus-api-sdk",
9
- "X-Fern-SDK-Version": "15.0.0",
10
- "User-Agent": "@fern-api/venus-api-sdk/15.0.0",
9
+ "X-Fern-SDK-Version": "15.1.0",
10
+ "User-Agent": "@fern-api/venus-api-sdk/15.1.0",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -146,7 +146,10 @@ export declare class OrganizationClient {
146
146
  * user and valid for 15 minutes. Only the provisioner token and Postman's
147
147
  * integration service token can call it. For an organization held for a
148
148
  * Postman user, the caller must name that user as the publisher, or gets
149
- * 403 PublisherMismatchError.
149
+ * 403 PublisherMismatchError. An organization held for a GitHub
150
+ * repository always gets 403 PublisherMismatchError: a link is redeemed
151
+ * with a Postman sign-in, which says nothing about who owns the
152
+ * repository.
150
153
  *
151
154
  * @param {FernVenusApi.CreateClaimTokenRequest} request
152
155
  * @param {OrganizationClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -742,7 +742,10 @@ export class OrganizationClient {
742
742
  * user and valid for 15 minutes. Only the provisioner token and Postman's
743
743
  * integration service token can call it. For an organization held for a
744
744
  * Postman user, the caller must name that user as the publisher, or gets
745
- * 403 PublisherMismatchError.
745
+ * 403 PublisherMismatchError. An organization held for a GitHub
746
+ * repository always gets 403 PublisherMismatchError: a link is redeemed
747
+ * with a Postman sign-in, which says nothing about who owns the
748
+ * repository.
746
749
  *
747
750
  * @param {FernVenusApi.CreateClaimTokenRequest} request
748
751
  * @param {OrganizationClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -1,8 +1,9 @@
1
1
  import type * as FernVenusApi from "../index.mjs";
2
2
  /**
3
- * Who an unclaimed organization is held for: a Postman team, or a single
4
- * Postman user. Whoever the calling service verifies as the publisher can
5
- * get a claim link for it.
3
+ * Who an unclaimed organization is held for: a Postman team, a single
4
+ * Postman user, or a GitHub repository. Whoever the calling service verifies
5
+ * as a Postman publisher can get a claim link for it. A GitHub repository's
6
+ * organization can't be claimed yet.
6
7
  */
7
8
  export interface Publisher {
8
9
  type: FernVenusApi.PublisherType;
@@ -1,5 +1,6 @@
1
1
  export declare const PublisherType: {
2
2
  readonly PostmanTeam: "postman_team";
3
3
  readonly PostmanUser: "postman_user";
4
+ readonly GithubRepo: "github_repo";
4
5
  };
5
6
  export type PublisherType = (typeof PublisherType)[keyof typeof PublisherType];
@@ -2,4 +2,5 @@
2
2
  export const PublisherType = {
3
3
  PostmanTeam: "postman_team",
4
4
  PostmanUser: "postman_user",
5
+ GithubRepo: "github_repo",
5
6
  };
@@ -3,5 +3,5 @@ import * as core from "../../core/index.mjs";
3
3
  import type * as serializers from "../index.mjs";
4
4
  export declare const PublisherType: core.serialization.Schema<serializers.PublisherType.Raw, FernVenusApi.PublisherType>;
5
5
  export declare namespace PublisherType {
6
- type Raw = "postman_team" | "postman_user";
6
+ type Raw = "postman_team" | "postman_user" | "github_repo";
7
7
  }
@@ -1,3 +1,3 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import * as core from "../../core/index.mjs";
3
- export const PublisherType = core.serialization.enum_(["postman_team", "postman_user"]);
3
+ export const PublisherType = core.serialization.enum_(["postman_team", "postman_user", "github_repo"]);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "15.0.0";
1
+ export declare const SDK_VERSION = "15.1.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "15.0.0";
1
+ export const SDK_VERSION = "15.1.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fern-api/venus-api-sdk",
3
- "version": "15.0.0",
3
+ "version": "15.1.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
package/reference.md CHANGED
@@ -1577,7 +1577,10 @@ Issues a claim link for an unclaimed organization, bound to one Postman
1577
1577
  user and valid for 15 minutes. Only the provisioner token and Postman's
1578
1578
  integration service token can call it. For an organization held for a
1579
1579
  Postman user, the caller must name that user as the publisher, or gets
1580
- 403 PublisherMismatchError.
1580
+ 403 PublisherMismatchError. An organization held for a GitHub
1581
+ repository always gets 403 PublisherMismatchError: a link is redeemed
1582
+ with a Postman sign-in, which says nothing about who owns the
1583
+ repository.
1581
1584
  </dd>
1582
1585
  </dl>
1583
1586
  </dd>