@fern-api/venus-api-sdk 0.19.8 → 0.19.9-2-g3439b27
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/Client.d.ts +3 -0
- package/dist/cjs/Client.js +12 -7
- package/dist/cjs/api/resources/apiKeys/client/Client.d.ts +105 -0
- package/dist/cjs/api/resources/apiKeys/client/Client.js +451 -0
- package/dist/cjs/api/resources/apiKeys/client/create.d.ts +32 -0
- package/dist/cjs/api/resources/apiKeys/client/create.js +77 -0
- package/dist/cjs/api/resources/apiKeys/client/getTokenMetadata.d.ts +32 -0
- package/dist/cjs/api/resources/apiKeys/client/getTokenMetadata.js +77 -0
- package/dist/cjs/api/resources/apiKeys/client/getTokensForOrganization.d.ts +32 -0
- package/dist/cjs/api/resources/apiKeys/client/getTokensForOrganization.js +77 -0
- package/dist/cjs/api/resources/apiKeys/client/index.d.ts +6 -0
- package/dist/cjs/api/resources/apiKeys/client/index.js +45 -0
- package/dist/cjs/api/resources/apiKeys/client/requests/CreateApiKeyRequest.d.ts +21 -0
- package/dist/cjs/api/resources/apiKeys/client/requests/CreateApiKeyRequest.js +5 -0
- package/dist/cjs/api/resources/apiKeys/client/requests/GetTokenMetadataRequest.d.ts +17 -0
- package/dist/cjs/api/resources/apiKeys/client/requests/GetTokenMetadataRequest.js +5 -0
- package/dist/cjs/api/resources/apiKeys/client/requests/RevokeApiKeyRequest.d.ts +17 -0
- package/dist/cjs/api/resources/apiKeys/client/requests/RevokeApiKeyRequest.js +5 -0
- package/dist/cjs/api/resources/apiKeys/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/apiKeys/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/apiKeys/client/revokeToken.d.ts +32 -0
- package/dist/cjs/api/resources/apiKeys/client/revokeToken.js +77 -0
- package/dist/cjs/api/resources/apiKeys/client/revokeTokenById.d.ts +32 -0
- package/dist/cjs/api/resources/apiKeys/client/revokeTokenById.js +77 -0
- package/dist/cjs/api/resources/apiKeys/index.d.ts +2 -0
- package/dist/cjs/api/resources/apiKeys/index.js +18 -0
- package/dist/cjs/api/resources/apiKeys/types/CreateTokenResponse.d.ts +15 -0
- package/dist/cjs/api/resources/apiKeys/types/CreateTokenResponse.js +5 -0
- package/dist/cjs/api/resources/apiKeys/types/TokenId.d.ts +12 -0
- package/dist/cjs/api/resources/apiKeys/types/TokenId.js +9 -0
- package/dist/cjs/api/resources/apiKeys/types/TokenMetadata.d.ts +22 -0
- package/dist/cjs/api/resources/apiKeys/types/TokenMetadata.js +5 -0
- package/dist/cjs/api/resources/apiKeys/types/TokenStatus.d.ts +32 -0
- package/dist/cjs/api/resources/apiKeys/types/TokenStatus.js +5 -0
- package/dist/cjs/api/resources/apiKeys/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/apiKeys/types/index.js +20 -0
- package/dist/cjs/api/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/index.js +4 -1
- package/dist/cjs/serialization/resources/apiKeys/client/create.d.ts +16 -0
- package/dist/cjs/serialization/resources/apiKeys/client/create.js +71 -0
- package/dist/cjs/serialization/resources/apiKeys/client/getTokenMetadata.d.ts +16 -0
- package/dist/cjs/serialization/resources/apiKeys/client/getTokenMetadata.js +71 -0
- package/dist/cjs/serialization/resources/apiKeys/client/getTokensForOrganization.d.ts +21 -0
- package/dist/cjs/serialization/resources/apiKeys/client/getTokensForOrganization.js +73 -0
- package/dist/cjs/serialization/resources/apiKeys/client/index.d.ts +6 -0
- package/dist/cjs/serialization/resources/apiKeys/client/index.js +45 -0
- package/dist/cjs/serialization/resources/apiKeys/client/requests/CreateApiKeyRequest.d.ts +15 -0
- package/dist/cjs/serialization/resources/apiKeys/client/requests/CreateApiKeyRequest.js +46 -0
- package/dist/cjs/serialization/resources/apiKeys/client/requests/GetTokenMetadataRequest.d.ts +12 -0
- package/dist/cjs/serialization/resources/apiKeys/client/requests/GetTokenMetadataRequest.js +43 -0
- package/dist/cjs/serialization/resources/apiKeys/client/requests/RevokeApiKeyRequest.d.ts +12 -0
- package/dist/cjs/serialization/resources/apiKeys/client/requests/RevokeApiKeyRequest.js +43 -0
- package/dist/cjs/serialization/resources/apiKeys/client/requests/index.d.ts +3 -0
- package/dist/cjs/serialization/resources/apiKeys/client/requests/index.js +9 -0
- package/dist/cjs/serialization/resources/apiKeys/client/revokeToken.d.ts +16 -0
- package/dist/cjs/serialization/resources/apiKeys/client/revokeToken.js +71 -0
- package/dist/cjs/serialization/resources/apiKeys/client/revokeTokenById.d.ts +16 -0
- package/dist/cjs/serialization/resources/apiKeys/client/revokeTokenById.js +71 -0
- package/dist/cjs/serialization/resources/apiKeys/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/apiKeys/index.js +18 -0
- package/dist/cjs/serialization/resources/apiKeys/types/CreateTokenResponse.d.ts +14 -0
- package/dist/cjs/serialization/resources/apiKeys/types/CreateTokenResponse.js +45 -0
- package/dist/cjs/serialization/resources/apiKeys/types/TokenId.d.ts +10 -0
- package/dist/cjs/serialization/resources/apiKeys/types/TokenId.js +47 -0
- package/dist/cjs/serialization/resources/apiKeys/types/TokenMetadata.d.ts +19 -0
- package/dist/cjs/serialization/resources/apiKeys/types/TokenMetadata.js +50 -0
- package/dist/cjs/serialization/resources/apiKeys/types/TokenStatus.d.ts +19 -0
- package/dist/cjs/serialization/resources/apiKeys/types/TokenStatus.js +50 -0
- package/dist/cjs/serialization/resources/apiKeys/types/index.d.ts +4 -0
- package/dist/cjs/serialization/resources/apiKeys/types/index.js +20 -0
- package/dist/cjs/serialization/resources/index.d.ts +3 -0
- package/dist/cjs/serialization/resources/index.js +4 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +3 -0
- package/dist/esm/Client.mjs +6 -1
- package/dist/esm/api/resources/apiKeys/client/Client.d.mts +105 -0
- package/dist/esm/api/resources/apiKeys/client/Client.mjs +414 -0
- package/dist/esm/api/resources/apiKeys/client/create.d.mts +32 -0
- package/dist/esm/api/resources/apiKeys/client/create.mjs +41 -0
- package/dist/esm/api/resources/apiKeys/client/getTokenMetadata.d.mts +32 -0
- package/dist/esm/api/resources/apiKeys/client/getTokenMetadata.mjs +41 -0
- package/dist/esm/api/resources/apiKeys/client/getTokensForOrganization.d.mts +32 -0
- package/dist/esm/api/resources/apiKeys/client/getTokensForOrganization.mjs +41 -0
- package/dist/esm/api/resources/apiKeys/client/index.d.mts +6 -0
- package/dist/esm/api/resources/apiKeys/client/index.mjs +6 -0
- package/dist/esm/api/resources/apiKeys/client/requests/CreateApiKeyRequest.d.mts +21 -0
- package/dist/esm/api/resources/apiKeys/client/requests/CreateApiKeyRequest.mjs +4 -0
- package/dist/esm/api/resources/apiKeys/client/requests/GetTokenMetadataRequest.d.mts +17 -0
- package/dist/esm/api/resources/apiKeys/client/requests/GetTokenMetadataRequest.mjs +4 -0
- package/dist/esm/api/resources/apiKeys/client/requests/RevokeApiKeyRequest.d.mts +17 -0
- package/dist/esm/api/resources/apiKeys/client/requests/RevokeApiKeyRequest.mjs +4 -0
- package/dist/esm/api/resources/apiKeys/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/apiKeys/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/apiKeys/client/revokeToken.d.mts +32 -0
- package/dist/esm/api/resources/apiKeys/client/revokeToken.mjs +41 -0
- package/dist/esm/api/resources/apiKeys/client/revokeTokenById.d.mts +32 -0
- package/dist/esm/api/resources/apiKeys/client/revokeTokenById.mjs +41 -0
- package/dist/esm/api/resources/apiKeys/index.d.mts +2 -0
- package/dist/esm/api/resources/apiKeys/index.mjs +2 -0
- package/dist/esm/api/resources/apiKeys/types/CreateTokenResponse.d.mts +15 -0
- package/dist/esm/api/resources/apiKeys/types/CreateTokenResponse.mjs +4 -0
- package/dist/esm/api/resources/apiKeys/types/TokenId.d.mts +12 -0
- package/dist/esm/api/resources/apiKeys/types/TokenId.mjs +6 -0
- package/dist/esm/api/resources/apiKeys/types/TokenMetadata.d.mts +22 -0
- package/dist/esm/api/resources/apiKeys/types/TokenMetadata.mjs +4 -0
- package/dist/esm/api/resources/apiKeys/types/TokenStatus.d.mts +32 -0
- package/dist/esm/api/resources/apiKeys/types/TokenStatus.mjs +4 -0
- package/dist/esm/api/resources/apiKeys/types/index.d.mts +4 -0
- package/dist/esm/api/resources/apiKeys/types/index.mjs +4 -0
- package/dist/esm/api/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/index.mjs +3 -0
- package/dist/esm/serialization/resources/apiKeys/client/create.d.mts +16 -0
- package/dist/esm/serialization/resources/apiKeys/client/create.mjs +35 -0
- package/dist/esm/serialization/resources/apiKeys/client/getTokenMetadata.d.mts +16 -0
- package/dist/esm/serialization/resources/apiKeys/client/getTokenMetadata.mjs +35 -0
- package/dist/esm/serialization/resources/apiKeys/client/getTokensForOrganization.d.mts +21 -0
- package/dist/esm/serialization/resources/apiKeys/client/getTokensForOrganization.mjs +37 -0
- package/dist/esm/serialization/resources/apiKeys/client/index.d.mts +6 -0
- package/dist/esm/serialization/resources/apiKeys/client/index.mjs +6 -0
- package/dist/esm/serialization/resources/apiKeys/client/requests/CreateApiKeyRequest.d.mts +15 -0
- package/dist/esm/serialization/resources/apiKeys/client/requests/CreateApiKeyRequest.mjs +10 -0
- package/dist/esm/serialization/resources/apiKeys/client/requests/GetTokenMetadataRequest.d.mts +12 -0
- package/dist/esm/serialization/resources/apiKeys/client/requests/GetTokenMetadataRequest.mjs +7 -0
- package/dist/esm/serialization/resources/apiKeys/client/requests/RevokeApiKeyRequest.d.mts +12 -0
- package/dist/esm/serialization/resources/apiKeys/client/requests/RevokeApiKeyRequest.mjs +7 -0
- package/dist/esm/serialization/resources/apiKeys/client/requests/index.d.mts +3 -0
- package/dist/esm/serialization/resources/apiKeys/client/requests/index.mjs +3 -0
- package/dist/esm/serialization/resources/apiKeys/client/revokeToken.d.mts +16 -0
- package/dist/esm/serialization/resources/apiKeys/client/revokeToken.mjs +35 -0
- package/dist/esm/serialization/resources/apiKeys/client/revokeTokenById.d.mts +16 -0
- package/dist/esm/serialization/resources/apiKeys/client/revokeTokenById.mjs +35 -0
- package/dist/esm/serialization/resources/apiKeys/index.d.mts +2 -0
- package/dist/esm/serialization/resources/apiKeys/index.mjs +2 -0
- package/dist/esm/serialization/resources/apiKeys/types/CreateTokenResponse.d.mts +14 -0
- package/dist/esm/serialization/resources/apiKeys/types/CreateTokenResponse.mjs +9 -0
- package/dist/esm/serialization/resources/apiKeys/types/TokenId.d.mts +10 -0
- package/dist/esm/serialization/resources/apiKeys/types/TokenId.mjs +11 -0
- package/dist/esm/serialization/resources/apiKeys/types/TokenMetadata.d.mts +19 -0
- package/dist/esm/serialization/resources/apiKeys/types/TokenMetadata.mjs +14 -0
- package/dist/esm/serialization/resources/apiKeys/types/TokenStatus.d.mts +19 -0
- package/dist/esm/serialization/resources/apiKeys/types/TokenStatus.mjs +14 -0
- package/dist/esm/serialization/resources/apiKeys/types/index.d.mts +4 -0
- package/dist/esm/serialization/resources/apiKeys/types/index.mjs +4 -0
- package/dist/esm/serialization/resources/index.d.mts +3 -0
- package/dist/esm/serialization/resources/index.mjs +3 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../index.js";
|
|
5
|
+
import * as FernVenusApi from "../../../../../api/index.js";
|
|
6
|
+
import * as core from "../../../../../core/index.js";
|
|
7
|
+
export declare const RevokeApiKeyRequest: core.serialization.Schema<serializers.RevokeApiKeyRequest.Raw, FernVenusApi.RevokeApiKeyRequest>;
|
|
8
|
+
export declare namespace RevokeApiKeyRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
token: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.RevokeApiKeyRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../core/index.js"));
|
|
41
|
+
exports.RevokeApiKeyRequest = core.serialization.object({
|
|
42
|
+
token: core.serialization.string(),
|
|
43
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RevokeApiKeyRequest = exports.GetTokenMetadataRequest = exports.CreateApiKeyRequest = void 0;
|
|
4
|
+
var CreateApiKeyRequest_js_1 = require("./CreateApiKeyRequest.js");
|
|
5
|
+
Object.defineProperty(exports, "CreateApiKeyRequest", { enumerable: true, get: function () { return CreateApiKeyRequest_js_1.CreateApiKeyRequest; } });
|
|
6
|
+
var GetTokenMetadataRequest_js_1 = require("./GetTokenMetadataRequest.js");
|
|
7
|
+
Object.defineProperty(exports, "GetTokenMetadataRequest", { enumerable: true, get: function () { return GetTokenMetadataRequest_js_1.GetTokenMetadataRequest; } });
|
|
8
|
+
var RevokeApiKeyRequest_js_1 = require("./RevokeApiKeyRequest.js");
|
|
9
|
+
Object.defineProperty(exports, "RevokeApiKeyRequest", { enumerable: true, get: function () { return RevokeApiKeyRequest_js_1.RevokeApiKeyRequest; } });
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index.js";
|
|
5
|
+
import * as FernVenusApi from "../../../../api/index.js";
|
|
6
|
+
import * as core from "../../../../core/index.js";
|
|
7
|
+
export declare const Error: core.serialization.Schema<serializers.apiKeys.revokeToken.Error.Raw, FernVenusApi.apiKeys.revokeToken.Error>;
|
|
8
|
+
export declare namespace Error {
|
|
9
|
+
type Raw = Error.UnauthorizedError | Error.TokenNotFoundError;
|
|
10
|
+
interface UnauthorizedError {
|
|
11
|
+
error: "UnauthorizedError";
|
|
12
|
+
}
|
|
13
|
+
interface TokenNotFoundError {
|
|
14
|
+
error: "TokenNotFoundError";
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
39
|
+
var t = {};
|
|
40
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
41
|
+
t[p] = s[p];
|
|
42
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
43
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
44
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
45
|
+
t[p[i]] = s[p[i]];
|
|
46
|
+
}
|
|
47
|
+
return t;
|
|
48
|
+
};
|
|
49
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
|
+
exports.Error = void 0;
|
|
51
|
+
const FernVenusApi = __importStar(require("../../../../api/index.js"));
|
|
52
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
53
|
+
exports.Error = core.serialization
|
|
54
|
+
.union("error", {
|
|
55
|
+
UnauthorizedError: core.serialization.object({}),
|
|
56
|
+
TokenNotFoundError: core.serialization.object({}),
|
|
57
|
+
})
|
|
58
|
+
.transform({
|
|
59
|
+
transform: (value) => {
|
|
60
|
+
switch (value.error) {
|
|
61
|
+
case "UnauthorizedError":
|
|
62
|
+
return FernVenusApi.apiKeys.revokeToken.Error.unauthorizedError();
|
|
63
|
+
case "TokenNotFoundError":
|
|
64
|
+
return FernVenusApi.apiKeys.revokeToken.Error.tokenNotFoundError();
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
untransform: (_a) => {
|
|
68
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
69
|
+
return value;
|
|
70
|
+
},
|
|
71
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index.js";
|
|
5
|
+
import * as FernVenusApi from "../../../../api/index.js";
|
|
6
|
+
import * as core from "../../../../core/index.js";
|
|
7
|
+
export declare const Error: core.serialization.Schema<serializers.apiKeys.revokeTokenById.Error.Raw, FernVenusApi.apiKeys.revokeTokenById.Error>;
|
|
8
|
+
export declare namespace Error {
|
|
9
|
+
type Raw = Error.UnauthorizedError | Error.TokenNotFoundError;
|
|
10
|
+
interface UnauthorizedError {
|
|
11
|
+
error: "UnauthorizedError";
|
|
12
|
+
}
|
|
13
|
+
interface TokenNotFoundError {
|
|
14
|
+
error: "TokenNotFoundError";
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
39
|
+
var t = {};
|
|
40
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
41
|
+
t[p] = s[p];
|
|
42
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
43
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
44
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
45
|
+
t[p[i]] = s[p[i]];
|
|
46
|
+
}
|
|
47
|
+
return t;
|
|
48
|
+
};
|
|
49
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
|
+
exports.Error = void 0;
|
|
51
|
+
const FernVenusApi = __importStar(require("../../../../api/index.js"));
|
|
52
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
53
|
+
exports.Error = core.serialization
|
|
54
|
+
.union("error", {
|
|
55
|
+
UnauthorizedError: core.serialization.object({}),
|
|
56
|
+
TokenNotFoundError: core.serialization.object({}),
|
|
57
|
+
})
|
|
58
|
+
.transform({
|
|
59
|
+
transform: (value) => {
|
|
60
|
+
switch (value.error) {
|
|
61
|
+
case "UnauthorizedError":
|
|
62
|
+
return FernVenusApi.apiKeys.revokeTokenById.Error.unauthorizedError();
|
|
63
|
+
case "TokenNotFoundError":
|
|
64
|
+
return FernVenusApi.apiKeys.revokeTokenById.Error.tokenNotFoundError();
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
untransform: (_a) => {
|
|
68
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
69
|
+
return value;
|
|
70
|
+
},
|
|
71
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types/index.js"), exports);
|
|
18
|
+
__exportStar(require("./client/index.js"), exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index.js";
|
|
5
|
+
import * as FernVenusApi from "../../../../api/index.js";
|
|
6
|
+
import * as core from "../../../../core/index.js";
|
|
7
|
+
import { TokenId } from "./TokenId.js";
|
|
8
|
+
export declare const CreateTokenResponse: core.serialization.ObjectSchema<serializers.CreateTokenResponse.Raw, FernVenusApi.CreateTokenResponse>;
|
|
9
|
+
export declare namespace CreateTokenResponse {
|
|
10
|
+
interface Raw {
|
|
11
|
+
token: string;
|
|
12
|
+
tokenId: TokenId.Raw;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CreateTokenResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
41
|
+
const TokenId_js_1 = require("./TokenId.js");
|
|
42
|
+
exports.CreateTokenResponse = core.serialization.object({
|
|
43
|
+
token: core.serialization.string(),
|
|
44
|
+
tokenId: TokenId_js_1.TokenId,
|
|
45
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index.js";
|
|
5
|
+
import * as FernVenusApi from "../../../../api/index.js";
|
|
6
|
+
import * as core from "../../../../core/index.js";
|
|
7
|
+
export declare const TokenId: core.serialization.Schema<serializers.TokenId.Raw, FernVenusApi.TokenId>;
|
|
8
|
+
export declare namespace TokenId {
|
|
9
|
+
type Raw = string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TokenId = void 0;
|
|
40
|
+
const FernVenusApi = __importStar(require("../../../../api/index.js"));
|
|
41
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
42
|
+
exports.TokenId = core.serialization
|
|
43
|
+
.string()
|
|
44
|
+
.transform({
|
|
45
|
+
transform: FernVenusApi.TokenId,
|
|
46
|
+
untransform: (value) => value,
|
|
47
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index.js";
|
|
5
|
+
import * as FernVenusApi from "../../../../api/index.js";
|
|
6
|
+
import * as core from "../../../../core/index.js";
|
|
7
|
+
import { TokenId } from "./TokenId.js";
|
|
8
|
+
import { OrganizationId } from "../../commons/types/OrganizationId.js";
|
|
9
|
+
import { TokenStatus } from "./TokenStatus.js";
|
|
10
|
+
export declare const TokenMetadata: core.serialization.ObjectSchema<serializers.TokenMetadata.Raw, FernVenusApi.TokenMetadata>;
|
|
11
|
+
export declare namespace TokenMetadata {
|
|
12
|
+
interface Raw {
|
|
13
|
+
tokenId: TokenId.Raw;
|
|
14
|
+
organizationId: OrganizationId.Raw;
|
|
15
|
+
description?: string | null;
|
|
16
|
+
createdTime: string;
|
|
17
|
+
status: TokenStatus.Raw;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TokenMetadata = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
41
|
+
const TokenId_js_1 = require("./TokenId.js");
|
|
42
|
+
const OrganizationId_js_1 = require("../../commons/types/OrganizationId.js");
|
|
43
|
+
const TokenStatus_js_1 = require("./TokenStatus.js");
|
|
44
|
+
exports.TokenMetadata = core.serialization.object({
|
|
45
|
+
tokenId: TokenId_js_1.TokenId,
|
|
46
|
+
organizationId: OrganizationId_js_1.OrganizationId,
|
|
47
|
+
description: core.serialization.string().optional(),
|
|
48
|
+
createdTime: core.serialization.date(),
|
|
49
|
+
status: TokenStatus_js_1.TokenStatus,
|
|
50
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index.js";
|
|
5
|
+
import * as FernVenusApi from "../../../../api/index.js";
|
|
6
|
+
import * as core from "../../../../core/index.js";
|
|
7
|
+
export declare const TokenStatus: core.serialization.Schema<serializers.TokenStatus.Raw, FernVenusApi.TokenStatus>;
|
|
8
|
+
export declare namespace TokenStatus {
|
|
9
|
+
type Raw = TokenStatus.Active | TokenStatus.Expired | TokenStatus.Revoked;
|
|
10
|
+
interface Active {
|
|
11
|
+
type: "active";
|
|
12
|
+
}
|
|
13
|
+
interface Expired {
|
|
14
|
+
type: "expired";
|
|
15
|
+
}
|
|
16
|
+
interface Revoked {
|
|
17
|
+
type: "revoked";
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TokenStatus = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
41
|
+
exports.TokenStatus = core.serialization
|
|
42
|
+
.union("type", {
|
|
43
|
+
active: core.serialization.object({}),
|
|
44
|
+
expired: core.serialization.object({}),
|
|
45
|
+
revoked: core.serialization.object({}),
|
|
46
|
+
})
|
|
47
|
+
.transform({
|
|
48
|
+
transform: (value) => value,
|
|
49
|
+
untransform: (value) => value,
|
|
50
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./TokenId.js"), exports);
|
|
18
|
+
__exportStar(require("./CreateTokenResponse.js"), exports);
|
|
19
|
+
__exportStar(require("./TokenMetadata.js"), exports);
|
|
20
|
+
__exportStar(require("./TokenStatus.js"), exports);
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export * as apiKeys from "./apiKeys/index.js";
|
|
2
|
+
export * from "./apiKeys/types/index.js";
|
|
1
3
|
export * as commons from "./commons/index.js";
|
|
2
4
|
export * from "./commons/types/index.js";
|
|
3
5
|
export * as organization from "./organization/index.js";
|
|
@@ -6,5 +8,6 @@ export * as registry from "./registry/index.js";
|
|
|
6
8
|
export * from "./registry/types/index.js";
|
|
7
9
|
export * as user from "./user/index.js";
|
|
8
10
|
export * from "./user/types/index.js";
|
|
11
|
+
export * from "./apiKeys/client/requests/index.js";
|
|
9
12
|
export * from "./organization/client/requests/index.js";
|
|
10
13
|
export * from "./registry/client/requests/index.js";
|
|
@@ -36,7 +36,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.user = exports.registry = exports.organization = exports.commons = void 0;
|
|
39
|
+
exports.user = exports.registry = exports.organization = exports.commons = exports.apiKeys = void 0;
|
|
40
|
+
exports.apiKeys = __importStar(require("./apiKeys/index.js"));
|
|
41
|
+
__exportStar(require("./apiKeys/types/index.js"), exports);
|
|
40
42
|
exports.commons = __importStar(require("./commons/index.js"));
|
|
41
43
|
__exportStar(require("./commons/types/index.js"), exports);
|
|
42
44
|
exports.organization = __importStar(require("./organization/index.js"));
|
|
@@ -45,5 +47,6 @@ exports.registry = __importStar(require("./registry/index.js"));
|
|
|
45
47
|
__exportStar(require("./registry/types/index.js"), exports);
|
|
46
48
|
exports.user = __importStar(require("./user/index.js"));
|
|
47
49
|
__exportStar(require("./user/types/index.js"), exports);
|
|
50
|
+
__exportStar(require("./apiKeys/client/requests/index.js"), exports);
|
|
48
51
|
__exportStar(require("./organization/client/requests/index.js"), exports);
|
|
49
52
|
__exportStar(require("./registry/client/requests/index.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.19.
|
|
1
|
+
export declare const SDK_VERSION = "0.19.9-2-g3439b27";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.d.mts
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as environments from "./environments.mjs";
|
|
5
5
|
import * as core from "./core/index.mjs";
|
|
6
|
+
import { ApiKeys } from "./api/resources/apiKeys/client/Client.mjs";
|
|
6
7
|
import { Organization } from "./api/resources/organization/client/Client.mjs";
|
|
7
8
|
import { Registry } from "./api/resources/registry/client/Client.mjs";
|
|
8
9
|
import { User } from "./api/resources/user/client/Client.mjs";
|
|
@@ -30,10 +31,12 @@ export declare namespace FernVenusApiClient {
|
|
|
30
31
|
}
|
|
31
32
|
export declare class FernVenusApiClient {
|
|
32
33
|
protected readonly _options: FernVenusApiClient.Options;
|
|
34
|
+
protected _apiKeys: ApiKeys | undefined;
|
|
33
35
|
protected _organization: Organization | undefined;
|
|
34
36
|
protected _registry: Registry | undefined;
|
|
35
37
|
protected _user: User | undefined;
|
|
36
38
|
constructor(_options?: FernVenusApiClient.Options);
|
|
39
|
+
get apiKeys(): ApiKeys;
|
|
37
40
|
get organization(): Organization;
|
|
38
41
|
get registry(): Registry;
|
|
39
42
|
get user(): User;
|