@meetkai/mka1 0.48.39 → 0.48.40
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/bin/mcp-server.js +30 -10
- package/bin/mcp-server.js.map +20 -20
- package/dist/commonjs/funcs/budgetsApiKeyEvents.d.ts +1 -1
- package/dist/commonjs/funcs/budgetsApiKeyEvents.js +1 -1
- package/dist/commonjs/funcs/budgetsDeleteApiKey.d.ts +1 -1
- package/dist/commonjs/funcs/budgetsDeleteApiKey.js +1 -1
- package/dist/commonjs/funcs/budgetsGetApiKey.d.ts +1 -1
- package/dist/commonjs/funcs/budgetsGetApiKey.js +1 -1
- package/dist/commonjs/funcs/budgetsList.d.ts +1 -1
- package/dist/commonjs/funcs/budgetsList.js +1 -1
- package/dist/commonjs/funcs/budgetsSetApiKey.d.ts +1 -1
- package/dist/commonjs/funcs/budgetsSetApiKey.js +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsApiKeyEvents.js +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsApiKeyEvents.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsDeleteApiKey.js +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsDeleteApiKey.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsGetApiKey.js +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsGetApiKey.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsList.js +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsList.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsSetApiKey.js +1 -1
- package/dist/commonjs/mcp-server/tools/budgetsSetApiKey.js.map +1 -1
- package/dist/commonjs/models/operations/getapikeybudgets.d.ts +2 -0
- package/dist/commonjs/models/operations/getapikeybudgets.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getapikeybudgets.js +4 -0
- package/dist/commonjs/models/operations/getapikeybudgets.js.map +1 -1
- package/dist/commonjs/models/operations/getorgbudgets.d.ts +2 -0
- package/dist/commonjs/models/operations/getorgbudgets.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getorgbudgets.js +4 -0
- package/dist/commonjs/models/operations/getorgbudgets.js.map +1 -1
- package/dist/commonjs/models/operations/listbudgets.d.ts +2 -0
- package/dist/commonjs/models/operations/listbudgets.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listbudgets.js +4 -0
- package/dist/commonjs/models/operations/listbudgets.js.map +1 -1
- package/dist/commonjs/models/operations/setapikeybudget.d.ts +2 -0
- package/dist/commonjs/models/operations/setapikeybudget.d.ts.map +1 -1
- package/dist/commonjs/models/operations/setapikeybudget.js +4 -0
- package/dist/commonjs/models/operations/setapikeybudget.js.map +1 -1
- package/dist/commonjs/models/operations/setorgbudget.d.ts +2 -0
- package/dist/commonjs/models/operations/setorgbudget.d.ts.map +1 -1
- package/dist/commonjs/models/operations/setorgbudget.js +4 -0
- package/dist/commonjs/models/operations/setorgbudget.js.map +1 -1
- package/dist/commonjs/react-query/budgetsApiKeyEvents.d.ts +2 -2
- package/dist/commonjs/react-query/budgetsApiKeyEvents.js +2 -2
- package/dist/commonjs/react-query/budgetsDeleteApiKey.d.ts +1 -1
- package/dist/commonjs/react-query/budgetsDeleteApiKey.js +1 -1
- package/dist/commonjs/react-query/budgetsGetApiKey.d.ts +2 -2
- package/dist/commonjs/react-query/budgetsGetApiKey.js +2 -2
- package/dist/commonjs/react-query/budgetsList.d.ts +2 -2
- package/dist/commonjs/react-query/budgetsList.js +2 -2
- package/dist/commonjs/react-query/budgetsSetApiKey.d.ts +1 -1
- package/dist/commonjs/react-query/budgetsSetApiKey.js +1 -1
- package/dist/commonjs/sdk/budgets.d.ts +5 -5
- package/dist/commonjs/sdk/budgets.js +5 -5
- package/dist/esm/funcs/budgetsApiKeyEvents.d.ts +1 -1
- package/dist/esm/funcs/budgetsApiKeyEvents.js +1 -1
- package/dist/esm/funcs/budgetsDeleteApiKey.d.ts +1 -1
- package/dist/esm/funcs/budgetsDeleteApiKey.js +1 -1
- package/dist/esm/funcs/budgetsGetApiKey.d.ts +1 -1
- package/dist/esm/funcs/budgetsGetApiKey.js +1 -1
- package/dist/esm/funcs/budgetsList.d.ts +1 -1
- package/dist/esm/funcs/budgetsList.js +1 -1
- package/dist/esm/funcs/budgetsSetApiKey.d.ts +1 -1
- package/dist/esm/funcs/budgetsSetApiKey.js +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/mcp-server/tools/budgetsApiKeyEvents.js +1 -1
- package/dist/esm/mcp-server/tools/budgetsApiKeyEvents.js.map +1 -1
- package/dist/esm/mcp-server/tools/budgetsDeleteApiKey.js +1 -1
- package/dist/esm/mcp-server/tools/budgetsDeleteApiKey.js.map +1 -1
- package/dist/esm/mcp-server/tools/budgetsGetApiKey.js +1 -1
- package/dist/esm/mcp-server/tools/budgetsGetApiKey.js.map +1 -1
- package/dist/esm/mcp-server/tools/budgetsList.js +1 -1
- package/dist/esm/mcp-server/tools/budgetsList.js.map +1 -1
- package/dist/esm/mcp-server/tools/budgetsSetApiKey.js +1 -1
- package/dist/esm/mcp-server/tools/budgetsSetApiKey.js.map +1 -1
- package/dist/esm/models/operations/getapikeybudgets.d.ts +2 -0
- package/dist/esm/models/operations/getapikeybudgets.d.ts.map +1 -1
- package/dist/esm/models/operations/getapikeybudgets.js +4 -0
- package/dist/esm/models/operations/getapikeybudgets.js.map +1 -1
- package/dist/esm/models/operations/getorgbudgets.d.ts +2 -0
- package/dist/esm/models/operations/getorgbudgets.d.ts.map +1 -1
- package/dist/esm/models/operations/getorgbudgets.js +4 -0
- package/dist/esm/models/operations/getorgbudgets.js.map +1 -1
- package/dist/esm/models/operations/listbudgets.d.ts +2 -0
- package/dist/esm/models/operations/listbudgets.d.ts.map +1 -1
- package/dist/esm/models/operations/listbudgets.js +4 -0
- package/dist/esm/models/operations/listbudgets.js.map +1 -1
- package/dist/esm/models/operations/setapikeybudget.d.ts +2 -0
- package/dist/esm/models/operations/setapikeybudget.d.ts.map +1 -1
- package/dist/esm/models/operations/setapikeybudget.js +4 -0
- package/dist/esm/models/operations/setapikeybudget.js.map +1 -1
- package/dist/esm/models/operations/setorgbudget.d.ts +2 -0
- package/dist/esm/models/operations/setorgbudget.d.ts.map +1 -1
- package/dist/esm/models/operations/setorgbudget.js +4 -0
- package/dist/esm/models/operations/setorgbudget.js.map +1 -1
- package/dist/esm/react-query/budgetsApiKeyEvents.d.ts +2 -2
- package/dist/esm/react-query/budgetsApiKeyEvents.js +2 -2
- package/dist/esm/react-query/budgetsDeleteApiKey.d.ts +1 -1
- package/dist/esm/react-query/budgetsDeleteApiKey.js +1 -1
- package/dist/esm/react-query/budgetsGetApiKey.d.ts +2 -2
- package/dist/esm/react-query/budgetsGetApiKey.js +2 -2
- package/dist/esm/react-query/budgetsList.d.ts +2 -2
- package/dist/esm/react-query/budgetsList.js +2 -2
- package/dist/esm/react-query/budgetsSetApiKey.d.ts +1 -1
- package/dist/esm/react-query/budgetsSetApiKey.js +1 -1
- package/dist/esm/sdk/budgets.d.ts +5 -5
- package/dist/esm/sdk/budgets.js +5 -5
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/budgetsApiKeyEvents.ts +1 -1
- package/src/funcs/budgetsDeleteApiKey.ts +1 -1
- package/src/funcs/budgetsGetApiKey.ts +1 -1
- package/src/funcs/budgetsList.ts +1 -1
- package/src/funcs/budgetsSetApiKey.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/budgetsApiKeyEvents.ts +1 -1
- package/src/mcp-server/tools/budgetsDeleteApiKey.ts +1 -1
- package/src/mcp-server/tools/budgetsGetApiKey.ts +1 -1
- package/src/mcp-server/tools/budgetsList.ts +1 -1
- package/src/mcp-server/tools/budgetsSetApiKey.ts +1 -1
- package/src/models/operations/getapikeybudgets.ts +6 -0
- package/src/models/operations/getorgbudgets.ts +6 -0
- package/src/models/operations/listbudgets.ts +6 -0
- package/src/models/operations/setapikeybudget.ts +6 -0
- package/src/models/operations/setorgbudget.ts +6 -0
- package/src/react-query/budgetsApiKeyEvents.ts +2 -2
- package/src/react-query/budgetsDeleteApiKey.ts +1 -1
- package/src/react-query/budgetsGetApiKey.ts +2 -2
- package/src/react-query/budgetsList.ts +2 -2
- package/src/react-query/budgetsSetApiKey.ts +1 -1
- package/src/sdk/budgets.ts +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setorgbudget.js","sourceRoot":"","sources":["../../../../src/models/operations/setorgbudget.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAKjD;;GAEG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,OAAO,EAAE,SAAS;IAClB,GAAG,EAAE,KAAK;CACF,CAAC;AAMX,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;CACV,CAAC;AAGX,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;CACN,CAAC;AA4BX,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;CACR,CAAC;AAGX,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,OAAO,EA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AAU,8BAA8B,CAC5C,wBAAkD;IAElD,OAAO,IAAI,CAAC,SAAS,CACnB,uCAAuC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CACxE,CAAC;AACJ,CAAC;AACD,MAAM,UAAU,gCAAgC,CAC9C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,sCAAsC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClE,sDAAsD,CACvD,CAAC;AACJ,CAAC"}
|
|
@@ -12,14 +12,14 @@ export type BudgetsApiKeyEventsQueryError = SDKError | ResponseValidationError |
|
|
|
12
12
|
* List apikey budget events
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Returns recent threshold-alert and block events for the scope's budgets.
|
|
15
|
+
* Returns recent threshold-alert and block events for the scope's budgets. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
16
16
|
*/
|
|
17
17
|
export declare function useBudgetsApiKeyEvents(request: operations.ListApiKeyBudgetEventsRequest, options?: QueryHookOptions<BudgetsApiKeyEventsQueryData, BudgetsApiKeyEventsQueryError>): UseQueryResult<BudgetsApiKeyEventsQueryData, BudgetsApiKeyEventsQueryError>;
|
|
18
18
|
/**
|
|
19
19
|
* List apikey budget events
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
|
-
* Returns recent threshold-alert and block events for the scope's budgets.
|
|
22
|
+
* Returns recent threshold-alert and block events for the scope's budgets. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
23
23
|
*/
|
|
24
24
|
export declare function useBudgetsApiKeyEventsSuspense(request: operations.ListApiKeyBudgetEventsRequest, options?: SuspenseQueryHookOptions<BudgetsApiKeyEventsQueryData, BudgetsApiKeyEventsQueryError>): UseSuspenseQueryResult<BudgetsApiKeyEventsQueryData, BudgetsApiKeyEventsQueryError>;
|
|
25
25
|
export declare function setBudgetsApiKeyEventsData(client: QueryClient, queryKeyBase: [apiKeyId: string], data: BudgetsApiKeyEventsQueryData): BudgetsApiKeyEventsQueryData | undefined;
|
|
@@ -9,7 +9,7 @@ export { buildBudgetsApiKeyEventsQuery, prefetchBudgetsApiKeyEvents, queryKeyBud
|
|
|
9
9
|
* List apikey budget events
|
|
10
10
|
*
|
|
11
11
|
* @remarks
|
|
12
|
-
* Returns recent threshold-alert and block events for the scope's budgets.
|
|
12
|
+
* Returns recent threshold-alert and block events for the scope's budgets. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
13
13
|
*/
|
|
14
14
|
export function useBudgetsApiKeyEvents(request, options) {
|
|
15
15
|
const client = useSDKContext();
|
|
@@ -22,7 +22,7 @@ export function useBudgetsApiKeyEvents(request, options) {
|
|
|
22
22
|
* List apikey budget events
|
|
23
23
|
*
|
|
24
24
|
* @remarks
|
|
25
|
-
* Returns recent threshold-alert and block events for the scope's budgets.
|
|
25
|
+
* Returns recent threshold-alert and block events for the scope's budgets. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
26
26
|
*/
|
|
27
27
|
export function useBudgetsApiKeyEventsSuspense(request, options) {
|
|
28
28
|
const client = useSDKContext();
|
|
@@ -17,7 +17,7 @@ export type BudgetsDeleteApiKeyMutationError = SDKError | ResponseValidationErro
|
|
|
17
17
|
* Delete a apikey budget
|
|
18
18
|
*
|
|
19
19
|
* @remarks
|
|
20
|
-
* Removes the apikey's budget for the given owner; enforcement and alerts stop.
|
|
20
|
+
* Removes the apikey's budget for the given owner; enforcement and alerts stop. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
21
21
|
*/
|
|
22
22
|
export declare function useBudgetsDeleteApiKeyMutation(options?: MutationHookOptions<BudgetsDeleteApiKeyMutationData, BudgetsDeleteApiKeyMutationError, BudgetsDeleteApiKeyMutationVariables>): UseMutationResult<BudgetsDeleteApiKeyMutationData, BudgetsDeleteApiKeyMutationError, BudgetsDeleteApiKeyMutationVariables>;
|
|
23
23
|
export declare function mutationKeyBudgetsDeleteApiKey(): MutationKey;
|
|
@@ -10,7 +10,7 @@ import { useSDKContext } from "./_context.js";
|
|
|
10
10
|
* Delete a apikey budget
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
* Removes the apikey's budget for the given owner; enforcement and alerts stop.
|
|
13
|
+
* Removes the apikey's budget for the given owner; enforcement and alerts stop. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
14
14
|
*/
|
|
15
15
|
export function useBudgetsDeleteApiKeyMutation(options) {
|
|
16
16
|
const client = useSDKContext();
|
|
@@ -12,14 +12,14 @@ export type BudgetsGetApiKeyQueryError = SDKError | ResponseValidationError | Co
|
|
|
12
12
|
* List apikey budgets
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Returns the apikey's budgets (self-budget and/or ceiling) with each one's live spend gauge.
|
|
15
|
+
* Returns the apikey's budgets (self-budget and/or ceiling) with each one's live spend gauge. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
16
16
|
*/
|
|
17
17
|
export declare function useBudgetsGetApiKey(request: operations.GetApiKeyBudgetsRequest, options?: QueryHookOptions<BudgetsGetApiKeyQueryData, BudgetsGetApiKeyQueryError>): UseQueryResult<BudgetsGetApiKeyQueryData, BudgetsGetApiKeyQueryError>;
|
|
18
18
|
/**
|
|
19
19
|
* List apikey budgets
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
|
-
* Returns the apikey's budgets (self-budget and/or ceiling) with each one's live spend gauge.
|
|
22
|
+
* Returns the apikey's budgets (self-budget and/or ceiling) with each one's live spend gauge. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
23
23
|
*/
|
|
24
24
|
export declare function useBudgetsGetApiKeySuspense(request: operations.GetApiKeyBudgetsRequest, options?: SuspenseQueryHookOptions<BudgetsGetApiKeyQueryData, BudgetsGetApiKeyQueryError>): UseSuspenseQueryResult<BudgetsGetApiKeyQueryData, BudgetsGetApiKeyQueryError>;
|
|
25
25
|
export declare function setBudgetsGetApiKeyData(client: QueryClient, queryKeyBase: [apiKeyId: string], data: BudgetsGetApiKeyQueryData): BudgetsGetApiKeyQueryData | undefined;
|
|
@@ -9,7 +9,7 @@ export { buildBudgetsGetApiKeyQuery, prefetchBudgetsGetApiKey, queryKeyBudgetsGe
|
|
|
9
9
|
* List apikey budgets
|
|
10
10
|
*
|
|
11
11
|
* @remarks
|
|
12
|
-
* Returns the apikey's budgets (self-budget and/or ceiling) with each one's live spend gauge.
|
|
12
|
+
* Returns the apikey's budgets (self-budget and/or ceiling) with each one's live spend gauge. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
13
13
|
*/
|
|
14
14
|
export function useBudgetsGetApiKey(request, options) {
|
|
15
15
|
const client = useSDKContext();
|
|
@@ -22,7 +22,7 @@ export function useBudgetsGetApiKey(request, options) {
|
|
|
22
22
|
* List apikey budgets
|
|
23
23
|
*
|
|
24
24
|
* @remarks
|
|
25
|
-
* Returns the apikey's budgets (self-budget and/or ceiling) with each one's live spend gauge.
|
|
25
|
+
* Returns the apikey's budgets (self-budget and/or ceiling) with each one's live spend gauge. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
26
26
|
*/
|
|
27
27
|
export function useBudgetsGetApiKeySuspense(request, options) {
|
|
28
28
|
const client = useSDKContext();
|
|
@@ -11,14 +11,14 @@ export type BudgetsListQueryError = SDKError | ResponseValidationError | Connect
|
|
|
11
11
|
* List budgets
|
|
12
12
|
*
|
|
13
13
|
* @remarks
|
|
14
|
-
* Cluster admins see all budgets; org admins see their org's budgets.
|
|
14
|
+
* Cluster admins see all budgets; org admins see their org's budgets plus budgets on API keys in their org.
|
|
15
15
|
*/
|
|
16
16
|
export declare function useBudgetsList(options?: QueryHookOptions<BudgetsListQueryData, BudgetsListQueryError>): UseQueryResult<BudgetsListQueryData, BudgetsListQueryError>;
|
|
17
17
|
/**
|
|
18
18
|
* List budgets
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
|
-
* Cluster admins see all budgets; org admins see their org's budgets.
|
|
21
|
+
* Cluster admins see all budgets; org admins see their org's budgets plus budgets on API keys in their org.
|
|
22
22
|
*/
|
|
23
23
|
export declare function useBudgetsListSuspense(options?: SuspenseQueryHookOptions<BudgetsListQueryData, BudgetsListQueryError>): UseSuspenseQueryResult<BudgetsListQueryData, BudgetsListQueryError>;
|
|
24
24
|
export declare function setBudgetsListData(client: QueryClient, data: BudgetsListQueryData): BudgetsListQueryData | undefined;
|
|
@@ -9,7 +9,7 @@ export { buildBudgetsListQuery, prefetchBudgetsList, queryKeyBudgetsList, };
|
|
|
9
9
|
* List budgets
|
|
10
10
|
*
|
|
11
11
|
* @remarks
|
|
12
|
-
* Cluster admins see all budgets; org admins see their org's budgets.
|
|
12
|
+
* Cluster admins see all budgets; org admins see their org's budgets plus budgets on API keys in their org.
|
|
13
13
|
*/
|
|
14
14
|
export function useBudgetsList(options) {
|
|
15
15
|
const client = useSDKContext();
|
|
@@ -22,7 +22,7 @@ export function useBudgetsList(options) {
|
|
|
22
22
|
* List budgets
|
|
23
23
|
*
|
|
24
24
|
* @remarks
|
|
25
|
-
* Cluster admins see all budgets; org admins see their org's budgets.
|
|
25
|
+
* Cluster admins see all budgets; org admins see their org's budgets plus budgets on API keys in their org.
|
|
26
26
|
*/
|
|
27
27
|
export function useBudgetsListSuspense(options) {
|
|
28
28
|
const client = useSDKContext();
|
|
@@ -17,7 +17,7 @@ export type BudgetsSetApiKeyMutationError = SDKError | ResponseValidationError |
|
|
|
17
17
|
* Set a apikey budget
|
|
18
18
|
*
|
|
19
19
|
* @remarks
|
|
20
|
-
* Creates or updates a budget for the apikey. One budget per (scope, owner); editing re-evaluates against live spend.
|
|
20
|
+
* Creates or updates a budget for the apikey. One budget per (scope, owner); editing re-evaluates against live spend. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
21
21
|
*/
|
|
22
22
|
export declare function useBudgetsSetApiKeyMutation(options?: MutationHookOptions<BudgetsSetApiKeyMutationData, BudgetsSetApiKeyMutationError, BudgetsSetApiKeyMutationVariables>): UseMutationResult<BudgetsSetApiKeyMutationData, BudgetsSetApiKeyMutationError, BudgetsSetApiKeyMutationVariables>;
|
|
23
23
|
export declare function mutationKeyBudgetsSetApiKey(): MutationKey;
|
|
@@ -10,7 +10,7 @@ import { useSDKContext } from "./_context.js";
|
|
|
10
10
|
* Set a apikey budget
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
* Creates or updates a budget for the apikey. One budget per (scope, owner); editing re-evaluates against live spend.
|
|
13
|
+
* Creates or updates a budget for the apikey. One budget per (scope, owner); editing re-evaluates against live spend. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
14
14
|
*/
|
|
15
15
|
export function useBudgetsSetApiKeyMutation(options) {
|
|
16
16
|
const client = useSDKContext();
|
|
@@ -5,7 +5,7 @@ export declare class Budgets extends ClientSDK {
|
|
|
5
5
|
* List budgets
|
|
6
6
|
*
|
|
7
7
|
* @remarks
|
|
8
|
-
* Cluster admins see all budgets; org admins see their org's budgets.
|
|
8
|
+
* Cluster admins see all budgets; org admins see their org's budgets plus budgets on API keys in their org.
|
|
9
9
|
*/
|
|
10
10
|
list(options?: RequestOptions): Promise<operations.ListBudgetsResponseBody>;
|
|
11
11
|
/**
|
|
@@ -40,28 +40,28 @@ export declare class Budgets extends ClientSDK {
|
|
|
40
40
|
* List apikey budgets
|
|
41
41
|
*
|
|
42
42
|
* @remarks
|
|
43
|
-
* Returns the apikey's budgets (self-budget and/or ceiling) with each one's live spend gauge.
|
|
43
|
+
* Returns the apikey's budgets (self-budget and/or ceiling) with each one's live spend gauge. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
44
44
|
*/
|
|
45
45
|
getApiKey(request: operations.GetApiKeyBudgetsRequest, options?: RequestOptions): Promise<operations.GetApiKeyBudgetsResponseBody>;
|
|
46
46
|
/**
|
|
47
47
|
* Set a apikey budget
|
|
48
48
|
*
|
|
49
49
|
* @remarks
|
|
50
|
-
* Creates or updates a budget for the apikey. One budget per (scope, owner); editing re-evaluates against live spend.
|
|
50
|
+
* Creates or updates a budget for the apikey. One budget per (scope, owner); editing re-evaluates against live spend. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
51
51
|
*/
|
|
52
52
|
setApiKey(request: operations.SetApiKeyBudgetRequest, options?: RequestOptions): Promise<operations.SetApiKeyBudgetResponseBody>;
|
|
53
53
|
/**
|
|
54
54
|
* Delete a apikey budget
|
|
55
55
|
*
|
|
56
56
|
* @remarks
|
|
57
|
-
* Removes the apikey's budget for the given owner; enforcement and alerts stop.
|
|
57
|
+
* Removes the apikey's budget for the given owner; enforcement and alerts stop. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
58
58
|
*/
|
|
59
59
|
deleteApiKey(request: operations.DeleteApiKeyBudgetRequest, options?: RequestOptions): Promise<operations.DeleteApiKeyBudgetResponseBody>;
|
|
60
60
|
/**
|
|
61
61
|
* List apikey budget events
|
|
62
62
|
*
|
|
63
63
|
* @remarks
|
|
64
|
-
* Returns recent threshold-alert and block events for the scope's budgets.
|
|
64
|
+
* Returns recent threshold-alert and block events for the scope's budgets. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
65
65
|
*/
|
|
66
66
|
apiKeyEvents(request: operations.ListApiKeyBudgetEventsRequest, options?: RequestOptions): Promise<operations.ListApiKeyBudgetEventsResponseBody>;
|
|
67
67
|
/**
|
package/dist/esm/sdk/budgets.js
CHANGED
|
@@ -19,7 +19,7 @@ export class Budgets extends ClientSDK {
|
|
|
19
19
|
* List budgets
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
|
-
* Cluster admins see all budgets; org admins see their org's budgets.
|
|
22
|
+
* Cluster admins see all budgets; org admins see their org's budgets plus budgets on API keys in their org.
|
|
23
23
|
*/
|
|
24
24
|
async list(options) {
|
|
25
25
|
return unwrapAsync(budgetsList(this, options));
|
|
@@ -64,7 +64,7 @@ export class Budgets extends ClientSDK {
|
|
|
64
64
|
* List apikey budgets
|
|
65
65
|
*
|
|
66
66
|
* @remarks
|
|
67
|
-
* Returns the apikey's budgets (self-budget and/or ceiling) with each one's live spend gauge.
|
|
67
|
+
* Returns the apikey's budgets (self-budget and/or ceiling) with each one's live spend gauge. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
68
68
|
*/
|
|
69
69
|
async getApiKey(request, options) {
|
|
70
70
|
return unwrapAsync(budgetsGetApiKey(this, request, options));
|
|
@@ -73,7 +73,7 @@ export class Budgets extends ClientSDK {
|
|
|
73
73
|
* Set a apikey budget
|
|
74
74
|
*
|
|
75
75
|
* @remarks
|
|
76
|
-
* Creates or updates a budget for the apikey. One budget per (scope, owner); editing re-evaluates against live spend.
|
|
76
|
+
* Creates or updates a budget for the apikey. One budget per (scope, owner); editing re-evaluates against live spend. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
77
77
|
*/
|
|
78
78
|
async setApiKey(request, options) {
|
|
79
79
|
return unwrapAsync(budgetsSetApiKey(this, request, options));
|
|
@@ -82,7 +82,7 @@ export class Budgets extends ClientSDK {
|
|
|
82
82
|
* Delete a apikey budget
|
|
83
83
|
*
|
|
84
84
|
* @remarks
|
|
85
|
-
* Removes the apikey's budget for the given owner; enforcement and alerts stop.
|
|
85
|
+
* Removes the apikey's budget for the given owner; enforcement and alerts stop. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
86
86
|
*/
|
|
87
87
|
async deleteApiKey(request, options) {
|
|
88
88
|
return unwrapAsync(budgetsDeleteApiKey(this, request, options));
|
|
@@ -91,7 +91,7 @@ export class Budgets extends ClientSDK {
|
|
|
91
91
|
* List apikey budget events
|
|
92
92
|
*
|
|
93
93
|
* @remarks
|
|
94
|
-
* Returns recent threshold-alert and block events for the scope's budgets.
|
|
94
|
+
* Returns recent threshold-alert and block events for the scope's budgets. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
95
95
|
*/
|
|
96
96
|
async apiKeyEvents(request, options) {
|
|
97
97
|
return unwrapAsync(budgetsApiKeyEvents(this, request, options));
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* List apikey budget events
|
|
30
30
|
*
|
|
31
31
|
* @remarks
|
|
32
|
-
* Returns recent threshold-alert and block events for the scope's budgets.
|
|
32
|
+
* Returns recent threshold-alert and block events for the scope's budgets. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
33
33
|
*/
|
|
34
34
|
export function budgetsApiKeyEvents(
|
|
35
35
|
client: SDKCore,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* Delete a apikey budget
|
|
30
30
|
*
|
|
31
31
|
* @remarks
|
|
32
|
-
* Removes the apikey's budget for the given owner; enforcement and alerts stop.
|
|
32
|
+
* Removes the apikey's budget for the given owner; enforcement and alerts stop. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
33
33
|
*/
|
|
34
34
|
export function budgetsDeleteApiKey(
|
|
35
35
|
client: SDKCore,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* List apikey budgets
|
|
30
30
|
*
|
|
31
31
|
* @remarks
|
|
32
|
-
* Returns the apikey's budgets (self-budget and/or ceiling) with each one's live spend gauge.
|
|
32
|
+
* Returns the apikey's budgets (self-budget and/or ceiling) with each one's live spend gauge. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
33
33
|
*/
|
|
34
34
|
export function budgetsGetApiKey(
|
|
35
35
|
client: SDKCore,
|
package/src/funcs/budgetsList.ts
CHANGED
|
@@ -27,7 +27,7 @@ import { Result } from "../types/fp.js";
|
|
|
27
27
|
* List budgets
|
|
28
28
|
*
|
|
29
29
|
* @remarks
|
|
30
|
-
* Cluster admins see all budgets; org admins see their org's budgets.
|
|
30
|
+
* Cluster admins see all budgets; org admins see their org's budgets plus budgets on API keys in their org.
|
|
31
31
|
*/
|
|
32
32
|
export function budgetsList(
|
|
33
33
|
client: SDKCore,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* Set a apikey budget
|
|
30
30
|
*
|
|
31
31
|
* @remarks
|
|
32
|
-
* Creates or updates a budget for the apikey. One budget per (scope, owner); editing re-evaluates against live spend.
|
|
32
|
+
* Creates or updates a budget for the apikey. One budget per (scope, owner); editing re-evaluates against live spend. Callable by cluster admins, or org admins for API keys in their own organization.
|
|
33
33
|
*/
|
|
34
34
|
export function budgetsSetApiKey(
|
|
35
35
|
client: SDKCore,
|
package/src/lib/config.ts
CHANGED
|
@@ -65,7 +65,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
65
65
|
export const SDK_METADATA = {
|
|
66
66
|
language: "typescript",
|
|
67
67
|
openapiDocVersion: "1.1.0",
|
|
68
|
-
sdkVersion: "0.48.
|
|
68
|
+
sdkVersion: "0.48.40",
|
|
69
69
|
genVersion: "2.916.2",
|
|
70
|
-
userAgent: "speakeasy-sdk/typescript 0.48.
|
|
70
|
+
userAgent: "speakeasy-sdk/typescript 0.48.40 2.916.2 1.1.0 @meetkai/mka1",
|
|
71
71
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -14,7 +14,7 @@ export const tool$budgetsApiKeyEvents: ToolDefinition<typeof args> = {
|
|
|
14
14
|
name: "budgets-api-key-events",
|
|
15
15
|
description: `List apikey budget events
|
|
16
16
|
|
|
17
|
-
Returns recent threshold-alert and block events for the scope's budgets.`,
|
|
17
|
+
Returns recent threshold-alert and block events for the scope's budgets. Callable by cluster admins, or org admins for API keys in their own organization.`,
|
|
18
18
|
args,
|
|
19
19
|
tool: async (client, args, ctx) => {
|
|
20
20
|
const [result, apiCall] = await budgetsApiKeyEvents(
|
|
@@ -14,7 +14,7 @@ export const tool$budgetsDeleteApiKey: ToolDefinition<typeof args> = {
|
|
|
14
14
|
name: "budgets-delete-api-key",
|
|
15
15
|
description: `Delete a apikey budget
|
|
16
16
|
|
|
17
|
-
Removes the apikey's budget for the given owner; enforcement and alerts stop.`,
|
|
17
|
+
Removes the apikey's budget for the given owner; enforcement and alerts stop. Callable by cluster admins, or org admins for API keys in their own organization.`,
|
|
18
18
|
args,
|
|
19
19
|
tool: async (client, args, ctx) => {
|
|
20
20
|
const [result, apiCall] = await budgetsDeleteApiKey(
|
|
@@ -14,7 +14,7 @@ export const tool$budgetsGetApiKey: ToolDefinition<typeof args> = {
|
|
|
14
14
|
name: "budgets-get-api-key",
|
|
15
15
|
description: `List apikey budgets
|
|
16
16
|
|
|
17
|
-
Returns the apikey's budgets (self-budget and/or ceiling) with each one's live spend gauge.`,
|
|
17
|
+
Returns the apikey's budgets (self-budget and/or ceiling) with each one's live spend gauge. Callable by cluster admins, or org admins for API keys in their own organization.`,
|
|
18
18
|
args,
|
|
19
19
|
tool: async (client, args, ctx) => {
|
|
20
20
|
const [result, apiCall] = await budgetsGetApiKey(
|
|
@@ -9,7 +9,7 @@ export const tool$budgetsList: ToolDefinition = {
|
|
|
9
9
|
name: "budgets-list",
|
|
10
10
|
description: `List budgets
|
|
11
11
|
|
|
12
|
-
Cluster admins see all budgets; org admins see their org's budgets.`,
|
|
12
|
+
Cluster admins see all budgets; org admins see their org's budgets plus budgets on API keys in their org.`,
|
|
13
13
|
tool: async (client, ctx) => {
|
|
14
14
|
const [result, apiCall] = await budgetsList(
|
|
15
15
|
client,
|
|
@@ -14,7 +14,7 @@ export const tool$budgetsSetApiKey: ToolDefinition<typeof args> = {
|
|
|
14
14
|
name: "budgets-set-api-key",
|
|
15
15
|
description: `Set a apikey budget
|
|
16
16
|
|
|
17
|
-
Creates or updates a budget for the apikey. One budget per (scope, owner); editing re-evaluates against live spend.`,
|
|
17
|
+
Creates or updates a budget for the apikey. One budget per (scope, owner); editing re-evaluates against live spend. Callable by cluster admins, or org admins for API keys in their own organization.`,
|
|
18
18
|
args,
|
|
19
19
|
tool: async (client, args, ctx) => {
|
|
20
20
|
const [result, apiCall] = await budgetsSetApiKey(
|
|
@@ -67,6 +67,7 @@ export type GetApiKeyBudgetsData = {
|
|
|
67
67
|
id: string;
|
|
68
68
|
scope: GetApiKeyBudgetsScope;
|
|
69
69
|
scopeId: string;
|
|
70
|
+
scopeOrgId: string | null;
|
|
70
71
|
owner: GetApiKeyBudgetsOwner;
|
|
71
72
|
period: GetApiKeyBudgetsPeriod;
|
|
72
73
|
limit: number;
|
|
@@ -277,6 +278,7 @@ export const GetApiKeyBudgetsData$inboundSchema: z.ZodType<
|
|
|
277
278
|
id: z.string(),
|
|
278
279
|
scope: GetApiKeyBudgetsScope$inboundSchema,
|
|
279
280
|
scope_id: z.string(),
|
|
281
|
+
scope_org_id: z.nullable(z.string()),
|
|
280
282
|
owner: GetApiKeyBudgetsOwner$inboundSchema,
|
|
281
283
|
period: GetApiKeyBudgetsPeriod$inboundSchema,
|
|
282
284
|
limit: z.number(),
|
|
@@ -286,6 +288,7 @@ export const GetApiKeyBudgetsData$inboundSchema: z.ZodType<
|
|
|
286
288
|
}).transform((v) => {
|
|
287
289
|
return remap$(v, {
|
|
288
290
|
"scope_id": "scopeId",
|
|
291
|
+
"scope_org_id": "scopeOrgId",
|
|
289
292
|
"alert_webhook_url": "alertWebhookUrl",
|
|
290
293
|
});
|
|
291
294
|
});
|
|
@@ -294,6 +297,7 @@ export type GetApiKeyBudgetsData$Outbound = {
|
|
|
294
297
|
id: string;
|
|
295
298
|
scope: string;
|
|
296
299
|
scope_id: string;
|
|
300
|
+
scope_org_id: string | null;
|
|
297
301
|
owner: string;
|
|
298
302
|
period: string;
|
|
299
303
|
limit: number;
|
|
@@ -311,6 +315,7 @@ export const GetApiKeyBudgetsData$outboundSchema: z.ZodType<
|
|
|
311
315
|
id: z.string(),
|
|
312
316
|
scope: GetApiKeyBudgetsScope$outboundSchema,
|
|
313
317
|
scopeId: z.string(),
|
|
318
|
+
scopeOrgId: z.nullable(z.string()),
|
|
314
319
|
owner: GetApiKeyBudgetsOwner$outboundSchema,
|
|
315
320
|
period: GetApiKeyBudgetsPeriod$outboundSchema,
|
|
316
321
|
limit: z.number(),
|
|
@@ -320,6 +325,7 @@ export const GetApiKeyBudgetsData$outboundSchema: z.ZodType<
|
|
|
320
325
|
}).transform((v) => {
|
|
321
326
|
return remap$(v, {
|
|
322
327
|
scopeId: "scope_id",
|
|
328
|
+
scopeOrgId: "scope_org_id",
|
|
323
329
|
alertWebhookUrl: "alert_webhook_url",
|
|
324
330
|
});
|
|
325
331
|
});
|
|
@@ -67,6 +67,7 @@ export type GetOrgBudgetsData = {
|
|
|
67
67
|
id: string;
|
|
68
68
|
scope: GetOrgBudgetsScope;
|
|
69
69
|
scopeId: string;
|
|
70
|
+
scopeOrgId: string | null;
|
|
70
71
|
owner: GetOrgBudgetsOwner;
|
|
71
72
|
period: GetOrgBudgetsPeriod;
|
|
72
73
|
limit: number;
|
|
@@ -277,6 +278,7 @@ export const GetOrgBudgetsData$inboundSchema: z.ZodType<
|
|
|
277
278
|
id: z.string(),
|
|
278
279
|
scope: GetOrgBudgetsScope$inboundSchema,
|
|
279
280
|
scope_id: z.string(),
|
|
281
|
+
scope_org_id: z.nullable(z.string()),
|
|
280
282
|
owner: GetOrgBudgetsOwner$inboundSchema,
|
|
281
283
|
period: GetOrgBudgetsPeriod$inboundSchema,
|
|
282
284
|
limit: z.number(),
|
|
@@ -286,6 +288,7 @@ export const GetOrgBudgetsData$inboundSchema: z.ZodType<
|
|
|
286
288
|
}).transform((v) => {
|
|
287
289
|
return remap$(v, {
|
|
288
290
|
"scope_id": "scopeId",
|
|
291
|
+
"scope_org_id": "scopeOrgId",
|
|
289
292
|
"alert_webhook_url": "alertWebhookUrl",
|
|
290
293
|
});
|
|
291
294
|
});
|
|
@@ -294,6 +297,7 @@ export type GetOrgBudgetsData$Outbound = {
|
|
|
294
297
|
id: string;
|
|
295
298
|
scope: string;
|
|
296
299
|
scope_id: string;
|
|
300
|
+
scope_org_id: string | null;
|
|
297
301
|
owner: string;
|
|
298
302
|
period: string;
|
|
299
303
|
limit: number;
|
|
@@ -311,6 +315,7 @@ export const GetOrgBudgetsData$outboundSchema: z.ZodType<
|
|
|
311
315
|
id: z.string(),
|
|
312
316
|
scope: GetOrgBudgetsScope$outboundSchema,
|
|
313
317
|
scopeId: z.string(),
|
|
318
|
+
scopeOrgId: z.nullable(z.string()),
|
|
314
319
|
owner: GetOrgBudgetsOwner$outboundSchema,
|
|
315
320
|
period: GetOrgBudgetsPeriod$outboundSchema,
|
|
316
321
|
limit: z.number(),
|
|
@@ -320,6 +325,7 @@ export const GetOrgBudgetsData$outboundSchema: z.ZodType<
|
|
|
320
325
|
}).transform((v) => {
|
|
321
326
|
return remap$(v, {
|
|
322
327
|
scopeId: "scope_id",
|
|
328
|
+
scopeOrgId: "scope_org_id",
|
|
323
329
|
alertWebhookUrl: "alert_webhook_url",
|
|
324
330
|
});
|
|
325
331
|
});
|
|
@@ -63,6 +63,7 @@ export type ListBudgetsData = {
|
|
|
63
63
|
id: string;
|
|
64
64
|
scope: ListBudgetsScope;
|
|
65
65
|
scopeId: string;
|
|
66
|
+
scopeOrgId: string | null;
|
|
66
67
|
owner: ListBudgetsOwner;
|
|
67
68
|
period: ListBudgetsPeriod;
|
|
68
69
|
limit: number;
|
|
@@ -234,6 +235,7 @@ export const ListBudgetsData$inboundSchema: z.ZodType<
|
|
|
234
235
|
id: z.string(),
|
|
235
236
|
scope: ListBudgetsScope$inboundSchema,
|
|
236
237
|
scope_id: z.string(),
|
|
238
|
+
scope_org_id: z.nullable(z.string()),
|
|
237
239
|
owner: ListBudgetsOwner$inboundSchema,
|
|
238
240
|
period: ListBudgetsPeriod$inboundSchema,
|
|
239
241
|
limit: z.number(),
|
|
@@ -243,6 +245,7 @@ export const ListBudgetsData$inboundSchema: z.ZodType<
|
|
|
243
245
|
}).transform((v) => {
|
|
244
246
|
return remap$(v, {
|
|
245
247
|
"scope_id": "scopeId",
|
|
248
|
+
"scope_org_id": "scopeOrgId",
|
|
246
249
|
"alert_webhook_url": "alertWebhookUrl",
|
|
247
250
|
});
|
|
248
251
|
});
|
|
@@ -251,6 +254,7 @@ export type ListBudgetsData$Outbound = {
|
|
|
251
254
|
id: string;
|
|
252
255
|
scope: string;
|
|
253
256
|
scope_id: string;
|
|
257
|
+
scope_org_id: string | null;
|
|
254
258
|
owner: string;
|
|
255
259
|
period: string;
|
|
256
260
|
limit: number;
|
|
@@ -268,6 +272,7 @@ export const ListBudgetsData$outboundSchema: z.ZodType<
|
|
|
268
272
|
id: z.string(),
|
|
269
273
|
scope: ListBudgetsScope$outboundSchema,
|
|
270
274
|
scopeId: z.string(),
|
|
275
|
+
scopeOrgId: z.nullable(z.string()),
|
|
271
276
|
owner: ListBudgetsOwner$outboundSchema,
|
|
272
277
|
period: ListBudgetsPeriod$outboundSchema,
|
|
273
278
|
limit: z.number(),
|
|
@@ -277,6 +282,7 @@ export const ListBudgetsData$outboundSchema: z.ZodType<
|
|
|
277
282
|
}).transform((v) => {
|
|
278
283
|
return remap$(v, {
|
|
279
284
|
scopeId: "scope_id",
|
|
285
|
+
scopeOrgId: "scope_org_id",
|
|
280
286
|
alertWebhookUrl: "alert_webhook_url",
|
|
281
287
|
});
|
|
282
288
|
});
|
|
@@ -122,6 +122,7 @@ export type SetApiKeyBudgetResponseBody = {
|
|
|
122
122
|
id: string;
|
|
123
123
|
scope: SetApiKeyBudgetScope;
|
|
124
124
|
scopeId: string;
|
|
125
|
+
scopeOrgId: string | null;
|
|
125
126
|
owner: SetApiKeyBudgetBudgetsOwner;
|
|
126
127
|
period: SetApiKeyBudgetBudgetsPeriod;
|
|
127
128
|
limit: number;
|
|
@@ -470,6 +471,7 @@ export const SetApiKeyBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
470
471
|
id: z.string(),
|
|
471
472
|
scope: SetApiKeyBudgetScope$inboundSchema,
|
|
472
473
|
scope_id: z.string(),
|
|
474
|
+
scope_org_id: z.nullable(z.string()),
|
|
473
475
|
owner: SetApiKeyBudgetBudgetsOwner$inboundSchema,
|
|
474
476
|
period: SetApiKeyBudgetBudgetsPeriod$inboundSchema,
|
|
475
477
|
limit: z.number(),
|
|
@@ -481,6 +483,7 @@ export const SetApiKeyBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
481
483
|
}).transform((v) => {
|
|
482
484
|
return remap$(v, {
|
|
483
485
|
"scope_id": "scopeId",
|
|
486
|
+
"scope_org_id": "scopeOrgId",
|
|
484
487
|
"alert_webhook_url": "alertWebhookUrl",
|
|
485
488
|
});
|
|
486
489
|
});
|
|
@@ -489,6 +492,7 @@ export type SetApiKeyBudgetResponseBody$Outbound = {
|
|
|
489
492
|
id: string;
|
|
490
493
|
scope: string;
|
|
491
494
|
scope_id: string;
|
|
495
|
+
scope_org_id: string | null;
|
|
492
496
|
owner: string;
|
|
493
497
|
period: string;
|
|
494
498
|
limit: number;
|
|
@@ -506,6 +510,7 @@ export const SetApiKeyBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
506
510
|
id: z.string(),
|
|
507
511
|
scope: SetApiKeyBudgetScope$outboundSchema,
|
|
508
512
|
scopeId: z.string(),
|
|
513
|
+
scopeOrgId: z.nullable(z.string()),
|
|
509
514
|
owner: SetApiKeyBudgetBudgetsOwner$outboundSchema,
|
|
510
515
|
period: SetApiKeyBudgetBudgetsPeriod$outboundSchema,
|
|
511
516
|
limit: z.number(),
|
|
@@ -517,6 +522,7 @@ export const SetApiKeyBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
517
522
|
}).transform((v) => {
|
|
518
523
|
return remap$(v, {
|
|
519
524
|
scopeId: "scope_id",
|
|
525
|
+
scopeOrgId: "scope_org_id",
|
|
520
526
|
alertWebhookUrl: "alert_webhook_url",
|
|
521
527
|
});
|
|
522
528
|
});
|