qovery-typescript-axios 1.1.918 → 1.1.920
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 +299 -2
- package/dist/api.d.ts +200 -2
- package/dist/api.js +170 -10
- package/dist/esm/api.d.ts +200 -2
- package/dist/esm/api.js +160 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -4232,10 +4232,41 @@ export type BlueprintSpecOverridesBackendEnum = typeof BlueprintSpecOverridesBac
|
|
|
4232
4232
|
export interface BlueprintUpdateEngineDiff {
|
|
4233
4233
|
/**
|
|
4234
4234
|
*
|
|
4235
|
-
* @type {Array<
|
|
4235
|
+
* @type {Array<BlueprintUpdateEngineFieldChange>}
|
|
4236
4236
|
* @memberof BlueprintUpdateEngineDiff
|
|
4237
4237
|
*/
|
|
4238
|
-
'updated_values': Array<
|
|
4238
|
+
'updated_values': Array<BlueprintUpdateEngineFieldChange>;
|
|
4239
|
+
}
|
|
4240
|
+
/**
|
|
4241
|
+
* A single engine-block field delta (e.g. version, cpu, ram). Not a manifest variable, so it carries no field type or constraints.
|
|
4242
|
+
* @export
|
|
4243
|
+
* @interface BlueprintUpdateEngineFieldChange
|
|
4244
|
+
*/
|
|
4245
|
+
export interface BlueprintUpdateEngineFieldChange {
|
|
4246
|
+
/**
|
|
4247
|
+
*
|
|
4248
|
+
* @type {string}
|
|
4249
|
+
* @memberof BlueprintUpdateEngineFieldChange
|
|
4250
|
+
*/
|
|
4251
|
+
'name': string;
|
|
4252
|
+
/**
|
|
4253
|
+
*
|
|
4254
|
+
* @type {string}
|
|
4255
|
+
* @memberof BlueprintUpdateEngineFieldChange
|
|
4256
|
+
*/
|
|
4257
|
+
'current_default_value'?: string | null;
|
|
4258
|
+
/**
|
|
4259
|
+
*
|
|
4260
|
+
* @type {string}
|
|
4261
|
+
* @memberof BlueprintUpdateEngineFieldChange
|
|
4262
|
+
*/
|
|
4263
|
+
'new_default_value'?: string | null;
|
|
4264
|
+
/**
|
|
4265
|
+
*
|
|
4266
|
+
* @type {string}
|
|
4267
|
+
* @memberof BlueprintUpdateEngineFieldChange
|
|
4268
|
+
*/
|
|
4269
|
+
'current_value'?: string | null;
|
|
4239
4270
|
}
|
|
4240
4271
|
/**
|
|
4241
4272
|
*
|
|
@@ -4255,6 +4286,24 @@ export interface BlueprintUpdateNewOptionalValue {
|
|
|
4255
4286
|
* @memberof BlueprintUpdateNewOptionalValue
|
|
4256
4287
|
*/
|
|
4257
4288
|
'default_value'?: string | null;
|
|
4289
|
+
/**
|
|
4290
|
+
*
|
|
4291
|
+
* @type {BlueprintManifestFieldType}
|
|
4292
|
+
* @memberof BlueprintUpdateNewOptionalValue
|
|
4293
|
+
*/
|
|
4294
|
+
'type': BlueprintManifestFieldType;
|
|
4295
|
+
/**
|
|
4296
|
+
* Values the user may choose from. Null = unrestricted.
|
|
4297
|
+
* @type {Array<string>}
|
|
4298
|
+
* @memberof BlueprintUpdateNewOptionalValue
|
|
4299
|
+
*/
|
|
4300
|
+
'allowed_values'?: Array<string> | null;
|
|
4301
|
+
/**
|
|
4302
|
+
*
|
|
4303
|
+
* @type {boolean}
|
|
4304
|
+
* @memberof BlueprintUpdateNewOptionalValue
|
|
4305
|
+
*/
|
|
4306
|
+
'is_secret': boolean;
|
|
4258
4307
|
}
|
|
4259
4308
|
/**
|
|
4260
4309
|
*
|
|
@@ -4268,6 +4317,24 @@ export interface BlueprintUpdateNewRequiredValue {
|
|
|
4268
4317
|
* @memberof BlueprintUpdateNewRequiredValue
|
|
4269
4318
|
*/
|
|
4270
4319
|
'name': string;
|
|
4320
|
+
/**
|
|
4321
|
+
*
|
|
4322
|
+
* @type {BlueprintManifestFieldType}
|
|
4323
|
+
* @memberof BlueprintUpdateNewRequiredValue
|
|
4324
|
+
*/
|
|
4325
|
+
'type': BlueprintManifestFieldType;
|
|
4326
|
+
/**
|
|
4327
|
+
* Values the user may choose from. Null = unrestricted.
|
|
4328
|
+
* @type {Array<string>}
|
|
4329
|
+
* @memberof BlueprintUpdateNewRequiredValue
|
|
4330
|
+
*/
|
|
4331
|
+
'allowed_values'?: Array<string> | null;
|
|
4332
|
+
/**
|
|
4333
|
+
*
|
|
4334
|
+
* @type {boolean}
|
|
4335
|
+
* @memberof BlueprintUpdateNewRequiredValue
|
|
4336
|
+
*/
|
|
4337
|
+
'is_secret': boolean;
|
|
4271
4338
|
}
|
|
4272
4339
|
/**
|
|
4273
4340
|
*
|
|
@@ -4431,6 +4498,24 @@ export interface BlueprintUpdateUpdatedValue {
|
|
|
4431
4498
|
* @memberof BlueprintUpdateUpdatedValue
|
|
4432
4499
|
*/
|
|
4433
4500
|
'current_value'?: string | null;
|
|
4501
|
+
/**
|
|
4502
|
+
*
|
|
4503
|
+
* @type {BlueprintManifestFieldType}
|
|
4504
|
+
* @memberof BlueprintUpdateUpdatedValue
|
|
4505
|
+
*/
|
|
4506
|
+
'type': BlueprintManifestFieldType;
|
|
4507
|
+
/**
|
|
4508
|
+
* Values the user may choose from. Null = unrestricted.
|
|
4509
|
+
* @type {Array<string>}
|
|
4510
|
+
* @memberof BlueprintUpdateUpdatedValue
|
|
4511
|
+
*/
|
|
4512
|
+
'allowed_values'?: Array<string> | null;
|
|
4513
|
+
/**
|
|
4514
|
+
*
|
|
4515
|
+
* @type {boolean}
|
|
4516
|
+
* @memberof BlueprintUpdateUpdatedValue
|
|
4517
|
+
*/
|
|
4518
|
+
'is_secret': boolean;
|
|
4434
4519
|
}
|
|
4435
4520
|
/**
|
|
4436
4521
|
* Value object for a variable in a patch map. Set the map value to null to remove the variable.
|
|
@@ -20328,6 +20413,57 @@ export interface OrganizationLabelsGroupResponse {
|
|
|
20328
20413
|
*/
|
|
20329
20414
|
'labels': Array<Label>;
|
|
20330
20415
|
}
|
|
20416
|
+
/**
|
|
20417
|
+
*
|
|
20418
|
+
* @export
|
|
20419
|
+
* @interface OrganizationOnboardingPatchRequest
|
|
20420
|
+
*/
|
|
20421
|
+
export interface OrganizationOnboardingPatchRequest {
|
|
20422
|
+
/**
|
|
20423
|
+
*
|
|
20424
|
+
* @type {OrganizationOnboardingStatusEnum}
|
|
20425
|
+
* @memberof OrganizationOnboardingPatchRequest
|
|
20426
|
+
*/
|
|
20427
|
+
'status': OrganizationOnboardingStatusEnum;
|
|
20428
|
+
}
|
|
20429
|
+
|
|
20430
|
+
|
|
20431
|
+
/**
|
|
20432
|
+
*
|
|
20433
|
+
* @export
|
|
20434
|
+
* @interface OrganizationOnboardingResponse
|
|
20435
|
+
*/
|
|
20436
|
+
export interface OrganizationOnboardingResponse {
|
|
20437
|
+
/**
|
|
20438
|
+
* Comma-separated list of use cases selected by the organization owner at sign-up (e.g. \"ephemeral-environments,rde\")
|
|
20439
|
+
* @type {string}
|
|
20440
|
+
* @memberof OrganizationOnboardingResponse
|
|
20441
|
+
*/
|
|
20442
|
+
'use_cases'?: string | null;
|
|
20443
|
+
/**
|
|
20444
|
+
*
|
|
20445
|
+
* @type {OrganizationOnboardingStatusEnum}
|
|
20446
|
+
* @memberof OrganizationOnboardingResponse
|
|
20447
|
+
*/
|
|
20448
|
+
'status'?: OrganizationOnboardingStatusEnum;
|
|
20449
|
+
}
|
|
20450
|
+
|
|
20451
|
+
|
|
20452
|
+
/**
|
|
20453
|
+
*
|
|
20454
|
+
* @export
|
|
20455
|
+
* @enum {string}
|
|
20456
|
+
*/
|
|
20457
|
+
|
|
20458
|
+
export const OrganizationOnboardingStatusEnum = {
|
|
20459
|
+
IN_PROGRESS: 'IN_PROGRESS',
|
|
20460
|
+
DISMISSED: 'DISMISSED',
|
|
20461
|
+
COMPLETED: 'COMPLETED'
|
|
20462
|
+
} as const;
|
|
20463
|
+
|
|
20464
|
+
export type OrganizationOnboardingStatusEnum = typeof OrganizationOnboardingStatusEnum[keyof typeof OrganizationOnboardingStatusEnum];
|
|
20465
|
+
|
|
20466
|
+
|
|
20331
20467
|
/**
|
|
20332
20468
|
*
|
|
20333
20469
|
* @export
|
|
@@ -65244,6 +65380,47 @@ export const OrganizationMainCallsApiAxiosParamCreator = function (configuration
|
|
|
65244
65380
|
|
|
65245
65381
|
|
|
65246
65382
|
|
|
65383
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
65384
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
65385
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
65386
|
+
|
|
65387
|
+
return {
|
|
65388
|
+
url: toPathString(localVarUrlObj),
|
|
65389
|
+
options: localVarRequestOptions,
|
|
65390
|
+
};
|
|
65391
|
+
},
|
|
65392
|
+
/**
|
|
65393
|
+
* Returns the onboarding status for the given organization and the use cases selected by the owner at sign-up.
|
|
65394
|
+
* @summary Get the onboarding status of an organization
|
|
65395
|
+
* @param {string} organizationId Organization ID
|
|
65396
|
+
* @param {*} [options] Override http request option.
|
|
65397
|
+
* @throws {RequiredError}
|
|
65398
|
+
*/
|
|
65399
|
+
getOrganizationOnboarding: async (organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
65400
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
65401
|
+
assertParamExists('getOrganizationOnboarding', 'organizationId', organizationId)
|
|
65402
|
+
const localVarPath = `/organization/{organizationId}/onboarding`
|
|
65403
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
65404
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
65405
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
65406
|
+
let baseOptions;
|
|
65407
|
+
if (configuration) {
|
|
65408
|
+
baseOptions = configuration.baseOptions;
|
|
65409
|
+
}
|
|
65410
|
+
|
|
65411
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
65412
|
+
const localVarHeaderParameter = {} as any;
|
|
65413
|
+
const localVarQueryParameter = {} as any;
|
|
65414
|
+
|
|
65415
|
+
// authentication ApiKeyAuth required
|
|
65416
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
65417
|
+
|
|
65418
|
+
// authentication bearerAuth required
|
|
65419
|
+
// http bearer authentication required
|
|
65420
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
65421
|
+
|
|
65422
|
+
|
|
65423
|
+
|
|
65247
65424
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
65248
65425
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
65249
65426
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -65599,6 +65776,53 @@ export const OrganizationMainCallsApiAxiosParamCreator = function (configuration
|
|
|
65599
65776
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
65600
65777
|
localVarRequestOptions.data = serializeDataIfNeeded(terraformVariableParsingRequest, localVarRequestOptions, configuration)
|
|
65601
65778
|
|
|
65779
|
+
return {
|
|
65780
|
+
url: toPathString(localVarUrlObj),
|
|
65781
|
+
options: localVarRequestOptions,
|
|
65782
|
+
};
|
|
65783
|
+
},
|
|
65784
|
+
/**
|
|
65785
|
+
* Updates the onboarding status for the calling user\'s organization. Only the authenticated user\'s own sign-up record is updated.
|
|
65786
|
+
* @summary Update the onboarding status of an organization
|
|
65787
|
+
* @param {string} organizationId Organization ID
|
|
65788
|
+
* @param {OrganizationOnboardingPatchRequest} organizationOnboardingPatchRequest
|
|
65789
|
+
* @param {*} [options] Override http request option.
|
|
65790
|
+
* @throws {RequiredError}
|
|
65791
|
+
*/
|
|
65792
|
+
updateOrganizationOnboarding: async (organizationId: string, organizationOnboardingPatchRequest: OrganizationOnboardingPatchRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
65793
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
65794
|
+
assertParamExists('updateOrganizationOnboarding', 'organizationId', organizationId)
|
|
65795
|
+
// verify required parameter 'organizationOnboardingPatchRequest' is not null or undefined
|
|
65796
|
+
assertParamExists('updateOrganizationOnboarding', 'organizationOnboardingPatchRequest', organizationOnboardingPatchRequest)
|
|
65797
|
+
const localVarPath = `/organization/{organizationId}/onboarding`
|
|
65798
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
65799
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
65800
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
65801
|
+
let baseOptions;
|
|
65802
|
+
if (configuration) {
|
|
65803
|
+
baseOptions = configuration.baseOptions;
|
|
65804
|
+
}
|
|
65805
|
+
|
|
65806
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
65807
|
+
const localVarHeaderParameter = {} as any;
|
|
65808
|
+
const localVarQueryParameter = {} as any;
|
|
65809
|
+
|
|
65810
|
+
// authentication ApiKeyAuth required
|
|
65811
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
65812
|
+
|
|
65813
|
+
// authentication bearerAuth required
|
|
65814
|
+
// http bearer authentication required
|
|
65815
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
65816
|
+
|
|
65817
|
+
|
|
65818
|
+
|
|
65819
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
65820
|
+
|
|
65821
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
65822
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
65823
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
65824
|
+
localVarRequestOptions.data = serializeDataIfNeeded(organizationOnboardingPatchRequest, localVarRequestOptions, configuration)
|
|
65825
|
+
|
|
65602
65826
|
return {
|
|
65603
65827
|
url: toPathString(localVarUrlObj),
|
|
65604
65828
|
options: localVarRequestOptions,
|
|
@@ -65766,6 +65990,19 @@ export const OrganizationMainCallsApiFp = function(configuration?: Configuration
|
|
|
65766
65990
|
const localVarOperationServerBasePath = operationServerMap['OrganizationMainCallsApi.getOrganizationGitToken']?.[localVarOperationServerIndex]?.url;
|
|
65767
65991
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
65768
65992
|
},
|
|
65993
|
+
/**
|
|
65994
|
+
* Returns the onboarding status for the given organization and the use cases selected by the owner at sign-up.
|
|
65995
|
+
* @summary Get the onboarding status of an organization
|
|
65996
|
+
* @param {string} organizationId Organization ID
|
|
65997
|
+
* @param {*} [options] Override http request option.
|
|
65998
|
+
* @throws {RequiredError}
|
|
65999
|
+
*/
|
|
66000
|
+
async getOrganizationOnboarding(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationOnboardingResponse>> {
|
|
66001
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationOnboarding(organizationId, options);
|
|
66002
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
66003
|
+
const localVarOperationServerBasePath = operationServerMap['OrganizationMainCallsApi.getOrganizationOnboarding']?.[localVarOperationServerIndex]?.url;
|
|
66004
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
66005
|
+
},
|
|
65769
66006
|
/**
|
|
65770
66007
|
*
|
|
65771
66008
|
* @summary List Environments By OrganizationId
|
|
@@ -65874,6 +66111,20 @@ export const OrganizationMainCallsApiFp = function(configuration?: Configuration
|
|
|
65874
66111
|
const localVarOperationServerBasePath = operationServerMap['OrganizationMainCallsApi.parseTerraformVariablesFromGitRepo']?.[localVarOperationServerIndex]?.url;
|
|
65875
66112
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
65876
66113
|
},
|
|
66114
|
+
/**
|
|
66115
|
+
* Updates the onboarding status for the calling user\'s organization. Only the authenticated user\'s own sign-up record is updated.
|
|
66116
|
+
* @summary Update the onboarding status of an organization
|
|
66117
|
+
* @param {string} organizationId Organization ID
|
|
66118
|
+
* @param {OrganizationOnboardingPatchRequest} organizationOnboardingPatchRequest
|
|
66119
|
+
* @param {*} [options] Override http request option.
|
|
66120
|
+
* @throws {RequiredError}
|
|
66121
|
+
*/
|
|
66122
|
+
async updateOrganizationOnboarding(organizationId: string, organizationOnboardingPatchRequest: OrganizationOnboardingPatchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationOnboardingResponse>> {
|
|
66123
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateOrganizationOnboarding(organizationId, organizationOnboardingPatchRequest, options);
|
|
66124
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
66125
|
+
const localVarOperationServerBasePath = operationServerMap['OrganizationMainCallsApi.updateOrganizationOnboarding']?.[localVarOperationServerIndex]?.url;
|
|
66126
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
66127
|
+
},
|
|
65877
66128
|
}
|
|
65878
66129
|
};
|
|
65879
66130
|
|
|
@@ -66003,6 +66254,16 @@ export const OrganizationMainCallsApiFactory = function (configuration?: Configu
|
|
|
66003
66254
|
getOrganizationGitToken(organizationId: string, gitTokenId: string, options?: RawAxiosRequestConfig): AxiosPromise<GitTokenResponse> {
|
|
66004
66255
|
return localVarFp.getOrganizationGitToken(organizationId, gitTokenId, options).then((request) => request(axios, basePath));
|
|
66005
66256
|
},
|
|
66257
|
+
/**
|
|
66258
|
+
* Returns the onboarding status for the given organization and the use cases selected by the owner at sign-up.
|
|
66259
|
+
* @summary Get the onboarding status of an organization
|
|
66260
|
+
* @param {string} organizationId Organization ID
|
|
66261
|
+
* @param {*} [options] Override http request option.
|
|
66262
|
+
* @throws {RequiredError}
|
|
66263
|
+
*/
|
|
66264
|
+
getOrganizationOnboarding(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationOnboardingResponse> {
|
|
66265
|
+
return localVarFp.getOrganizationOnboarding(organizationId, options).then((request) => request(axios, basePath));
|
|
66266
|
+
},
|
|
66006
66267
|
/**
|
|
66007
66268
|
*
|
|
66008
66269
|
* @summary List Environments By OrganizationId
|
|
@@ -66087,6 +66348,17 @@ export const OrganizationMainCallsApiFactory = function (configuration?: Configu
|
|
|
66087
66348
|
parseTerraformVariablesFromGitRepo(organizationId: string, terraformVariableParsingRequest: TerraformVariableParsingRequest, options?: RawAxiosRequestConfig): AxiosPromise<ParseTerraformVariablesFromGitRepo200Response> {
|
|
66088
66349
|
return localVarFp.parseTerraformVariablesFromGitRepo(organizationId, terraformVariableParsingRequest, options).then((request) => request(axios, basePath));
|
|
66089
66350
|
},
|
|
66351
|
+
/**
|
|
66352
|
+
* Updates the onboarding status for the calling user\'s organization. Only the authenticated user\'s own sign-up record is updated.
|
|
66353
|
+
* @summary Update the onboarding status of an organization
|
|
66354
|
+
* @param {string} organizationId Organization ID
|
|
66355
|
+
* @param {OrganizationOnboardingPatchRequest} organizationOnboardingPatchRequest
|
|
66356
|
+
* @param {*} [options] Override http request option.
|
|
66357
|
+
* @throws {RequiredError}
|
|
66358
|
+
*/
|
|
66359
|
+
updateOrganizationOnboarding(organizationId: string, organizationOnboardingPatchRequest: OrganizationOnboardingPatchRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationOnboardingResponse> {
|
|
66360
|
+
return localVarFp.updateOrganizationOnboarding(organizationId, organizationOnboardingPatchRequest, options).then((request) => request(axios, basePath));
|
|
66361
|
+
},
|
|
66090
66362
|
};
|
|
66091
66363
|
};
|
|
66092
66364
|
|
|
@@ -66238,6 +66510,18 @@ export class OrganizationMainCallsApi extends BaseAPI {
|
|
|
66238
66510
|
return OrganizationMainCallsApiFp(this.configuration).getOrganizationGitToken(organizationId, gitTokenId, options).then((request) => request(this.axios, this.basePath));
|
|
66239
66511
|
}
|
|
66240
66512
|
|
|
66513
|
+
/**
|
|
66514
|
+
* Returns the onboarding status for the given organization and the use cases selected by the owner at sign-up.
|
|
66515
|
+
* @summary Get the onboarding status of an organization
|
|
66516
|
+
* @param {string} organizationId Organization ID
|
|
66517
|
+
* @param {*} [options] Override http request option.
|
|
66518
|
+
* @throws {RequiredError}
|
|
66519
|
+
* @memberof OrganizationMainCallsApi
|
|
66520
|
+
*/
|
|
66521
|
+
public getOrganizationOnboarding(organizationId: string, options?: RawAxiosRequestConfig) {
|
|
66522
|
+
return OrganizationMainCallsApiFp(this.configuration).getOrganizationOnboarding(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
66523
|
+
}
|
|
66524
|
+
|
|
66241
66525
|
/**
|
|
66242
66526
|
*
|
|
66243
66527
|
* @summary List Environments By OrganizationId
|
|
@@ -66337,6 +66621,19 @@ export class OrganizationMainCallsApi extends BaseAPI {
|
|
|
66337
66621
|
public parseTerraformVariablesFromGitRepo(organizationId: string, terraformVariableParsingRequest: TerraformVariableParsingRequest, options?: RawAxiosRequestConfig) {
|
|
66338
66622
|
return OrganizationMainCallsApiFp(this.configuration).parseTerraformVariablesFromGitRepo(organizationId, terraformVariableParsingRequest, options).then((request) => request(this.axios, this.basePath));
|
|
66339
66623
|
}
|
|
66624
|
+
|
|
66625
|
+
/**
|
|
66626
|
+
* Updates the onboarding status for the calling user\'s organization. Only the authenticated user\'s own sign-up record is updated.
|
|
66627
|
+
* @summary Update the onboarding status of an organization
|
|
66628
|
+
* @param {string} organizationId Organization ID
|
|
66629
|
+
* @param {OrganizationOnboardingPatchRequest} organizationOnboardingPatchRequest
|
|
66630
|
+
* @param {*} [options] Override http request option.
|
|
66631
|
+
* @throws {RequiredError}
|
|
66632
|
+
* @memberof OrganizationMainCallsApi
|
|
66633
|
+
*/
|
|
66634
|
+
public updateOrganizationOnboarding(organizationId: string, organizationOnboardingPatchRequest: OrganizationOnboardingPatchRequest, options?: RawAxiosRequestConfig) {
|
|
66635
|
+
return OrganizationMainCallsApiFp(this.configuration).updateOrganizationOnboarding(organizationId, organizationOnboardingPatchRequest, options).then((request) => request(this.axios, this.basePath));
|
|
66636
|
+
}
|
|
66340
66637
|
}
|
|
66341
66638
|
|
|
66342
66639
|
|
package/dist/api.d.ts
CHANGED
|
@@ -4097,10 +4097,41 @@ export type BlueprintSpecOverridesBackendEnum = typeof BlueprintSpecOverridesBac
|
|
|
4097
4097
|
export interface BlueprintUpdateEngineDiff {
|
|
4098
4098
|
/**
|
|
4099
4099
|
*
|
|
4100
|
-
* @type {Array<
|
|
4100
|
+
* @type {Array<BlueprintUpdateEngineFieldChange>}
|
|
4101
4101
|
* @memberof BlueprintUpdateEngineDiff
|
|
4102
4102
|
*/
|
|
4103
|
-
'updated_values': Array<
|
|
4103
|
+
'updated_values': Array<BlueprintUpdateEngineFieldChange>;
|
|
4104
|
+
}
|
|
4105
|
+
/**
|
|
4106
|
+
* A single engine-block field delta (e.g. version, cpu, ram). Not a manifest variable, so it carries no field type or constraints.
|
|
4107
|
+
* @export
|
|
4108
|
+
* @interface BlueprintUpdateEngineFieldChange
|
|
4109
|
+
*/
|
|
4110
|
+
export interface BlueprintUpdateEngineFieldChange {
|
|
4111
|
+
/**
|
|
4112
|
+
*
|
|
4113
|
+
* @type {string}
|
|
4114
|
+
* @memberof BlueprintUpdateEngineFieldChange
|
|
4115
|
+
*/
|
|
4116
|
+
'name': string;
|
|
4117
|
+
/**
|
|
4118
|
+
*
|
|
4119
|
+
* @type {string}
|
|
4120
|
+
* @memberof BlueprintUpdateEngineFieldChange
|
|
4121
|
+
*/
|
|
4122
|
+
'current_default_value'?: string | null;
|
|
4123
|
+
/**
|
|
4124
|
+
*
|
|
4125
|
+
* @type {string}
|
|
4126
|
+
* @memberof BlueprintUpdateEngineFieldChange
|
|
4127
|
+
*/
|
|
4128
|
+
'new_default_value'?: string | null;
|
|
4129
|
+
/**
|
|
4130
|
+
*
|
|
4131
|
+
* @type {string}
|
|
4132
|
+
* @memberof BlueprintUpdateEngineFieldChange
|
|
4133
|
+
*/
|
|
4134
|
+
'current_value'?: string | null;
|
|
4104
4135
|
}
|
|
4105
4136
|
/**
|
|
4106
4137
|
*
|
|
@@ -4120,6 +4151,24 @@ export interface BlueprintUpdateNewOptionalValue {
|
|
|
4120
4151
|
* @memberof BlueprintUpdateNewOptionalValue
|
|
4121
4152
|
*/
|
|
4122
4153
|
'default_value'?: string | null;
|
|
4154
|
+
/**
|
|
4155
|
+
*
|
|
4156
|
+
* @type {BlueprintManifestFieldType}
|
|
4157
|
+
* @memberof BlueprintUpdateNewOptionalValue
|
|
4158
|
+
*/
|
|
4159
|
+
'type': BlueprintManifestFieldType;
|
|
4160
|
+
/**
|
|
4161
|
+
* Values the user may choose from. Null = unrestricted.
|
|
4162
|
+
* @type {Array<string>}
|
|
4163
|
+
* @memberof BlueprintUpdateNewOptionalValue
|
|
4164
|
+
*/
|
|
4165
|
+
'allowed_values'?: Array<string> | null;
|
|
4166
|
+
/**
|
|
4167
|
+
*
|
|
4168
|
+
* @type {boolean}
|
|
4169
|
+
* @memberof BlueprintUpdateNewOptionalValue
|
|
4170
|
+
*/
|
|
4171
|
+
'is_secret': boolean;
|
|
4123
4172
|
}
|
|
4124
4173
|
/**
|
|
4125
4174
|
*
|
|
@@ -4133,6 +4182,24 @@ export interface BlueprintUpdateNewRequiredValue {
|
|
|
4133
4182
|
* @memberof BlueprintUpdateNewRequiredValue
|
|
4134
4183
|
*/
|
|
4135
4184
|
'name': string;
|
|
4185
|
+
/**
|
|
4186
|
+
*
|
|
4187
|
+
* @type {BlueprintManifestFieldType}
|
|
4188
|
+
* @memberof BlueprintUpdateNewRequiredValue
|
|
4189
|
+
*/
|
|
4190
|
+
'type': BlueprintManifestFieldType;
|
|
4191
|
+
/**
|
|
4192
|
+
* Values the user may choose from. Null = unrestricted.
|
|
4193
|
+
* @type {Array<string>}
|
|
4194
|
+
* @memberof BlueprintUpdateNewRequiredValue
|
|
4195
|
+
*/
|
|
4196
|
+
'allowed_values'?: Array<string> | null;
|
|
4197
|
+
/**
|
|
4198
|
+
*
|
|
4199
|
+
* @type {boolean}
|
|
4200
|
+
* @memberof BlueprintUpdateNewRequiredValue
|
|
4201
|
+
*/
|
|
4202
|
+
'is_secret': boolean;
|
|
4136
4203
|
}
|
|
4137
4204
|
/**
|
|
4138
4205
|
*
|
|
@@ -4295,6 +4362,24 @@ export interface BlueprintUpdateUpdatedValue {
|
|
|
4295
4362
|
* @memberof BlueprintUpdateUpdatedValue
|
|
4296
4363
|
*/
|
|
4297
4364
|
'current_value'?: string | null;
|
|
4365
|
+
/**
|
|
4366
|
+
*
|
|
4367
|
+
* @type {BlueprintManifestFieldType}
|
|
4368
|
+
* @memberof BlueprintUpdateUpdatedValue
|
|
4369
|
+
*/
|
|
4370
|
+
'type': BlueprintManifestFieldType;
|
|
4371
|
+
/**
|
|
4372
|
+
* Values the user may choose from. Null = unrestricted.
|
|
4373
|
+
* @type {Array<string>}
|
|
4374
|
+
* @memberof BlueprintUpdateUpdatedValue
|
|
4375
|
+
*/
|
|
4376
|
+
'allowed_values'?: Array<string> | null;
|
|
4377
|
+
/**
|
|
4378
|
+
*
|
|
4379
|
+
* @type {boolean}
|
|
4380
|
+
* @memberof BlueprintUpdateUpdatedValue
|
|
4381
|
+
*/
|
|
4382
|
+
'is_secret': boolean;
|
|
4298
4383
|
}
|
|
4299
4384
|
/**
|
|
4300
4385
|
* Value object for a variable in a patch map. Set the map value to null to remove the variable.
|
|
@@ -19709,6 +19794,49 @@ export interface OrganizationLabelsGroupResponse {
|
|
|
19709
19794
|
*/
|
|
19710
19795
|
'labels': Array<Label>;
|
|
19711
19796
|
}
|
|
19797
|
+
/**
|
|
19798
|
+
*
|
|
19799
|
+
* @export
|
|
19800
|
+
* @interface OrganizationOnboardingPatchRequest
|
|
19801
|
+
*/
|
|
19802
|
+
export interface OrganizationOnboardingPatchRequest {
|
|
19803
|
+
/**
|
|
19804
|
+
*
|
|
19805
|
+
* @type {OrganizationOnboardingStatusEnum}
|
|
19806
|
+
* @memberof OrganizationOnboardingPatchRequest
|
|
19807
|
+
*/
|
|
19808
|
+
'status': OrganizationOnboardingStatusEnum;
|
|
19809
|
+
}
|
|
19810
|
+
/**
|
|
19811
|
+
*
|
|
19812
|
+
* @export
|
|
19813
|
+
* @interface OrganizationOnboardingResponse
|
|
19814
|
+
*/
|
|
19815
|
+
export interface OrganizationOnboardingResponse {
|
|
19816
|
+
/**
|
|
19817
|
+
* Comma-separated list of use cases selected by the organization owner at sign-up (e.g. \"ephemeral-environments,rde\")
|
|
19818
|
+
* @type {string}
|
|
19819
|
+
* @memberof OrganizationOnboardingResponse
|
|
19820
|
+
*/
|
|
19821
|
+
'use_cases'?: string | null;
|
|
19822
|
+
/**
|
|
19823
|
+
*
|
|
19824
|
+
* @type {OrganizationOnboardingStatusEnum}
|
|
19825
|
+
* @memberof OrganizationOnboardingResponse
|
|
19826
|
+
*/
|
|
19827
|
+
'status'?: OrganizationOnboardingStatusEnum;
|
|
19828
|
+
}
|
|
19829
|
+
/**
|
|
19830
|
+
*
|
|
19831
|
+
* @export
|
|
19832
|
+
* @enum {string}
|
|
19833
|
+
*/
|
|
19834
|
+
export declare const OrganizationOnboardingStatusEnum: {
|
|
19835
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
19836
|
+
readonly DISMISSED: "DISMISSED";
|
|
19837
|
+
readonly COMPLETED: "COMPLETED";
|
|
19838
|
+
};
|
|
19839
|
+
export type OrganizationOnboardingStatusEnum = typeof OrganizationOnboardingStatusEnum[keyof typeof OrganizationOnboardingStatusEnum];
|
|
19712
19840
|
/**
|
|
19713
19841
|
*
|
|
19714
19842
|
* @export
|
|
@@ -42824,6 +42952,14 @@ export declare const OrganizationMainCallsApiAxiosParamCreator: (configuration?:
|
|
|
42824
42952
|
* @throws {RequiredError}
|
|
42825
42953
|
*/
|
|
42826
42954
|
getOrganizationGitToken: (organizationId: string, gitTokenId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
42955
|
+
/**
|
|
42956
|
+
* Returns the onboarding status for the given organization and the use cases selected by the owner at sign-up.
|
|
42957
|
+
* @summary Get the onboarding status of an organization
|
|
42958
|
+
* @param {string} organizationId Organization ID
|
|
42959
|
+
* @param {*} [options] Override http request option.
|
|
42960
|
+
* @throws {RequiredError}
|
|
42961
|
+
*/
|
|
42962
|
+
getOrganizationOnboarding: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
42827
42963
|
/**
|
|
42828
42964
|
*
|
|
42829
42965
|
* @summary List Environments By OrganizationId
|
|
@@ -42892,6 +43028,15 @@ export declare const OrganizationMainCallsApiAxiosParamCreator: (configuration?:
|
|
|
42892
43028
|
* @throws {RequiredError}
|
|
42893
43029
|
*/
|
|
42894
43030
|
parseTerraformVariablesFromGitRepo: (organizationId: string, terraformVariableParsingRequest: TerraformVariableParsingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
43031
|
+
/**
|
|
43032
|
+
* Updates the onboarding status for the calling user\'s organization. Only the authenticated user\'s own sign-up record is updated.
|
|
43033
|
+
* @summary Update the onboarding status of an organization
|
|
43034
|
+
* @param {string} organizationId Organization ID
|
|
43035
|
+
* @param {OrganizationOnboardingPatchRequest} organizationOnboardingPatchRequest
|
|
43036
|
+
* @param {*} [options] Override http request option.
|
|
43037
|
+
* @throws {RequiredError}
|
|
43038
|
+
*/
|
|
43039
|
+
updateOrganizationOnboarding: (organizationId: string, organizationOnboardingPatchRequest: OrganizationOnboardingPatchRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
42895
43040
|
};
|
|
42896
43041
|
/**
|
|
42897
43042
|
* OrganizationMainCallsApi - functional programming interface
|
|
@@ -42995,6 +43140,14 @@ export declare const OrganizationMainCallsApiFp: (configuration?: Configuration)
|
|
|
42995
43140
|
* @throws {RequiredError}
|
|
42996
43141
|
*/
|
|
42997
43142
|
getOrganizationGitToken(organizationId: string, gitTokenId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitTokenResponse>>;
|
|
43143
|
+
/**
|
|
43144
|
+
* Returns the onboarding status for the given organization and the use cases selected by the owner at sign-up.
|
|
43145
|
+
* @summary Get the onboarding status of an organization
|
|
43146
|
+
* @param {string} organizationId Organization ID
|
|
43147
|
+
* @param {*} [options] Override http request option.
|
|
43148
|
+
* @throws {RequiredError}
|
|
43149
|
+
*/
|
|
43150
|
+
getOrganizationOnboarding(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationOnboardingResponse>>;
|
|
42998
43151
|
/**
|
|
42999
43152
|
*
|
|
43000
43153
|
* @summary List Environments By OrganizationId
|
|
@@ -43063,6 +43216,15 @@ export declare const OrganizationMainCallsApiFp: (configuration?: Configuration)
|
|
|
43063
43216
|
* @throws {RequiredError}
|
|
43064
43217
|
*/
|
|
43065
43218
|
parseTerraformVariablesFromGitRepo(organizationId: string, terraformVariableParsingRequest: TerraformVariableParsingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ParseTerraformVariablesFromGitRepo200Response>>;
|
|
43219
|
+
/**
|
|
43220
|
+
* Updates the onboarding status for the calling user\'s organization. Only the authenticated user\'s own sign-up record is updated.
|
|
43221
|
+
* @summary Update the onboarding status of an organization
|
|
43222
|
+
* @param {string} organizationId Organization ID
|
|
43223
|
+
* @param {OrganizationOnboardingPatchRequest} organizationOnboardingPatchRequest
|
|
43224
|
+
* @param {*} [options] Override http request option.
|
|
43225
|
+
* @throws {RequiredError}
|
|
43226
|
+
*/
|
|
43227
|
+
updateOrganizationOnboarding(organizationId: string, organizationOnboardingPatchRequest: OrganizationOnboardingPatchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationOnboardingResponse>>;
|
|
43066
43228
|
};
|
|
43067
43229
|
/**
|
|
43068
43230
|
* OrganizationMainCallsApi - factory interface
|
|
@@ -43166,6 +43328,14 @@ export declare const OrganizationMainCallsApiFactory: (configuration?: Configura
|
|
|
43166
43328
|
* @throws {RequiredError}
|
|
43167
43329
|
*/
|
|
43168
43330
|
getOrganizationGitToken(organizationId: string, gitTokenId: string, options?: RawAxiosRequestConfig): AxiosPromise<GitTokenResponse>;
|
|
43331
|
+
/**
|
|
43332
|
+
* Returns the onboarding status for the given organization and the use cases selected by the owner at sign-up.
|
|
43333
|
+
* @summary Get the onboarding status of an organization
|
|
43334
|
+
* @param {string} organizationId Organization ID
|
|
43335
|
+
* @param {*} [options] Override http request option.
|
|
43336
|
+
* @throws {RequiredError}
|
|
43337
|
+
*/
|
|
43338
|
+
getOrganizationOnboarding(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationOnboardingResponse>;
|
|
43169
43339
|
/**
|
|
43170
43340
|
*
|
|
43171
43341
|
* @summary List Environments By OrganizationId
|
|
@@ -43234,6 +43404,15 @@ export declare const OrganizationMainCallsApiFactory: (configuration?: Configura
|
|
|
43234
43404
|
* @throws {RequiredError}
|
|
43235
43405
|
*/
|
|
43236
43406
|
parseTerraformVariablesFromGitRepo(organizationId: string, terraformVariableParsingRequest: TerraformVariableParsingRequest, options?: RawAxiosRequestConfig): AxiosPromise<ParseTerraformVariablesFromGitRepo200Response>;
|
|
43407
|
+
/**
|
|
43408
|
+
* Updates the onboarding status for the calling user\'s organization. Only the authenticated user\'s own sign-up record is updated.
|
|
43409
|
+
* @summary Update the onboarding status of an organization
|
|
43410
|
+
* @param {string} organizationId Organization ID
|
|
43411
|
+
* @param {OrganizationOnboardingPatchRequest} organizationOnboardingPatchRequest
|
|
43412
|
+
* @param {*} [options] Override http request option.
|
|
43413
|
+
* @throws {RequiredError}
|
|
43414
|
+
*/
|
|
43415
|
+
updateOrganizationOnboarding(organizationId: string, organizationOnboardingPatchRequest: OrganizationOnboardingPatchRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationOnboardingResponse>;
|
|
43237
43416
|
};
|
|
43238
43417
|
/**
|
|
43239
43418
|
* OrganizationMainCallsApi - object-oriented interface
|
|
@@ -43350,6 +43529,15 @@ export declare class OrganizationMainCallsApi extends BaseAPI {
|
|
|
43350
43529
|
* @memberof OrganizationMainCallsApi
|
|
43351
43530
|
*/
|
|
43352
43531
|
getOrganizationGitToken(organizationId: string, gitTokenId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GitTokenResponse, any, {}>>;
|
|
43532
|
+
/**
|
|
43533
|
+
* Returns the onboarding status for the given organization and the use cases selected by the owner at sign-up.
|
|
43534
|
+
* @summary Get the onboarding status of an organization
|
|
43535
|
+
* @param {string} organizationId Organization ID
|
|
43536
|
+
* @param {*} [options] Override http request option.
|
|
43537
|
+
* @throws {RequiredError}
|
|
43538
|
+
* @memberof OrganizationMainCallsApi
|
|
43539
|
+
*/
|
|
43540
|
+
getOrganizationOnboarding(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationOnboardingResponse, any, {}>>;
|
|
43353
43541
|
/**
|
|
43354
43542
|
*
|
|
43355
43543
|
* @summary List Environments By OrganizationId
|
|
@@ -43426,6 +43614,16 @@ export declare class OrganizationMainCallsApi extends BaseAPI {
|
|
|
43426
43614
|
* @memberof OrganizationMainCallsApi
|
|
43427
43615
|
*/
|
|
43428
43616
|
parseTerraformVariablesFromGitRepo(organizationId: string, terraformVariableParsingRequest: TerraformVariableParsingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ParseTerraformVariablesFromGitRepo200Response, any, {}>>;
|
|
43617
|
+
/**
|
|
43618
|
+
* Updates the onboarding status for the calling user\'s organization. Only the authenticated user\'s own sign-up record is updated.
|
|
43619
|
+
* @summary Update the onboarding status of an organization
|
|
43620
|
+
* @param {string} organizationId Organization ID
|
|
43621
|
+
* @param {OrganizationOnboardingPatchRequest} organizationOnboardingPatchRequest
|
|
43622
|
+
* @param {*} [options] Override http request option.
|
|
43623
|
+
* @throws {RequiredError}
|
|
43624
|
+
* @memberof OrganizationMainCallsApi
|
|
43625
|
+
*/
|
|
43626
|
+
updateOrganizationOnboarding(organizationId: string, organizationOnboardingPatchRequest: OrganizationOnboardingPatchRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationOnboardingResponse, any, {}>>;
|
|
43429
43627
|
}
|
|
43430
43628
|
/**
|
|
43431
43629
|
* OrganizationWebhookApi - axios parameter creator
|