mixpeek 0.81.133 → 0.81.134
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.
|
@@ -197,7 +197,7 @@ export declare const OrganizationBillingApiAxiosParamCreator: (configuration?: C
|
|
|
197
197
|
*/
|
|
198
198
|
subscribeToPlanOrganizationsBilling: (subscribeRequest: SubscribeRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
199
199
|
/**
|
|
200
|
-
* Update spending cap configuration. Configure spending limits and alert thresholds to control costs. **Features:** - **Soft Limit (Budget)**: Triggers alerts but doesn\'t block API access - **Hard Cap**: Blocks API access when reached
|
|
200
|
+
* Update spending cap configuration. Configure spending limits and alert thresholds to control costs. **Features:** - **Soft Limit (Budget)**: Triggers alerts but doesn\'t block API access - **Hard Cap**: Blocks API access when reached. Setting a positive `hard_spending_cap` arms enforcement automatically; pass `hard_cap_enabled: false` in the same request to set the cap without enforcing it. Clearing the cap (null/0) disarms enforcement. - **Alert Thresholds**: Customize when to receive spending notifications **Requirements:** - Admin permission - Only applies to organizations with auto-billing enabled **Example:** ```python # Set $100 budget with alerts at 75% and 100% response = await client.post( \"/v1/organizations/billing/spending-caps\", json={ \"monthly_spending_budget\": 10000, # $100 in cents \"spending_alert_thresholds\": [75, 100], \"spending_alerts_enabled\": True, } ) # Enable hard cap at $500 response = await client.post( \"/v1/organizations/billing/spending-caps\", json={ \"hard_spending_cap\": 50000, # $500 in cents \"hard_cap_enabled\": True, } ) # Disable all spending limits response = await client.post( \"/v1/organizations/billing/spending-caps\", json={ \"monthly_spending_budget\": None, \"hard_spending_cap\": None, \"hard_cap_enabled\": False, } ) ```
|
|
201
201
|
* @summary Update Spending Caps
|
|
202
202
|
* @param {UpdateSpendingCapsRequest} updateSpendingCapsRequest
|
|
203
203
|
* @param {*} [options] Override http request option.
|
|
@@ -366,7 +366,7 @@ export declare const OrganizationBillingApiFp: (configuration?: Configuration) =
|
|
|
366
366
|
*/
|
|
367
367
|
subscribeToPlanOrganizationsBilling(subscribeRequest: SubscribeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubscribeResponse>>;
|
|
368
368
|
/**
|
|
369
|
-
* Update spending cap configuration. Configure spending limits and alert thresholds to control costs. **Features:** - **Soft Limit (Budget)**: Triggers alerts but doesn\'t block API access - **Hard Cap**: Blocks API access when reached
|
|
369
|
+
* Update spending cap configuration. Configure spending limits and alert thresholds to control costs. **Features:** - **Soft Limit (Budget)**: Triggers alerts but doesn\'t block API access - **Hard Cap**: Blocks API access when reached. Setting a positive `hard_spending_cap` arms enforcement automatically; pass `hard_cap_enabled: false` in the same request to set the cap without enforcing it. Clearing the cap (null/0) disarms enforcement. - **Alert Thresholds**: Customize when to receive spending notifications **Requirements:** - Admin permission - Only applies to organizations with auto-billing enabled **Example:** ```python # Set $100 budget with alerts at 75% and 100% response = await client.post( \"/v1/organizations/billing/spending-caps\", json={ \"monthly_spending_budget\": 10000, # $100 in cents \"spending_alert_thresholds\": [75, 100], \"spending_alerts_enabled\": True, } ) # Enable hard cap at $500 response = await client.post( \"/v1/organizations/billing/spending-caps\", json={ \"hard_spending_cap\": 50000, # $500 in cents \"hard_cap_enabled\": True, } ) # Disable all spending limits response = await client.post( \"/v1/organizations/billing/spending-caps\", json={ \"monthly_spending_budget\": None, \"hard_spending_cap\": None, \"hard_cap_enabled\": False, } ) ```
|
|
370
370
|
* @summary Update Spending Caps
|
|
371
371
|
* @param {UpdateSpendingCapsRequest} updateSpendingCapsRequest
|
|
372
372
|
* @param {*} [options] Override http request option.
|
|
@@ -533,7 +533,7 @@ export declare const OrganizationBillingApiFactory: (configuration?: Configurati
|
|
|
533
533
|
*/
|
|
534
534
|
subscribeToPlanOrganizationsBilling(requestParameters: OrganizationBillingApiSubscribeToPlanOrganizationsBillingRequest, options?: RawAxiosRequestConfig): AxiosPromise<SubscribeResponse>;
|
|
535
535
|
/**
|
|
536
|
-
* Update spending cap configuration. Configure spending limits and alert thresholds to control costs. **Features:** - **Soft Limit (Budget)**: Triggers alerts but doesn\'t block API access - **Hard Cap**: Blocks API access when reached
|
|
536
|
+
* Update spending cap configuration. Configure spending limits and alert thresholds to control costs. **Features:** - **Soft Limit (Budget)**: Triggers alerts but doesn\'t block API access - **Hard Cap**: Blocks API access when reached. Setting a positive `hard_spending_cap` arms enforcement automatically; pass `hard_cap_enabled: false` in the same request to set the cap without enforcing it. Clearing the cap (null/0) disarms enforcement. - **Alert Thresholds**: Customize when to receive spending notifications **Requirements:** - Admin permission - Only applies to organizations with auto-billing enabled **Example:** ```python # Set $100 budget with alerts at 75% and 100% response = await client.post( \"/v1/organizations/billing/spending-caps\", json={ \"monthly_spending_budget\": 10000, # $100 in cents \"spending_alert_thresholds\": [75, 100], \"spending_alerts_enabled\": True, } ) # Enable hard cap at $500 response = await client.post( \"/v1/organizations/billing/spending-caps\", json={ \"hard_spending_cap\": 50000, # $500 in cents \"hard_cap_enabled\": True, } ) # Disable all spending limits response = await client.post( \"/v1/organizations/billing/spending-caps\", json={ \"monthly_spending_budget\": None, \"hard_spending_cap\": None, \"hard_cap_enabled\": False, } ) ```
|
|
537
537
|
* @summary Update Spending Caps
|
|
538
538
|
* @param {OrganizationBillingApiUpdateSpendingCapsOrganizationsBillingRequest} requestParameters Request parameters.
|
|
539
539
|
* @param {*} [options] Override http request option.
|
|
@@ -890,7 +890,7 @@ export declare class OrganizationBillingApi extends BaseAPI {
|
|
|
890
890
|
*/
|
|
891
891
|
subscribeToPlanOrganizationsBilling(requestParameters: OrganizationBillingApiSubscribeToPlanOrganizationsBillingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SubscribeResponse, any, {}>>;
|
|
892
892
|
/**
|
|
893
|
-
* Update spending cap configuration. Configure spending limits and alert thresholds to control costs. **Features:** - **Soft Limit (Budget)**: Triggers alerts but doesn\'t block API access - **Hard Cap**: Blocks API access when reached
|
|
893
|
+
* Update spending cap configuration. Configure spending limits and alert thresholds to control costs. **Features:** - **Soft Limit (Budget)**: Triggers alerts but doesn\'t block API access - **Hard Cap**: Blocks API access when reached. Setting a positive `hard_spending_cap` arms enforcement automatically; pass `hard_cap_enabled: false` in the same request to set the cap without enforcing it. Clearing the cap (null/0) disarms enforcement. - **Alert Thresholds**: Customize when to receive spending notifications **Requirements:** - Admin permission - Only applies to organizations with auto-billing enabled **Example:** ```python # Set $100 budget with alerts at 75% and 100% response = await client.post( \"/v1/organizations/billing/spending-caps\", json={ \"monthly_spending_budget\": 10000, # $100 in cents \"spending_alert_thresholds\": [75, 100], \"spending_alerts_enabled\": True, } ) # Enable hard cap at $500 response = await client.post( \"/v1/organizations/billing/spending-caps\", json={ \"hard_spending_cap\": 50000, # $500 in cents \"hard_cap_enabled\": True, } ) # Disable all spending limits response = await client.post( \"/v1/organizations/billing/spending-caps\", json={ \"monthly_spending_budget\": None, \"hard_spending_cap\": None, \"hard_cap_enabled\": False, } ) ```
|
|
894
894
|
* @summary Update Spending Caps
|
|
895
895
|
* @param {OrganizationBillingApiUpdateSpendingCapsOrganizationsBillingRequest} requestParameters Request parameters.
|
|
896
896
|
* @param {*} [options] Override http request option.
|
package/package.json
CHANGED