qovery-typescript-axios 1.1.976 → 1.1.978
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 +646 -60
- package/dist/api.d.ts +396 -60
- package/dist/api.js +498 -71
- package/dist/esm/api.d.ts +396 -60
- package/dist/esm/api.js +483 -60
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -20058,6 +20058,155 @@ export interface ListTfVarsFilesFromGitRepo200Response {
|
|
|
20058
20058
|
*/
|
|
20059
20059
|
'results'?: Array<TfVarsFileResponse>;
|
|
20060
20060
|
}
|
|
20061
|
+
/**
|
|
20062
|
+
*
|
|
20063
|
+
* @export
|
|
20064
|
+
* @interface LlmProviderRequest
|
|
20065
|
+
*/
|
|
20066
|
+
export interface LlmProviderRequest {
|
|
20067
|
+
/**
|
|
20068
|
+
* LLM provider name, unique per scope owner within the organization
|
|
20069
|
+
* @type {string}
|
|
20070
|
+
* @memberof LlmProviderRequest
|
|
20071
|
+
*/
|
|
20072
|
+
'name': string;
|
|
20073
|
+
/**
|
|
20074
|
+
*
|
|
20075
|
+
* @type {string}
|
|
20076
|
+
* @memberof LlmProviderRequest
|
|
20077
|
+
*/
|
|
20078
|
+
'description'?: string;
|
|
20079
|
+
/**
|
|
20080
|
+
*
|
|
20081
|
+
* @type {LlmProviderType}
|
|
20082
|
+
* @memberof LlmProviderRequest
|
|
20083
|
+
*/
|
|
20084
|
+
'type': LlmProviderType;
|
|
20085
|
+
/**
|
|
20086
|
+
* The provider credential. Encrypted at rest and never returned by the API. Blank means unchanged: on create no credential is stored, on edit the stored one is kept. Sending a nonblank value rotates it.
|
|
20087
|
+
* @type {string}
|
|
20088
|
+
* @memberof LlmProviderRequest
|
|
20089
|
+
*/
|
|
20090
|
+
'credential'?: string;
|
|
20091
|
+
/**
|
|
20092
|
+
* Cannot be changed after creation. On create, omitting it means ORGANIZATION, which requires the MANAGE_INFRASTRUCTURE permission; creating a USER provider requires CREATE_PROJECT. On edit, omitting it leaves the provider\'s scope unchanged, and stating a scope that differs from the provider\'s is refused with 400.
|
|
20093
|
+
* @type {LlmProviderScope}
|
|
20094
|
+
* @memberof LlmProviderRequest
|
|
20095
|
+
*/
|
|
20096
|
+
'scope'?: LlmProviderScope;
|
|
20097
|
+
}
|
|
20098
|
+
|
|
20099
|
+
|
|
20100
|
+
/**
|
|
20101
|
+
*
|
|
20102
|
+
* @export
|
|
20103
|
+
* @interface LlmProviderResponse
|
|
20104
|
+
*/
|
|
20105
|
+
export interface LlmProviderResponse {
|
|
20106
|
+
/**
|
|
20107
|
+
*
|
|
20108
|
+
* @type {string}
|
|
20109
|
+
* @memberof LlmProviderResponse
|
|
20110
|
+
*/
|
|
20111
|
+
'id': string;
|
|
20112
|
+
/**
|
|
20113
|
+
*
|
|
20114
|
+
* @type {string}
|
|
20115
|
+
* @memberof LlmProviderResponse
|
|
20116
|
+
*/
|
|
20117
|
+
'created_at': string;
|
|
20118
|
+
/**
|
|
20119
|
+
*
|
|
20120
|
+
* @type {string}
|
|
20121
|
+
* @memberof LlmProviderResponse
|
|
20122
|
+
*/
|
|
20123
|
+
'updated_at': string;
|
|
20124
|
+
/**
|
|
20125
|
+
*
|
|
20126
|
+
* @type {string}
|
|
20127
|
+
* @memberof LlmProviderResponse
|
|
20128
|
+
*/
|
|
20129
|
+
'name': string;
|
|
20130
|
+
/**
|
|
20131
|
+
*
|
|
20132
|
+
* @type {string}
|
|
20133
|
+
* @memberof LlmProviderResponse
|
|
20134
|
+
*/
|
|
20135
|
+
'description': string;
|
|
20136
|
+
/**
|
|
20137
|
+
*
|
|
20138
|
+
* @type {LlmProviderType}
|
|
20139
|
+
* @memberof LlmProviderResponse
|
|
20140
|
+
*/
|
|
20141
|
+
'type': LlmProviderType;
|
|
20142
|
+
/**
|
|
20143
|
+
* Whether a credential is stored. The credential itself is never returned.
|
|
20144
|
+
* @type {boolean}
|
|
20145
|
+
* @memberof LlmProviderResponse
|
|
20146
|
+
*/
|
|
20147
|
+
'has_credential': boolean;
|
|
20148
|
+
/**
|
|
20149
|
+
*
|
|
20150
|
+
* @type {LlmProviderScope}
|
|
20151
|
+
* @memberof LlmProviderResponse
|
|
20152
|
+
*/
|
|
20153
|
+
'scope': LlmProviderScope;
|
|
20154
|
+
/**
|
|
20155
|
+
* Identity of the owning member. Null for an ORGANIZATION provider.
|
|
20156
|
+
* @type {string}
|
|
20157
|
+
* @memberof LlmProviderResponse
|
|
20158
|
+
*/
|
|
20159
|
+
'owner_user_sub'?: string | null;
|
|
20160
|
+
/**
|
|
20161
|
+
* Display name of the owning member. Null for an ORGANIZATION provider.
|
|
20162
|
+
* @type {string}
|
|
20163
|
+
* @memberof LlmProviderResponse
|
|
20164
|
+
*/
|
|
20165
|
+
'owner_name'?: string | null;
|
|
20166
|
+
}
|
|
20167
|
+
|
|
20168
|
+
|
|
20169
|
+
/**
|
|
20170
|
+
*
|
|
20171
|
+
* @export
|
|
20172
|
+
* @interface LlmProviderResponseList
|
|
20173
|
+
*/
|
|
20174
|
+
export interface LlmProviderResponseList {
|
|
20175
|
+
/**
|
|
20176
|
+
*
|
|
20177
|
+
* @type {Array<LlmProviderResponse>}
|
|
20178
|
+
* @memberof LlmProviderResponseList
|
|
20179
|
+
*/
|
|
20180
|
+
'results': Array<LlmProviderResponse>;
|
|
20181
|
+
}
|
|
20182
|
+
/**
|
|
20183
|
+
* ORGANIZATION: usable by every member who can edit an agentic workflow. USER: personal to the member who created it; only that member can edit it.
|
|
20184
|
+
* @export
|
|
20185
|
+
* @enum {string}
|
|
20186
|
+
*/
|
|
20187
|
+
|
|
20188
|
+
export const LlmProviderScope = {
|
|
20189
|
+
ORGANIZATION: 'ORGANIZATION',
|
|
20190
|
+
USER: 'USER'
|
|
20191
|
+
} as const;
|
|
20192
|
+
|
|
20193
|
+
export type LlmProviderScope = typeof LlmProviderScope[keyof typeof LlmProviderScope];
|
|
20194
|
+
|
|
20195
|
+
|
|
20196
|
+
/**
|
|
20197
|
+
* The LLM vendor this provider authenticates against. Matches the type an agentic workflow\'s inline model already uses.
|
|
20198
|
+
* @export
|
|
20199
|
+
* @enum {string}
|
|
20200
|
+
*/
|
|
20201
|
+
|
|
20202
|
+
export const LlmProviderType = {
|
|
20203
|
+
CLAUDE: 'CLAUDE',
|
|
20204
|
+
BEDROCK: 'BEDROCK'
|
|
20205
|
+
} as const;
|
|
20206
|
+
|
|
20207
|
+
export type LlmProviderType = typeof LlmProviderType[keyof typeof LlmProviderType];
|
|
20208
|
+
|
|
20209
|
+
|
|
20061
20210
|
/**
|
|
20062
20211
|
*
|
|
20063
20212
|
* @export
|
|
@@ -32264,7 +32413,7 @@ export const ApplicationEnvironmentVariableApiAxiosParamCreator = function (conf
|
|
|
32264
32413
|
};
|
|
32265
32414
|
},
|
|
32266
32415
|
/**
|
|
32267
|
-
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias,
|
|
32416
|
+
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the variable it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > APPLICATION)
|
|
32268
32417
|
* @summary Edit an environment variable belonging to the application
|
|
32269
32418
|
* @param {string} applicationId Application ID
|
|
32270
32419
|
* @param {string} environmentVariableId Environment Variable ID
|
|
@@ -32469,7 +32618,7 @@ export const ApplicationEnvironmentVariableApiFp = function(configuration?: Conf
|
|
|
32469
32618
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
32470
32619
|
},
|
|
32471
32620
|
/**
|
|
32472
|
-
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias,
|
|
32621
|
+
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the variable it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > APPLICATION)
|
|
32473
32622
|
* @summary Edit an environment variable belonging to the application
|
|
32474
32623
|
* @param {string} applicationId Application ID
|
|
32475
32624
|
* @param {string} environmentVariableId Environment Variable ID
|
|
@@ -32567,7 +32716,7 @@ export const ApplicationEnvironmentVariableApiFactory = function (configuration?
|
|
|
32567
32716
|
return localVarFp.deleteApplicationEnvironmentVariable(applicationId, environmentVariableId, options).then((request) => request(axios, basePath));
|
|
32568
32717
|
},
|
|
32569
32718
|
/**
|
|
32570
|
-
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias,
|
|
32719
|
+
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the variable it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > APPLICATION)
|
|
32571
32720
|
* @summary Edit an environment variable belonging to the application
|
|
32572
32721
|
* @param {string} applicationId Application ID
|
|
32573
32722
|
* @param {string} environmentVariableId Environment Variable ID
|
|
@@ -32664,7 +32813,7 @@ export class ApplicationEnvironmentVariableApi extends BaseAPI {
|
|
|
32664
32813
|
}
|
|
32665
32814
|
|
|
32666
32815
|
/**
|
|
32667
|
-
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias,
|
|
32816
|
+
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the variable it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > APPLICATION)
|
|
32668
32817
|
* @summary Edit an environment variable belonging to the application
|
|
32669
32818
|
* @param {string} applicationId Application ID
|
|
32670
32819
|
* @param {string} environmentVariableId Environment Variable ID
|
|
@@ -33617,7 +33766,7 @@ export const ApplicationSecretApiAxiosParamCreator = function (configuration?: C
|
|
|
33617
33766
|
};
|
|
33618
33767
|
},
|
|
33619
33768
|
/**
|
|
33620
|
-
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias,
|
|
33769
|
+
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the secret it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > APPLICATION)
|
|
33621
33770
|
* @summary Edit a secret belonging to the application
|
|
33622
33771
|
* @param {string} applicationId Application ID
|
|
33623
33772
|
* @param {string} secretId Secret ID
|
|
@@ -33777,7 +33926,7 @@ export const ApplicationSecretApiFp = function(configuration?: Configuration) {
|
|
|
33777
33926
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33778
33927
|
},
|
|
33779
33928
|
/**
|
|
33780
|
-
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias,
|
|
33929
|
+
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the secret it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > APPLICATION)
|
|
33781
33930
|
* @summary Edit a secret belonging to the application
|
|
33782
33931
|
* @param {string} applicationId Application ID
|
|
33783
33932
|
* @param {string} secretId Secret ID
|
|
@@ -33861,7 +34010,7 @@ export const ApplicationSecretApiFactory = function (configuration?: Configurati
|
|
|
33861
34010
|
return localVarFp.deleteApplicationSecret(applicationId, secretId, options).then((request) => request(axios, basePath));
|
|
33862
34011
|
},
|
|
33863
34012
|
/**
|
|
33864
|
-
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias,
|
|
34013
|
+
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the secret it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > APPLICATION)
|
|
33865
34014
|
* @summary Edit a secret belonging to the application
|
|
33866
34015
|
* @param {string} applicationId Application ID
|
|
33867
34016
|
* @param {string} secretId Secret ID
|
|
@@ -33947,7 +34096,7 @@ export class ApplicationSecretApi extends BaseAPI {
|
|
|
33947
34096
|
}
|
|
33948
34097
|
|
|
33949
34098
|
/**
|
|
33950
|
-
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias,
|
|
34099
|
+
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the secret it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > APPLICATION)
|
|
33951
34100
|
* @summary Edit a secret belonging to the application
|
|
33952
34101
|
* @param {string} applicationId Application ID
|
|
33953
34102
|
* @param {string} secretId Secret ID
|
|
@@ -47067,7 +47216,7 @@ export const ContainerEnvironmentVariableApiAxiosParamCreator = function (config
|
|
|
47067
47216
|
};
|
|
47068
47217
|
},
|
|
47069
47218
|
/**
|
|
47070
|
-
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias,
|
|
47219
|
+
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the variable it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > CONTAINER)
|
|
47071
47220
|
* @summary Edit an environment variable belonging to the container
|
|
47072
47221
|
* @param {string} containerId Container ID
|
|
47073
47222
|
* @param {string} environmentVariableId Environment Variable ID
|
|
@@ -47272,7 +47421,7 @@ export const ContainerEnvironmentVariableApiFp = function(configuration?: Config
|
|
|
47272
47421
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
47273
47422
|
},
|
|
47274
47423
|
/**
|
|
47275
|
-
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias,
|
|
47424
|
+
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the variable it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > CONTAINER)
|
|
47276
47425
|
* @summary Edit an environment variable belonging to the container
|
|
47277
47426
|
* @param {string} containerId Container ID
|
|
47278
47427
|
* @param {string} environmentVariableId Environment Variable ID
|
|
@@ -47370,7 +47519,7 @@ export const ContainerEnvironmentVariableApiFactory = function (configuration?:
|
|
|
47370
47519
|
return localVarFp.deleteContainerEnvironmentVariable(containerId, environmentVariableId, options).then((request) => request(axios, basePath));
|
|
47371
47520
|
},
|
|
47372
47521
|
/**
|
|
47373
|
-
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias,
|
|
47522
|
+
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the variable it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > CONTAINER)
|
|
47374
47523
|
* @summary Edit an environment variable belonging to the container
|
|
47375
47524
|
* @param {string} containerId Container ID
|
|
47376
47525
|
* @param {string} environmentVariableId Environment Variable ID
|
|
@@ -47467,7 +47616,7 @@ export class ContainerEnvironmentVariableApi extends BaseAPI {
|
|
|
47467
47616
|
}
|
|
47468
47617
|
|
|
47469
47618
|
/**
|
|
47470
|
-
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias,
|
|
47619
|
+
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the variable it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > CONTAINER)
|
|
47471
47620
|
* @summary Edit an environment variable belonging to the container
|
|
47472
47621
|
* @param {string} containerId Container ID
|
|
47473
47622
|
* @param {string} environmentVariableId Environment Variable ID
|
|
@@ -48874,7 +49023,7 @@ export const ContainerSecretApiAxiosParamCreator = function (configuration?: Con
|
|
|
48874
49023
|
};
|
|
48875
49024
|
},
|
|
48876
49025
|
/**
|
|
48877
|
-
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias,
|
|
49026
|
+
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the secret it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > CONTAINER)
|
|
48878
49027
|
* @summary Edit a secret belonging to the container
|
|
48879
49028
|
* @param {string} containerId Container ID
|
|
48880
49029
|
* @param {string} secretId Secret ID
|
|
@@ -49034,7 +49183,7 @@ export const ContainerSecretApiFp = function(configuration?: Configuration) {
|
|
|
49034
49183
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
49035
49184
|
},
|
|
49036
49185
|
/**
|
|
49037
|
-
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias,
|
|
49186
|
+
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the secret it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > CONTAINER)
|
|
49038
49187
|
* @summary Edit a secret belonging to the container
|
|
49039
49188
|
* @param {string} containerId Container ID
|
|
49040
49189
|
* @param {string} secretId Secret ID
|
|
@@ -49118,7 +49267,7 @@ export const ContainerSecretApiFactory = function (configuration?: Configuration
|
|
|
49118
49267
|
return localVarFp.deleteContainerSecret(containerId, secretId, options).then((request) => request(axios, basePath));
|
|
49119
49268
|
},
|
|
49120
49269
|
/**
|
|
49121
|
-
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias,
|
|
49270
|
+
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the secret it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > CONTAINER)
|
|
49122
49271
|
* @summary Edit a secret belonging to the container
|
|
49123
49272
|
* @param {string} containerId Container ID
|
|
49124
49273
|
* @param {string} secretId Secret ID
|
|
@@ -49204,7 +49353,7 @@ export class ContainerSecretApi extends BaseAPI {
|
|
|
49204
49353
|
}
|
|
49205
49354
|
|
|
49206
49355
|
/**
|
|
49207
|
-
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias,
|
|
49356
|
+
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the secret it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > CONTAINER)
|
|
49208
49357
|
* @summary Edit a secret belonging to the container
|
|
49209
49358
|
* @param {string} containerId Container ID
|
|
49210
49359
|
* @param {string} secretId Secret ID
|
|
@@ -55810,7 +55959,7 @@ export class EnvironmentMainCallsApi extends BaseAPI {
|
|
|
55810
55959
|
export const EnvironmentSecretApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
55811
55960
|
return {
|
|
55812
55961
|
/**
|
|
55813
|
-
* - Add a secret to the environment. - If the secret key already exists,
|
|
55962
|
+
* - Add a secret to the environment. - If the secret key already exists in this scope, the request is rejected with a 409 conflict. - A value matching the key of an existing secret is stored as a plain string, not as an alias. To create an alias, use POST /variable/{variableId}/alias on the secret to target.
|
|
55814
55963
|
* @summary Add a secret to the environment
|
|
55815
55964
|
* @param {string} environmentId Environment ID
|
|
55816
55965
|
* @param {SecretRequest} [secretRequest]
|
|
@@ -55998,7 +56147,7 @@ export const EnvironmentSecretApiAxiosParamCreator = function (configuration?: C
|
|
|
55998
56147
|
};
|
|
55999
56148
|
},
|
|
56000
56149
|
/**
|
|
56001
|
-
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias,
|
|
56150
|
+
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the secret it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > APPLICATION)
|
|
56002
56151
|
* @summary Edit a secret belonging to the environment
|
|
56003
56152
|
* @param {string} environmentId Environment ID
|
|
56004
56153
|
* @param {string} secretId Secret ID
|
|
@@ -56100,7 +56249,7 @@ export const EnvironmentSecretApiFp = function(configuration?: Configuration) {
|
|
|
56100
56249
|
const localVarAxiosParamCreator = EnvironmentSecretApiAxiosParamCreator(configuration)
|
|
56101
56250
|
return {
|
|
56102
56251
|
/**
|
|
56103
|
-
* - Add a secret to the environment. - If the secret key already exists,
|
|
56252
|
+
* - Add a secret to the environment. - If the secret key already exists in this scope, the request is rejected with a 409 conflict. - A value matching the key of an existing secret is stored as a plain string, not as an alias. To create an alias, use POST /variable/{variableId}/alias on the secret to target.
|
|
56104
56253
|
* @summary Add a secret to the environment
|
|
56105
56254
|
* @param {string} environmentId Environment ID
|
|
56106
56255
|
* @param {SecretRequest} [secretRequest]
|
|
@@ -56158,7 +56307,7 @@ export const EnvironmentSecretApiFp = function(configuration?: Configuration) {
|
|
|
56158
56307
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
56159
56308
|
},
|
|
56160
56309
|
/**
|
|
56161
|
-
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias,
|
|
56310
|
+
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the secret it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > APPLICATION)
|
|
56162
56311
|
* @summary Edit a secret belonging to the environment
|
|
56163
56312
|
* @param {string} environmentId Environment ID
|
|
56164
56313
|
* @param {string} secretId Secret ID
|
|
@@ -56196,7 +56345,7 @@ export const EnvironmentSecretApiFactory = function (configuration?: Configurati
|
|
|
56196
56345
|
const localVarFp = EnvironmentSecretApiFp(configuration)
|
|
56197
56346
|
return {
|
|
56198
56347
|
/**
|
|
56199
|
-
* - Add a secret to the environment. - If the secret key already exists,
|
|
56348
|
+
* - Add a secret to the environment. - If the secret key already exists in this scope, the request is rejected with a 409 conflict. - A value matching the key of an existing secret is stored as a plain string, not as an alias. To create an alias, use POST /variable/{variableId}/alias on the secret to target.
|
|
56200
56349
|
* @summary Add a secret to the environment
|
|
56201
56350
|
* @param {string} environmentId Environment ID
|
|
56202
56351
|
* @param {SecretRequest} [secretRequest]
|
|
@@ -56242,7 +56391,7 @@ export const EnvironmentSecretApiFactory = function (configuration?: Configurati
|
|
|
56242
56391
|
return localVarFp.deleteEnvironmentSecret(environmentId, secretId, options).then((request) => request(axios, basePath));
|
|
56243
56392
|
},
|
|
56244
56393
|
/**
|
|
56245
|
-
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias,
|
|
56394
|
+
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the secret it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > APPLICATION)
|
|
56246
56395
|
* @summary Edit a secret belonging to the environment
|
|
56247
56396
|
* @param {string} environmentId Environment ID
|
|
56248
56397
|
* @param {string} secretId Secret ID
|
|
@@ -56274,7 +56423,7 @@ export const EnvironmentSecretApiFactory = function (configuration?: Configurati
|
|
|
56274
56423
|
*/
|
|
56275
56424
|
export class EnvironmentSecretApi extends BaseAPI {
|
|
56276
56425
|
/**
|
|
56277
|
-
* - Add a secret to the environment. - If the secret key already exists,
|
|
56426
|
+
* - Add a secret to the environment. - If the secret key already exists in this scope, the request is rejected with a 409 conflict. - A value matching the key of an existing secret is stored as a plain string, not as an alias. To create an alias, use POST /variable/{variableId}/alias on the secret to target.
|
|
56278
56427
|
* @summary Add a secret to the environment
|
|
56279
56428
|
* @param {string} environmentId Environment ID
|
|
56280
56429
|
* @param {SecretRequest} [secretRequest]
|
|
@@ -56328,7 +56477,7 @@ export class EnvironmentSecretApi extends BaseAPI {
|
|
|
56328
56477
|
}
|
|
56329
56478
|
|
|
56330
56479
|
/**
|
|
56331
|
-
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias,
|
|
56480
|
+
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the secret it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > APPLICATION)
|
|
56332
56481
|
* @summary Edit a secret belonging to the environment
|
|
56333
56482
|
* @param {string} environmentId Environment ID
|
|
56334
56483
|
* @param {string} secretId Secret ID
|
|
@@ -56363,7 +56512,7 @@ export class EnvironmentSecretApi extends BaseAPI {
|
|
|
56363
56512
|
export const EnvironmentVariableApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
56364
56513
|
return {
|
|
56365
56514
|
/**
|
|
56366
|
-
* - Add an environment variable to the environment. - If the environment variable key already exists,
|
|
56515
|
+
* - Add an environment variable to the environment. - If the environment variable key already exists in this scope, the request is rejected with a 409 conflict. - A value matching the key of an existing variable is stored as a plain string, not as an alias. To create an alias, use POST /variable/{variableId}/alias on the variable to target.
|
|
56367
56516
|
* @summary Add an environment variable to the environment
|
|
56368
56517
|
* @param {string} environmentId Environment ID
|
|
56369
56518
|
* @param {EnvironmentVariableRequest} [environmentVariableRequest]
|
|
@@ -56551,7 +56700,7 @@ export const EnvironmentVariableApiAxiosParamCreator = function (configuration?:
|
|
|
56551
56700
|
};
|
|
56552
56701
|
},
|
|
56553
56702
|
/**
|
|
56554
|
-
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias,
|
|
56703
|
+
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the variable it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > APPLICATION)
|
|
56555
56704
|
* @summary Edit an environment variable belonging to the environment
|
|
56556
56705
|
* @param {string} environmentId Environment ID
|
|
56557
56706
|
* @param {string} environmentVariableId Environment Variable ID
|
|
@@ -56653,7 +56802,7 @@ export const EnvironmentVariableApiFp = function(configuration?: Configuration)
|
|
|
56653
56802
|
const localVarAxiosParamCreator = EnvironmentVariableApiAxiosParamCreator(configuration)
|
|
56654
56803
|
return {
|
|
56655
56804
|
/**
|
|
56656
|
-
* - Add an environment variable to the environment. - If the environment variable key already exists,
|
|
56805
|
+
* - Add an environment variable to the environment. - If the environment variable key already exists in this scope, the request is rejected with a 409 conflict. - A value matching the key of an existing variable is stored as a plain string, not as an alias. To create an alias, use POST /variable/{variableId}/alias on the variable to target.
|
|
56657
56806
|
* @summary Add an environment variable to the environment
|
|
56658
56807
|
* @param {string} environmentId Environment ID
|
|
56659
56808
|
* @param {EnvironmentVariableRequest} [environmentVariableRequest]
|
|
@@ -56711,7 +56860,7 @@ export const EnvironmentVariableApiFp = function(configuration?: Configuration)
|
|
|
56711
56860
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
56712
56861
|
},
|
|
56713
56862
|
/**
|
|
56714
|
-
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias,
|
|
56863
|
+
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the variable it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > APPLICATION)
|
|
56715
56864
|
* @summary Edit an environment variable belonging to the environment
|
|
56716
56865
|
* @param {string} environmentId Environment ID
|
|
56717
56866
|
* @param {string} environmentVariableId Environment Variable ID
|
|
@@ -56749,7 +56898,7 @@ export const EnvironmentVariableApiFactory = function (configuration?: Configura
|
|
|
56749
56898
|
const localVarFp = EnvironmentVariableApiFp(configuration)
|
|
56750
56899
|
return {
|
|
56751
56900
|
/**
|
|
56752
|
-
* - Add an environment variable to the environment. - If the environment variable key already exists,
|
|
56901
|
+
* - Add an environment variable to the environment. - If the environment variable key already exists in this scope, the request is rejected with a 409 conflict. - A value matching the key of an existing variable is stored as a plain string, not as an alias. To create an alias, use POST /variable/{variableId}/alias on the variable to target.
|
|
56753
56902
|
* @summary Add an environment variable to the environment
|
|
56754
56903
|
* @param {string} environmentId Environment ID
|
|
56755
56904
|
* @param {EnvironmentVariableRequest} [environmentVariableRequest]
|
|
@@ -56795,7 +56944,7 @@ export const EnvironmentVariableApiFactory = function (configuration?: Configura
|
|
|
56795
56944
|
return localVarFp.deleteEnvironmentEnvironmentVariable(environmentId, environmentVariableId, options).then((request) => request(axios, basePath));
|
|
56796
56945
|
},
|
|
56797
56946
|
/**
|
|
56798
|
-
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias,
|
|
56947
|
+
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the variable it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > APPLICATION)
|
|
56799
56948
|
* @summary Edit an environment variable belonging to the environment
|
|
56800
56949
|
* @param {string} environmentId Environment ID
|
|
56801
56950
|
* @param {string} environmentVariableId Environment Variable ID
|
|
@@ -56827,7 +56976,7 @@ export const EnvironmentVariableApiFactory = function (configuration?: Configura
|
|
|
56827
56976
|
*/
|
|
56828
56977
|
export class EnvironmentVariableApi extends BaseAPI {
|
|
56829
56978
|
/**
|
|
56830
|
-
* - Add an environment variable to the environment. - If the environment variable key already exists,
|
|
56979
|
+
* - Add an environment variable to the environment. - If the environment variable key already exists in this scope, the request is rejected with a 409 conflict. - A value matching the key of an existing variable is stored as a plain string, not as an alias. To create an alias, use POST /variable/{variableId}/alias on the variable to target.
|
|
56831
56980
|
* @summary Add an environment variable to the environment
|
|
56832
56981
|
* @param {string} environmentId Environment ID
|
|
56833
56982
|
* @param {EnvironmentVariableRequest} [environmentVariableRequest]
|
|
@@ -56881,7 +57030,7 @@ export class EnvironmentVariableApi extends BaseAPI {
|
|
|
56881
57030
|
}
|
|
56882
57031
|
|
|
56883
57032
|
/**
|
|
56884
|
-
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias,
|
|
57033
|
+
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the variable it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > APPLICATION)
|
|
56885
57034
|
* @summary Edit an environment variable belonging to the environment
|
|
56886
57035
|
* @param {string} environmentId Environment ID
|
|
56887
57036
|
* @param {string} environmentVariableId Environment Variable ID
|
|
@@ -63099,7 +63248,7 @@ export const JobEnvironmentVariableApiAxiosParamCreator = function (configuratio
|
|
|
63099
63248
|
};
|
|
63100
63249
|
},
|
|
63101
63250
|
/**
|
|
63102
|
-
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias,
|
|
63251
|
+
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the variable it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > CONTAINER)
|
|
63103
63252
|
* @summary Edit an environment variable belonging to the job
|
|
63104
63253
|
* @param {string} jobId Job ID
|
|
63105
63254
|
* @param {string} environmentVariableId Environment Variable ID
|
|
@@ -63304,7 +63453,7 @@ export const JobEnvironmentVariableApiFp = function(configuration?: Configuratio
|
|
|
63304
63453
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
63305
63454
|
},
|
|
63306
63455
|
/**
|
|
63307
|
-
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias,
|
|
63456
|
+
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the variable it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > CONTAINER)
|
|
63308
63457
|
* @summary Edit an environment variable belonging to the job
|
|
63309
63458
|
* @param {string} jobId Job ID
|
|
63310
63459
|
* @param {string} environmentVariableId Environment Variable ID
|
|
@@ -63402,7 +63551,7 @@ export const JobEnvironmentVariableApiFactory = function (configuration?: Config
|
|
|
63402
63551
|
return localVarFp.deleteJobEnvironmentVariable(jobId, environmentVariableId, options).then((request) => request(axios, basePath));
|
|
63403
63552
|
},
|
|
63404
63553
|
/**
|
|
63405
|
-
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias,
|
|
63554
|
+
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the variable it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > CONTAINER)
|
|
63406
63555
|
* @summary Edit an environment variable belonging to the job
|
|
63407
63556
|
* @param {string} jobId Job ID
|
|
63408
63557
|
* @param {string} environmentVariableId Environment Variable ID
|
|
@@ -63499,7 +63648,7 @@ export class JobEnvironmentVariableApi extends BaseAPI {
|
|
|
63499
63648
|
}
|
|
63500
63649
|
|
|
63501
63650
|
/**
|
|
63502
|
-
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias,
|
|
63651
|
+
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the variable it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > CONTAINER)
|
|
63503
63652
|
* @summary Edit an environment variable belonging to the job
|
|
63504
63653
|
* @param {string} jobId Job ID
|
|
63505
63654
|
* @param {string} environmentVariableId Environment Variable ID
|
|
@@ -64185,7 +64334,7 @@ export const JobSecretApiAxiosParamCreator = function (configuration?: Configura
|
|
|
64185
64334
|
};
|
|
64186
64335
|
},
|
|
64187
64336
|
/**
|
|
64188
|
-
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias,
|
|
64337
|
+
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the secret it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > CONTAINER)
|
|
64189
64338
|
* @summary Edit a secret belonging to the job
|
|
64190
64339
|
* @param {string} jobId Job ID
|
|
64191
64340
|
* @param {string} secretId Secret ID
|
|
@@ -64345,7 +64494,7 @@ export const JobSecretApiFp = function(configuration?: Configuration) {
|
|
|
64345
64494
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
64346
64495
|
},
|
|
64347
64496
|
/**
|
|
64348
|
-
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias,
|
|
64497
|
+
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the secret it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > CONTAINER)
|
|
64349
64498
|
* @summary Edit a secret belonging to the job
|
|
64350
64499
|
* @param {string} jobId Job ID
|
|
64351
64500
|
* @param {string} secretId Secret ID
|
|
@@ -64429,7 +64578,7 @@ export const JobSecretApiFactory = function (configuration?: Configuration, base
|
|
|
64429
64578
|
return localVarFp.deleteJobSecret(jobId, secretId, options).then((request) => request(axios, basePath));
|
|
64430
64579
|
},
|
|
64431
64580
|
/**
|
|
64432
|
-
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias,
|
|
64581
|
+
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the secret it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > CONTAINER)
|
|
64433
64582
|
* @summary Edit a secret belonging to the job
|
|
64434
64583
|
* @param {string} jobId Job ID
|
|
64435
64584
|
* @param {string} secretId Secret ID
|
|
@@ -64515,7 +64664,7 @@ export class JobSecretApi extends BaseAPI {
|
|
|
64515
64664
|
}
|
|
64516
64665
|
|
|
64517
64666
|
/**
|
|
64518
|
-
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias,
|
|
64667
|
+
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the secret it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > CONTAINER)
|
|
64519
64668
|
* @summary Edit a secret belonging to the job
|
|
64520
64669
|
* @param {string} jobId Job ID
|
|
64521
64670
|
* @param {string} secretId Secret ID
|
|
@@ -65060,6 +65209,443 @@ export class JobsApi extends BaseAPI {
|
|
|
65060
65209
|
|
|
65061
65210
|
|
|
65062
65211
|
|
|
65212
|
+
/**
|
|
65213
|
+
* LLMProvidersApi - axios parameter creator
|
|
65214
|
+
* @export
|
|
65215
|
+
*/
|
|
65216
|
+
export const LLMProvidersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
65217
|
+
return {
|
|
65218
|
+
/**
|
|
65219
|
+
* Configure a reusable LLM provider for an organization.
|
|
65220
|
+
* @summary Create an LLM provider
|
|
65221
|
+
* @param {string} organizationId Organization ID
|
|
65222
|
+
* @param {LlmProviderRequest} llmProviderRequest
|
|
65223
|
+
* @param {*} [options] Override http request option.
|
|
65224
|
+
* @throws {RequiredError}
|
|
65225
|
+
*/
|
|
65226
|
+
createLlmProvider: async (organizationId: string, llmProviderRequest: LlmProviderRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
65227
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
65228
|
+
assertParamExists('createLlmProvider', 'organizationId', organizationId)
|
|
65229
|
+
// verify required parameter 'llmProviderRequest' is not null or undefined
|
|
65230
|
+
assertParamExists('createLlmProvider', 'llmProviderRequest', llmProviderRequest)
|
|
65231
|
+
const localVarPath = `/organization/{organizationId}/llmProvider`
|
|
65232
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
65233
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
65234
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
65235
|
+
let baseOptions;
|
|
65236
|
+
if (configuration) {
|
|
65237
|
+
baseOptions = configuration.baseOptions;
|
|
65238
|
+
}
|
|
65239
|
+
|
|
65240
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
65241
|
+
const localVarHeaderParameter = {} as any;
|
|
65242
|
+
const localVarQueryParameter = {} as any;
|
|
65243
|
+
|
|
65244
|
+
// authentication ApiKeyAuth required
|
|
65245
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
65246
|
+
|
|
65247
|
+
// authentication bearerAuth required
|
|
65248
|
+
// http bearer authentication required
|
|
65249
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
65250
|
+
|
|
65251
|
+
|
|
65252
|
+
|
|
65253
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
65254
|
+
|
|
65255
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
65256
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
65257
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
65258
|
+
localVarRequestOptions.data = serializeDataIfNeeded(llmProviderRequest, localVarRequestOptions, configuration)
|
|
65259
|
+
|
|
65260
|
+
return {
|
|
65261
|
+
url: toPathString(localVarUrlObj),
|
|
65262
|
+
options: localVarRequestOptions,
|
|
65263
|
+
};
|
|
65264
|
+
},
|
|
65265
|
+
/**
|
|
65266
|
+
* Delete an LLM provider.
|
|
65267
|
+
* @summary Delete an LLM provider
|
|
65268
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
65269
|
+
* @param {*} [options] Override http request option.
|
|
65270
|
+
* @throws {RequiredError}
|
|
65271
|
+
*/
|
|
65272
|
+
deleteLlmProvider: async (llmProviderId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
65273
|
+
// verify required parameter 'llmProviderId' is not null or undefined
|
|
65274
|
+
assertParamExists('deleteLlmProvider', 'llmProviderId', llmProviderId)
|
|
65275
|
+
const localVarPath = `/llmProvider/{llmProviderId}`
|
|
65276
|
+
.replace(`{${"llmProviderId"}}`, encodeURIComponent(String(llmProviderId)));
|
|
65277
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
65278
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
65279
|
+
let baseOptions;
|
|
65280
|
+
if (configuration) {
|
|
65281
|
+
baseOptions = configuration.baseOptions;
|
|
65282
|
+
}
|
|
65283
|
+
|
|
65284
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
65285
|
+
const localVarHeaderParameter = {} as any;
|
|
65286
|
+
const localVarQueryParameter = {} as any;
|
|
65287
|
+
|
|
65288
|
+
// authentication ApiKeyAuth required
|
|
65289
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
65290
|
+
|
|
65291
|
+
// authentication bearerAuth required
|
|
65292
|
+
// http bearer authentication required
|
|
65293
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
65294
|
+
|
|
65295
|
+
|
|
65296
|
+
|
|
65297
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
65298
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
65299
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
65300
|
+
|
|
65301
|
+
return {
|
|
65302
|
+
url: toPathString(localVarUrlObj),
|
|
65303
|
+
options: localVarRequestOptions,
|
|
65304
|
+
};
|
|
65305
|
+
},
|
|
65306
|
+
/**
|
|
65307
|
+
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it.
|
|
65308
|
+
* @summary Edit an LLM provider
|
|
65309
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
65310
|
+
* @param {LlmProviderRequest} llmProviderRequest
|
|
65311
|
+
* @param {*} [options] Override http request option.
|
|
65312
|
+
* @throws {RequiredError}
|
|
65313
|
+
*/
|
|
65314
|
+
editLlmProvider: async (llmProviderId: string, llmProviderRequest: LlmProviderRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
65315
|
+
// verify required parameter 'llmProviderId' is not null or undefined
|
|
65316
|
+
assertParamExists('editLlmProvider', 'llmProviderId', llmProviderId)
|
|
65317
|
+
// verify required parameter 'llmProviderRequest' is not null or undefined
|
|
65318
|
+
assertParamExists('editLlmProvider', 'llmProviderRequest', llmProviderRequest)
|
|
65319
|
+
const localVarPath = `/llmProvider/{llmProviderId}`
|
|
65320
|
+
.replace(`{${"llmProviderId"}}`, encodeURIComponent(String(llmProviderId)));
|
|
65321
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
65322
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
65323
|
+
let baseOptions;
|
|
65324
|
+
if (configuration) {
|
|
65325
|
+
baseOptions = configuration.baseOptions;
|
|
65326
|
+
}
|
|
65327
|
+
|
|
65328
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
65329
|
+
const localVarHeaderParameter = {} as any;
|
|
65330
|
+
const localVarQueryParameter = {} as any;
|
|
65331
|
+
|
|
65332
|
+
// authentication ApiKeyAuth required
|
|
65333
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
65334
|
+
|
|
65335
|
+
// authentication bearerAuth required
|
|
65336
|
+
// http bearer authentication required
|
|
65337
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
65338
|
+
|
|
65339
|
+
|
|
65340
|
+
|
|
65341
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
65342
|
+
|
|
65343
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
65344
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
65345
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
65346
|
+
localVarRequestOptions.data = serializeDataIfNeeded(llmProviderRequest, localVarRequestOptions, configuration)
|
|
65347
|
+
|
|
65348
|
+
return {
|
|
65349
|
+
url: toPathString(localVarUrlObj),
|
|
65350
|
+
options: localVarRequestOptions,
|
|
65351
|
+
};
|
|
65352
|
+
},
|
|
65353
|
+
/**
|
|
65354
|
+
* Get an LLM provider. The credential is never returned.
|
|
65355
|
+
* @summary Get an LLM provider
|
|
65356
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
65357
|
+
* @param {*} [options] Override http request option.
|
|
65358
|
+
* @throws {RequiredError}
|
|
65359
|
+
*/
|
|
65360
|
+
getLlmProvider: async (llmProviderId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
65361
|
+
// verify required parameter 'llmProviderId' is not null or undefined
|
|
65362
|
+
assertParamExists('getLlmProvider', 'llmProviderId', llmProviderId)
|
|
65363
|
+
const localVarPath = `/llmProvider/{llmProviderId}`
|
|
65364
|
+
.replace(`{${"llmProviderId"}}`, encodeURIComponent(String(llmProviderId)));
|
|
65365
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
65366
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
65367
|
+
let baseOptions;
|
|
65368
|
+
if (configuration) {
|
|
65369
|
+
baseOptions = configuration.baseOptions;
|
|
65370
|
+
}
|
|
65371
|
+
|
|
65372
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
65373
|
+
const localVarHeaderParameter = {} as any;
|
|
65374
|
+
const localVarQueryParameter = {} as any;
|
|
65375
|
+
|
|
65376
|
+
// authentication ApiKeyAuth required
|
|
65377
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
65378
|
+
|
|
65379
|
+
// authentication bearerAuth required
|
|
65380
|
+
// http bearer authentication required
|
|
65381
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
65382
|
+
|
|
65383
|
+
|
|
65384
|
+
|
|
65385
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
65386
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
65387
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
65388
|
+
|
|
65389
|
+
return {
|
|
65390
|
+
url: toPathString(localVarUrlObj),
|
|
65391
|
+
options: localVarRequestOptions,
|
|
65392
|
+
};
|
|
65393
|
+
},
|
|
65394
|
+
/**
|
|
65395
|
+
* List the LLM providers configured for an organization. Credentials are never returned.
|
|
65396
|
+
* @summary List organization LLM providers
|
|
65397
|
+
* @param {string} organizationId Organization ID
|
|
65398
|
+
* @param {*} [options] Override http request option.
|
|
65399
|
+
* @throws {RequiredError}
|
|
65400
|
+
*/
|
|
65401
|
+
listLlmProviders: async (organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
65402
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
65403
|
+
assertParamExists('listLlmProviders', 'organizationId', organizationId)
|
|
65404
|
+
const localVarPath = `/organization/{organizationId}/llmProvider`
|
|
65405
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
65406
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
65407
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
65408
|
+
let baseOptions;
|
|
65409
|
+
if (configuration) {
|
|
65410
|
+
baseOptions = configuration.baseOptions;
|
|
65411
|
+
}
|
|
65412
|
+
|
|
65413
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
65414
|
+
const localVarHeaderParameter = {} as any;
|
|
65415
|
+
const localVarQueryParameter = {} as any;
|
|
65416
|
+
|
|
65417
|
+
// authentication ApiKeyAuth required
|
|
65418
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
65419
|
+
|
|
65420
|
+
// authentication bearerAuth required
|
|
65421
|
+
// http bearer authentication required
|
|
65422
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
65423
|
+
|
|
65424
|
+
|
|
65425
|
+
|
|
65426
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
65427
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
65428
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
65429
|
+
|
|
65430
|
+
return {
|
|
65431
|
+
url: toPathString(localVarUrlObj),
|
|
65432
|
+
options: localVarRequestOptions,
|
|
65433
|
+
};
|
|
65434
|
+
},
|
|
65435
|
+
}
|
|
65436
|
+
};
|
|
65437
|
+
|
|
65438
|
+
/**
|
|
65439
|
+
* LLMProvidersApi - functional programming interface
|
|
65440
|
+
* @export
|
|
65441
|
+
*/
|
|
65442
|
+
export const LLMProvidersApiFp = function(configuration?: Configuration) {
|
|
65443
|
+
const localVarAxiosParamCreator = LLMProvidersApiAxiosParamCreator(configuration)
|
|
65444
|
+
return {
|
|
65445
|
+
/**
|
|
65446
|
+
* Configure a reusable LLM provider for an organization.
|
|
65447
|
+
* @summary Create an LLM provider
|
|
65448
|
+
* @param {string} organizationId Organization ID
|
|
65449
|
+
* @param {LlmProviderRequest} llmProviderRequest
|
|
65450
|
+
* @param {*} [options] Override http request option.
|
|
65451
|
+
* @throws {RequiredError}
|
|
65452
|
+
*/
|
|
65453
|
+
async createLlmProvider(organizationId: string, llmProviderRequest: LlmProviderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmProviderResponse>> {
|
|
65454
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createLlmProvider(organizationId, llmProviderRequest, options);
|
|
65455
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
65456
|
+
const localVarOperationServerBasePath = operationServerMap['LLMProvidersApi.createLlmProvider']?.[localVarOperationServerIndex]?.url;
|
|
65457
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
65458
|
+
},
|
|
65459
|
+
/**
|
|
65460
|
+
* Delete an LLM provider.
|
|
65461
|
+
* @summary Delete an LLM provider
|
|
65462
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
65463
|
+
* @param {*} [options] Override http request option.
|
|
65464
|
+
* @throws {RequiredError}
|
|
65465
|
+
*/
|
|
65466
|
+
async deleteLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
65467
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteLlmProvider(llmProviderId, options);
|
|
65468
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
65469
|
+
const localVarOperationServerBasePath = operationServerMap['LLMProvidersApi.deleteLlmProvider']?.[localVarOperationServerIndex]?.url;
|
|
65470
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
65471
|
+
},
|
|
65472
|
+
/**
|
|
65473
|
+
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it.
|
|
65474
|
+
* @summary Edit an LLM provider
|
|
65475
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
65476
|
+
* @param {LlmProviderRequest} llmProviderRequest
|
|
65477
|
+
* @param {*} [options] Override http request option.
|
|
65478
|
+
* @throws {RequiredError}
|
|
65479
|
+
*/
|
|
65480
|
+
async editLlmProvider(llmProviderId: string, llmProviderRequest: LlmProviderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmProviderResponse>> {
|
|
65481
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editLlmProvider(llmProviderId, llmProviderRequest, options);
|
|
65482
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
65483
|
+
const localVarOperationServerBasePath = operationServerMap['LLMProvidersApi.editLlmProvider']?.[localVarOperationServerIndex]?.url;
|
|
65484
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
65485
|
+
},
|
|
65486
|
+
/**
|
|
65487
|
+
* Get an LLM provider. The credential is never returned.
|
|
65488
|
+
* @summary Get an LLM provider
|
|
65489
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
65490
|
+
* @param {*} [options] Override http request option.
|
|
65491
|
+
* @throws {RequiredError}
|
|
65492
|
+
*/
|
|
65493
|
+
async getLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmProviderResponse>> {
|
|
65494
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getLlmProvider(llmProviderId, options);
|
|
65495
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
65496
|
+
const localVarOperationServerBasePath = operationServerMap['LLMProvidersApi.getLlmProvider']?.[localVarOperationServerIndex]?.url;
|
|
65497
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
65498
|
+
},
|
|
65499
|
+
/**
|
|
65500
|
+
* List the LLM providers configured for an organization. Credentials are never returned.
|
|
65501
|
+
* @summary List organization LLM providers
|
|
65502
|
+
* @param {string} organizationId Organization ID
|
|
65503
|
+
* @param {*} [options] Override http request option.
|
|
65504
|
+
* @throws {RequiredError}
|
|
65505
|
+
*/
|
|
65506
|
+
async listLlmProviders(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmProviderResponseList>> {
|
|
65507
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listLlmProviders(organizationId, options);
|
|
65508
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
65509
|
+
const localVarOperationServerBasePath = operationServerMap['LLMProvidersApi.listLlmProviders']?.[localVarOperationServerIndex]?.url;
|
|
65510
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
65511
|
+
},
|
|
65512
|
+
}
|
|
65513
|
+
};
|
|
65514
|
+
|
|
65515
|
+
/**
|
|
65516
|
+
* LLMProvidersApi - factory interface
|
|
65517
|
+
* @export
|
|
65518
|
+
*/
|
|
65519
|
+
export const LLMProvidersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
65520
|
+
const localVarFp = LLMProvidersApiFp(configuration)
|
|
65521
|
+
return {
|
|
65522
|
+
/**
|
|
65523
|
+
* Configure a reusable LLM provider for an organization.
|
|
65524
|
+
* @summary Create an LLM provider
|
|
65525
|
+
* @param {string} organizationId Organization ID
|
|
65526
|
+
* @param {LlmProviderRequest} llmProviderRequest
|
|
65527
|
+
* @param {*} [options] Override http request option.
|
|
65528
|
+
* @throws {RequiredError}
|
|
65529
|
+
*/
|
|
65530
|
+
createLlmProvider(organizationId: string, llmProviderRequest: LlmProviderRequest, options?: RawAxiosRequestConfig): AxiosPromise<LlmProviderResponse> {
|
|
65531
|
+
return localVarFp.createLlmProvider(organizationId, llmProviderRequest, options).then((request) => request(axios, basePath));
|
|
65532
|
+
},
|
|
65533
|
+
/**
|
|
65534
|
+
* Delete an LLM provider.
|
|
65535
|
+
* @summary Delete an LLM provider
|
|
65536
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
65537
|
+
* @param {*} [options] Override http request option.
|
|
65538
|
+
* @throws {RequiredError}
|
|
65539
|
+
*/
|
|
65540
|
+
deleteLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
65541
|
+
return localVarFp.deleteLlmProvider(llmProviderId, options).then((request) => request(axios, basePath));
|
|
65542
|
+
},
|
|
65543
|
+
/**
|
|
65544
|
+
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it.
|
|
65545
|
+
* @summary Edit an LLM provider
|
|
65546
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
65547
|
+
* @param {LlmProviderRequest} llmProviderRequest
|
|
65548
|
+
* @param {*} [options] Override http request option.
|
|
65549
|
+
* @throws {RequiredError}
|
|
65550
|
+
*/
|
|
65551
|
+
editLlmProvider(llmProviderId: string, llmProviderRequest: LlmProviderRequest, options?: RawAxiosRequestConfig): AxiosPromise<LlmProviderResponse> {
|
|
65552
|
+
return localVarFp.editLlmProvider(llmProviderId, llmProviderRequest, options).then((request) => request(axios, basePath));
|
|
65553
|
+
},
|
|
65554
|
+
/**
|
|
65555
|
+
* Get an LLM provider. The credential is never returned.
|
|
65556
|
+
* @summary Get an LLM provider
|
|
65557
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
65558
|
+
* @param {*} [options] Override http request option.
|
|
65559
|
+
* @throws {RequiredError}
|
|
65560
|
+
*/
|
|
65561
|
+
getLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig): AxiosPromise<LlmProviderResponse> {
|
|
65562
|
+
return localVarFp.getLlmProvider(llmProviderId, options).then((request) => request(axios, basePath));
|
|
65563
|
+
},
|
|
65564
|
+
/**
|
|
65565
|
+
* List the LLM providers configured for an organization. Credentials are never returned.
|
|
65566
|
+
* @summary List organization LLM providers
|
|
65567
|
+
* @param {string} organizationId Organization ID
|
|
65568
|
+
* @param {*} [options] Override http request option.
|
|
65569
|
+
* @throws {RequiredError}
|
|
65570
|
+
*/
|
|
65571
|
+
listLlmProviders(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<LlmProviderResponseList> {
|
|
65572
|
+
return localVarFp.listLlmProviders(organizationId, options).then((request) => request(axios, basePath));
|
|
65573
|
+
},
|
|
65574
|
+
};
|
|
65575
|
+
};
|
|
65576
|
+
|
|
65577
|
+
/**
|
|
65578
|
+
* LLMProvidersApi - object-oriented interface
|
|
65579
|
+
* @export
|
|
65580
|
+
* @class LLMProvidersApi
|
|
65581
|
+
* @extends {BaseAPI}
|
|
65582
|
+
*/
|
|
65583
|
+
export class LLMProvidersApi extends BaseAPI {
|
|
65584
|
+
/**
|
|
65585
|
+
* Configure a reusable LLM provider for an organization.
|
|
65586
|
+
* @summary Create an LLM provider
|
|
65587
|
+
* @param {string} organizationId Organization ID
|
|
65588
|
+
* @param {LlmProviderRequest} llmProviderRequest
|
|
65589
|
+
* @param {*} [options] Override http request option.
|
|
65590
|
+
* @throws {RequiredError}
|
|
65591
|
+
* @memberof LLMProvidersApi
|
|
65592
|
+
*/
|
|
65593
|
+
public createLlmProvider(organizationId: string, llmProviderRequest: LlmProviderRequest, options?: RawAxiosRequestConfig) {
|
|
65594
|
+
return LLMProvidersApiFp(this.configuration).createLlmProvider(organizationId, llmProviderRequest, options).then((request) => request(this.axios, this.basePath));
|
|
65595
|
+
}
|
|
65596
|
+
|
|
65597
|
+
/**
|
|
65598
|
+
* Delete an LLM provider.
|
|
65599
|
+
* @summary Delete an LLM provider
|
|
65600
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
65601
|
+
* @param {*} [options] Override http request option.
|
|
65602
|
+
* @throws {RequiredError}
|
|
65603
|
+
* @memberof LLMProvidersApi
|
|
65604
|
+
*/
|
|
65605
|
+
public deleteLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig) {
|
|
65606
|
+
return LLMProvidersApiFp(this.configuration).deleteLlmProvider(llmProviderId, options).then((request) => request(this.axios, this.basePath));
|
|
65607
|
+
}
|
|
65608
|
+
|
|
65609
|
+
/**
|
|
65610
|
+
* Replace an LLM provider. Sending a blank credential keeps the stored one; sending a nonblank credential rotates it.
|
|
65611
|
+
* @summary Edit an LLM provider
|
|
65612
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
65613
|
+
* @param {LlmProviderRequest} llmProviderRequest
|
|
65614
|
+
* @param {*} [options] Override http request option.
|
|
65615
|
+
* @throws {RequiredError}
|
|
65616
|
+
* @memberof LLMProvidersApi
|
|
65617
|
+
*/
|
|
65618
|
+
public editLlmProvider(llmProviderId: string, llmProviderRequest: LlmProviderRequest, options?: RawAxiosRequestConfig) {
|
|
65619
|
+
return LLMProvidersApiFp(this.configuration).editLlmProvider(llmProviderId, llmProviderRequest, options).then((request) => request(this.axios, this.basePath));
|
|
65620
|
+
}
|
|
65621
|
+
|
|
65622
|
+
/**
|
|
65623
|
+
* Get an LLM provider. The credential is never returned.
|
|
65624
|
+
* @summary Get an LLM provider
|
|
65625
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
65626
|
+
* @param {*} [options] Override http request option.
|
|
65627
|
+
* @throws {RequiredError}
|
|
65628
|
+
* @memberof LLMProvidersApi
|
|
65629
|
+
*/
|
|
65630
|
+
public getLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig) {
|
|
65631
|
+
return LLMProvidersApiFp(this.configuration).getLlmProvider(llmProviderId, options).then((request) => request(this.axios, this.basePath));
|
|
65632
|
+
}
|
|
65633
|
+
|
|
65634
|
+
/**
|
|
65635
|
+
* List the LLM providers configured for an organization. Credentials are never returned.
|
|
65636
|
+
* @summary List organization LLM providers
|
|
65637
|
+
* @param {string} organizationId Organization ID
|
|
65638
|
+
* @param {*} [options] Override http request option.
|
|
65639
|
+
* @throws {RequiredError}
|
|
65640
|
+
* @memberof LLMProvidersApi
|
|
65641
|
+
*/
|
|
65642
|
+
public listLlmProviders(organizationId: string, options?: RawAxiosRequestConfig) {
|
|
65643
|
+
return LLMProvidersApiFp(this.configuration).listLlmProviders(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
65644
|
+
}
|
|
65645
|
+
}
|
|
65646
|
+
|
|
65647
|
+
|
|
65648
|
+
|
|
65063
65649
|
/**
|
|
65064
65650
|
* LifecycleTemplateMainCallsApi - axios parameter creator
|
|
65065
65651
|
* @export
|
|
@@ -73423,7 +74009,7 @@ export class ProjectDeploymentRuleApi extends BaseAPI {
|
|
|
73423
74009
|
export const ProjectEnvironmentVariableApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
73424
74010
|
return {
|
|
73425
74011
|
/**
|
|
73426
|
-
* - Add an environment variable to the project. - If the environment variable key already exists,
|
|
74012
|
+
* - Add an environment variable to the project. - If the environment variable key already exists in this scope, the request is rejected with a 409 conflict. - A value matching the key of an existing variable is stored as a plain string, not as an alias. To create an alias, use POST /variable/{variableId}/alias on the variable to target.
|
|
73427
74013
|
* @summary Add an environment variable to the project
|
|
73428
74014
|
* @param {string} projectId Project ID
|
|
73429
74015
|
* @param {EnvironmentVariableRequest} [environmentVariableRequest]
|
|
@@ -73611,7 +74197,7 @@ export const ProjectEnvironmentVariableApiAxiosParamCreator = function (configur
|
|
|
73611
74197
|
};
|
|
73612
74198
|
},
|
|
73613
74199
|
/**
|
|
73614
|
-
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias,
|
|
74200
|
+
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the variable it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > APPLICATION)
|
|
73615
74201
|
* @summary Edit an environment variable belonging to the project
|
|
73616
74202
|
* @param {string} projectId Project ID
|
|
73617
74203
|
* @param {string} environmentVariableId Environment Variable ID
|
|
@@ -73713,7 +74299,7 @@ export const ProjectEnvironmentVariableApiFp = function(configuration?: Configur
|
|
|
73713
74299
|
const localVarAxiosParamCreator = ProjectEnvironmentVariableApiAxiosParamCreator(configuration)
|
|
73714
74300
|
return {
|
|
73715
74301
|
/**
|
|
73716
|
-
* - Add an environment variable to the project. - If the environment variable key already exists,
|
|
74302
|
+
* - Add an environment variable to the project. - If the environment variable key already exists in this scope, the request is rejected with a 409 conflict. - A value matching the key of an existing variable is stored as a plain string, not as an alias. To create an alias, use POST /variable/{variableId}/alias on the variable to target.
|
|
73717
74303
|
* @summary Add an environment variable to the project
|
|
73718
74304
|
* @param {string} projectId Project ID
|
|
73719
74305
|
* @param {EnvironmentVariableRequest} [environmentVariableRequest]
|
|
@@ -73771,7 +74357,7 @@ export const ProjectEnvironmentVariableApiFp = function(configuration?: Configur
|
|
|
73771
74357
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
73772
74358
|
},
|
|
73773
74359
|
/**
|
|
73774
|
-
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias,
|
|
74360
|
+
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the variable it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > APPLICATION)
|
|
73775
74361
|
* @summary Edit an environment variable belonging to the project
|
|
73776
74362
|
* @param {string} projectId Project ID
|
|
73777
74363
|
* @param {string} environmentVariableId Environment Variable ID
|
|
@@ -73809,7 +74395,7 @@ export const ProjectEnvironmentVariableApiFactory = function (configuration?: Co
|
|
|
73809
74395
|
const localVarFp = ProjectEnvironmentVariableApiFp(configuration)
|
|
73810
74396
|
return {
|
|
73811
74397
|
/**
|
|
73812
|
-
* - Add an environment variable to the project. - If the environment variable key already exists,
|
|
74398
|
+
* - Add an environment variable to the project. - If the environment variable key already exists in this scope, the request is rejected with a 409 conflict. - A value matching the key of an existing variable is stored as a plain string, not as an alias. To create an alias, use POST /variable/{variableId}/alias on the variable to target.
|
|
73813
74399
|
* @summary Add an environment variable to the project
|
|
73814
74400
|
* @param {string} projectId Project ID
|
|
73815
74401
|
* @param {EnvironmentVariableRequest} [environmentVariableRequest]
|
|
@@ -73855,7 +74441,7 @@ export const ProjectEnvironmentVariableApiFactory = function (configuration?: Co
|
|
|
73855
74441
|
return localVarFp.deleteProjectEnvironmentVariable(projectId, environmentVariableId, options).then((request) => request(axios, basePath));
|
|
73856
74442
|
},
|
|
73857
74443
|
/**
|
|
73858
|
-
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias,
|
|
74444
|
+
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the variable it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > APPLICATION)
|
|
73859
74445
|
* @summary Edit an environment variable belonging to the project
|
|
73860
74446
|
* @param {string} projectId Project ID
|
|
73861
74447
|
* @param {string} environmentVariableId Environment Variable ID
|
|
@@ -73887,7 +74473,7 @@ export const ProjectEnvironmentVariableApiFactory = function (configuration?: Co
|
|
|
73887
74473
|
*/
|
|
73888
74474
|
export class ProjectEnvironmentVariableApi extends BaseAPI {
|
|
73889
74475
|
/**
|
|
73890
|
-
* - Add an environment variable to the project. - If the environment variable key already exists,
|
|
74476
|
+
* - Add an environment variable to the project. - If the environment variable key already exists in this scope, the request is rejected with a 409 conflict. - A value matching the key of an existing variable is stored as a plain string, not as an alias. To create an alias, use POST /variable/{variableId}/alias on the variable to target.
|
|
73891
74477
|
* @summary Add an environment variable to the project
|
|
73892
74478
|
* @param {string} projectId Project ID
|
|
73893
74479
|
* @param {EnvironmentVariableRequest} [environmentVariableRequest]
|
|
@@ -73941,7 +74527,7 @@ export class ProjectEnvironmentVariableApi extends BaseAPI {
|
|
|
73941
74527
|
}
|
|
73942
74528
|
|
|
73943
74529
|
/**
|
|
73944
|
-
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias,
|
|
74530
|
+
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the variable it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > APPLICATION)
|
|
73945
74531
|
* @summary Edit an environment variable belonging to the project
|
|
73946
74532
|
* @param {string} projectId Project ID
|
|
73947
74533
|
* @param {string} environmentVariableId Environment Variable ID
|
|
@@ -74250,7 +74836,7 @@ export class ProjectMainCallsApi extends BaseAPI {
|
|
|
74250
74836
|
export const ProjectSecretApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
74251
74837
|
return {
|
|
74252
74838
|
/**
|
|
74253
|
-
* - Add a secret to the project. - If the secret key already exists,
|
|
74839
|
+
* - Add a secret to the project. - If the secret key already exists in this scope, the request is rejected with a 409 conflict. - A value matching the key of an existing secret is stored as a plain string, not as an alias. To create an alias, use POST /variable/{variableId}/alias on the secret to target.
|
|
74254
74840
|
* @summary Add a secret to the project
|
|
74255
74841
|
* @param {string} projectId Project ID
|
|
74256
74842
|
* @param {SecretRequest} [secretRequest]
|
|
@@ -74438,7 +75024,7 @@ export const ProjectSecretApiAxiosParamCreator = function (configuration?: Confi
|
|
|
74438
75024
|
};
|
|
74439
75025
|
},
|
|
74440
75026
|
/**
|
|
74441
|
-
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias,
|
|
75027
|
+
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the secret it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > APPLICATION)
|
|
74442
75028
|
* @summary Edit a secret belonging to the project
|
|
74443
75029
|
* @param {string} projectId Project ID
|
|
74444
75030
|
* @param {string} secretId Secret ID
|
|
@@ -74540,7 +75126,7 @@ export const ProjectSecretApiFp = function(configuration?: Configuration) {
|
|
|
74540
75126
|
const localVarAxiosParamCreator = ProjectSecretApiAxiosParamCreator(configuration)
|
|
74541
75127
|
return {
|
|
74542
75128
|
/**
|
|
74543
|
-
* - Add a secret to the project. - If the secret key already exists,
|
|
75129
|
+
* - Add a secret to the project. - If the secret key already exists in this scope, the request is rejected with a 409 conflict. - A value matching the key of an existing secret is stored as a plain string, not as an alias. To create an alias, use POST /variable/{variableId}/alias on the secret to target.
|
|
74544
75130
|
* @summary Add a secret to the project
|
|
74545
75131
|
* @param {string} projectId Project ID
|
|
74546
75132
|
* @param {SecretRequest} [secretRequest]
|
|
@@ -74598,7 +75184,7 @@ export const ProjectSecretApiFp = function(configuration?: Configuration) {
|
|
|
74598
75184
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
74599
75185
|
},
|
|
74600
75186
|
/**
|
|
74601
|
-
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias,
|
|
75187
|
+
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the secret it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > APPLICATION)
|
|
74602
75188
|
* @summary Edit a secret belonging to the project
|
|
74603
75189
|
* @param {string} projectId Project ID
|
|
74604
75190
|
* @param {string} secretId Secret ID
|
|
@@ -74636,7 +75222,7 @@ export const ProjectSecretApiFactory = function (configuration?: Configuration,
|
|
|
74636
75222
|
const localVarFp = ProjectSecretApiFp(configuration)
|
|
74637
75223
|
return {
|
|
74638
75224
|
/**
|
|
74639
|
-
* - Add a secret to the project. - If the secret key already exists,
|
|
75225
|
+
* - Add a secret to the project. - If the secret key already exists in this scope, the request is rejected with a 409 conflict. - A value matching the key of an existing secret is stored as a plain string, not as an alias. To create an alias, use POST /variable/{variableId}/alias on the secret to target.
|
|
74640
75226
|
* @summary Add a secret to the project
|
|
74641
75227
|
* @param {string} projectId Project ID
|
|
74642
75228
|
* @param {SecretRequest} [secretRequest]
|
|
@@ -74682,7 +75268,7 @@ export const ProjectSecretApiFactory = function (configuration?: Configuration,
|
|
|
74682
75268
|
return localVarFp.deleteProjectSecret(projectId, secretId, options).then((request) => request(axios, basePath));
|
|
74683
75269
|
},
|
|
74684
75270
|
/**
|
|
74685
|
-
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias,
|
|
75271
|
+
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the secret it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > APPLICATION)
|
|
74686
75272
|
* @summary Edit a secret belonging to the project
|
|
74687
75273
|
* @param {string} projectId Project ID
|
|
74688
75274
|
* @param {string} secretId Secret ID
|
|
@@ -74714,7 +75300,7 @@ export const ProjectSecretApiFactory = function (configuration?: Configuration,
|
|
|
74714
75300
|
*/
|
|
74715
75301
|
export class ProjectSecretApi extends BaseAPI {
|
|
74716
75302
|
/**
|
|
74717
|
-
* - Add a secret to the project. - If the secret key already exists,
|
|
75303
|
+
* - Add a secret to the project. - If the secret key already exists in this scope, the request is rejected with a 409 conflict. - A value matching the key of an existing secret is stored as a plain string, not as an alias. To create an alias, use POST /variable/{variableId}/alias on the secret to target.
|
|
74718
75304
|
* @summary Add a secret to the project
|
|
74719
75305
|
* @param {string} projectId Project ID
|
|
74720
75306
|
* @param {SecretRequest} [secretRequest]
|
|
@@ -74768,7 +75354,7 @@ export class ProjectSecretApi extends BaseAPI {
|
|
|
74768
75354
|
}
|
|
74769
75355
|
|
|
74770
75356
|
/**
|
|
74771
|
-
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias,
|
|
75357
|
+
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not) - An override can only have a scope lower to the secret it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > APPLICATION)
|
|
74772
75358
|
* @summary Edit a secret belonging to the project
|
|
74773
75359
|
* @param {string} projectId Project ID
|
|
74774
75360
|
* @param {string} secretId Secret ID
|
|
@@ -78027,7 +78613,7 @@ export const VariableMainCallsApiAxiosParamCreator = function (configuration?: C
|
|
|
78027
78613
|
};
|
|
78028
78614
|
},
|
|
78029
78615
|
/**
|
|
78030
|
-
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias,
|
|
78616
|
+
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not)
|
|
78031
78617
|
* @summary Edit a variable
|
|
78032
78618
|
* @param {string} variableId Variable ID
|
|
78033
78619
|
* @param {VariableEditRequest} variableEditRequest
|
|
@@ -78249,7 +78835,7 @@ export const VariableMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
78249
78835
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
78250
78836
|
},
|
|
78251
78837
|
/**
|
|
78252
|
-
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias,
|
|
78838
|
+
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not)
|
|
78253
78839
|
* @summary Edit a variable
|
|
78254
78840
|
* @param {string} variableId Variable ID
|
|
78255
78841
|
* @param {VariableEditRequest} variableEditRequest
|
|
@@ -78345,7 +78931,7 @@ export const VariableMainCallsApiFactory = function (configuration?: Configurati
|
|
|
78345
78931
|
return localVarFp.deleteVariable(variableId, options).then((request) => request(axios, basePath));
|
|
78346
78932
|
},
|
|
78347
78933
|
/**
|
|
78348
|
-
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias,
|
|
78934
|
+
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not)
|
|
78349
78935
|
* @summary Edit a variable
|
|
78350
78936
|
* @param {string} variableId Variable ID
|
|
78351
78937
|
* @param {VariableEditRequest} variableEditRequest
|
|
@@ -78440,7 +79026,7 @@ export class VariableMainCallsApi extends BaseAPI {
|
|
|
78440
79026
|
}
|
|
78441
79027
|
|
|
78442
79028
|
/**
|
|
78443
|
-
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias,
|
|
79029
|
+
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias, the value is the key of the variable it targets. Editing it re-points the alias to that other variable, which must already exist and be of the same kind (secret or not)
|
|
78444
79030
|
* @summary Edit a variable
|
|
78445
79031
|
* @param {string} variableId Variable ID
|
|
78446
79032
|
* @param {VariableEditRequest} variableEditRequest
|