@fern-api/venus-api-sdk 15.2.0 → 15.3.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/internalGuestSession/client/requests/SettleRequest.d.ts +1 -0
- package/dist/cjs/api/types/SettleArtifact.d.ts +12 -0
- package/dist/cjs/api/types/SettleArtifact.js +3 -0
- package/dist/cjs/api/types/index.d.ts +1 -0
- package/dist/cjs/api/types/index.js +1 -0
- package/dist/cjs/serialization/resources/internalGuestSession/client/requests/SettleRequest.d.ts +2 -0
- package/dist/cjs/serialization/resources/internalGuestSession/client/requests/SettleRequest.js +2 -0
- package/dist/cjs/serialization/types/SettleArtifact.d.ts +12 -0
- package/dist/cjs/serialization/types/SettleArtifact.js +44 -0
- package/dist/cjs/serialization/types/index.d.ts +1 -0
- package/dist/cjs/serialization/types/index.js +1 -0
- 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/internalGuestSession/client/requests/SettleRequest.d.mts +1 -0
- package/dist/esm/api/types/SettleArtifact.d.mts +12 -0
- package/dist/esm/api/types/SettleArtifact.mjs +2 -0
- package/dist/esm/api/types/index.d.mts +1 -0
- package/dist/esm/api/types/index.mjs +1 -0
- package/dist/esm/serialization/resources/internalGuestSession/client/requests/SettleRequest.d.mts +2 -0
- package/dist/esm/serialization/resources/internalGuestSession/client/requests/SettleRequest.mjs +2 -0
- package/dist/esm/serialization/types/SettleArtifact.d.mts +12 -0
- package/dist/esm/serialization/types/SettleArtifact.mjs +8 -0
- package/dist/esm/serialization/types/index.d.mts +1 -0
- package/dist/esm/serialization/types/index.mjs +1 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -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.3.0",
|
|
47
|
+
"User-Agent": "@fern-api/venus-api-sdk/15.3.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);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What the settling service built, echoed on the ``guest.*`` event so
|
|
3
|
+
* usage pages can list the docs site or SDK and not just the session.
|
|
4
|
+
* Nothing here is secret: the docs URL is public and the SDK name is the
|
|
5
|
+
* one the guest typed.
|
|
6
|
+
*/
|
|
7
|
+
export interface SettleArtifact {
|
|
8
|
+
docsUrl?: string | null;
|
|
9
|
+
sdkName?: string | null;
|
|
10
|
+
language?: string | null;
|
|
11
|
+
buildId?: string | null;
|
|
12
|
+
}
|
|
@@ -52,6 +52,7 @@ export * from "./Revoked.js";
|
|
|
52
52
|
export * from "./ServiceUnavailableErrorBody.js";
|
|
53
53
|
export * from "./ServiceUnavailableErrorBodyContent.js";
|
|
54
54
|
export * from "./ServiceUnavailableErrorBodyContentCode.js";
|
|
55
|
+
export * from "./SettleArtifact.js";
|
|
55
56
|
export * from "./SettleResponse.js";
|
|
56
57
|
export * from "./SettleResponseReason.js";
|
|
57
58
|
export * from "./TokenMetadata.js";
|
|
@@ -68,6 +68,7 @@ __exportStar(require("./Revoked.js"), exports);
|
|
|
68
68
|
__exportStar(require("./ServiceUnavailableErrorBody.js"), exports);
|
|
69
69
|
__exportStar(require("./ServiceUnavailableErrorBodyContent.js"), exports);
|
|
70
70
|
__exportStar(require("./ServiceUnavailableErrorBodyContentCode.js"), exports);
|
|
71
|
+
__exportStar(require("./SettleArtifact.js"), exports);
|
|
71
72
|
__exportStar(require("./SettleResponse.js"), exports);
|
|
72
73
|
__exportStar(require("./SettleResponseReason.js"), exports);
|
|
73
74
|
__exportStar(require("./TokenMetadata.js"), exports);
|
package/dist/cjs/serialization/resources/internalGuestSession/client/requests/SettleRequest.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type * as FernVenusApi from "../../../../../api/index.js";
|
|
2
2
|
import * as core from "../../../../../core/index.js";
|
|
3
3
|
import type * as serializers from "../../../../index.js";
|
|
4
|
+
import { SettleArtifact } from "../../../../types/SettleArtifact.js";
|
|
4
5
|
import { SettleRequestOutcome } from "../../types/SettleRequestOutcome.js";
|
|
5
6
|
export declare const SettleRequest: core.serialization.Schema<serializers.SettleRequest.Raw, Omit<FernVenusApi.SettleRequest, "sessionId">>;
|
|
6
7
|
export declare namespace SettleRequest {
|
|
7
8
|
interface Raw {
|
|
8
9
|
reservationId: string;
|
|
9
10
|
outcome: SettleRequestOutcome.Raw;
|
|
11
|
+
artifact?: (SettleArtifact.Raw | null | undefined) | null;
|
|
10
12
|
}
|
|
11
13
|
}
|
package/dist/cjs/serialization/resources/internalGuestSession/client/requests/SettleRequest.js
CHANGED
|
@@ -36,8 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.SettleRequest = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../../core/index.js"));
|
|
39
|
+
const SettleArtifact_js_1 = require("../../../../types/SettleArtifact.js");
|
|
39
40
|
const SettleRequestOutcome_js_1 = require("../../types/SettleRequestOutcome.js");
|
|
40
41
|
exports.SettleRequest = core.serialization.object({
|
|
41
42
|
reservationId: core.serialization.string(),
|
|
42
43
|
outcome: SettleRequestOutcome_js_1.SettleRequestOutcome,
|
|
44
|
+
artifact: SettleArtifact_js_1.SettleArtifact.optionalNullable(),
|
|
43
45
|
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as FernVenusApi from "../../api/index.js";
|
|
2
|
+
import * as core from "../../core/index.js";
|
|
3
|
+
import type * as serializers from "../index.js";
|
|
4
|
+
export declare const SettleArtifact: core.serialization.ObjectSchema<serializers.SettleArtifact.Raw, FernVenusApi.SettleArtifact>;
|
|
5
|
+
export declare namespace SettleArtifact {
|
|
6
|
+
interface Raw {
|
|
7
|
+
docsUrl?: (string | null | undefined) | null;
|
|
8
|
+
sdkName?: (string | null | undefined) | null;
|
|
9
|
+
language?: (string | null | undefined) | null;
|
|
10
|
+
buildId?: (string | null | undefined) | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.SettleArtifact = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
exports.SettleArtifact = core.serialization.object({
|
|
40
|
+
docsUrl: core.serialization.string().optionalNullable(),
|
|
41
|
+
sdkName: core.serialization.string().optionalNullable(),
|
|
42
|
+
language: core.serialization.string().optionalNullable(),
|
|
43
|
+
buildId: core.serialization.string().optionalNullable(),
|
|
44
|
+
});
|
|
@@ -52,6 +52,7 @@ export * from "./Revoked.js";
|
|
|
52
52
|
export * from "./ServiceUnavailableErrorBody.js";
|
|
53
53
|
export * from "./ServiceUnavailableErrorBodyContent.js";
|
|
54
54
|
export * from "./ServiceUnavailableErrorBodyContentCode.js";
|
|
55
|
+
export * from "./SettleArtifact.js";
|
|
55
56
|
export * from "./SettleResponse.js";
|
|
56
57
|
export * from "./SettleResponseReason.js";
|
|
57
58
|
export * from "./TokenMetadata.js";
|
|
@@ -68,6 +68,7 @@ __exportStar(require("./Revoked.js"), exports);
|
|
|
68
68
|
__exportStar(require("./ServiceUnavailableErrorBody.js"), exports);
|
|
69
69
|
__exportStar(require("./ServiceUnavailableErrorBodyContent.js"), exports);
|
|
70
70
|
__exportStar(require("./ServiceUnavailableErrorBodyContentCode.js"), exports);
|
|
71
|
+
__exportStar(require("./SettleArtifact.js"), exports);
|
|
71
72
|
__exportStar(require("./SettleResponse.js"), exports);
|
|
72
73
|
__exportStar(require("./SettleResponseReason.js"), exports);
|
|
73
74
|
__exportStar(require("./TokenMetadata.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "15.
|
|
1
|
+
export declare const SDK_VERSION = "15.3.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.3.0",
|
|
10
|
+
"User-Agent": "@fern-api/venus-api-sdk/15.3.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);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What the settling service built, echoed on the ``guest.*`` event so
|
|
3
|
+
* usage pages can list the docs site or SDK and not just the session.
|
|
4
|
+
* Nothing here is secret: the docs URL is public and the SDK name is the
|
|
5
|
+
* one the guest typed.
|
|
6
|
+
*/
|
|
7
|
+
export interface SettleArtifact {
|
|
8
|
+
docsUrl?: string | null;
|
|
9
|
+
sdkName?: string | null;
|
|
10
|
+
language?: string | null;
|
|
11
|
+
buildId?: string | null;
|
|
12
|
+
}
|
|
@@ -52,6 +52,7 @@ export * from "./Revoked.mjs";
|
|
|
52
52
|
export * from "./ServiceUnavailableErrorBody.mjs";
|
|
53
53
|
export * from "./ServiceUnavailableErrorBodyContent.mjs";
|
|
54
54
|
export * from "./ServiceUnavailableErrorBodyContentCode.mjs";
|
|
55
|
+
export * from "./SettleArtifact.mjs";
|
|
55
56
|
export * from "./SettleResponse.mjs";
|
|
56
57
|
export * from "./SettleResponseReason.mjs";
|
|
57
58
|
export * from "./TokenMetadata.mjs";
|
|
@@ -52,6 +52,7 @@ export * from "./Revoked.mjs";
|
|
|
52
52
|
export * from "./ServiceUnavailableErrorBody.mjs";
|
|
53
53
|
export * from "./ServiceUnavailableErrorBodyContent.mjs";
|
|
54
54
|
export * from "./ServiceUnavailableErrorBodyContentCode.mjs";
|
|
55
|
+
export * from "./SettleArtifact.mjs";
|
|
55
56
|
export * from "./SettleResponse.mjs";
|
|
56
57
|
export * from "./SettleResponseReason.mjs";
|
|
57
58
|
export * from "./TokenMetadata.mjs";
|
package/dist/esm/serialization/resources/internalGuestSession/client/requests/SettleRequest.d.mts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type * as FernVenusApi from "../../../../../api/index.mjs";
|
|
2
2
|
import * as core from "../../../../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../../../../index.mjs";
|
|
4
|
+
import { SettleArtifact } from "../../../../types/SettleArtifact.mjs";
|
|
4
5
|
import { SettleRequestOutcome } from "../../types/SettleRequestOutcome.mjs";
|
|
5
6
|
export declare const SettleRequest: core.serialization.Schema<serializers.SettleRequest.Raw, Omit<FernVenusApi.SettleRequest, "sessionId">>;
|
|
6
7
|
export declare namespace SettleRequest {
|
|
7
8
|
interface Raw {
|
|
8
9
|
reservationId: string;
|
|
9
10
|
outcome: SettleRequestOutcome.Raw;
|
|
11
|
+
artifact?: (SettleArtifact.Raw | null | undefined) | null;
|
|
10
12
|
}
|
|
11
13
|
}
|
package/dist/esm/serialization/resources/internalGuestSession/client/requests/SettleRequest.mjs
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../../core/index.mjs";
|
|
3
|
+
import { SettleArtifact } from "../../../../types/SettleArtifact.mjs";
|
|
3
4
|
import { SettleRequestOutcome } from "../../types/SettleRequestOutcome.mjs";
|
|
4
5
|
export const SettleRequest = core.serialization.object({
|
|
5
6
|
reservationId: core.serialization.string(),
|
|
6
7
|
outcome: SettleRequestOutcome,
|
|
8
|
+
artifact: SettleArtifact.optionalNullable(),
|
|
7
9
|
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as FernVenusApi from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../index.mjs";
|
|
4
|
+
export declare const SettleArtifact: core.serialization.ObjectSchema<serializers.SettleArtifact.Raw, FernVenusApi.SettleArtifact>;
|
|
5
|
+
export declare namespace SettleArtifact {
|
|
6
|
+
interface Raw {
|
|
7
|
+
docsUrl?: (string | null | undefined) | null;
|
|
8
|
+
sdkName?: (string | null | undefined) | null;
|
|
9
|
+
language?: (string | null | undefined) | null;
|
|
10
|
+
buildId?: (string | null | undefined) | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
export const SettleArtifact = core.serialization.object({
|
|
4
|
+
docsUrl: core.serialization.string().optionalNullable(),
|
|
5
|
+
sdkName: core.serialization.string().optionalNullable(),
|
|
6
|
+
language: core.serialization.string().optionalNullable(),
|
|
7
|
+
buildId: core.serialization.string().optionalNullable(),
|
|
8
|
+
});
|
|
@@ -52,6 +52,7 @@ export * from "./Revoked.mjs";
|
|
|
52
52
|
export * from "./ServiceUnavailableErrorBody.mjs";
|
|
53
53
|
export * from "./ServiceUnavailableErrorBodyContent.mjs";
|
|
54
54
|
export * from "./ServiceUnavailableErrorBodyContentCode.mjs";
|
|
55
|
+
export * from "./SettleArtifact.mjs";
|
|
55
56
|
export * from "./SettleResponse.mjs";
|
|
56
57
|
export * from "./SettleResponseReason.mjs";
|
|
57
58
|
export * from "./TokenMetadata.mjs";
|
|
@@ -52,6 +52,7 @@ export * from "./Revoked.mjs";
|
|
|
52
52
|
export * from "./ServiceUnavailableErrorBody.mjs";
|
|
53
53
|
export * from "./ServiceUnavailableErrorBodyContent.mjs";
|
|
54
54
|
export * from "./ServiceUnavailableErrorBodyContentCode.mjs";
|
|
55
|
+
export * from "./SettleArtifact.mjs";
|
|
55
56
|
export * from "./SettleResponse.mjs";
|
|
56
57
|
export * from "./SettleResponseReason.mjs";
|
|
57
58
|
export * from "./TokenMetadata.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "15.
|
|
1
|
+
export declare const SDK_VERSION = "15.3.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "15.
|
|
1
|
+
export const SDK_VERSION = "15.3.0";
|