@openrouter/sdk 1.3.36 → 1.4.1

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.
Files changed (146) hide show
  1. package/esm/funcs/internsCreateIntern.d.ts +1 -1
  2. package/esm/funcs/internsCreateIntern.js +1 -1
  3. package/esm/funcs/internsDeleteIntern.d.ts +1 -1
  4. package/esm/funcs/internsDeleteIntern.js +1 -1
  5. package/esm/funcs/internsGetIntern.d.ts +1 -1
  6. package/esm/funcs/internsGetIntern.js +1 -1
  7. package/esm/funcs/internsGetInternDaemon.d.ts +1 -1
  8. package/esm/funcs/internsGetInternDaemon.js +1 -1
  9. package/esm/funcs/internsGetInternDaemonAccess.d.ts +1 -1
  10. package/esm/funcs/internsGetInternDaemonAccess.js +1 -1
  11. package/esm/funcs/internsListInterns.d.ts +1 -1
  12. package/esm/funcs/internsListInterns.js +1 -1
  13. package/esm/funcs/internsProvisionIntern.d.ts +1 -1
  14. package/esm/funcs/internsProvisionIntern.js +1 -1
  15. package/esm/funcs/internsSuspendIntern.d.ts +1 -1
  16. package/esm/funcs/internsSuspendIntern.js +1 -1
  17. package/esm/funcs/internsUpdateIntern.d.ts +1 -1
  18. package/esm/funcs/internsUpdateIntern.js +1 -1
  19. package/esm/funcs/privateEndpointsActivate.d.ts +19 -0
  20. package/esm/funcs/privateEndpointsActivate.js +103 -0
  21. package/esm/funcs/privateEndpointsCreate.d.ts +19 -0
  22. package/esm/funcs/privateEndpointsCreate.js +101 -0
  23. package/esm/funcs/privateEndpointsDelete.d.ts +19 -0
  24. package/esm/funcs/privateEndpointsDelete.js +107 -0
  25. package/esm/funcs/privateEndpointsDisable.d.ts +19 -0
  26. package/esm/funcs/privateEndpointsDisable.js +103 -0
  27. package/esm/funcs/privateEndpointsEnable.d.ts +19 -0
  28. package/esm/funcs/privateEndpointsEnable.js +103 -0
  29. package/esm/funcs/privateEndpointsGet.d.ts +19 -0
  30. package/esm/funcs/privateEndpointsGet.js +103 -0
  31. package/esm/funcs/privateEndpointsList.d.ts +19 -0
  32. package/esm/funcs/privateEndpointsList.js +97 -0
  33. package/esm/funcs/privateEndpointsUpdate.d.ts +19 -0
  34. package/esm/funcs/privateEndpointsUpdate.js +106 -0
  35. package/esm/funcs/privateEndpointsUpdatePricing.d.ts +19 -0
  36. package/esm/funcs/privateEndpointsUpdatePricing.js +106 -0
  37. package/esm/funcs/privateEndpointsValidate.d.ts +19 -0
  38. package/esm/funcs/privateEndpointsValidate.js +106 -0
  39. package/esm/funcs/vaultCopyVaultSecretsToIntern.d.ts +1 -1
  40. package/esm/funcs/vaultCopyVaultSecretsToIntern.js +1 -1
  41. package/esm/funcs/vaultDeleteInternVaultSecret.d.ts +1 -1
  42. package/esm/funcs/vaultDeleteInternVaultSecret.js +1 -1
  43. package/esm/funcs/vaultDeleteVaultSecret.d.ts +1 -1
  44. package/esm/funcs/vaultDeleteVaultSecret.js +1 -1
  45. package/esm/funcs/vaultListInternEffectiveVaultSecrets.d.ts +21 -0
  46. package/esm/funcs/vaultListInternEffectiveVaultSecrets.js +110 -0
  47. package/esm/funcs/vaultListInternVaultSecrets.d.ts +1 -1
  48. package/esm/funcs/vaultListInternVaultSecrets.js +1 -1
  49. package/esm/funcs/vaultListVaultSecrets.d.ts +1 -1
  50. package/esm/funcs/vaultListVaultSecrets.js +1 -1
  51. package/esm/funcs/vaultStoreInternVaultSecret.d.ts +1 -1
  52. package/esm/funcs/vaultStoreInternVaultSecret.js +1 -1
  53. package/esm/funcs/vaultStoreVaultSecret.d.ts +1 -1
  54. package/esm/funcs/vaultStoreVaultSecret.js +1 -1
  55. package/esm/lib/config.d.ts +2 -2
  56. package/esm/lib/config.js +2 -2
  57. package/esm/models/createprivateendpointrequest.d.ts +67 -0
  58. package/esm/models/createprivateendpointrequest.js +44 -0
  59. package/esm/models/createprivateendpointvalidationfailedresponseerror.d.ts +20 -0
  60. package/esm/models/createprivateendpointvalidationfailedresponseerror.js +27 -0
  61. package/esm/models/deleteprivateendpointresponse.d.ts +19 -0
  62. package/esm/models/deleteprivateendpointresponse.js +21 -0
  63. package/esm/models/errors/createprivateendpoint.d.ts +45 -0
  64. package/esm/models/errors/createprivateendpoint.js +53 -0
  65. package/esm/models/errors/createprivateendpointvalidationfailedresponseerror.d.ts +21 -0
  66. package/esm/models/errors/createprivateendpointvalidationfailedresponseerror.js +35 -0
  67. package/esm/models/errors/index.d.ts +2 -0
  68. package/esm/models/errors/index.js +2 -0
  69. package/esm/models/index.d.ts +23 -0
  70. package/esm/models/index.js +23 -0
  71. package/esm/models/listprivateendpointsresponse.d.ts +11 -0
  72. package/esm/models/listprivateendpointsresponse.js +15 -0
  73. package/esm/models/managedprivateendpoint.d.ts +47 -0
  74. package/esm/models/managedprivateendpoint.js +35 -0
  75. package/esm/models/managedprivateendpointresponse.d.ts +11 -0
  76. package/esm/models/managedprivateendpointresponse.js +15 -0
  77. package/esm/models/operations/activateprivateendpoint.d.ts +58 -0
  78. package/esm/models/operations/activateprivateendpoint.js +21 -0
  79. package/esm/models/operations/createprivateendpoint.d.ts +61 -0
  80. package/esm/models/operations/createprivateendpoint.js +25 -0
  81. package/esm/models/operations/deleteprivateendpoint.d.ts +77 -0
  82. package/esm/models/operations/deleteprivateendpoint.js +34 -0
  83. package/esm/models/operations/disableprivateendpoint.d.ts +58 -0
  84. package/esm/models/operations/disableprivateendpoint.js +21 -0
  85. package/esm/models/operations/enableprivateendpoint.d.ts +58 -0
  86. package/esm/models/operations/enableprivateendpoint.js +21 -0
  87. package/esm/models/operations/getprivateendpoint.d.ts +58 -0
  88. package/esm/models/operations/getprivateendpoint.js +21 -0
  89. package/esm/models/operations/index.d.ts +11 -0
  90. package/esm/models/operations/index.js +11 -0
  91. package/esm/models/operations/listinterneffectivevaultsecrets.d.ts +68 -0
  92. package/esm/models/operations/listinterneffectivevaultsecrets.js +23 -0
  93. package/esm/models/operations/listprivateendpoints.d.ts +53 -0
  94. package/esm/models/operations/listprivateendpoints.js +20 -0
  95. package/esm/models/operations/updateprivateendpoint.d.ts +61 -0
  96. package/esm/models/operations/updateprivateendpoint.js +24 -0
  97. package/esm/models/operations/updateprivateendpointpricing.d.ts +61 -0
  98. package/esm/models/operations/updateprivateendpointpricing.js +24 -0
  99. package/esm/models/operations/validateprivateendpoint.d.ts +61 -0
  100. package/esm/models/operations/validateprivateendpoint.js +24 -0
  101. package/esm/models/privateendpoint.d.ts +60 -0
  102. package/esm/models/privateendpoint.js +41 -0
  103. package/esm/models/privateendpointactivation.d.ts +18 -0
  104. package/esm/models/privateendpointactivation.js +18 -0
  105. package/esm/models/privateendpointcheck.d.ts +31 -0
  106. package/esm/models/privateendpointcheck.js +27 -0
  107. package/esm/models/privateendpointcheckreason.d.ts +30 -0
  108. package/esm/models/privateendpointcheckreason.js +29 -0
  109. package/esm/models/privateendpointdeclaredregion.d.ts +17 -0
  110. package/esm/models/privateendpointdeclaredregion.js +16 -0
  111. package/esm/models/privateendpointpricing.d.ts +28 -0
  112. package/esm/models/privateendpointpricing.js +23 -0
  113. package/esm/models/privateendpointresponse.d.ts +11 -0
  114. package/esm/models/privateendpointresponse.js +15 -0
  115. package/esm/models/privateendpointstatus.d.ts +17 -0
  116. package/esm/models/privateendpointstatus.js +16 -0
  117. package/esm/models/privateendpointsummary.d.ts +38 -0
  118. package/esm/models/privateendpointsummary.js +30 -0
  119. package/esm/models/privateendpointvalidation.d.ts +15 -0
  120. package/esm/models/privateendpointvalidation.js +16 -0
  121. package/esm/models/privateendpointvalidationnullable.d.ts +15 -0
  122. package/esm/models/privateendpointvalidationnullable.js +16 -0
  123. package/esm/models/privateendpointvalidationresponse.d.ts +11 -0
  124. package/esm/models/privateendpointvalidationresponse.js +15 -0
  125. package/esm/models/tokenexchangerequest.d.ts +4 -4
  126. package/esm/models/tokenexchangerequest.js +3 -3
  127. package/esm/models/updateprivateendpointpricingrequest.d.ts +16 -0
  128. package/esm/models/updateprivateendpointpricingrequest.js +14 -0
  129. package/esm/models/updateprivateendpointrequest.d.ts +45 -0
  130. package/esm/models/updateprivateendpointrequest.js +36 -0
  131. package/esm/models/validateprivateendpointrequest.d.ts +15 -0
  132. package/esm/models/validateprivateendpointrequest.js +18 -0
  133. package/esm/models/vaulteffectivesecret.d.ts +35 -0
  134. package/esm/models/vaulteffectivesecret.js +34 -0
  135. package/esm/models/vaulteffectivesecretlistresponse.d.ts +18 -0
  136. package/esm/models/vaulteffectivesecretlistresponse.js +21 -0
  137. package/esm/sdk/interns.d.ts +9 -9
  138. package/esm/sdk/interns.js +9 -9
  139. package/esm/sdk/privateendpoints.d.ts +76 -0
  140. package/esm/sdk/privateendpoints.js +109 -0
  141. package/esm/sdk/sdk.d.ts +3 -0
  142. package/esm/sdk/sdk.js +4 -0
  143. package/esm/sdk/vault.d.ts +14 -7
  144. package/esm/sdk/vault.js +17 -7
  145. package/jsr.json +1 -1
  146. package/package.json +8 -8
