@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.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/organization/client/Client.d.ts +4 -1
- package/dist/cjs/api/resources/organization/client/Client.js +4 -1
- package/dist/cjs/api/types/Publisher.d.ts +4 -3
- package/dist/cjs/api/types/PublisherType.d.ts +1 -0
- package/dist/cjs/api/types/PublisherType.js +1 -0
- package/dist/cjs/serialization/types/PublisherType.d.ts +1 -1
- package/dist/cjs/serialization/types/PublisherType.js +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/organization/client/Client.d.mts +4 -1
- package/dist/esm/api/resources/organization/client/Client.mjs +4 -1
- package/dist/esm/api/types/Publisher.d.mts +4 -3
- package/dist/esm/api/types/PublisherType.d.mts +1 -0
- package/dist/esm/api/types/PublisherType.mjs +1 -0
- package/dist/esm/serialization/types/PublisherType.d.mts +1 -1
- package/dist/esm/serialization/types/PublisherType.mjs +1 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +4 -1
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -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.
|
|
47
|
-
"User-Agent": "@fern-api/venus-api-sdk/15.
|
|
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,
|
|
4
|
-
* Postman user. Whoever the calling service verifies
|
|
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;
|
|
@@ -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"]);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "15.
|
|
1
|
+
export declare const SDK_VERSION = "15.1.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -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.
|
|
10
|
-
"User-Agent": "@fern-api/venus-api-sdk/15.
|
|
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,
|
|
4
|
-
* Postman user. Whoever the calling service verifies
|
|
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;
|
|
@@ -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"]);
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "15.
|
|
1
|
+
export declare const SDK_VERSION = "15.1.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "15.
|
|
1
|
+
export const SDK_VERSION = "15.1.0";
|
package/package.json
CHANGED
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>
|