@fern-api/venus-api-sdk 15.2.0 → 15.4.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/Client.d.ts +3 -0
- package/dist/cjs/Client.js +19 -14
- package/dist/cjs/api/resources/admin/client/Client.d.ts +22 -0
- package/dist/cjs/api/resources/admin/client/Client.js +134 -0
- package/dist/cjs/api/resources/admin/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/admin/client/index.js +41 -0
- package/dist/cjs/api/resources/admin/client/listClaimableOrganizations.d.ts +25 -0
- package/dist/cjs/api/resources/admin/client/listClaimableOrganizations.js +66 -0
- package/dist/cjs/api/resources/admin/client/requests/ListClaimableOrganizationsAdminClaimableOrganizationsGetRequest.d.ts +8 -0
- package/dist/cjs/api/resources/admin/client/requests/ListClaimableOrganizationsAdminClaimableOrganizationsGetRequest.js +3 -0
- package/dist/cjs/api/resources/admin/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/admin/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/admin/index.d.ts +1 -0
- package/dist/cjs/api/resources/admin/index.js +17 -0
- package/dist/cjs/api/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/index.js +3 -1
- package/dist/cjs/api/resources/internalGuestSession/client/requests/SettleRequest.d.ts +1 -0
- package/dist/cjs/api/types/ClaimableOrganizationItem.d.ts +8 -0
- package/dist/cjs/api/types/ClaimableOrganizationItem.js +3 -0
- package/dist/cjs/api/types/ClaimableOrganizationItemPublisherType.d.ts +6 -0
- package/dist/cjs/api/types/ClaimableOrganizationItemPublisherType.js +9 -0
- package/dist/cjs/api/types/ClaimableOrganizationsPage.d.ts +5 -0
- package/dist/cjs/api/types/ClaimableOrganizationsPage.js +3 -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 +4 -0
- package/dist/cjs/api/types/index.js +4 -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/ClaimableOrganizationItem.d.ts +14 -0
- package/dist/cjs/serialization/types/ClaimableOrganizationItem.js +46 -0
- package/dist/cjs/serialization/types/ClaimableOrganizationItemPublisherType.d.ts +7 -0
- package/dist/cjs/serialization/types/ClaimableOrganizationItemPublisherType.js +39 -0
- package/dist/cjs/serialization/types/ClaimableOrganizationsPage.d.ts +11 -0
- package/dist/cjs/serialization/types/ClaimableOrganizationsPage.js +43 -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 +4 -0
- package/dist/cjs/serialization/types/index.js +4 -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/Client.d.mts +3 -0
- package/dist/esm/Client.mjs +5 -0
- package/dist/esm/api/resources/admin/client/Client.d.mts +22 -0
- package/dist/esm/api/resources/admin/client/Client.mjs +97 -0
- package/dist/esm/api/resources/admin/client/index.d.mts +2 -0
- package/dist/esm/api/resources/admin/client/index.mjs +2 -0
- package/dist/esm/api/resources/admin/client/listClaimableOrganizations.d.mts +25 -0
- package/dist/esm/api/resources/admin/client/listClaimableOrganizations.mjs +30 -0
- package/dist/esm/api/resources/admin/client/requests/ListClaimableOrganizationsAdminClaimableOrganizationsGetRequest.d.mts +8 -0
- package/dist/esm/api/resources/admin/client/requests/ListClaimableOrganizationsAdminClaimableOrganizationsGetRequest.mjs +2 -0
- package/dist/esm/api/resources/admin/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/admin/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/admin/index.d.mts +1 -0
- package/dist/esm/api/resources/admin/index.mjs +1 -0
- package/dist/esm/api/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/index.mjs +2 -0
- package/dist/esm/api/resources/internalGuestSession/client/requests/SettleRequest.d.mts +1 -0
- package/dist/esm/api/types/ClaimableOrganizationItem.d.mts +8 -0
- package/dist/esm/api/types/ClaimableOrganizationItem.mjs +2 -0
- package/dist/esm/api/types/ClaimableOrganizationItemPublisherType.d.mts +6 -0
- package/dist/esm/api/types/ClaimableOrganizationItemPublisherType.mjs +6 -0
- package/dist/esm/api/types/ClaimableOrganizationsPage.d.mts +5 -0
- package/dist/esm/api/types/ClaimableOrganizationsPage.mjs +2 -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 +4 -0
- package/dist/esm/api/types/index.mjs +4 -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/ClaimableOrganizationItem.d.mts +14 -0
- package/dist/esm/serialization/types/ClaimableOrganizationItem.mjs +10 -0
- package/dist/esm/serialization/types/ClaimableOrganizationItemPublisherType.d.mts +7 -0
- package/dist/esm/serialization/types/ClaimableOrganizationItemPublisherType.mjs +3 -0
- package/dist/esm/serialization/types/ClaimableOrganizationsPage.d.mts +11 -0
- package/dist/esm/serialization/types/ClaimableOrganizationsPage.mjs +7 -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 +4 -0
- package/dist/esm/serialization/types/index.mjs +4 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +50 -0
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
export * from "./Active.mjs";
|
|
2
|
+
export * from "./ClaimableOrganizationItem.mjs";
|
|
3
|
+
export * from "./ClaimableOrganizationItemPublisherType.mjs";
|
|
4
|
+
export * from "./ClaimableOrganizationsPage.mjs";
|
|
2
5
|
export * from "./ClaimGuestSessionResponse.mjs";
|
|
3
6
|
export * from "./ClaimGuestSessionResponseStatus.mjs";
|
|
4
7
|
export * from "./ClaimOrganizationRequest.mjs";
|
|
@@ -52,6 +55,7 @@ export * from "./Revoked.mjs";
|
|
|
52
55
|
export * from "./ServiceUnavailableErrorBody.mjs";
|
|
53
56
|
export * from "./ServiceUnavailableErrorBodyContent.mjs";
|
|
54
57
|
export * from "./ServiceUnavailableErrorBodyContentCode.mjs";
|
|
58
|
+
export * from "./SettleArtifact.mjs";
|
|
55
59
|
export * from "./SettleResponse.mjs";
|
|
56
60
|
export * from "./SettleResponseReason.mjs";
|
|
57
61
|
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,14 @@
|
|
|
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
|
+
import { ClaimableOrganizationItemPublisherType } from "./ClaimableOrganizationItemPublisherType.mjs";
|
|
5
|
+
export declare const ClaimableOrganizationItem: core.serialization.ObjectSchema<serializers.ClaimableOrganizationItem.Raw, FernVenusApi.ClaimableOrganizationItem>;
|
|
6
|
+
export declare namespace ClaimableOrganizationItem {
|
|
7
|
+
interface Raw {
|
|
8
|
+
orgId: string;
|
|
9
|
+
status: string;
|
|
10
|
+
publisherType?: ClaimableOrganizationItemPublisherType.Raw | null;
|
|
11
|
+
createdAt: string;
|
|
12
|
+
claimedAt?: string | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import { ClaimableOrganizationItemPublisherType } from "./ClaimableOrganizationItemPublisherType.mjs";
|
|
4
|
+
export const ClaimableOrganizationItem = core.serialization.object({
|
|
5
|
+
orgId: core.serialization.string(),
|
|
6
|
+
status: core.serialization.string(),
|
|
7
|
+
publisherType: ClaimableOrganizationItemPublisherType.nullable(),
|
|
8
|
+
createdAt: core.serialization.date(),
|
|
9
|
+
claimedAt: core.serialization.date().nullable(),
|
|
10
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
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 ClaimableOrganizationItemPublisherType: core.serialization.Schema<serializers.ClaimableOrganizationItemPublisherType.Raw, FernVenusApi.ClaimableOrganizationItemPublisherType>;
|
|
5
|
+
export declare namespace ClaimableOrganizationItemPublisherType {
|
|
6
|
+
type Raw = "postman_team" | "postman_user" | "github_repo";
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
import { ClaimableOrganizationItem } from "./ClaimableOrganizationItem.mjs";
|
|
5
|
+
export declare const ClaimableOrganizationsPage: core.serialization.ObjectSchema<serializers.ClaimableOrganizationsPage.Raw, FernVenusApi.ClaimableOrganizationsPage>;
|
|
6
|
+
export declare namespace ClaimableOrganizationsPage {
|
|
7
|
+
interface Raw {
|
|
8
|
+
organizations: ClaimableOrganizationItem.Raw[];
|
|
9
|
+
nextAfter?: string | null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import { ClaimableOrganizationItem } from "./ClaimableOrganizationItem.mjs";
|
|
4
|
+
export const ClaimableOrganizationsPage = core.serialization.object({
|
|
5
|
+
organizations: core.serialization.list(ClaimableOrganizationItem),
|
|
6
|
+
nextAfter: core.serialization.string().nullable(),
|
|
7
|
+
});
|
|
@@ -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
|
+
});
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
export * from "./Active.mjs";
|
|
2
|
+
export * from "./ClaimableOrganizationItem.mjs";
|
|
3
|
+
export * from "./ClaimableOrganizationItemPublisherType.mjs";
|
|
4
|
+
export * from "./ClaimableOrganizationsPage.mjs";
|
|
2
5
|
export * from "./ClaimGuestSessionResponse.mjs";
|
|
3
6
|
export * from "./ClaimGuestSessionResponseStatus.mjs";
|
|
4
7
|
export * from "./ClaimOrganizationRequest.mjs";
|
|
@@ -52,6 +55,7 @@ export * from "./Revoked.mjs";
|
|
|
52
55
|
export * from "./ServiceUnavailableErrorBody.mjs";
|
|
53
56
|
export * from "./ServiceUnavailableErrorBodyContent.mjs";
|
|
54
57
|
export * from "./ServiceUnavailableErrorBodyContentCode.mjs";
|
|
58
|
+
export * from "./SettleArtifact.mjs";
|
|
55
59
|
export * from "./SettleResponse.mjs";
|
|
56
60
|
export * from "./SettleResponseReason.mjs";
|
|
57
61
|
export * from "./TokenMetadata.mjs";
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
export * from "./Active.mjs";
|
|
2
|
+
export * from "./ClaimableOrganizationItem.mjs";
|
|
3
|
+
export * from "./ClaimableOrganizationItemPublisherType.mjs";
|
|
4
|
+
export * from "./ClaimableOrganizationsPage.mjs";
|
|
2
5
|
export * from "./ClaimGuestSessionResponse.mjs";
|
|
3
6
|
export * from "./ClaimGuestSessionResponseStatus.mjs";
|
|
4
7
|
export * from "./ClaimOrganizationRequest.mjs";
|
|
@@ -52,6 +55,7 @@ export * from "./Revoked.mjs";
|
|
|
52
55
|
export * from "./ServiceUnavailableErrorBody.mjs";
|
|
53
56
|
export * from "./ServiceUnavailableErrorBodyContent.mjs";
|
|
54
57
|
export * from "./ServiceUnavailableErrorBodyContentCode.mjs";
|
|
58
|
+
export * from "./SettleArtifact.mjs";
|
|
55
59
|
export * from "./SettleResponse.mjs";
|
|
56
60
|
export * from "./SettleResponseReason.mjs";
|
|
57
61
|
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.4.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "15.
|
|
1
|
+
export const SDK_VERSION = "15.4.0";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -2845,6 +2845,56 @@ await client.internalGuestSession.settle({
|
|
|
2845
2845
|
</dl>
|
|
2846
2846
|
|
|
2847
2847
|
|
|
2848
|
+
</dd>
|
|
2849
|
+
</dl>
|
|
2850
|
+
</details>
|
|
2851
|
+
|
|
2852
|
+
## Admin
|
|
2853
|
+
<details><summary><code>client.admin.<a href="/src/api/resources/admin/client/Client.ts">listClaimableOrganizations</a>({ ...params }) -> core.APIResponse<FernVenusApi.ClaimableOrganizationsPage, FernVenusApi.admin.listClaimableOrganizations.Error></code></summary>
|
|
2854
|
+
<dl>
|
|
2855
|
+
<dd>
|
|
2856
|
+
|
|
2857
|
+
#### 🔌 Usage
|
|
2858
|
+
|
|
2859
|
+
<dl>
|
|
2860
|
+
<dd>
|
|
2861
|
+
|
|
2862
|
+
<dl>
|
|
2863
|
+
<dd>
|
|
2864
|
+
|
|
2865
|
+
```typescript
|
|
2866
|
+
await client.admin.listClaimableOrganizations();
|
|
2867
|
+
|
|
2868
|
+
```
|
|
2869
|
+
</dd>
|
|
2870
|
+
</dl>
|
|
2871
|
+
</dd>
|
|
2872
|
+
</dl>
|
|
2873
|
+
|
|
2874
|
+
#### ⚙️ Parameters
|
|
2875
|
+
|
|
2876
|
+
<dl>
|
|
2877
|
+
<dd>
|
|
2878
|
+
|
|
2879
|
+
<dl>
|
|
2880
|
+
<dd>
|
|
2881
|
+
|
|
2882
|
+
**request:** `FernVenusApi.ListClaimableOrganizationsAdminClaimableOrganizationsGetRequest`
|
|
2883
|
+
|
|
2884
|
+
</dd>
|
|
2885
|
+
</dl>
|
|
2886
|
+
|
|
2887
|
+
<dl>
|
|
2888
|
+
<dd>
|
|
2889
|
+
|
|
2890
|
+
**requestOptions:** `AdminClient.RequestOptions`
|
|
2891
|
+
|
|
2892
|
+
</dd>
|
|
2893
|
+
</dl>
|
|
2894
|
+
</dd>
|
|
2895
|
+
</dl>
|
|
2896
|
+
|
|
2897
|
+
|
|
2848
2898
|
</dd>
|
|
2849
2899
|
</dl>
|
|
2850
2900
|
</details>
|