@@ -0,0 +1,11 @@
1
+ import * as z from "zod/v4";
2
+ import { Result as SafeParseResult } from "../types/fp.js";
3
+ import { SDKValidationError } from "./errors/sdkvalidationerror.js";
4
+ import { ManagedPrivateEndpoint } from "./managedprivateendpoint.js";
5
+ export type ManagedPrivateEndpointResponse = {
6
+ data: ManagedPrivateEndpoint;
7
+ };
8
+ /** @internal */
9
+ export declare const ManagedPrivateEndpointResponse$inboundSchema: z.ZodType<ManagedPrivateEndpointResponse, unknown>;
10
+ export declare function managedPrivateEndpointResponseFromJSON(jsonString: string): SafeParseResult<ManagedPrivateEndpointResponse, SDKValidationError>;
11
+ //# sourceMappingURL=managedprivateendpointresponse.d.ts.map
@@ -0,0 +1,15 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 24ff2f9760bd
4
+ */
5
+ import * as z from "zod/v4";
6
+ import { safeParse } from "../lib/schemas.js";
7
+ import { ManagedPrivateEndpoint$inboundSchema, } from "./managedprivateendpoint.js";
8
+ /** @internal */
9
+ export const ManagedPrivateEndpointResponse$inboundSchema = z.object({
10
+ data: ManagedPrivateEndpoint$inboundSchema,
11
+ });
12
+ export function managedPrivateEndpointResponseFromJSON(jsonString) {
13
+ return safeParse(jsonString, (x) => ManagedPrivateEndpointResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ManagedPrivateEndpointResponse' from JSON`);
14
+ }
15
+ //# sourceMappingURL=managedprivateendpointresponse.js.map
@@ -0,0 +1,58 @@
1
+ import * as z from "zod/v4";
2
+ export type ActivatePrivateEndpointGlobals = {
3
+ /**
4
+ * The app identifier should be your app's URL and is used as the primary identifier for rankings.
5
+ *
6
+ * @remarks
7
+ * This is used to track API usage per application.
8
+ */
9
+ httpReferer?: string | undefined;
10
+ /**
11
+ * The app display name allows you to customize how your app appears in OpenRouter's dashboard.
12
+ *
13
+ * @remarks
14
+ */
15
+ appTitle?: string | undefined;
16
+ /**
17
+ * Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings.
18
+ *
19
+ * @remarks
20
+ */
21
+ appCategories?: string | undefined;
22
+ };
23
+ export type ActivatePrivateEndpointRequest = {
24
+ /**
25
+ * The app identifier should be your app's URL and is used as the primary identifier for rankings.
26
+ *
27
+ * @remarks
28
+ * This is used to track API usage per application.
29
+ */
30
+ httpReferer?: string | undefined;
31
+ /**
32
+ * The app display name allows you to customize how your app appears in OpenRouter's dashboard.
33
+ *
34
+ * @remarks
35
+ */
36
+ appTitle?: string | undefined;
37
+ /**
38
+ * Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings.
39
+ *
40
+ * @remarks
41
+ */
42
+ appCategories?: string | undefined;
43
+ /**
44
+ * Stable identifier of the private endpoint.
45
+ */
46
+ id: string;
47
+ };
48
+ /** @internal */
49
+ export type ActivatePrivateEndpointRequest$Outbound = {
50
+ "HTTP-Referer"?: string | undefined;
51
+ appTitle?: string | undefined;
52
+ appCategories?: string | undefined;
53
+ id: string;
54
+ };
55
+ /** @internal */
56
+ export declare const ActivatePrivateEndpointRequest$outboundSchema: z.ZodType<ActivatePrivateEndpointRequest$Outbound, ActivatePrivateEndpointRequest>;
57
+ export declare function activatePrivateEndpointRequestToJSON(activatePrivateEndpointRequest: ActivatePrivateEndpointRequest): string;
58
+ //# sourceMappingURL=activateprivateendpoint.d.ts.map
@@ -0,0 +1,21 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 67a95de4b97f
4
+ */
5
+ import * as z from "zod/v4";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ /** @internal */
8
+ export const ActivatePrivateEndpointRequest$outboundSchema = z.object({
9
+ httpReferer: z.string().optional(),
10
+ appTitle: z.string().optional(),
11
+ appCategories: z.string().optional(),
12
+ id: z.string(),
13
+ }).transform((v) => {
14
+ return remap$(v, {
15
+ httpReferer: "HTTP-Referer",
16
+ });
17
+ });
18
+ export function activatePrivateEndpointRequestToJSON(activatePrivateEndpointRequest) {
19
+ return JSON.stringify(ActivatePrivateEndpointRequest$outboundSchema.parse(activatePrivateEndpointRequest));
20
+ }
21
+ //# sourceMappingURL=activateprivateendpoint.js.map
@@ -0,0 +1,61 @@
1
+ import * as z from "zod/v4";
2
+ import * as models from "../index.js";
3
+ export type CreatePrivateEndpointGlobals = {
4
+ /**
5
+ * The app identifier should be your app's URL and is used as the primary identifier for rankings.
6
+ *
7
+ * @remarks
8
+ * This is used to track API usage per application.
9
+ */
10
+ httpReferer?: string | undefined;
11
+ /**
12
+ * The app display name allows you to customize how your app appears in OpenRouter's dashboard.
13
+ *
14
+ * @remarks
15
+ */
16
+ appTitle?: string | undefined;
17
+ /**
18
+ * Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings.
19
+ *
20
+ * @remarks
21
+ */
22
+ appCategories?: string | undefined;
23
+ };
24
+ export type CreatePrivateEndpointRequest = {
25
+ /**
26
+ * The app identifier should be your app's URL and is used as the primary identifier for rankings.
27
+ *
28
+ * @remarks
29
+ * This is used to track API usage per application.
30
+ */
31
+ httpReferer?: string | undefined;
32
+ /**
33
+ * The app display name allows you to customize how your app appears in OpenRouter's dashboard.
34
+ *
35
+ * @remarks
36
+ */
37
+ appTitle?: string | undefined;
38
+ /**
39
+ * Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings.
40
+ *
41
+ * @remarks
42
+ */
43
+ appCategories?: string | undefined;
44
+ /**
45
+ * Retry-safe create: a repeated create with the same key from the same organization returns the endpoint the first request created instead of creating another. The endpoint is returned as it is now. Reusing a key with a different request body (model, provider, base URL, upstream model ID, declared ZDR or region, or pricing) is rejected with 422 `idempotency_key_reused`. `activate` is not compared, and later edits to the endpoint do not affect the comparison.
46
+ */
47
+ idempotencyKey?: string | undefined;
48
+ createPrivateEndpointRequest: models.CreatePrivateEndpointRequest;
49
+ };
50
+ /** @internal */
51
+ export type CreatePrivateEndpointRequest$Outbound = {
52
+ "HTTP-Referer"?: string | undefined;
53
+ appTitle?: string | undefined;
54
+ appCategories?: string | undefined;
55
+ "idempotency-key"?: string | undefined;
56
+ CreatePrivateEndpointRequest: models.CreatePrivateEndpointRequest$Outbound;
57
+ };
58
+ /** @internal */
59
+ export declare const CreatePrivateEndpointRequest$outboundSchema: z.ZodType<CreatePrivateEndpointRequest$Outbound, CreatePrivateEndpointRequest>;
60
+ export declare function createPrivateEndpointRequestToJSON(createPrivateEndpointRequest: CreatePrivateEndpointRequest): string;
61
+ //# sourceMappingURL=createprivateendpoint.d.ts.map
@@ -0,0 +1,25 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 469b6f483a53
4
+ */
5
+ import * as z from "zod/v4";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { CreatePrivateEndpointRequest$outboundSchema as models_CreatePrivateEndpointRequest$outboundSchema } from "../createprivateendpointrequest.js";
8
+ /** @internal */
9
+ export const CreatePrivateEndpointRequest$outboundSchema = z.object({
10
+ httpReferer: z.string().optional(),
11
+ appTitle: z.string().optional(),
12
+ appCategories: z.string().optional(),
13
+ idempotencyKey: z.string().optional(),
14
+ createPrivateEndpointRequest: models_CreatePrivateEndpointRequest$outboundSchema,
15
+ }).transform((v) => {
16
+ return remap$(v, {
17
+ httpReferer: "HTTP-Referer",
18
+ idempotencyKey: "idempotency-key",
19
+ createPrivateEndpointRequest: "CreatePrivateEndpointRequest",
20
+ });
21
+ });
22
+ export function createPrivateEndpointRequestToJSON(createPrivateEndpointRequest) {
23
+ return JSON.stringify(CreatePrivateEndpointRequest$outboundSchema.parse(createPrivateEndpointRequest));
24
+ }
25
+ //# sourceMappingURL=createprivateendpoint.js.map
@@ -0,0 +1,77 @@
1
+ import * as z from "zod/v4";
2
+ import { OpenEnum } from "../../types/enums.js";
3
+ export type DeletePrivateEndpointGlobals = {
4
+ /**
5
+ * The app identifier should be your app's URL and is used as the primary identifier for rankings.
6
+ *
7
+ * @remarks
8
+ * This is used to track API usage per application.
9
+ */
10
+ httpReferer?: string | undefined;
11
+ /**
12
+ * The app display name allows you to customize how your app appears in OpenRouter's dashboard.
13
+ *
14
+ * @remarks
15
+ */
16
+ appTitle?: string | undefined;
17
+ /**
18
+ * Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings.
19
+ *
20
+ * @remarks
21
+ */
22
+ appCategories?: string | undefined;
23
+ };
24
+ /**
25
+ * When `true`, only delete the endpoint if it is still a draft (409 otherwise).
26
+ */
27
+ export declare const DraftOnly: {
28
+ readonly True: "true";
29
+ readonly False: "false";
30
+ };
31
+ /**
32
+ * When `true`, only delete the endpoint if it is still a draft (409 otherwise).
33
+ */
34
+ export type DraftOnly = OpenEnum<typeof DraftOnly>;
35
+ export type DeletePrivateEndpointRequest = {
36
+ /**
37
+ * The app identifier should be your app's URL and is used as the primary identifier for rankings.
38
+ *
39
+ * @remarks
40
+ * This is used to track API usage per application.
41
+ */
42
+ httpReferer?: string | undefined;
43
+ /**
44
+ * The app display name allows you to customize how your app appears in OpenRouter's dashboard.
45
+ *
46
+ * @remarks
47
+ */
48
+ appTitle?: string | undefined;
49
+ /**
50
+ * Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings.
51
+ *
52
+ * @remarks
53
+ */
54
+ appCategories?: string | undefined;
55
+ /**
56
+ * Stable identifier of the private endpoint.
57
+ */
58
+ id: string;
59
+ /**
60
+ * When `true`, only delete the endpoint if it is still a draft (409 otherwise).
61
+ */
62
+ draftOnly?: DraftOnly | undefined;
63
+ };
64
+ /** @internal */
65
+ export declare const DraftOnly$outboundSchema: z.ZodType<string, DraftOnly>;
66
+ /** @internal */
67
+ export type DeletePrivateEndpointRequest$Outbound = {
68
+ "HTTP-Referer"?: string | undefined;
69
+ appTitle?: string | undefined;
70
+ appCategories?: string | undefined;
71
+ id: string;
72
+ draft_only?: string | undefined;
73
+ };
74
+ /** @internal */
75
+ export declare const DeletePrivateEndpointRequest$outboundSchema: z.ZodType<DeletePrivateEndpointRequest$Outbound, DeletePrivateEndpointRequest>;
76
+ export declare function deletePrivateEndpointRequestToJSON(deletePrivateEndpointRequest: DeletePrivateEndpointRequest): string;
77
+ //# sourceMappingURL=deleteprivateendpoint.d.ts.map
@@ -0,0 +1,34 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: a0caf4badde5
4
+ */
5
+ import * as z from "zod/v4";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import * as openEnums from "../../types/enums.js";
8
+ /**
9
+ * When `true`, only delete the endpoint if it is still a draft (409 otherwise).
10
+ */
11
+ export const DraftOnly = {
12
+ True: "true",
13
+ False: "false",
14
+ };
15
+ /** @internal */
16
+ export const DraftOnly$outboundSchema = openEnums
17
+ .outboundSchema(DraftOnly);
18
+ /** @internal */
19
+ export const DeletePrivateEndpointRequest$outboundSchema = z.object({
20
+ httpReferer: z.string().optional(),
21
+ appTitle: z.string().optional(),
22
+ appCategories: z.string().optional(),
23
+ id: z.string(),
24
+ draftOnly: DraftOnly$outboundSchema.optional(),
25
+ }).transform((v) => {
26
+ return remap$(v, {
27
+ httpReferer: "HTTP-Referer",
28
+ draftOnly: "draft_only",
29
+ });
30
+ });
31
+ export function deletePrivateEndpointRequestToJSON(deletePrivateEndpointRequest) {
32
+ return JSON.stringify(DeletePrivateEndpointRequest$outboundSchema.parse(deletePrivateEndpointRequest));
33
+ }
34
+ //# sourceMappingURL=deleteprivateendpoint.js.map
@@ -0,0 +1,58 @@
1
+ import * as z from "zod/v4";
2
+ export type DisablePrivateEndpointGlobals = {
3
+ /**
4
+ * The app identifier should be your app's URL and is used as the primary identifier for rankings.
5
+ *
6
+ * @remarks
7
+ * This is used to track API usage per application.
8
+ */
9
+ httpReferer?: string | undefined;
10
+ /**
11
+ * The app display name allows you to customize how your app appears in OpenRouter's dashboard.
12
+ *
13
+ * @remarks
14
+ */
15
+ appTitle?: string | undefined;
16
+ /**
17
+ * Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings.
18
+ *
19
+ * @remarks
20
+ */
21
+ appCategories?: string | undefined;
22
+ };
23
+ export type DisablePrivateEndpointRequest = {
24
+ /**
25
+ * The app identifier should be your app's URL and is used as the primary identifier for rankings.
26
+ *
27
+ * @remarks
28
+ * This is used to track API usage per application.
29
+ */
30
+ httpReferer?: string | undefined;
31
+ /**
32
+ * The app display name allows you to customize how your app appears in OpenRouter's dashboard.
33
+ *
34
+ * @remarks
35
+ */
36
+ appTitle?: string | undefined;
37
+ /**
38
+ * Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings.
39
+ *
40
+ * @remarks
41
+ */
42
+ appCategories?: string | undefined;
43
+ /**
44
+ * Stable identifier of the private endpoint.
45
+ */
46
+ id: string;
47
+ };
48
+ /** @internal */
49
+ export type DisablePrivateEndpointRequest$Outbound = {
50
+ "HTTP-Referer"?: string | undefined;
51
+ appTitle?: string | undefined;
52
+ appCategories?: string | undefined;
53
+ id: string;
54
+ };
55
+ /** @internal */
56
+ export declare const DisablePrivateEndpointRequest$outboundSchema: z.ZodType<DisablePrivateEndpointRequest$Outbound, DisablePrivateEndpointRequest>;
57
+ export declare function disablePrivateEndpointRequestToJSON(disablePrivateEndpointRequest: DisablePrivateEndpointRequest): string;
58
+ //# sourceMappingURL=disableprivateendpoint.d.ts.map
@@ -0,0 +1,21 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 3a08f5ad738c
4
+ */
5
+ import * as z from "zod/v4";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ /** @internal */
8
+ export const DisablePrivateEndpointRequest$outboundSchema = z.object({
9
+ httpReferer: z.string().optional(),
10
+ appTitle: z.string().optional(),
11
+ appCategories: z.string().optional(),
12
+ id: z.string(),
13
+ }).transform((v) => {
14
+ return remap$(v, {
15
+ httpReferer: "HTTP-Referer",
16
+ });
17
+ });
18
+ export function disablePrivateEndpointRequestToJSON(disablePrivateEndpointRequest) {
19
+ return JSON.stringify(DisablePrivateEndpointRequest$outboundSchema.parse(disablePrivateEndpointRequest));
20
+ }
21
+ //# sourceMappingURL=disableprivateendpoint.js.map
@@ -0,0 +1,58 @@
1
+ import * as z from "zod/v4";
2
+ export type EnablePrivateEndpointGlobals = {
3
+ /**
4
+ * The app identifier should be your app's URL and is used as the primary identifier for rankings.
5
+ *
6
+ * @remarks
7
+ * This is used to track API usage per application.
8
+ */
9
+ httpReferer?: string | undefined;
10
+ /**
11
+ * The app display name allows you to customize how your app appears in OpenRouter's dashboard.
12
+ *
13
+ * @remarks
14
+ */
15
+ appTitle?: string | undefined;
16
+ /**
17
+ * Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings.
18
+ *
19
+ * @remarks
20
+ */
21
+ appCategories?: string | undefined;
22
+ };
23
+ export type EnablePrivateEndpointRequest = {
24
+ /**
25
+ * The app identifier should be your app's URL and is used as the primary identifier for rankings.
26
+ *
27
+ * @remarks
28
+ * This is used to track API usage per application.
29
+ */
30
+ httpReferer?: string | undefined;
31
+ /**
32
+ * The app display name allows you to customize how your app appears in OpenRouter's dashboard.
33
+ *
34
+ * @remarks
35
+ */
36
+ appTitle?: string | undefined;
37
+ /**
38
+ * Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings.
39
+ *
40
+ * @remarks
41
+ */
42
+ appCategories?: string | undefined;
43
+ /**
44
+ * Stable identifier of the private endpoint.
45
+ */
46
+ id: string;
47
+ };
48
+ /** @internal */
49
+ export type EnablePrivateEndpointRequest$Outbound = {
50
+ "HTTP-Referer"?: string | undefined;
51
+ appTitle?: string | undefined;
52
+ appCategories?: string | undefined;
53
+ id: string;
54
+ };
55
+ /** @internal */
56
+ export declare const EnablePrivateEndpointRequest$outboundSchema: z.ZodType<EnablePrivateEndpointRequest$Outbound, EnablePrivateEndpointRequest>;
57
+ export declare function enablePrivateEndpointRequestToJSON(enablePrivateEndpointRequest: EnablePrivateEndpointRequest): string;
58
+ //# sourceMappingURL=enableprivateendpoint.d.ts.map
@@ -0,0 +1,21 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: e1500a47cc96
4
+ */
5
+ import * as z from "zod/v4";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ /** @internal */
8
+ export const EnablePrivateEndpointRequest$outboundSchema = z.object({
9
+ httpReferer: z.string().optional(),
10
+ appTitle: z.string().optional(),
11
+ appCategories: z.string().optional(),
12
+ id: z.string(),
13
+ }).transform((v) => {
14
+ return remap$(v, {
15
+ httpReferer: "HTTP-Referer",
16
+ });
17
+ });
18
+ export function enablePrivateEndpointRequestToJSON(enablePrivateEndpointRequest) {
19
+ return JSON.stringify(EnablePrivateEndpointRequest$outboundSchema.parse(enablePrivateEndpointRequest));
20
+ }
21
+ //# sourceMappingURL=enableprivateendpoint.js.map
@@ -0,0 +1,58 @@
1
+ import * as z from "zod/v4";
2
+ export type GetPrivateEndpointGlobals = {
3
+ /**
4
+ * The app identifier should be your app's URL and is used as the primary identifier for rankings.
5
+ *
6
+ * @remarks
7
+ * This is used to track API usage per application.
8
+ */
9
+ httpReferer?: string | undefined;
10
+ /**
11
+ * The app display name allows you to customize how your app appears in OpenRouter's dashboard.
12
+ *
13
+ * @remarks
14
+ */
15
+ appTitle?: string | undefined;
16
+ /**
17
+ * Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings.
18
+ *
19
+ * @remarks
20
+ */
21
+ appCategories?: string | undefined;
22
+ };
23
+ export type GetPrivateEndpointRequest = {
24
+ /**
25
+ * The app identifier should be your app's URL and is used as the primary identifier for rankings.
26
+ *
27
+ * @remarks
28
+ * This is used to track API usage per application.
29
+ */
30
+ httpReferer?: string | undefined;
31
+ /**
32
+ * The app display name allows you to customize how your app appears in OpenRouter's dashboard.
33
+ *
34
+ * @remarks
35
+ */
36
+ appTitle?: string | undefined;
37
+ /**
38
+ * Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings.
39
+ *
40
+ * @remarks
41
+ */
42
+ appCategories?: string | undefined;
43
+ /**
44
+ * Stable identifier of the private endpoint.
45
+ */
46
+ id: string;
47
+ };
48
+ /** @internal */
49
+ export type GetPrivateEndpointRequest$Outbound = {
50
+ "HTTP-Referer"?: string | undefined;
51
+ appTitle?: string | undefined;
52
+ appCategories?: string | undefined;
53
+ id: string;
54
+ };
55
+ /** @internal */
56
+ export declare const GetPrivateEndpointRequest$outboundSchema: z.ZodType<GetPrivateEndpointRequest$Outbound, GetPrivateEndpointRequest>;
57
+ export declare function getPrivateEndpointRequestToJSON(getPrivateEndpointRequest: GetPrivateEndpointRequest): string;
58
+ //# sourceMappingURL=getprivateendpoint.d.ts.map
@@ -0,0 +1,21 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: d2a00e755d45
4
+ */
5
+ import * as z from "zod/v4";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ /** @internal */
8
+ export const GetPrivateEndpointRequest$outboundSchema = z.object({
9
+ httpReferer: z.string().optional(),
10
+ appTitle: z.string().optional(),
11
+ appCategories: z.string().optional(),
12
+ id: z.string(),
13
+ }).transform((v) => {
14
+ return remap$(v, {
15
+ httpReferer: "HTTP-Referer",
16
+ });
17
+ });
18
+ export function getPrivateEndpointRequestToJSON(getPrivateEndpointRequest) {
19
+ return JSON.stringify(GetPrivateEndpointRequest$outboundSchema.parse(getPrivateEndpointRequest));
20
+ }
21
+ //# sourceMappingURL=getprivateendpoint.js.map
@@ -1,3 +1,4 @@
1
+ export * from "./activateprivateendpoint.js";
1
2
  export * from "./bulkaddworkspacemembers.js";
2
3
  export * from "./bulkassignkeystoguardrail.js";
3
4
  export * from "./bulkassignmemberstoguardrail.js";
@@ -23,6 +24,7 @@ export * from "./createobservabilitydestination.js";
23
24
  export * from "./createpresetschatcompletions.js";
24
25
  export * from "./createpresetsmessages.js";
25
26
  export * from "./createpresetsresponses.js";
27
+ export * from "./createprivateendpoint.js";
26
28
  export * from "./creatererank.js";
27
29
  export * from "./createresponses.js";
28
30
  export * from "./createscimgroupmapping.js";
@@ -38,12 +40,15 @@ export * from "./deleteintern.js";
38
40
  export * from "./deleteinternvaultsecret.js";
39
41
  export * from "./deletekeys.js";
40
42
  export * from "./deleteobservabilitydestination.js";
43
+ export * from "./deleteprivateendpoint.js";
41
44
  export * from "./deletescimgroupmapping.js";
42
45
  export * from "./deletevaultsecret.js";
43
46
  export * from "./deleteworkspace.js";
44
47
  export * from "./deleteworkspacebudget.js";
48
+ export * from "./disableprivateendpoint.js";
45
49
  export * from "./downloadcontainerfilecontent.js";
46
50
  export * from "./downloadfilecontent.js";
51
+ export * from "./enableprivateendpoint.js";
47
52
  export * from "./exchangeauthcodeforapikey.js";
48
53
  export * from "./getanalyticsmeta.js";
49
54
  export * from "./getapprankings.js";
@@ -65,6 +70,7 @@ export * from "./getmodels.js";
65
70
  export * from "./getobservabilitydestination.js";
66
71
  export * from "./getpreset.js";
67
72
  export * from "./getpresetversion.js";
73
+ export * from "./getprivateendpoint.js";
68
74
  export * from "./getrankingsdaily.js";
69
75
  export * from "./getscimgroupmapping.js";
70
76
  export * from "./getscimsyncjob.js";
@@ -89,6 +95,7 @@ export * from "./listguardrailmemberassignments.js";
89
95
  export * from "./listguardrails.js";
90
96
  export * from "./listimagemodelendpoints.js";
91
97
  export * from "./listimagemodels.js";
98
+ export * from "./listinterneffectivevaultsecrets.js";
92
99
  export * from "./listinterns.js";
93
100
  export * from "./listinternvaultsecrets.js";
94
101
  export * from "./listkeyassignments.js";
@@ -100,6 +107,7 @@ export * from "./listobservabilitydestinations.js";
100
107
  export * from "./listorganizationmembers.js";
101
108
  export * from "./listpresets.js";
102
109
  export * from "./listpresetversions.js";
110
+ export * from "./listprivateendpoints.js";
103
111
  export * from "./listproviders.js";
104
112
  export * from "./listscimgroupmappings.js";
105
113
  export * from "./listscimgroups.js";
@@ -122,8 +130,11 @@ export * from "./updateguardrail.js";
122
130
  export * from "./updateintern.js";
123
131
  export * from "./updatekeys.js";
124
132
  export * from "./updateobservabilitydestination.js";
133
+ export * from "./updateprivateendpoint.js";
134
+ export * from "./updateprivateendpointpricing.js";
125
135
  export * from "./updatescimgroupmapping.js";
126
136
  export * from "./updateworkspace.js";
127
137
  export * from "./uploadfile.js";
128
138
  export * from "./upsertworkspacebudget.js";
139
+ export * from "./validateprivateendpoint.js";
129
140
  //# sourceMappingURL=index.d.ts.map