qovery-typescript-axios 1.1.1031 → 1.1.1033
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/api.ts +114 -0
- package/dist/api.d.ts +68 -0
- package/dist/api.js +77 -0
- package/dist/esm/api.d.ts +68 -0
- package/dist/esm/api.js +77 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -16863,6 +16863,12 @@ export interface Healthcheck {
|
|
|
16863
16863
|
* @memberof Healthcheck
|
|
16864
16864
|
*/
|
|
16865
16865
|
'liveness_probe'?: Probe | null;
|
|
16866
|
+
/**
|
|
16867
|
+
* Optional probe checking that the container has started. Kubernetes runs the readiness and liveness probes only once it succeeds, so a slow start does not trip the liveness probe. Omitted or null means no startup probe. Like the other probes, an edit that leaves it out removes it.
|
|
16868
|
+
* @type {Probe}
|
|
16869
|
+
* @memberof Healthcheck
|
|
16870
|
+
*/
|
|
16871
|
+
'startup_probe'?: Probe | null;
|
|
16866
16872
|
}
|
|
16867
16873
|
/**
|
|
16868
16874
|
*
|
|
@@ -21799,6 +21805,18 @@ export interface Organization {
|
|
|
21799
21805
|
* @memberof Organization
|
|
21800
21806
|
*/
|
|
21801
21807
|
'has_enterprise_connection'?: boolean;
|
|
21808
|
+
/**
|
|
21809
|
+
* Initial value of `ai_features_enabled`, fixed at creation.
|
|
21810
|
+
* @type {boolean}
|
|
21811
|
+
* @memberof Organization
|
|
21812
|
+
*/
|
|
21813
|
+
'ai_features_enabled_by_default'?: boolean;
|
|
21814
|
+
/**
|
|
21815
|
+
* Whether the organization opted in to AI features (DevOps Copilot, build analysis). Starts at `ai_features_enabled_by_default`.
|
|
21816
|
+
* @type {boolean}
|
|
21817
|
+
* @memberof Organization
|
|
21818
|
+
*/
|
|
21819
|
+
'ai_features_enabled'?: boolean;
|
|
21802
21820
|
/**
|
|
21803
21821
|
*
|
|
21804
21822
|
* @type {OrganizationAllOfOrganizationPlan}
|
|
@@ -21808,6 +21826,19 @@ export interface Organization {
|
|
|
21808
21826
|
}
|
|
21809
21827
|
|
|
21810
21828
|
|
|
21829
|
+
/**
|
|
21830
|
+
*
|
|
21831
|
+
* @export
|
|
21832
|
+
* @interface OrganizationAiFeaturesRequest
|
|
21833
|
+
*/
|
|
21834
|
+
export interface OrganizationAiFeaturesRequest {
|
|
21835
|
+
/**
|
|
21836
|
+
* Whether the organization opts in to AI features
|
|
21837
|
+
* @type {boolean}
|
|
21838
|
+
* @memberof OrganizationAiFeaturesRequest
|
|
21839
|
+
*/
|
|
21840
|
+
'enabled': boolean;
|
|
21841
|
+
}
|
|
21811
21842
|
/**
|
|
21812
21843
|
*
|
|
21813
21844
|
* @export
|
|
@@ -72092,6 +72123,51 @@ export const OrganizationMainCallsApiAxiosParamCreator = function (configuration
|
|
|
72092
72123
|
options: localVarRequestOptions,
|
|
72093
72124
|
};
|
|
72094
72125
|
},
|
|
72126
|
+
/**
|
|
72127
|
+
* To edit the AI features opt-in you must have the admin permission.
|
|
72128
|
+
* @summary Edit the organization\'s AI features opt-in
|
|
72129
|
+
* @param {string} organizationId Organization ID
|
|
72130
|
+
* @param {OrganizationAiFeaturesRequest} [organizationAiFeaturesRequest]
|
|
72131
|
+
* @param {*} [options] Override http request option.
|
|
72132
|
+
* @throws {RequiredError}
|
|
72133
|
+
*/
|
|
72134
|
+
editOrganizationAiFeatures: async (organizationId: string, organizationAiFeaturesRequest?: OrganizationAiFeaturesRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
72135
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
72136
|
+
assertParamExists('editOrganizationAiFeatures', 'organizationId', organizationId)
|
|
72137
|
+
const localVarPath = `/organization/{organizationId}/aiFeatures`
|
|
72138
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
72139
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
72140
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
72141
|
+
let baseOptions;
|
|
72142
|
+
if (configuration) {
|
|
72143
|
+
baseOptions = configuration.baseOptions;
|
|
72144
|
+
}
|
|
72145
|
+
|
|
72146
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
72147
|
+
const localVarHeaderParameter = {} as any;
|
|
72148
|
+
const localVarQueryParameter = {} as any;
|
|
72149
|
+
|
|
72150
|
+
// authentication ApiKeyAuth required
|
|
72151
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
72152
|
+
|
|
72153
|
+
// authentication bearerAuth required
|
|
72154
|
+
// http bearer authentication required
|
|
72155
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
72156
|
+
|
|
72157
|
+
|
|
72158
|
+
|
|
72159
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
72160
|
+
|
|
72161
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
72162
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
72163
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
72164
|
+
localVarRequestOptions.data = serializeDataIfNeeded(organizationAiFeaturesRequest, localVarRequestOptions, configuration)
|
|
72165
|
+
|
|
72166
|
+
return {
|
|
72167
|
+
url: toPathString(localVarUrlObj),
|
|
72168
|
+
options: localVarRequestOptions,
|
|
72169
|
+
};
|
|
72170
|
+
},
|
|
72095
72171
|
/**
|
|
72096
72172
|
* Get organization container registry associated services
|
|
72097
72173
|
* @summary Get organization container registry associated services
|
|
@@ -72845,6 +72921,20 @@ export const OrganizationMainCallsApiFp = function(configuration?: Configuration
|
|
|
72845
72921
|
const localVarOperationServerBasePath = operationServerMap['OrganizationMainCallsApi.editOrganization']?.[localVarOperationServerIndex]?.url;
|
|
72846
72922
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
72847
72923
|
},
|
|
72924
|
+
/**
|
|
72925
|
+
* To edit the AI features opt-in you must have the admin permission.
|
|
72926
|
+
* @summary Edit the organization\'s AI features opt-in
|
|
72927
|
+
* @param {string} organizationId Organization ID
|
|
72928
|
+
* @param {OrganizationAiFeaturesRequest} [organizationAiFeaturesRequest]
|
|
72929
|
+
* @param {*} [options] Override http request option.
|
|
72930
|
+
* @throws {RequiredError}
|
|
72931
|
+
*/
|
|
72932
|
+
async editOrganizationAiFeatures(organizationId: string, organizationAiFeaturesRequest?: OrganizationAiFeaturesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Organization>> {
|
|
72933
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editOrganizationAiFeatures(organizationId, organizationAiFeaturesRequest, options);
|
|
72934
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
72935
|
+
const localVarOperationServerBasePath = operationServerMap['OrganizationMainCallsApi.editOrganizationAiFeatures']?.[localVarOperationServerIndex]?.url;
|
|
72936
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
72937
|
+
},
|
|
72848
72938
|
/**
|
|
72849
72939
|
* Get organization container registry associated services
|
|
72850
72940
|
* @summary Get organization container registry associated services
|
|
@@ -73124,6 +73214,17 @@ export const OrganizationMainCallsApiFactory = function (configuration?: Configu
|
|
|
73124
73214
|
editOrganization(organizationId: string, organizationEditRequest?: OrganizationEditRequest, options?: RawAxiosRequestConfig): AxiosPromise<Organization> {
|
|
73125
73215
|
return localVarFp.editOrganization(organizationId, organizationEditRequest, options).then((request) => request(axios, basePath));
|
|
73126
73216
|
},
|
|
73217
|
+
/**
|
|
73218
|
+
* To edit the AI features opt-in you must have the admin permission.
|
|
73219
|
+
* @summary Edit the organization\'s AI features opt-in
|
|
73220
|
+
* @param {string} organizationId Organization ID
|
|
73221
|
+
* @param {OrganizationAiFeaturesRequest} [organizationAiFeaturesRequest]
|
|
73222
|
+
* @param {*} [options] Override http request option.
|
|
73223
|
+
* @throws {RequiredError}
|
|
73224
|
+
*/
|
|
73225
|
+
editOrganizationAiFeatures(organizationId: string, organizationAiFeaturesRequest?: OrganizationAiFeaturesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Organization> {
|
|
73226
|
+
return localVarFp.editOrganizationAiFeatures(organizationId, organizationAiFeaturesRequest, options).then((request) => request(axios, basePath));
|
|
73227
|
+
},
|
|
73127
73228
|
/**
|
|
73128
73229
|
* Get organization container registry associated services
|
|
73129
73230
|
* @summary Get organization container registry associated services
|
|
@@ -73370,6 +73471,19 @@ export class OrganizationMainCallsApi extends BaseAPI {
|
|
|
73370
73471
|
return OrganizationMainCallsApiFp(this.configuration).editOrganization(organizationId, organizationEditRequest, options).then((request) => request(this.axios, this.basePath));
|
|
73371
73472
|
}
|
|
73372
73473
|
|
|
73474
|
+
/**
|
|
73475
|
+
* To edit the AI features opt-in you must have the admin permission.
|
|
73476
|
+
* @summary Edit the organization\'s AI features opt-in
|
|
73477
|
+
* @param {string} organizationId Organization ID
|
|
73478
|
+
* @param {OrganizationAiFeaturesRequest} [organizationAiFeaturesRequest]
|
|
73479
|
+
* @param {*} [options] Override http request option.
|
|
73480
|
+
* @throws {RequiredError}
|
|
73481
|
+
* @memberof OrganizationMainCallsApi
|
|
73482
|
+
*/
|
|
73483
|
+
public editOrganizationAiFeatures(organizationId: string, organizationAiFeaturesRequest?: OrganizationAiFeaturesRequest, options?: RawAxiosRequestConfig) {
|
|
73484
|
+
return OrganizationMainCallsApiFp(this.configuration).editOrganizationAiFeatures(organizationId, organizationAiFeaturesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
73485
|
+
}
|
|
73486
|
+
|
|
73373
73487
|
/**
|
|
73374
73488
|
* Get organization container registry associated services
|
|
73375
73489
|
* @summary Get organization container registry associated services
|
package/dist/api.d.ts
CHANGED
|
@@ -16390,6 +16390,12 @@ export interface Healthcheck {
|
|
|
16390
16390
|
* @memberof Healthcheck
|
|
16391
16391
|
*/
|
|
16392
16392
|
'liveness_probe'?: Probe | null;
|
|
16393
|
+
/**
|
|
16394
|
+
* Optional probe checking that the container has started. Kubernetes runs the readiness and liveness probes only once it succeeds, so a slow start does not trip the liveness probe. Omitted or null means no startup probe. Like the other probes, an edit that leaves it out removes it.
|
|
16395
|
+
* @type {Probe}
|
|
16396
|
+
* @memberof Healthcheck
|
|
16397
|
+
*/
|
|
16398
|
+
'startup_probe'?: Probe | null;
|
|
16393
16399
|
}
|
|
16394
16400
|
/**
|
|
16395
16401
|
*
|
|
@@ -21196,6 +21202,18 @@ export interface Organization {
|
|
|
21196
21202
|
* @memberof Organization
|
|
21197
21203
|
*/
|
|
21198
21204
|
'has_enterprise_connection'?: boolean;
|
|
21205
|
+
/**
|
|
21206
|
+
* Initial value of `ai_features_enabled`, fixed at creation.
|
|
21207
|
+
* @type {boolean}
|
|
21208
|
+
* @memberof Organization
|
|
21209
|
+
*/
|
|
21210
|
+
'ai_features_enabled_by_default'?: boolean;
|
|
21211
|
+
/**
|
|
21212
|
+
* Whether the organization opted in to AI features (DevOps Copilot, build analysis). Starts at `ai_features_enabled_by_default`.
|
|
21213
|
+
* @type {boolean}
|
|
21214
|
+
* @memberof Organization
|
|
21215
|
+
*/
|
|
21216
|
+
'ai_features_enabled'?: boolean;
|
|
21199
21217
|
/**
|
|
21200
21218
|
*
|
|
21201
21219
|
* @type {OrganizationAllOfOrganizationPlan}
|
|
@@ -21203,6 +21221,19 @@ export interface Organization {
|
|
|
21203
21221
|
*/
|
|
21204
21222
|
'organization_plan'?: OrganizationAllOfOrganizationPlan;
|
|
21205
21223
|
}
|
|
21224
|
+
/**
|
|
21225
|
+
*
|
|
21226
|
+
* @export
|
|
21227
|
+
* @interface OrganizationAiFeaturesRequest
|
|
21228
|
+
*/
|
|
21229
|
+
export interface OrganizationAiFeaturesRequest {
|
|
21230
|
+
/**
|
|
21231
|
+
* Whether the organization opts in to AI features
|
|
21232
|
+
* @type {boolean}
|
|
21233
|
+
* @memberof OrganizationAiFeaturesRequest
|
|
21234
|
+
*/
|
|
21235
|
+
'enabled': boolean;
|
|
21236
|
+
}
|
|
21206
21237
|
/**
|
|
21207
21238
|
*
|
|
21208
21239
|
* @export
|
|
@@ -48466,6 +48497,15 @@ export declare const OrganizationMainCallsApiAxiosParamCreator: (configuration?:
|
|
|
48466
48497
|
* @throws {RequiredError}
|
|
48467
48498
|
*/
|
|
48468
48499
|
editOrganization: (organizationId: string, organizationEditRequest?: OrganizationEditRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48500
|
+
/**
|
|
48501
|
+
* To edit the AI features opt-in you must have the admin permission.
|
|
48502
|
+
* @summary Edit the organization\'s AI features opt-in
|
|
48503
|
+
* @param {string} organizationId Organization ID
|
|
48504
|
+
* @param {OrganizationAiFeaturesRequest} [organizationAiFeaturesRequest]
|
|
48505
|
+
* @param {*} [options] Override http request option.
|
|
48506
|
+
* @throws {RequiredError}
|
|
48507
|
+
*/
|
|
48508
|
+
editOrganizationAiFeatures: (organizationId: string, organizationAiFeaturesRequest?: OrganizationAiFeaturesRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48469
48509
|
/**
|
|
48470
48510
|
* Get organization container registry associated services
|
|
48471
48511
|
* @summary Get organization container registry associated services
|
|
@@ -48654,6 +48694,15 @@ export declare const OrganizationMainCallsApiFp: (configuration?: Configuration)
|
|
|
48654
48694
|
* @throws {RequiredError}
|
|
48655
48695
|
*/
|
|
48656
48696
|
editOrganization(organizationId: string, organizationEditRequest?: OrganizationEditRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Organization>>;
|
|
48697
|
+
/**
|
|
48698
|
+
* To edit the AI features opt-in you must have the admin permission.
|
|
48699
|
+
* @summary Edit the organization\'s AI features opt-in
|
|
48700
|
+
* @param {string} organizationId Organization ID
|
|
48701
|
+
* @param {OrganizationAiFeaturesRequest} [organizationAiFeaturesRequest]
|
|
48702
|
+
* @param {*} [options] Override http request option.
|
|
48703
|
+
* @throws {RequiredError}
|
|
48704
|
+
*/
|
|
48705
|
+
editOrganizationAiFeatures(organizationId: string, organizationAiFeaturesRequest?: OrganizationAiFeaturesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Organization>>;
|
|
48657
48706
|
/**
|
|
48658
48707
|
* Get organization container registry associated services
|
|
48659
48708
|
* @summary Get organization container registry associated services
|
|
@@ -48842,6 +48891,15 @@ export declare const OrganizationMainCallsApiFactory: (configuration?: Configura
|
|
|
48842
48891
|
* @throws {RequiredError}
|
|
48843
48892
|
*/
|
|
48844
48893
|
editOrganization(organizationId: string, organizationEditRequest?: OrganizationEditRequest, options?: RawAxiosRequestConfig): AxiosPromise<Organization>;
|
|
48894
|
+
/**
|
|
48895
|
+
* To edit the AI features opt-in you must have the admin permission.
|
|
48896
|
+
* @summary Edit the organization\'s AI features opt-in
|
|
48897
|
+
* @param {string} organizationId Organization ID
|
|
48898
|
+
* @param {OrganizationAiFeaturesRequest} [organizationAiFeaturesRequest]
|
|
48899
|
+
* @param {*} [options] Override http request option.
|
|
48900
|
+
* @throws {RequiredError}
|
|
48901
|
+
*/
|
|
48902
|
+
editOrganizationAiFeatures(organizationId: string, organizationAiFeaturesRequest?: OrganizationAiFeaturesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Organization>;
|
|
48845
48903
|
/**
|
|
48846
48904
|
* Get organization container registry associated services
|
|
48847
48905
|
* @summary Get organization container registry associated services
|
|
@@ -49038,6 +49096,16 @@ export declare class OrganizationMainCallsApi extends BaseAPI {
|
|
|
49038
49096
|
* @memberof OrganizationMainCallsApi
|
|
49039
49097
|
*/
|
|
49040
49098
|
editOrganization(organizationId: string, organizationEditRequest?: OrganizationEditRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Organization, any, {}, any>>;
|
|
49099
|
+
/**
|
|
49100
|
+
* To edit the AI features opt-in you must have the admin permission.
|
|
49101
|
+
* @summary Edit the organization\'s AI features opt-in
|
|
49102
|
+
* @param {string} organizationId Organization ID
|
|
49103
|
+
* @param {OrganizationAiFeaturesRequest} [organizationAiFeaturesRequest]
|
|
49104
|
+
* @param {*} [options] Override http request option.
|
|
49105
|
+
* @throws {RequiredError}
|
|
49106
|
+
* @memberof OrganizationMainCallsApi
|
|
49107
|
+
*/
|
|
49108
|
+
editOrganizationAiFeatures(organizationId: string, organizationAiFeaturesRequest?: OrganizationAiFeaturesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Organization, any, {}, any>>;
|
|
49041
49109
|
/**
|
|
49042
49110
|
* Get organization container registry associated services
|
|
49043
49111
|
* @summary Get organization container registry associated services
|
package/dist/api.js
CHANGED
|
@@ -41019,6 +41019,43 @@ const OrganizationMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
41019
41019
|
options: localVarRequestOptions,
|
|
41020
41020
|
};
|
|
41021
41021
|
}),
|
|
41022
|
+
/**
|
|
41023
|
+
* To edit the AI features opt-in you must have the admin permission.
|
|
41024
|
+
* @summary Edit the organization\'s AI features opt-in
|
|
41025
|
+
* @param {string} organizationId Organization ID
|
|
41026
|
+
* @param {OrganizationAiFeaturesRequest} [organizationAiFeaturesRequest]
|
|
41027
|
+
* @param {*} [options] Override http request option.
|
|
41028
|
+
* @throws {RequiredError}
|
|
41029
|
+
*/
|
|
41030
|
+
editOrganizationAiFeatures: (organizationId_1, organizationAiFeaturesRequest_1, ...args_1) => __awaiter(this, [organizationId_1, organizationAiFeaturesRequest_1, ...args_1], void 0, function* (organizationId, organizationAiFeaturesRequest, options = {}) {
|
|
41031
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
41032
|
+
(0, common_1.assertParamExists)('editOrganizationAiFeatures', 'organizationId', organizationId);
|
|
41033
|
+
const localVarPath = `/organization/{organizationId}/aiFeatures`
|
|
41034
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
41035
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41036
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
41037
|
+
let baseOptions;
|
|
41038
|
+
if (configuration) {
|
|
41039
|
+
baseOptions = configuration.baseOptions;
|
|
41040
|
+
}
|
|
41041
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
41042
|
+
const localVarHeaderParameter = {};
|
|
41043
|
+
const localVarQueryParameter = {};
|
|
41044
|
+
// authentication ApiKeyAuth required
|
|
41045
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
41046
|
+
// authentication bearerAuth required
|
|
41047
|
+
// http bearer authentication required
|
|
41048
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
41049
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
41050
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
41051
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41052
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
41053
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(organizationAiFeaturesRequest, localVarRequestOptions, configuration);
|
|
41054
|
+
return {
|
|
41055
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
41056
|
+
options: localVarRequestOptions,
|
|
41057
|
+
};
|
|
41058
|
+
}),
|
|
41022
41059
|
/**
|
|
41023
41060
|
* Get organization container registry associated services
|
|
41024
41061
|
* @summary Get organization container registry associated services
|
|
@@ -41679,6 +41716,23 @@ const OrganizationMainCallsApiFp = function (configuration) {
|
|
|
41679
41716
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
41680
41717
|
});
|
|
41681
41718
|
},
|
|
41719
|
+
/**
|
|
41720
|
+
* To edit the AI features opt-in you must have the admin permission.
|
|
41721
|
+
* @summary Edit the organization\'s AI features opt-in
|
|
41722
|
+
* @param {string} organizationId Organization ID
|
|
41723
|
+
* @param {OrganizationAiFeaturesRequest} [organizationAiFeaturesRequest]
|
|
41724
|
+
* @param {*} [options] Override http request option.
|
|
41725
|
+
* @throws {RequiredError}
|
|
41726
|
+
*/
|
|
41727
|
+
editOrganizationAiFeatures(organizationId, organizationAiFeaturesRequest, options) {
|
|
41728
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
41729
|
+
var _a, _b, _c;
|
|
41730
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.editOrganizationAiFeatures(organizationId, organizationAiFeaturesRequest, options);
|
|
41731
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
41732
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationMainCallsApi.editOrganizationAiFeatures']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
41733
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
41734
|
+
});
|
|
41735
|
+
},
|
|
41682
41736
|
/**
|
|
41683
41737
|
* Get organization container registry associated services
|
|
41684
41738
|
* @summary Get organization container registry associated services
|
|
@@ -42003,6 +42057,17 @@ const OrganizationMainCallsApiFactory = function (configuration, basePath, axios
|
|
|
42003
42057
|
editOrganization(organizationId, organizationEditRequest, options) {
|
|
42004
42058
|
return localVarFp.editOrganization(organizationId, organizationEditRequest, options).then((request) => request(axios, basePath));
|
|
42005
42059
|
},
|
|
42060
|
+
/**
|
|
42061
|
+
* To edit the AI features opt-in you must have the admin permission.
|
|
42062
|
+
* @summary Edit the organization\'s AI features opt-in
|
|
42063
|
+
* @param {string} organizationId Organization ID
|
|
42064
|
+
* @param {OrganizationAiFeaturesRequest} [organizationAiFeaturesRequest]
|
|
42065
|
+
* @param {*} [options] Override http request option.
|
|
42066
|
+
* @throws {RequiredError}
|
|
42067
|
+
*/
|
|
42068
|
+
editOrganizationAiFeatures(organizationId, organizationAiFeaturesRequest, options) {
|
|
42069
|
+
return localVarFp.editOrganizationAiFeatures(organizationId, organizationAiFeaturesRequest, options).then((request) => request(axios, basePath));
|
|
42070
|
+
},
|
|
42006
42071
|
/**
|
|
42007
42072
|
* Get organization container registry associated services
|
|
42008
42073
|
* @summary Get organization container registry associated services
|
|
@@ -42243,6 +42308,18 @@ class OrganizationMainCallsApi extends base_1.BaseAPI {
|
|
|
42243
42308
|
editOrganization(organizationId, organizationEditRequest, options) {
|
|
42244
42309
|
return (0, exports.OrganizationMainCallsApiFp)(this.configuration).editOrganization(organizationId, organizationEditRequest, options).then((request) => request(this.axios, this.basePath));
|
|
42245
42310
|
}
|
|
42311
|
+
/**
|
|
42312
|
+
* To edit the AI features opt-in you must have the admin permission.
|
|
42313
|
+
* @summary Edit the organization\'s AI features opt-in
|
|
42314
|
+
* @param {string} organizationId Organization ID
|
|
42315
|
+
* @param {OrganizationAiFeaturesRequest} [organizationAiFeaturesRequest]
|
|
42316
|
+
* @param {*} [options] Override http request option.
|
|
42317
|
+
* @throws {RequiredError}
|
|
42318
|
+
* @memberof OrganizationMainCallsApi
|
|
42319
|
+
*/
|
|
42320
|
+
editOrganizationAiFeatures(organizationId, organizationAiFeaturesRequest, options) {
|
|
42321
|
+
return (0, exports.OrganizationMainCallsApiFp)(this.configuration).editOrganizationAiFeatures(organizationId, organizationAiFeaturesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
42322
|
+
}
|
|
42246
42323
|
/**
|
|
42247
42324
|
* Get organization container registry associated services
|
|
42248
42325
|
* @summary Get organization container registry associated services
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -16390,6 +16390,12 @@ export interface Healthcheck {
|
|
|
16390
16390
|
* @memberof Healthcheck
|
|
16391
16391
|
*/
|
|
16392
16392
|
'liveness_probe'?: Probe | null;
|
|
16393
|
+
/**
|
|
16394
|
+
* Optional probe checking that the container has started. Kubernetes runs the readiness and liveness probes only once it succeeds, so a slow start does not trip the liveness probe. Omitted or null means no startup probe. Like the other probes, an edit that leaves it out removes it.
|
|
16395
|
+
* @type {Probe}
|
|
16396
|
+
* @memberof Healthcheck
|
|
16397
|
+
*/
|
|
16398
|
+
'startup_probe'?: Probe | null;
|
|
16393
16399
|
}
|
|
16394
16400
|
/**
|
|
16395
16401
|
*
|
|
@@ -21196,6 +21202,18 @@ export interface Organization {
|
|
|
21196
21202
|
* @memberof Organization
|
|
21197
21203
|
*/
|
|
21198
21204
|
'has_enterprise_connection'?: boolean;
|
|
21205
|
+
/**
|
|
21206
|
+
* Initial value of `ai_features_enabled`, fixed at creation.
|
|
21207
|
+
* @type {boolean}
|
|
21208
|
+
* @memberof Organization
|
|
21209
|
+
*/
|
|
21210
|
+
'ai_features_enabled_by_default'?: boolean;
|
|
21211
|
+
/**
|
|
21212
|
+
* Whether the organization opted in to AI features (DevOps Copilot, build analysis). Starts at `ai_features_enabled_by_default`.
|
|
21213
|
+
* @type {boolean}
|
|
21214
|
+
* @memberof Organization
|
|
21215
|
+
*/
|
|
21216
|
+
'ai_features_enabled'?: boolean;
|
|
21199
21217
|
/**
|
|
21200
21218
|
*
|
|
21201
21219
|
* @type {OrganizationAllOfOrganizationPlan}
|
|
@@ -21203,6 +21221,19 @@ export interface Organization {
|
|
|
21203
21221
|
*/
|
|
21204
21222
|
'organization_plan'?: OrganizationAllOfOrganizationPlan;
|
|
21205
21223
|
}
|
|
21224
|
+
/**
|
|
21225
|
+
*
|
|
21226
|
+
* @export
|
|
21227
|
+
* @interface OrganizationAiFeaturesRequest
|
|
21228
|
+
*/
|
|
21229
|
+
export interface OrganizationAiFeaturesRequest {
|
|
21230
|
+
/**
|
|
21231
|
+
* Whether the organization opts in to AI features
|
|
21232
|
+
* @type {boolean}
|
|
21233
|
+
* @memberof OrganizationAiFeaturesRequest
|
|
21234
|
+
*/
|
|
21235
|
+
'enabled': boolean;
|
|
21236
|
+
}
|
|
21206
21237
|
/**
|
|
21207
21238
|
*
|
|
21208
21239
|
* @export
|
|
@@ -48466,6 +48497,15 @@ export declare const OrganizationMainCallsApiAxiosParamCreator: (configuration?:
|
|
|
48466
48497
|
* @throws {RequiredError}
|
|
48467
48498
|
*/
|
|
48468
48499
|
editOrganization: (organizationId: string, organizationEditRequest?: OrganizationEditRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48500
|
+
/**
|
|
48501
|
+
* To edit the AI features opt-in you must have the admin permission.
|
|
48502
|
+
* @summary Edit the organization\'s AI features opt-in
|
|
48503
|
+
* @param {string} organizationId Organization ID
|
|
48504
|
+
* @param {OrganizationAiFeaturesRequest} [organizationAiFeaturesRequest]
|
|
48505
|
+
* @param {*} [options] Override http request option.
|
|
48506
|
+
* @throws {RequiredError}
|
|
48507
|
+
*/
|
|
48508
|
+
editOrganizationAiFeatures: (organizationId: string, organizationAiFeaturesRequest?: OrganizationAiFeaturesRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48469
48509
|
/**
|
|
48470
48510
|
* Get organization container registry associated services
|
|
48471
48511
|
* @summary Get organization container registry associated services
|
|
@@ -48654,6 +48694,15 @@ export declare const OrganizationMainCallsApiFp: (configuration?: Configuration)
|
|
|
48654
48694
|
* @throws {RequiredError}
|
|
48655
48695
|
*/
|
|
48656
48696
|
editOrganization(organizationId: string, organizationEditRequest?: OrganizationEditRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Organization>>;
|
|
48697
|
+
/**
|
|
48698
|
+
* To edit the AI features opt-in you must have the admin permission.
|
|
48699
|
+
* @summary Edit the organization\'s AI features opt-in
|
|
48700
|
+
* @param {string} organizationId Organization ID
|
|
48701
|
+
* @param {OrganizationAiFeaturesRequest} [organizationAiFeaturesRequest]
|
|
48702
|
+
* @param {*} [options] Override http request option.
|
|
48703
|
+
* @throws {RequiredError}
|
|
48704
|
+
*/
|
|
48705
|
+
editOrganizationAiFeatures(organizationId: string, organizationAiFeaturesRequest?: OrganizationAiFeaturesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Organization>>;
|
|
48657
48706
|
/**
|
|
48658
48707
|
* Get organization container registry associated services
|
|
48659
48708
|
* @summary Get organization container registry associated services
|
|
@@ -48842,6 +48891,15 @@ export declare const OrganizationMainCallsApiFactory: (configuration?: Configura
|
|
|
48842
48891
|
* @throws {RequiredError}
|
|
48843
48892
|
*/
|
|
48844
48893
|
editOrganization(organizationId: string, organizationEditRequest?: OrganizationEditRequest, options?: RawAxiosRequestConfig): AxiosPromise<Organization>;
|
|
48894
|
+
/**
|
|
48895
|
+
* To edit the AI features opt-in you must have the admin permission.
|
|
48896
|
+
* @summary Edit the organization\'s AI features opt-in
|
|
48897
|
+
* @param {string} organizationId Organization ID
|
|
48898
|
+
* @param {OrganizationAiFeaturesRequest} [organizationAiFeaturesRequest]
|
|
48899
|
+
* @param {*} [options] Override http request option.
|
|
48900
|
+
* @throws {RequiredError}
|
|
48901
|
+
*/
|
|
48902
|
+
editOrganizationAiFeatures(organizationId: string, organizationAiFeaturesRequest?: OrganizationAiFeaturesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Organization>;
|
|
48845
48903
|
/**
|
|
48846
48904
|
* Get organization container registry associated services
|
|
48847
48905
|
* @summary Get organization container registry associated services
|
|
@@ -49038,6 +49096,16 @@ export declare class OrganizationMainCallsApi extends BaseAPI {
|
|
|
49038
49096
|
* @memberof OrganizationMainCallsApi
|
|
49039
49097
|
*/
|
|
49040
49098
|
editOrganization(organizationId: string, organizationEditRequest?: OrganizationEditRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Organization, any, {}, any>>;
|
|
49099
|
+
/**
|
|
49100
|
+
* To edit the AI features opt-in you must have the admin permission.
|
|
49101
|
+
* @summary Edit the organization\'s AI features opt-in
|
|
49102
|
+
* @param {string} organizationId Organization ID
|
|
49103
|
+
* @param {OrganizationAiFeaturesRequest} [organizationAiFeaturesRequest]
|
|
49104
|
+
* @param {*} [options] Override http request option.
|
|
49105
|
+
* @throws {RequiredError}
|
|
49106
|
+
* @memberof OrganizationMainCallsApi
|
|
49107
|
+
*/
|
|
49108
|
+
editOrganizationAiFeatures(organizationId: string, organizationAiFeaturesRequest?: OrganizationAiFeaturesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Organization, any, {}, any>>;
|
|
49041
49109
|
/**
|
|
49042
49110
|
* Get organization container registry associated services
|
|
49043
49111
|
* @summary Get organization container registry associated services
|
package/dist/esm/api.js
CHANGED
|
@@ -40680,6 +40680,43 @@ export const OrganizationMainCallsApiAxiosParamCreator = function (configuration
|
|
|
40680
40680
|
options: localVarRequestOptions,
|
|
40681
40681
|
};
|
|
40682
40682
|
}),
|
|
40683
|
+
/**
|
|
40684
|
+
* To edit the AI features opt-in you must have the admin permission.
|
|
40685
|
+
* @summary Edit the organization\'s AI features opt-in
|
|
40686
|
+
* @param {string} organizationId Organization ID
|
|
40687
|
+
* @param {OrganizationAiFeaturesRequest} [organizationAiFeaturesRequest]
|
|
40688
|
+
* @param {*} [options] Override http request option.
|
|
40689
|
+
* @throws {RequiredError}
|
|
40690
|
+
*/
|
|
40691
|
+
editOrganizationAiFeatures: (organizationId_1, organizationAiFeaturesRequest_1, ...args_1) => __awaiter(this, [organizationId_1, organizationAiFeaturesRequest_1, ...args_1], void 0, function* (organizationId, organizationAiFeaturesRequest, options = {}) {
|
|
40692
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
40693
|
+
assertParamExists('editOrganizationAiFeatures', 'organizationId', organizationId);
|
|
40694
|
+
const localVarPath = `/organization/{organizationId}/aiFeatures`
|
|
40695
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
40696
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40697
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40698
|
+
let baseOptions;
|
|
40699
|
+
if (configuration) {
|
|
40700
|
+
baseOptions = configuration.baseOptions;
|
|
40701
|
+
}
|
|
40702
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
40703
|
+
const localVarHeaderParameter = {};
|
|
40704
|
+
const localVarQueryParameter = {};
|
|
40705
|
+
// authentication ApiKeyAuth required
|
|
40706
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
40707
|
+
// authentication bearerAuth required
|
|
40708
|
+
// http bearer authentication required
|
|
40709
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
40710
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
40711
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40712
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40713
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
40714
|
+
localVarRequestOptions.data = serializeDataIfNeeded(organizationAiFeaturesRequest, localVarRequestOptions, configuration);
|
|
40715
|
+
return {
|
|
40716
|
+
url: toPathString(localVarUrlObj),
|
|
40717
|
+
options: localVarRequestOptions,
|
|
40718
|
+
};
|
|
40719
|
+
}),
|
|
40683
40720
|
/**
|
|
40684
40721
|
* Get organization container registry associated services
|
|
40685
40722
|
* @summary Get organization container registry associated services
|
|
@@ -41339,6 +41376,23 @@ export const OrganizationMainCallsApiFp = function (configuration) {
|
|
|
41339
41376
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
41340
41377
|
});
|
|
41341
41378
|
},
|
|
41379
|
+
/**
|
|
41380
|
+
* To edit the AI features opt-in you must have the admin permission.
|
|
41381
|
+
* @summary Edit the organization\'s AI features opt-in
|
|
41382
|
+
* @param {string} organizationId Organization ID
|
|
41383
|
+
* @param {OrganizationAiFeaturesRequest} [organizationAiFeaturesRequest]
|
|
41384
|
+
* @param {*} [options] Override http request option.
|
|
41385
|
+
* @throws {RequiredError}
|
|
41386
|
+
*/
|
|
41387
|
+
editOrganizationAiFeatures(organizationId, organizationAiFeaturesRequest, options) {
|
|
41388
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
41389
|
+
var _a, _b, _c;
|
|
41390
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.editOrganizationAiFeatures(organizationId, organizationAiFeaturesRequest, options);
|
|
41391
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
41392
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationMainCallsApi.editOrganizationAiFeatures']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
41393
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
41394
|
+
});
|
|
41395
|
+
},
|
|
41342
41396
|
/**
|
|
41343
41397
|
* Get organization container registry associated services
|
|
41344
41398
|
* @summary Get organization container registry associated services
|
|
@@ -41662,6 +41716,17 @@ export const OrganizationMainCallsApiFactory = function (configuration, basePath
|
|
|
41662
41716
|
editOrganization(organizationId, organizationEditRequest, options) {
|
|
41663
41717
|
return localVarFp.editOrganization(organizationId, organizationEditRequest, options).then((request) => request(axios, basePath));
|
|
41664
41718
|
},
|
|
41719
|
+
/**
|
|
41720
|
+
* To edit the AI features opt-in you must have the admin permission.
|
|
41721
|
+
* @summary Edit the organization\'s AI features opt-in
|
|
41722
|
+
* @param {string} organizationId Organization ID
|
|
41723
|
+
* @param {OrganizationAiFeaturesRequest} [organizationAiFeaturesRequest]
|
|
41724
|
+
* @param {*} [options] Override http request option.
|
|
41725
|
+
* @throws {RequiredError}
|
|
41726
|
+
*/
|
|
41727
|
+
editOrganizationAiFeatures(organizationId, organizationAiFeaturesRequest, options) {
|
|
41728
|
+
return localVarFp.editOrganizationAiFeatures(organizationId, organizationAiFeaturesRequest, options).then((request) => request(axios, basePath));
|
|
41729
|
+
},
|
|
41665
41730
|
/**
|
|
41666
41731
|
* Get organization container registry associated services
|
|
41667
41732
|
* @summary Get organization container registry associated services
|
|
@@ -41901,6 +41966,18 @@ export class OrganizationMainCallsApi extends BaseAPI {
|
|
|
41901
41966
|
editOrganization(organizationId, organizationEditRequest, options) {
|
|
41902
41967
|
return OrganizationMainCallsApiFp(this.configuration).editOrganization(organizationId, organizationEditRequest, options).then((request) => request(this.axios, this.basePath));
|
|
41903
41968
|
}
|
|
41969
|
+
/**
|
|
41970
|
+
* To edit the AI features opt-in you must have the admin permission.
|
|
41971
|
+
* @summary Edit the organization\'s AI features opt-in
|
|
41972
|
+
* @param {string} organizationId Organization ID
|
|
41973
|
+
* @param {OrganizationAiFeaturesRequest} [organizationAiFeaturesRequest]
|
|
41974
|
+
* @param {*} [options] Override http request option.
|
|
41975
|
+
* @throws {RequiredError}
|
|
41976
|
+
* @memberof OrganizationMainCallsApi
|
|
41977
|
+
*/
|
|
41978
|
+
editOrganizationAiFeatures(organizationId, organizationAiFeaturesRequest, options) {
|
|
41979
|
+
return OrganizationMainCallsApiFp(this.configuration).editOrganizationAiFeatures(organizationId, organizationAiFeaturesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
41980
|
+
}
|
|
41904
41981
|
/**
|
|
41905
41982
|
* Get organization container registry associated services
|
|
41906
41983
|
* @summary Get organization container registry associated services
|