hanzoai 8.5.159 → 8.5.605

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 (49) hide show
  1. package/dist/api/ai-api.d.ts +47 -0
  2. package/dist/api/ai-api.js +67 -0
  3. package/dist/api/sync-api.d.ts +12 -12
  4. package/dist/api/sync-api.js +12 -12
  5. package/dist/esm/api/ai-api.d.ts +47 -0
  6. package/dist/esm/api/ai-api.js +67 -0
  7. package/dist/esm/api/sync-api.d.ts +12 -12
  8. package/dist/esm/api/sync-api.js +12 -12
  9. package/dist/esm/models/ai-limits-set.d.ts +24 -0
  10. package/dist/esm/models/ai-limits.d.ts +13 -0
  11. package/dist/esm/models/ai-model-info.d.ts +36 -0
  12. package/dist/esm/models/{billing-window.d.ts → ai-paused.d.ts} +12 -24
  13. package/dist/esm/models/ai-paused.js +14 -0
  14. package/dist/esm/models/allowance-allowance.d.ts +2 -2
  15. package/dist/esm/models/billing-rollup.d.ts +0 -7
  16. package/dist/esm/models/billing-tier.d.ts +0 -7
  17. package/dist/esm/models/index.d.ts +3 -1
  18. package/dist/esm/models/index.js +3 -1
  19. package/dist/esm/models/sync-native-view.d.ts +60 -0
  20. package/dist/esm/models/sync-native-view.js +14 -0
  21. package/dist/esm/models/sync-sync-view.d.ts +13 -0
  22. package/dist/models/ai-limits-set.d.ts +24 -0
  23. package/dist/models/ai-limits.d.ts +13 -0
  24. package/dist/models/ai-model-info.d.ts +36 -0
  25. package/dist/models/{billing-window.d.ts → ai-paused.d.ts} +12 -24
  26. package/dist/models/ai-paused.js +15 -0
  27. package/dist/models/allowance-allowance.d.ts +2 -2
  28. package/dist/models/billing-rollup.d.ts +0 -7
  29. package/dist/models/billing-tier.d.ts +0 -7
  30. package/dist/models/index.d.ts +3 -1
  31. package/dist/models/index.js +3 -1
  32. package/dist/models/sync-native-view.d.ts +60 -0
  33. package/dist/models/sync-native-view.js +15 -0
  34. package/dist/models/sync-sync-view.d.ts +13 -0
  35. package/package.json +1 -1
  36. package/src/api/ai-api.ts +91 -0
  37. package/src/api/sync-api.ts +12 -12
  38. package/src/models/ai-limits-set.ts +30 -0
  39. package/src/models/ai-limits.ts +15 -0
  40. package/src/models/ai-model-info.ts +36 -0
  41. package/src/models/{billing-window.ts → ai-paused.ts} +12 -24
  42. package/src/models/allowance-allowance.ts +2 -2
  43. package/src/models/billing-rollup.ts +0 -9
  44. package/src/models/billing-tier.ts +0 -9
  45. package/src/models/index.ts +3 -1
  46. package/src/models/sync-native-view.ts +66 -0
  47. package/src/models/sync-sync-view.ts +15 -0
  48. /package/dist/esm/models/{billing-window.js → ai-limits-set.js} +0 -0
  49. /package/dist/models/{billing-window.js → ai-limits-set.js} +0 -0
@@ -18,6 +18,7 @@ import type { AiAnthropicResponse } from '../models';
18
18
  import type { AiDecisionsRequest } from '../models';
19
19
  import type { AiDecisionsResponse } from '../models';
20
20
  import type { AiLimits } from '../models';
21
+ import type { AiLimitsSet } from '../models';
21
22
  import type { AiMCPSurface } from '../models';
22
23
  import type { AiModelList } from '../models';
23
24
  import type { AiRanking } from '../models';
@@ -128,6 +129,14 @@ export declare const AiApiAxiosParamCreator: (configuration?: Configuration) =>
128
129
  * @throws {RequiredError}
129
130
  */
130
131
  aiMCPTools: (names?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
132
+ /**
133
+ * Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent. A pooled org wallet is its org admin\'s to set; a person\'s own wallet is theirs. Every change is on the audit trail, before and after; no trail, no change. Answers the limits as they read after it.
134
+ * @summary Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent.
135
+ * @param {AiLimitsSet} aiLimitsSet
136
+ * @param {*} [options] Override http request option.
137
+ * @throws {RequiredError}
138
+ */
139
+ aiSetLimits: (aiLimitsSet: AiLimitsSet, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
131
140
  /**
132
141
  * Delete one article.
133
142
  * @summary Delete a article
@@ -2607,6 +2616,14 @@ export declare const AiApiFp: (configuration?: Configuration) => {
2607
2616
  * @throws {RequiredError}
2608
2617
  */
2609
2618
  aiMCPTools(names?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiMCPSurface>>;
2619
+ /**
2620
+ * Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent. A pooled org wallet is its org admin\'s to set; a person\'s own wallet is theirs. Every change is on the audit trail, before and after; no trail, no change. Answers the limits as they read after it.
2621
+ * @summary Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent.
2622
+ * @param {AiLimitsSet} aiLimitsSet
2623
+ * @param {*} [options] Override http request option.
2624
+ * @throws {RequiredError}
2625
+ */
2626
+ aiSetLimits(aiLimitsSet: AiLimitsSet, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiLimits>>;
2610
2627
  /**
2611
2628
  * Delete one article.
2612
2629
  * @summary Delete a article
@@ -5086,6 +5103,14 @@ export declare const AiApiFactory: (configuration?: Configuration, basePath?: st
5086
5103
  * @throws {RequiredError}
5087
5104
  */
5088
5105
  aiMCPTools(requestParameters?: AiApiAiMCPToolsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiMCPSurface>;
5106
+ /**
5107
+ * Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent. A pooled org wallet is its org admin\'s to set; a person\'s own wallet is theirs. Every change is on the audit trail, before and after; no trail, no change. Answers the limits as they read after it.
5108
+ * @summary Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent.
5109
+ * @param {AiApiAiSetLimitsRequest} requestParameters Request parameters.
5110
+ * @param {*} [options] Override http request option.
5111
+ * @throws {RequiredError}
5112
+ */
5113
+ aiSetLimits(requestParameters: AiApiAiSetLimitsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiLimits>;
5089
5114
  /**
5090
5115
  * Delete one article.
5091
5116
  * @summary Delete a article
@@ -7399,6 +7424,19 @@ export interface AiApiAiMCPToolsRequest {
7399
7424
  */
7400
7425
  readonly names?: boolean;
7401
7426
  }
7427
+ /**
7428
+ * Request parameters for aiSetLimits operation in AiApi.
7429
+ * @export
7430
+ * @interface AiApiAiSetLimitsRequest
7431
+ */
7432
+ export interface AiApiAiSetLimitsRequest {
7433
+ /**
7434
+ *
7435
+ * @type {AiLimitsSet}
7436
+ * @memberof AiApiAiSetLimits
7437
+ */
7438
+ readonly aiLimitsSet: AiLimitsSet;
7439
+ }
7402
7440
  /**
7403
7441
  * Request parameters for deleteAiArticlesByOwnerByName operation in AiApi.
7404
7442
  * @export
@@ -10509,6 +10547,15 @@ export declare class AiApi extends BaseAPI {
10509
10547
  * @memberof AiApi
10510
10548
  */
10511
10549
  aiMCPTools(requestParameters?: AiApiAiMCPToolsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<AiMCPSurface, any, {}>>;
10550
+ /**
10551
+ * Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent. A pooled org wallet is its org admin\'s to set; a person\'s own wallet is theirs. Every change is on the audit trail, before and after; no trail, no change. Answers the limits as they read after it.
10552
+ * @summary Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent.
10553
+ * @param {AiApiAiSetLimitsRequest} requestParameters Request parameters.
10554
+ * @param {*} [options] Override http request option.
10555
+ * @throws {RequiredError}
10556
+ * @memberof AiApi
10557
+ */
10558
+ aiSetLimits(requestParameters: AiApiAiSetLimitsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<AiLimits, any, {}>>;
10512
10559
  /**
10513
10560
  * Delete one article.
10514
10561
  * @summary Delete a article
@@ -89,6 +89,39 @@ const AiApiAxiosParamCreator = function (configuration) {
89
89
  options: localVarRequestOptions,
90
90
  };
91
91
  },
92
+ /**
93
+ * Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent. A pooled org wallet is its org admin\'s to set; a person\'s own wallet is theirs. Every change is on the audit trail, before and after; no trail, no change. Answers the limits as they read after it.
94
+ * @summary Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent.
95
+ * @param {AiLimitsSet} aiLimitsSet
96
+ * @param {*} [options] Override http request option.
97
+ * @throws {RequiredError}
98
+ */
99
+ aiSetLimits: async (aiLimitsSet, options = {}) => {
100
+ // verify required parameter 'aiLimitsSet' is not null or undefined
101
+ (0, common_1.assertParamExists)('aiSetLimits', 'aiLimitsSet', aiLimitsSet);
102
+ const localVarPath = `/v1/ai/limits`;
103
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
104
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
105
+ let baseOptions;
106
+ if (configuration) {
107
+ baseOptions = configuration.baseOptions;
108
+ }
109
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
110
+ const localVarHeaderParameter = {};
111
+ const localVarQueryParameter = {};
112
+ // authentication bearer required
113
+ // http bearer authentication required
114
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
115
+ localVarHeaderParameter['Content-Type'] = 'application/json';
116
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
117
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
118
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
119
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(aiLimitsSet, localVarRequestOptions, configuration);
120
+ return {
121
+ url: (0, common_1.toPathString)(localVarUrlObj),
122
+ options: localVarRequestOptions,
123
+ };
124
+ },
92
125
  /**
93
126
  * Delete one article.
94
127
  * @summary Delete a article
@@ -10060,6 +10093,19 @@ const AiApiFp = function (configuration) {
10060
10093
  const localVarOperationServerBasePath = base_1.operationServerMap['AiApi.aiMCPTools']?.[localVarOperationServerIndex]?.url;
10061
10094
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10062
10095
  },
10096
+ /**
10097
+ * Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent. A pooled org wallet is its org admin\'s to set; a person\'s own wallet is theirs. Every change is on the audit trail, before and after; no trail, no change. Answers the limits as they read after it.
10098
+ * @summary Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent.
10099
+ * @param {AiLimitsSet} aiLimitsSet
10100
+ * @param {*} [options] Override http request option.
10101
+ * @throws {RequiredError}
10102
+ */
10103
+ async aiSetLimits(aiLimitsSet, options) {
10104
+ const localVarAxiosArgs = await localVarAxiosParamCreator.aiSetLimits(aiLimitsSet, options);
10105
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10106
+ const localVarOperationServerBasePath = base_1.operationServerMap['AiApi.aiSetLimits']?.[localVarOperationServerIndex]?.url;
10107
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10108
+ },
10063
10109
  /**
10064
10110
  * Delete one article.
10065
10111
  * @summary Delete a article
@@ -14072,6 +14118,16 @@ const AiApiFactory = function (configuration, basePath, axios) {
14072
14118
  aiMCPTools(requestParameters = {}, options) {
14073
14119
  return localVarFp.aiMCPTools(requestParameters.names, options).then((request) => request(axios, basePath));
14074
14120
  },
14121
+ /**
14122
+ * Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent. A pooled org wallet is its org admin\'s to set; a person\'s own wallet is theirs. Every change is on the audit trail, before and after; no trail, no change. Answers the limits as they read after it.
14123
+ * @summary Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent.
14124
+ * @param {AiApiAiSetLimitsRequest} requestParameters Request parameters.
14125
+ * @param {*} [options] Override http request option.
14126
+ * @throws {RequiredError}
14127
+ */
14128
+ aiSetLimits(requestParameters, options) {
14129
+ return localVarFp.aiSetLimits(requestParameters.aiLimitsSet, options).then((request) => request(axios, basePath));
14130
+ },
14075
14131
  /**
14076
14132
  * Delete one article.
14077
14133
  * @summary Delete a article
@@ -17012,6 +17068,17 @@ class AiApi extends base_1.BaseAPI {
17012
17068
  aiMCPTools(requestParameters = {}, options) {
17013
17069
  return (0, exports.AiApiFp)(this.configuration).aiMCPTools(requestParameters.names, options).then((request) => request(this.axios, this.basePath));
17014
17070
  }
17071
+ /**
17072
+ * Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent. A pooled org wallet is its org admin\'s to set; a person\'s own wallet is theirs. Every change is on the audit trail, before and after; no trail, no change. Answers the limits as they read after it.
17073
+ * @summary Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent.
17074
+ * @param {AiApiAiSetLimitsRequest} requestParameters Request parameters.
17075
+ * @param {*} [options] Override http request option.
17076
+ * @throws {RequiredError}
17077
+ * @memberof AiApi
17078
+ */
17079
+ aiSetLimits(requestParameters, options) {
17080
+ return (0, exports.AiApiFp)(this.configuration).aiSetLimits(requestParameters.aiLimitsSet, options).then((request) => request(this.axios, this.basePath));
17081
+ }
17015
17082
  /**
17016
17083
  * Delete one article.
17017
17084
  * @summary Delete a article
@@ -32,8 +32,8 @@ export declare const SyncApiAxiosParamCreator: (configuration?: Configuration) =
32
32
  */
33
33
  deleteSyncById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
34
34
  /**
35
- * Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, and the time it last reconciled. Scoped to the caller\'s own org — another tenant\'s links are structurally unreachable.
36
- * @summary Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, and the time it last reconciled.
35
+ * Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, the time it last reconciled, and for a repo link its native copy on the forge — the address to clone it from, its default branch and whether it is in step. Scoped to the caller\'s own org — another tenant\'s links are structurally unreachable.
36
+ * @summary Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, the time it last reconciled, and for a repo link its native copy on the forge — the address to clone it from, its default branch and whether it is in step.
37
37
  * @param {*} [options] Override http request option.
38
38
  * @throws {RequiredError}
39
39
  */
@@ -56,7 +56,7 @@ export declare const SyncApiAxiosParamCreator: (configuration?: Configuration) =
56
56
  */
57
57
  patchSyncById: (id: string, syncPatchSyncIn: SyncPatchSyncIn, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
58
58
  /**
59
- * Declares a sync between two endpoints and returns it. It is an UPSERT: re-declaring the same source and target updates that link rather than piling up duplicates, so a console that re-submits is safe. The org comes from the validated principal, never from the request, so a sync can only ever bind endpoints inside the caller\'s own org. A git source must be an https clone URL on the provider\'s own host with no embedded credentials; a target left empty is derived as a native repository named after the source. With run=true the first reconcile is queued in the background, so a large initial import never blocks this response.
59
+ * Declares a sync between two endpoints and returns it. It is an UPSERT: re-declaring the same source and target updates that link rather than piling up duplicates, so a console that re-submits is safe. The org comes from the validated principal, never from the request, so a sync can only ever bind endpoints inside the caller\'s own org. A git source must be an https clone URL on the provider\'s own host with no embedded credentials; a target left empty is derived as a native repository named after the source. A source naming only a GitHub account (https://github.com/<account>) links the whole account: every repository the org\'s GitHub installation grants on it gets a repo link of its own, with this link\'s direction and trigger, and so does every repository created there later. With run=true the first reconcile is queued in the background, so a large initial import never blocks this response.
60
60
  * @summary Declares a sync between two endpoints and returns it.
61
61
  * @param {SyncSyncReq} syncSyncReq
62
62
  * @param {*} [options] Override http request option.
@@ -86,8 +86,8 @@ export declare const SyncApiFp: (configuration?: Configuration) => {
86
86
  */
87
87
  deleteSyncById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
88
88
  /**
89
- * Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, and the time it last reconciled. Scoped to the caller\'s own org — another tenant\'s links are structurally unreachable.
90
- * @summary Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, and the time it last reconciled.
89
+ * Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, the time it last reconciled, and for a repo link its native copy on the forge — the address to clone it from, its default branch and whether it is in step. Scoped to the caller\'s own org — another tenant\'s links are structurally unreachable.
90
+ * @summary Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, the time it last reconciled, and for a repo link its native copy on the forge — the address to clone it from, its default branch and whether it is in step.
91
91
  * @param {*} [options] Override http request option.
92
92
  * @throws {RequiredError}
93
93
  */
@@ -110,7 +110,7 @@ export declare const SyncApiFp: (configuration?: Configuration) => {
110
110
  */
111
111
  patchSyncById(id: string, syncPatchSyncIn: SyncPatchSyncIn, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncSyncView>>;
112
112
  /**
113
- * Declares a sync between two endpoints and returns it. It is an UPSERT: re-declaring the same source and target updates that link rather than piling up duplicates, so a console that re-submits is safe. The org comes from the validated principal, never from the request, so a sync can only ever bind endpoints inside the caller\'s own org. A git source must be an https clone URL on the provider\'s own host with no embedded credentials; a target left empty is derived as a native repository named after the source. With run=true the first reconcile is queued in the background, so a large initial import never blocks this response.
113
+ * Declares a sync between two endpoints and returns it. It is an UPSERT: re-declaring the same source and target updates that link rather than piling up duplicates, so a console that re-submits is safe. The org comes from the validated principal, never from the request, so a sync can only ever bind endpoints inside the caller\'s own org. A git source must be an https clone URL on the provider\'s own host with no embedded credentials; a target left empty is derived as a native repository named after the source. A source naming only a GitHub account (https://github.com/<account>) links the whole account: every repository the org\'s GitHub installation grants on it gets a repo link of its own, with this link\'s direction and trigger, and so does every repository created there later. With run=true the first reconcile is queued in the background, so a large initial import never blocks this response.
114
114
  * @summary Declares a sync between two endpoints and returns it.
115
115
  * @param {SyncSyncReq} syncSyncReq
116
116
  * @param {*} [options] Override http request option.
@@ -140,8 +140,8 @@ export declare const SyncApiFactory: (configuration?: Configuration, basePath?:
140
140
  */
141
141
  deleteSyncById(requestParameters: SyncApiDeleteSyncByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
142
142
  /**
143
- * Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, and the time it last reconciled. Scoped to the caller\'s own org — another tenant\'s links are structurally unreachable.
144
- * @summary Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, and the time it last reconciled.
143
+ * Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, the time it last reconciled, and for a repo link its native copy on the forge — the address to clone it from, its default branch and whether it is in step. Scoped to the caller\'s own org — another tenant\'s links are structurally unreachable.
144
+ * @summary Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, the time it last reconciled, and for a repo link its native copy on the forge — the address to clone it from, its default branch and whether it is in step.
145
145
  * @param {*} [options] Override http request option.
146
146
  * @throws {RequiredError}
147
147
  */
@@ -163,7 +163,7 @@ export declare const SyncApiFactory: (configuration?: Configuration, basePath?:
163
163
  */
164
164
  patchSyncById(requestParameters: SyncApiPatchSyncByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<SyncSyncView>;
165
165
  /**
166
- * Declares a sync between two endpoints and returns it. It is an UPSERT: re-declaring the same source and target updates that link rather than piling up duplicates, so a console that re-submits is safe. The org comes from the validated principal, never from the request, so a sync can only ever bind endpoints inside the caller\'s own org. A git source must be an https clone URL on the provider\'s own host with no embedded credentials; a target left empty is derived as a native repository named after the source. With run=true the first reconcile is queued in the background, so a large initial import never blocks this response.
166
+ * Declares a sync between two endpoints and returns it. It is an UPSERT: re-declaring the same source and target updates that link rather than piling up duplicates, so a console that re-submits is safe. The org comes from the validated principal, never from the request, so a sync can only ever bind endpoints inside the caller\'s own org. A git source must be an https clone URL on the provider\'s own host with no embedded credentials; a target left empty is derived as a native repository named after the source. A source naming only a GitHub account (https://github.com/<account>) links the whole account: every repository the org\'s GitHub installation grants on it gets a repo link of its own, with this link\'s direction and trigger, and so does every repository created there later. With run=true the first reconcile is queued in the background, so a large initial import never blocks this response.
167
167
  * @summary Declares a sync between two endpoints and returns it.
168
168
  * @param {SyncApiPostSyncRequest} requestParameters Request parameters.
169
169
  * @param {*} [options] Override http request option.
@@ -267,8 +267,8 @@ export declare class SyncApi extends BaseAPI {
267
267
  */
268
268
  deleteSyncById(requestParameters: SyncApiDeleteSyncByIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any, {}>>;
269
269
  /**
270
- * Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, and the time it last reconciled. Scoped to the caller\'s own org — another tenant\'s links are structurally unreachable.
271
- * @summary Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, and the time it last reconciled.
270
+ * Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, the time it last reconciled, and for a repo link its native copy on the forge — the address to clone it from, its default branch and whether it is in step. Scoped to the caller\'s own org — another tenant\'s links are structurally unreachable.
271
+ * @summary Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, the time it last reconciled, and for a repo link its native copy on the forge — the address to clone it from, its default branch and whether it is in step.
272
272
  * @param {*} [options] Override http request option.
273
273
  * @throws {RequiredError}
274
274
  * @memberof SyncApi
@@ -293,7 +293,7 @@ export declare class SyncApi extends BaseAPI {
293
293
  */
294
294
  patchSyncById(requestParameters: SyncApiPatchSyncByIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SyncSyncView, any, {}>>;
295
295
  /**
296
- * Declares a sync between two endpoints and returns it. It is an UPSERT: re-declaring the same source and target updates that link rather than piling up duplicates, so a console that re-submits is safe. The org comes from the validated principal, never from the request, so a sync can only ever bind endpoints inside the caller\'s own org. A git source must be an https clone URL on the provider\'s own host with no embedded credentials; a target left empty is derived as a native repository named after the source. With run=true the first reconcile is queued in the background, so a large initial import never blocks this response.
296
+ * Declares a sync between two endpoints and returns it. It is an UPSERT: re-declaring the same source and target updates that link rather than piling up duplicates, so a console that re-submits is safe. The org comes from the validated principal, never from the request, so a sync can only ever bind endpoints inside the caller\'s own org. A git source must be an https clone URL on the provider\'s own host with no embedded credentials; a target left empty is derived as a native repository named after the source. A source naming only a GitHub account (https://github.com/<account>) links the whole account: every repository the org\'s GitHub installation grants on it gets a repo link of its own, with this link\'s direction and trigger, and so does every repository created there later. With run=true the first reconcile is queued in the background, so a large initial import never blocks this response.
297
297
  * @summary Declares a sync between two endpoints and returns it.
298
298
  * @param {SyncApiPostSyncRequest} requestParameters Request parameters.
299
299
  * @param {*} [options] Override http request option.
@@ -62,8 +62,8 @@ const SyncApiAxiosParamCreator = function (configuration) {
62
62
  };
63
63
  },
64
64
  /**
65
- * Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, and the time it last reconciled. Scoped to the caller\'s own org — another tenant\'s links are structurally unreachable.
66
- * @summary Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, and the time it last reconciled.
65
+ * Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, the time it last reconciled, and for a repo link its native copy on the forge — the address to clone it from, its default branch and whether it is in step. Scoped to the caller\'s own org — another tenant\'s links are structurally unreachable.
66
+ * @summary Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, the time it last reconciled, and for a repo link its native copy on the forge — the address to clone it from, its default branch and whether it is in step.
67
67
  * @param {*} [options] Override http request option.
68
68
  * @throws {RequiredError}
69
69
  */
@@ -159,7 +159,7 @@ const SyncApiAxiosParamCreator = function (configuration) {
159
159
  };
160
160
  },
161
161
  /**
162
- * Declares a sync between two endpoints and returns it. It is an UPSERT: re-declaring the same source and target updates that link rather than piling up duplicates, so a console that re-submits is safe. The org comes from the validated principal, never from the request, so a sync can only ever bind endpoints inside the caller\'s own org. A git source must be an https clone URL on the provider\'s own host with no embedded credentials; a target left empty is derived as a native repository named after the source. With run=true the first reconcile is queued in the background, so a large initial import never blocks this response.
162
+ * Declares a sync between two endpoints and returns it. It is an UPSERT: re-declaring the same source and target updates that link rather than piling up duplicates, so a console that re-submits is safe. The org comes from the validated principal, never from the request, so a sync can only ever bind endpoints inside the caller\'s own org. A git source must be an https clone URL on the provider\'s own host with no embedded credentials; a target left empty is derived as a native repository named after the source. A source naming only a GitHub account (https://github.com/<account>) links the whole account: every repository the org\'s GitHub installation grants on it gets a repo link of its own, with this link\'s direction and trigger, and so does every repository created there later. With run=true the first reconcile is queued in the background, so a large initial import never blocks this response.
163
163
  * @summary Declares a sync between two endpoints and returns it.
164
164
  * @param {SyncSyncReq} syncSyncReq
165
165
  * @param {*} [options] Override http request option.
@@ -247,8 +247,8 @@ const SyncApiFp = function (configuration) {
247
247
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
248
248
  },
249
249
  /**
250
- * Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, and the time it last reconciled. Scoped to the caller\'s own org — another tenant\'s links are structurally unreachable.
251
- * @summary Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, and the time it last reconciled.
250
+ * Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, the time it last reconciled, and for a repo link its native copy on the forge — the address to clone it from, its default branch and whether it is in step. Scoped to the caller\'s own org — another tenant\'s links are structurally unreachable.
251
+ * @summary Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, the time it last reconciled, and for a repo link its native copy on the forge — the address to clone it from, its default branch and whether it is in step.
252
252
  * @param {*} [options] Override http request option.
253
253
  * @throws {RequiredError}
254
254
  */
@@ -286,7 +286,7 @@ const SyncApiFp = function (configuration) {
286
286
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
287
287
  },
288
288
  /**
289
- * Declares a sync between two endpoints and returns it. It is an UPSERT: re-declaring the same source and target updates that link rather than piling up duplicates, so a console that re-submits is safe. The org comes from the validated principal, never from the request, so a sync can only ever bind endpoints inside the caller\'s own org. A git source must be an https clone URL on the provider\'s own host with no embedded credentials; a target left empty is derived as a native repository named after the source. With run=true the first reconcile is queued in the background, so a large initial import never blocks this response.
289
+ * Declares a sync between two endpoints and returns it. It is an UPSERT: re-declaring the same source and target updates that link rather than piling up duplicates, so a console that re-submits is safe. The org comes from the validated principal, never from the request, so a sync can only ever bind endpoints inside the caller\'s own org. A git source must be an https clone URL on the provider\'s own host with no embedded credentials; a target left empty is derived as a native repository named after the source. A source naming only a GitHub account (https://github.com/<account>) links the whole account: every repository the org\'s GitHub installation grants on it gets a repo link of its own, with this link\'s direction and trigger, and so does every repository created there later. With run=true the first reconcile is queued in the background, so a large initial import never blocks this response.
290
290
  * @summary Declares a sync between two endpoints and returns it.
291
291
  * @param {SyncSyncReq} syncSyncReq
292
292
  * @param {*} [options] Override http request option.
@@ -332,8 +332,8 @@ const SyncApiFactory = function (configuration, basePath, axios) {
332
332
  return localVarFp.deleteSyncById(requestParameters.id, options).then((request) => request(axios, basePath));
333
333
  },
334
334
  /**
335
- * Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, and the time it last reconciled. Scoped to the caller\'s own org — another tenant\'s links are structurally unreachable.
336
- * @summary Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, and the time it last reconciled.
335
+ * Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, the time it last reconciled, and for a repo link its native copy on the forge — the address to clone it from, its default branch and whether it is in step. Scoped to the caller\'s own org — another tenant\'s links are structurally unreachable.
336
+ * @summary Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, the time it last reconciled, and for a repo link its native copy on the forge — the address to clone it from, its default branch and whether it is in step.
337
337
  * @param {*} [options] Override http request option.
338
338
  * @throws {RequiredError}
339
339
  */
@@ -361,7 +361,7 @@ const SyncApiFactory = function (configuration, basePath, axios) {
361
361
  return localVarFp.patchSyncById(requestParameters.id, requestParameters.syncPatchSyncIn, options).then((request) => request(axios, basePath));
362
362
  },
363
363
  /**
364
- * Declares a sync between two endpoints and returns it. It is an UPSERT: re-declaring the same source and target updates that link rather than piling up duplicates, so a console that re-submits is safe. The org comes from the validated principal, never from the request, so a sync can only ever bind endpoints inside the caller\'s own org. A git source must be an https clone URL on the provider\'s own host with no embedded credentials; a target left empty is derived as a native repository named after the source. With run=true the first reconcile is queued in the background, so a large initial import never blocks this response.
364
+ * Declares a sync between two endpoints and returns it. It is an UPSERT: re-declaring the same source and target updates that link rather than piling up duplicates, so a console that re-submits is safe. The org comes from the validated principal, never from the request, so a sync can only ever bind endpoints inside the caller\'s own org. A git source must be an https clone URL on the provider\'s own host with no embedded credentials; a target left empty is derived as a native repository named after the source. A source naming only a GitHub account (https://github.com/<account>) links the whole account: every repository the org\'s GitHub installation grants on it gets a repo link of its own, with this link\'s direction and trigger, and so does every repository created there later. With run=true the first reconcile is queued in the background, so a large initial import never blocks this response.
365
365
  * @summary Declares a sync between two endpoints and returns it.
366
366
  * @param {SyncApiPostSyncRequest} requestParameters Request parameters.
367
367
  * @param {*} [options] Override http request option.
@@ -402,8 +402,8 @@ class SyncApi extends base_1.BaseAPI {
402
402
  return (0, exports.SyncApiFp)(this.configuration).deleteSyncById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
403
403
  }
404
404
  /**
405
- * Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, and the time it last reconciled. Scoped to the caller\'s own org — another tenant\'s links are structurally unreachable.
406
- * @summary Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, and the time it last reconciled.
405
+ * Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, the time it last reconciled, and for a repo link its native copy on the forge — the address to clone it from, its default branch and whether it is in step. Scoped to the caller\'s own org — another tenant\'s links are structurally unreachable.
406
+ * @summary Returns every sync link the caller\'s org has, each with its two endpoints, its direction and trigger policy, the time it last reconciled, and for a repo link its native copy on the forge — the address to clone it from, its default branch and whether it is in step.
407
407
  * @param {*} [options] Override http request option.
408
408
  * @throws {RequiredError}
409
409
  * @memberof SyncApi
@@ -434,7 +434,7 @@ class SyncApi extends base_1.BaseAPI {
434
434
  return (0, exports.SyncApiFp)(this.configuration).patchSyncById(requestParameters.id, requestParameters.syncPatchSyncIn, options).then((request) => request(this.axios, this.basePath));
435
435
  }
436
436
  /**
437
- * Declares a sync between two endpoints and returns it. It is an UPSERT: re-declaring the same source and target updates that link rather than piling up duplicates, so a console that re-submits is safe. The org comes from the validated principal, never from the request, so a sync can only ever bind endpoints inside the caller\'s own org. A git source must be an https clone URL on the provider\'s own host with no embedded credentials; a target left empty is derived as a native repository named after the source. With run=true the first reconcile is queued in the background, so a large initial import never blocks this response.
437
+ * Declares a sync between two endpoints and returns it. It is an UPSERT: re-declaring the same source and target updates that link rather than piling up duplicates, so a console that re-submits is safe. The org comes from the validated principal, never from the request, so a sync can only ever bind endpoints inside the caller\'s own org. A git source must be an https clone URL on the provider\'s own host with no embedded credentials; a target left empty is derived as a native repository named after the source. A source naming only a GitHub account (https://github.com/<account>) links the whole account: every repository the org\'s GitHub installation grants on it gets a repo link of its own, with this link\'s direction and trigger, and so does every repository created there later. With run=true the first reconcile is queued in the background, so a large initial import never blocks this response.
438
438
  * @summary Declares a sync between two endpoints and returns it.
439
439
  * @param {SyncApiPostSyncRequest} requestParameters Request parameters.
440
440
  * @param {*} [options] Override http request option.
@@ -17,6 +17,7 @@ import type { AiAnthropicResponse } from '../models';
17
17
  import type { AiDecisionsRequest } from '../models';
18
18
  import type { AiDecisionsResponse } from '../models';
19
19
  import type { AiLimits } from '../models';
20
+ import type { AiLimitsSet } from '../models';
20
21
  import type { AiMCPSurface } from '../models';
21
22
  import type { AiModelList } from '../models';
22
23
  import type { AiRanking } from '../models';
@@ -127,6 +128,14 @@ export declare const AiApiAxiosParamCreator: (configuration?: Configuration) =>
127
128
  * @throws {RequiredError}
128
129
  */
129
130
  aiMCPTools: (names?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
131
+ /**
132
+ * Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent. A pooled org wallet is its org admin\'s to set; a person\'s own wallet is theirs. Every change is on the audit trail, before and after; no trail, no change. Answers the limits as they read after it.
133
+ * @summary Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent.
134
+ * @param {AiLimitsSet} aiLimitsSet
135
+ * @param {*} [options] Override http request option.
136
+ * @throws {RequiredError}
137
+ */
138
+ aiSetLimits: (aiLimitsSet: AiLimitsSet, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
130
139
  /**
131
140
  * Delete one article.
132
141
  * @summary Delete a article
@@ -2606,6 +2615,14 @@ export declare const AiApiFp: (configuration?: Configuration) => {
2606
2615
  * @throws {RequiredError}
2607
2616
  */
2608
2617
  aiMCPTools(names?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiMCPSurface>>;
2618
+ /**
2619
+ * Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent. A pooled org wallet is its org admin\'s to set; a person\'s own wallet is theirs. Every change is on the audit trail, before and after; no trail, no change. Answers the limits as they read after it.
2620
+ * @summary Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent.
2621
+ * @param {AiLimitsSet} aiLimitsSet
2622
+ * @param {*} [options] Override http request option.
2623
+ * @throws {RequiredError}
2624
+ */
2625
+ aiSetLimits(aiLimitsSet: AiLimitsSet, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiLimits>>;
2609
2626
  /**
2610
2627
  * Delete one article.
2611
2628
  * @summary Delete a article
@@ -5085,6 +5102,14 @@ export declare const AiApiFactory: (configuration?: Configuration, basePath?: st
5085
5102
  * @throws {RequiredError}
5086
5103
  */
5087
5104
  aiMCPTools(requestParameters?: AiApiAiMCPToolsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiMCPSurface>;
5105
+ /**
5106
+ * Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent. A pooled org wallet is its org admin\'s to set; a person\'s own wallet is theirs. Every change is on the audit trail, before and after; no trail, no change. Answers the limits as they read after it.
5107
+ * @summary Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent.
5108
+ * @param {AiApiAiSetLimitsRequest} requestParameters Request parameters.
5109
+ * @param {*} [options] Override http request option.
5110
+ * @throws {RequiredError}
5111
+ */
5112
+ aiSetLimits(requestParameters: AiApiAiSetLimitsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiLimits>;
5088
5113
  /**
5089
5114
  * Delete one article.
5090
5115
  * @summary Delete a article
@@ -7398,6 +7423,19 @@ export interface AiApiAiMCPToolsRequest {
7398
7423
  */
7399
7424
  readonly names?: boolean;
7400
7425
  }
7426
+ /**
7427
+ * Request parameters for aiSetLimits operation in AiApi.
7428
+ * @export
7429
+ * @interface AiApiAiSetLimitsRequest
7430
+ */
7431
+ export interface AiApiAiSetLimitsRequest {
7432
+ /**
7433
+ *
7434
+ * @type {AiLimitsSet}
7435
+ * @memberof AiApiAiSetLimits
7436
+ */
7437
+ readonly aiLimitsSet: AiLimitsSet;
7438
+ }
7401
7439
  /**
7402
7440
  * Request parameters for deleteAiArticlesByOwnerByName operation in AiApi.
7403
7441
  * @export
@@ -10508,6 +10546,15 @@ export declare class AiApi extends BaseAPI {
10508
10546
  * @memberof AiApi
10509
10547
  */
10510
10548
  aiMCPTools(requestParameters?: AiApiAiMCPToolsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AiMCPSurface, any, {}>>;
10549
+ /**
10550
+ * Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent. A pooled org wallet is its org admin\'s to set; a person\'s own wallet is theirs. Every change is on the audit trail, before and after; no trail, no change. Answers the limits as they read after it.
10551
+ * @summary Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent.
10552
+ * @param {AiApiAiSetLimitsRequest} requestParameters Request parameters.
10553
+ * @param {*} [options] Override http request option.
10554
+ * @throws {RequiredError}
10555
+ * @memberof AiApi
10556
+ */
10557
+ aiSetLimits(requestParameters: AiApiAiSetLimitsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AiLimits, any, {}>>;
10511
10558
  /**
10512
10559
  * Delete one article.
10513
10560
  * @summary Delete a article
@@ -83,6 +83,39 @@ export const AiApiAxiosParamCreator = function (configuration) {
83
83
  options: localVarRequestOptions,
84
84
  };
85
85
  },
86
+ /**
87
+ * Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent. A pooled org wallet is its org admin\'s to set; a person\'s own wallet is theirs. Every change is on the audit trail, before and after; no trail, no change. Answers the limits as they read after it.
88
+ * @summary Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent.
89
+ * @param {AiLimitsSet} aiLimitsSet
90
+ * @param {*} [options] Override http request option.
91
+ * @throws {RequiredError}
92
+ */
93
+ aiSetLimits: async (aiLimitsSet, options = {}) => {
94
+ // verify required parameter 'aiLimitsSet' is not null or undefined
95
+ assertParamExists('aiSetLimits', 'aiLimitsSet', aiLimitsSet);
96
+ const localVarPath = `/v1/ai/limits`;
97
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
98
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
99
+ let baseOptions;
100
+ if (configuration) {
101
+ baseOptions = configuration.baseOptions;
102
+ }
103
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
104
+ const localVarHeaderParameter = {};
105
+ const localVarQueryParameter = {};
106
+ // authentication bearer required
107
+ // http bearer authentication required
108
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
109
+ localVarHeaderParameter['Content-Type'] = 'application/json';
110
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
111
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
112
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
113
+ localVarRequestOptions.data = serializeDataIfNeeded(aiLimitsSet, localVarRequestOptions, configuration);
114
+ return {
115
+ url: toPathString(localVarUrlObj),
116
+ options: localVarRequestOptions,
117
+ };
118
+ },
86
119
  /**
87
120
  * Delete one article.
88
121
  * @summary Delete a article
@@ -10053,6 +10086,19 @@ export const AiApiFp = function (configuration) {
10053
10086
  const localVarOperationServerBasePath = operationServerMap['AiApi.aiMCPTools']?.[localVarOperationServerIndex]?.url;
10054
10087
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10055
10088
  },
10089
+ /**
10090
+ * Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent. A pooled org wallet is its org admin\'s to set; a person\'s own wallet is theirs. Every change is on the audit trail, before and after; no trail, no change. Answers the limits as they read after it.
10091
+ * @summary Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent.
10092
+ * @param {AiLimitsSet} aiLimitsSet
10093
+ * @param {*} [options] Override http request option.
10094
+ * @throws {RequiredError}
10095
+ */
10096
+ async aiSetLimits(aiLimitsSet, options) {
10097
+ const localVarAxiosArgs = await localVarAxiosParamCreator.aiSetLimits(aiLimitsSet, options);
10098
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10099
+ const localVarOperationServerBasePath = operationServerMap['AiApi.aiSetLimits']?.[localVarOperationServerIndex]?.url;
10100
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10101
+ },
10056
10102
  /**
10057
10103
  * Delete one article.
10058
10104
  * @summary Delete a article
@@ -14064,6 +14110,16 @@ export const AiApiFactory = function (configuration, basePath, axios) {
14064
14110
  aiMCPTools(requestParameters = {}, options) {
14065
14111
  return localVarFp.aiMCPTools(requestParameters.names, options).then((request) => request(axios, basePath));
14066
14112
  },
14113
+ /**
14114
+ * Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent. A pooled org wallet is its org admin\'s to set; a person\'s own wallet is theirs. Every change is on the audit trail, before and after; no trail, no change. Answers the limits as they read after it.
14115
+ * @summary Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent.
14116
+ * @param {AiApiAiSetLimitsRequest} requestParameters Request parameters.
14117
+ * @param {*} [options] Override http request option.
14118
+ * @throws {RequiredError}
14119
+ */
14120
+ aiSetLimits(requestParameters, options) {
14121
+ return localVarFp.aiSetLimits(requestParameters.aiLimitsSet, options).then((request) => request(axios, basePath));
14122
+ },
14067
14123
  /**
14068
14124
  * Delete one article.
14069
14125
  * @summary Delete a article
@@ -17003,6 +17059,17 @@ export class AiApi extends BaseAPI {
17003
17059
  aiMCPTools(requestParameters = {}, options) {
17004
17060
  return AiApiFp(this.configuration).aiMCPTools(requestParameters.names, options).then((request) => request(this.axios, this.basePath));
17005
17061
  }
17062
+ /**
17063
+ * Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent. A pooled org wallet is its org admin\'s to set; a person\'s own wallet is theirs. Every change is on the audit trail, before and after; no trail, no change. Answers the limits as they read after it.
17064
+ * @summary Sets the payer\'s choice to keep using a model on credits once the plan\'s included usage of it is spent.
17065
+ * @param {AiApiAiSetLimitsRequest} requestParameters Request parameters.
17066
+ * @param {*} [options] Override http request option.
17067
+ * @throws {RequiredError}
17068
+ * @memberof AiApi
17069
+ */
17070
+ aiSetLimits(requestParameters, options) {
17071
+ return AiApiFp(this.configuration).aiSetLimits(requestParameters.aiLimitsSet, options).then((request) => request(this.axios, this.basePath));
17072
+ }
17006
17073
  /**
17007
17074
  * Delete one article.
17008
17075
  * @summary Delete a article