qovery-typescript-axios 1.1.122 → 1.1.124

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/api.ts +12 -786
  2. package/dist/api.d.ts +12 -423
  3. package/dist/api.js +2 -652
  4. package/package.json +1 -1
package/api.ts CHANGED
@@ -7062,6 +7062,18 @@ export interface EnvironmentLogsDetailsStage {
7062
7062
  * @memberof EnvironmentLogsDetailsStage
7063
7063
  */
7064
7064
  'step'?: string;
7065
+ /**
7066
+ *
7067
+ * @type {string}
7068
+ * @memberof EnvironmentLogsDetailsStage
7069
+ */
7070
+ 'id'?: string | null;
7071
+ /**
7072
+ *
7073
+ * @type {string}
7074
+ * @memberof EnvironmentLogsDetailsStage
7075
+ */
7076
+ 'name'?: string | null;
7065
7077
  }
7066
7078
  /**
7067
7079
  *
@@ -9237,94 +9249,6 @@ export interface LogResponseList {
9237
9249
  */
9238
9250
  'results'?: Array<Log>;
9239
9251
  }
9240
- /**
9241
- *
9242
- * @export
9243
- * @interface LogicalDatabase
9244
- */
9245
- export interface LogicalDatabase {
9246
- /**
9247
- *
9248
- * @type {string}
9249
- * @memberof LogicalDatabase
9250
- */
9251
- 'id': string;
9252
- /**
9253
- *
9254
- * @type {string}
9255
- * @memberof LogicalDatabase
9256
- */
9257
- 'created_at': string;
9258
- /**
9259
- *
9260
- * @type {string}
9261
- * @memberof LogicalDatabase
9262
- */
9263
- 'updated_at'?: string;
9264
- /**
9265
- * name is case insensitive
9266
- * @type {string}
9267
- * @memberof LogicalDatabase
9268
- */
9269
- 'name': string;
9270
- /**
9271
- *
9272
- * @type {string}
9273
- * @memberof LogicalDatabase
9274
- */
9275
- 'description'?: string;
9276
- /**
9277
- *
9278
- * @type {ReferenceObject}
9279
- * @memberof LogicalDatabase
9280
- */
9281
- 'database'?: ReferenceObject;
9282
- }
9283
- /**
9284
- *
9285
- * @export
9286
- * @interface LogicalDatabaseAllOf
9287
- */
9288
- export interface LogicalDatabaseAllOf {
9289
- /**
9290
- *
9291
- * @type {ReferenceObject}
9292
- * @memberof LogicalDatabaseAllOf
9293
- */
9294
- 'database'?: ReferenceObject;
9295
- }
9296
- /**
9297
- *
9298
- * @export
9299
- * @interface LogicalDatabaseRequest
9300
- */
9301
- export interface LogicalDatabaseRequest {
9302
- /**
9303
- * name is case insensitive
9304
- * @type {string}
9305
- * @memberof LogicalDatabaseRequest
9306
- */
9307
- 'name': string;
9308
- /**
9309
- *
9310
- * @type {string}
9311
- * @memberof LogicalDatabaseRequest
9312
- */
9313
- 'description'?: string;
9314
- }
9315
- /**
9316
- *
9317
- * @export
9318
- * @interface LogicalDatabaseResponseList
9319
- */
9320
- export interface LogicalDatabaseResponseList {
9321
- /**
9322
- *
9323
- * @type {Array<LogicalDatabase>}
9324
- * @memberof LogicalDatabaseResponseList
9325
- */
9326
- 'results'?: Array<LogicalDatabase>;
9327
- }
9328
9252
  /**
9329
9253
  *
9330
9254
  * @export
@@ -36385,704 +36309,6 @@ export class JobsApi extends BaseAPI {
36385
36309
  }
36386
36310
 
36387
36311
 
36388
- /**
36389
- * LogicalDatabaseApi - axios parameter creator
36390
- * @export
36391
- */
36392
- export const LogicalDatabaseApiAxiosParamCreator = function (configuration?: Configuration) {
36393
- return {
36394
- /**
36395
- * If you don\'t specify credentials, Qovery will autogenerate them.
36396
- * @summary Create a logical database on the database
36397
- * @param {string} databaseId Database ID
36398
- * @param {LogicalDatabaseRequest} [logicalDatabaseRequest]
36399
- * @param {*} [options] Override http request option.
36400
- * @throws {RequiredError}
36401
- */
36402
- createLogicalDatabaseOnDatabase: async (databaseId: string, logicalDatabaseRequest?: LogicalDatabaseRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36403
- // verify required parameter 'databaseId' is not null or undefined
36404
- assertParamExists('createLogicalDatabaseOnDatabase', 'databaseId', databaseId)
36405
- const localVarPath = `/database/{databaseId}/logicalDatabase`
36406
- .replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
36407
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
36408
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36409
- let baseOptions;
36410
- if (configuration) {
36411
- baseOptions = configuration.baseOptions;
36412
- }
36413
-
36414
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
36415
- const localVarHeaderParameter = {} as any;
36416
- const localVarQueryParameter = {} as any;
36417
-
36418
- // authentication bearerAuth required
36419
- // http bearer authentication required
36420
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
36421
-
36422
-
36423
-
36424
- localVarHeaderParameter['Content-Type'] = 'application/json';
36425
-
36426
- setSearchParams(localVarUrlObj, localVarQueryParameter);
36427
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36428
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36429
- localVarRequestOptions.data = serializeDataIfNeeded(logicalDatabaseRequest, localVarRequestOptions, configuration)
36430
-
36431
- return {
36432
- url: toPathString(localVarUrlObj),
36433
- options: localVarRequestOptions,
36434
- };
36435
- },
36436
- /**
36437
- * To delete a logical database you must have the project user permission
36438
- * @summary Delete a Logical database
36439
- * @param {string} logicalDatabaseId Logical Database ID
36440
- * @param {*} [options] Override http request option.
36441
- * @throws {RequiredError}
36442
- */
36443
- deleteLogicalDatabase: async (logicalDatabaseId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36444
- // verify required parameter 'logicalDatabaseId' is not null or undefined
36445
- assertParamExists('deleteLogicalDatabase', 'logicalDatabaseId', logicalDatabaseId)
36446
- const localVarPath = `/logicalDatabase/{logicalDatabaseId}`
36447
- .replace(`{${"logicalDatabaseId"}}`, encodeURIComponent(String(logicalDatabaseId)));
36448
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
36449
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36450
- let baseOptions;
36451
- if (configuration) {
36452
- baseOptions = configuration.baseOptions;
36453
- }
36454
-
36455
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
36456
- const localVarHeaderParameter = {} as any;
36457
- const localVarQueryParameter = {} as any;
36458
-
36459
- // authentication bearerAuth required
36460
- // http bearer authentication required
36461
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
36462
-
36463
-
36464
-
36465
- setSearchParams(localVarUrlObj, localVarQueryParameter);
36466
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36467
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36468
-
36469
- return {
36470
- url: toPathString(localVarUrlObj),
36471
- options: localVarRequestOptions,
36472
- };
36473
- },
36474
- /**
36475
- *
36476
- * @summary Edit a logical database
36477
- * @param {string} logicalDatabaseId Logical Database ID
36478
- * @param {LogicalDatabaseRequest} [logicalDatabaseRequest]
36479
- * @param {*} [options] Override http request option.
36480
- * @throws {RequiredError}
36481
- */
36482
- editLogicalDatabase: async (logicalDatabaseId: string, logicalDatabaseRequest?: LogicalDatabaseRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36483
- // verify required parameter 'logicalDatabaseId' is not null or undefined
36484
- assertParamExists('editLogicalDatabase', 'logicalDatabaseId', logicalDatabaseId)
36485
- const localVarPath = `/logicalDatabase/{logicalDatabaseId}`
36486
- .replace(`{${"logicalDatabaseId"}}`, encodeURIComponent(String(logicalDatabaseId)));
36487
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
36488
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36489
- let baseOptions;
36490
- if (configuration) {
36491
- baseOptions = configuration.baseOptions;
36492
- }
36493
-
36494
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
36495
- const localVarHeaderParameter = {} as any;
36496
- const localVarQueryParameter = {} as any;
36497
-
36498
- // authentication bearerAuth required
36499
- // http bearer authentication required
36500
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
36501
-
36502
-
36503
-
36504
- localVarHeaderParameter['Content-Type'] = 'application/json';
36505
-
36506
- setSearchParams(localVarUrlObj, localVarQueryParameter);
36507
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36508
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36509
- localVarRequestOptions.data = serializeDataIfNeeded(logicalDatabaseRequest, localVarRequestOptions, configuration)
36510
-
36511
- return {
36512
- url: toPathString(localVarUrlObj),
36513
- options: localVarRequestOptions,
36514
- };
36515
- },
36516
- /**
36517
- *
36518
- * @summary Edit logical database credentials
36519
- * @param {string} logicalDatabaseId Logical Database ID
36520
- * @param {CredentialsRequest} [credentialsRequest]
36521
- * @param {*} [options] Override http request option.
36522
- * @throws {RequiredError}
36523
- */
36524
- editLogicalDatabaseCredentials: async (logicalDatabaseId: string, credentialsRequest?: CredentialsRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36525
- // verify required parameter 'logicalDatabaseId' is not null or undefined
36526
- assertParamExists('editLogicalDatabaseCredentials', 'logicalDatabaseId', logicalDatabaseId)
36527
- const localVarPath = `/logicalDatabase/{logicalDatabaseId}/credentials`
36528
- .replace(`{${"logicalDatabaseId"}}`, encodeURIComponent(String(logicalDatabaseId)));
36529
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
36530
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36531
- let baseOptions;
36532
- if (configuration) {
36533
- baseOptions = configuration.baseOptions;
36534
- }
36535
-
36536
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
36537
- const localVarHeaderParameter = {} as any;
36538
- const localVarQueryParameter = {} as any;
36539
-
36540
- // authentication bearerAuth required
36541
- // http bearer authentication required
36542
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
36543
-
36544
-
36545
-
36546
- localVarHeaderParameter['Content-Type'] = 'application/json';
36547
-
36548
- setSearchParams(localVarUrlObj, localVarQueryParameter);
36549
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36550
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36551
- localVarRequestOptions.data = serializeDataIfNeeded(credentialsRequest, localVarRequestOptions, configuration)
36552
-
36553
- return {
36554
- url: toPathString(localVarUrlObj),
36555
- options: localVarRequestOptions,
36556
- };
36557
- },
36558
- /**
36559
- * A logical database exists inside a database. The database is a service that exists within an environment, that you can deploy, and that has allocated resources. A database can have several logical databases
36560
- * @summary Get logical database by ID
36561
- * @param {string} logicalDatabaseId Logical Database ID
36562
- * @param {*} [options] Override http request option.
36563
- * @throws {RequiredError}
36564
- */
36565
- getLogicalDatabase: async (logicalDatabaseId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36566
- // verify required parameter 'logicalDatabaseId' is not null or undefined
36567
- assertParamExists('getLogicalDatabase', 'logicalDatabaseId', logicalDatabaseId)
36568
- const localVarPath = `/logicalDatabase/{logicalDatabaseId}`
36569
- .replace(`{${"logicalDatabaseId"}}`, encodeURIComponent(String(logicalDatabaseId)));
36570
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
36571
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36572
- let baseOptions;
36573
- if (configuration) {
36574
- baseOptions = configuration.baseOptions;
36575
- }
36576
-
36577
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
36578
- const localVarHeaderParameter = {} as any;
36579
- const localVarQueryParameter = {} as any;
36580
-
36581
- // authentication bearerAuth required
36582
- // http bearer authentication required
36583
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
36584
-
36585
-
36586
-
36587
- setSearchParams(localVarUrlObj, localVarQueryParameter);
36588
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36589
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36590
-
36591
- return {
36592
- url: toPathString(localVarUrlObj),
36593
- options: localVarRequestOptions,
36594
- };
36595
- },
36596
- /**
36597
- *
36598
- * @summary Get credentials of the logical database
36599
- * @param {string} logicalDatabaseId Logical Database ID
36600
- * @param {*} [options] Override http request option.
36601
- * @throws {RequiredError}
36602
- */
36603
- getLogicalDatabaseCredentials: async (logicalDatabaseId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36604
- // verify required parameter 'logicalDatabaseId' is not null or undefined
36605
- assertParamExists('getLogicalDatabaseCredentials', 'logicalDatabaseId', logicalDatabaseId)
36606
- const localVarPath = `/logicalDatabase/{logicalDatabaseId}/credentials`
36607
- .replace(`{${"logicalDatabaseId"}}`, encodeURIComponent(String(logicalDatabaseId)));
36608
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
36609
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36610
- let baseOptions;
36611
- if (configuration) {
36612
- baseOptions = configuration.baseOptions;
36613
- }
36614
-
36615
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
36616
- const localVarHeaderParameter = {} as any;
36617
- const localVarQueryParameter = {} as any;
36618
-
36619
- // authentication bearerAuth required
36620
- // http bearer authentication required
36621
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
36622
-
36623
-
36624
-
36625
- setSearchParams(localVarUrlObj, localVarQueryParameter);
36626
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36627
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36628
-
36629
- return {
36630
- url: toPathString(localVarUrlObj),
36631
- options: localVarRequestOptions,
36632
- };
36633
- },
36634
- /**
36635
- *
36636
- * @summary List linked applications
36637
- * @param {string} logicalDatabaseId Logical Database ID
36638
- * @param {*} [options] Override http request option.
36639
- * @throws {RequiredError}
36640
- */
36641
- listLogicalDatabaseApplication: async (logicalDatabaseId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36642
- // verify required parameter 'logicalDatabaseId' is not null or undefined
36643
- assertParamExists('listLogicalDatabaseApplication', 'logicalDatabaseId', logicalDatabaseId)
36644
- const localVarPath = `/logicalDatabase/{logicalDatabaseId}/application`
36645
- .replace(`{${"logicalDatabaseId"}}`, encodeURIComponent(String(logicalDatabaseId)));
36646
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
36647
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36648
- let baseOptions;
36649
- if (configuration) {
36650
- baseOptions = configuration.baseOptions;
36651
- }
36652
-
36653
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
36654
- const localVarHeaderParameter = {} as any;
36655
- const localVarQueryParameter = {} as any;
36656
-
36657
- // authentication bearerAuth required
36658
- // http bearer authentication required
36659
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
36660
-
36661
-
36662
-
36663
- setSearchParams(localVarUrlObj, localVarQueryParameter);
36664
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36665
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36666
-
36667
- return {
36668
- url: toPathString(localVarUrlObj),
36669
- options: localVarRequestOptions,
36670
- };
36671
- },
36672
- /**
36673
- *
36674
- * @summary List linked containers
36675
- * @param {string} logicalDatabaseId Logical Database ID
36676
- * @param {*} [options] Override http request option.
36677
- * @throws {RequiredError}
36678
- */
36679
- listLogicalDatabaseContainer: async (logicalDatabaseId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36680
- // verify required parameter 'logicalDatabaseId' is not null or undefined
36681
- assertParamExists('listLogicalDatabaseContainer', 'logicalDatabaseId', logicalDatabaseId)
36682
- const localVarPath = `/logicalDatabase/{logicalDatabaseId}/container`
36683
- .replace(`{${"logicalDatabaseId"}}`, encodeURIComponent(String(logicalDatabaseId)));
36684
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
36685
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36686
- let baseOptions;
36687
- if (configuration) {
36688
- baseOptions = configuration.baseOptions;
36689
- }
36690
-
36691
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
36692
- const localVarHeaderParameter = {} as any;
36693
- const localVarQueryParameter = {} as any;
36694
-
36695
- // authentication bearerAuth required
36696
- // http bearer authentication required
36697
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
36698
-
36699
-
36700
-
36701
- setSearchParams(localVarUrlObj, localVarQueryParameter);
36702
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36703
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36704
-
36705
- return {
36706
- url: toPathString(localVarUrlObj),
36707
- options: localVarRequestOptions,
36708
- };
36709
- },
36710
- /**
36711
- * A logical database exists inside a database. The database is a service that exists within an environment, that you can deploy, and that has allocated resources. A database can have several logical databases
36712
- * @summary List logical databases of a database
36713
- * @param {string} databaseId Database ID
36714
- * @param {*} [options] Override http request option.
36715
- * @throws {RequiredError}
36716
- */
36717
- listLogicalDatabaseDatabase: async (databaseId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36718
- // verify required parameter 'databaseId' is not null or undefined
36719
- assertParamExists('listLogicalDatabaseDatabase', 'databaseId', databaseId)
36720
- const localVarPath = `/database/{databaseId}/logicalDatabase`
36721
- .replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
36722
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
36723
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36724
- let baseOptions;
36725
- if (configuration) {
36726
- baseOptions = configuration.baseOptions;
36727
- }
36728
-
36729
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
36730
- const localVarHeaderParameter = {} as any;
36731
- const localVarQueryParameter = {} as any;
36732
-
36733
- // authentication bearerAuth required
36734
- // http bearer authentication required
36735
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
36736
-
36737
-
36738
-
36739
- setSearchParams(localVarUrlObj, localVarQueryParameter);
36740
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36741
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36742
-
36743
- return {
36744
- url: toPathString(localVarUrlObj),
36745
- options: localVarRequestOptions,
36746
- };
36747
- },
36748
- }
36749
- };
36750
-
36751
- /**
36752
- * LogicalDatabaseApi - functional programming interface
36753
- * @export
36754
- */
36755
- export const LogicalDatabaseApiFp = function(configuration?: Configuration) {
36756
- const localVarAxiosParamCreator = LogicalDatabaseApiAxiosParamCreator(configuration)
36757
- return {
36758
- /**
36759
- * If you don\'t specify credentials, Qovery will autogenerate them.
36760
- * @summary Create a logical database on the database
36761
- * @param {string} databaseId Database ID
36762
- * @param {LogicalDatabaseRequest} [logicalDatabaseRequest]
36763
- * @param {*} [options] Override http request option.
36764
- * @throws {RequiredError}
36765
- */
36766
- async createLogicalDatabaseOnDatabase(databaseId: string, logicalDatabaseRequest?: LogicalDatabaseRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LogicalDatabase>> {
36767
- const localVarAxiosArgs = await localVarAxiosParamCreator.createLogicalDatabaseOnDatabase(databaseId, logicalDatabaseRequest, options);
36768
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36769
- },
36770
- /**
36771
- * To delete a logical database you must have the project user permission
36772
- * @summary Delete a Logical database
36773
- * @param {string} logicalDatabaseId Logical Database ID
36774
- * @param {*} [options] Override http request option.
36775
- * @throws {RequiredError}
36776
- */
36777
- async deleteLogicalDatabase(logicalDatabaseId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
36778
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteLogicalDatabase(logicalDatabaseId, options);
36779
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36780
- },
36781
- /**
36782
- *
36783
- * @summary Edit a logical database
36784
- * @param {string} logicalDatabaseId Logical Database ID
36785
- * @param {LogicalDatabaseRequest} [logicalDatabaseRequest]
36786
- * @param {*} [options] Override http request option.
36787
- * @throws {RequiredError}
36788
- */
36789
- async editLogicalDatabase(logicalDatabaseId: string, logicalDatabaseRequest?: LogicalDatabaseRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LogicalDatabase>> {
36790
- const localVarAxiosArgs = await localVarAxiosParamCreator.editLogicalDatabase(logicalDatabaseId, logicalDatabaseRequest, options);
36791
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36792
- },
36793
- /**
36794
- *
36795
- * @summary Edit logical database credentials
36796
- * @param {string} logicalDatabaseId Logical Database ID
36797
- * @param {CredentialsRequest} [credentialsRequest]
36798
- * @param {*} [options] Override http request option.
36799
- * @throws {RequiredError}
36800
- */
36801
- async editLogicalDatabaseCredentials(logicalDatabaseId: string, credentialsRequest?: CredentialsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Credentials>> {
36802
- const localVarAxiosArgs = await localVarAxiosParamCreator.editLogicalDatabaseCredentials(logicalDatabaseId, credentialsRequest, options);
36803
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36804
- },
36805
- /**
36806
- * A logical database exists inside a database. The database is a service that exists within an environment, that you can deploy, and that has allocated resources. A database can have several logical databases
36807
- * @summary Get logical database by ID
36808
- * @param {string} logicalDatabaseId Logical Database ID
36809
- * @param {*} [options] Override http request option.
36810
- * @throws {RequiredError}
36811
- */
36812
- async getLogicalDatabase(logicalDatabaseId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LogicalDatabase>> {
36813
- const localVarAxiosArgs = await localVarAxiosParamCreator.getLogicalDatabase(logicalDatabaseId, options);
36814
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36815
- },
36816
- /**
36817
- *
36818
- * @summary Get credentials of the logical database
36819
- * @param {string} logicalDatabaseId Logical Database ID
36820
- * @param {*} [options] Override http request option.
36821
- * @throws {RequiredError}
36822
- */
36823
- async getLogicalDatabaseCredentials(logicalDatabaseId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Credentials>> {
36824
- const localVarAxiosArgs = await localVarAxiosParamCreator.getLogicalDatabaseCredentials(logicalDatabaseId, options);
36825
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36826
- },
36827
- /**
36828
- *
36829
- * @summary List linked applications
36830
- * @param {string} logicalDatabaseId Logical Database ID
36831
- * @param {*} [options] Override http request option.
36832
- * @throws {RequiredError}
36833
- */
36834
- async listLogicalDatabaseApplication(logicalDatabaseId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationResponseList>> {
36835
- const localVarAxiosArgs = await localVarAxiosParamCreator.listLogicalDatabaseApplication(logicalDatabaseId, options);
36836
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36837
- },
36838
- /**
36839
- *
36840
- * @summary List linked containers
36841
- * @param {string} logicalDatabaseId Logical Database ID
36842
- * @param {*} [options] Override http request option.
36843
- * @throws {RequiredError}
36844
- */
36845
- async listLogicalDatabaseContainer(logicalDatabaseId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerResponseList>> {
36846
- const localVarAxiosArgs = await localVarAxiosParamCreator.listLogicalDatabaseContainer(logicalDatabaseId, options);
36847
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36848
- },
36849
- /**
36850
- * A logical database exists inside a database. The database is a service that exists within an environment, that you can deploy, and that has allocated resources. A database can have several logical databases
36851
- * @summary List logical databases of a database
36852
- * @param {string} databaseId Database ID
36853
- * @param {*} [options] Override http request option.
36854
- * @throws {RequiredError}
36855
- */
36856
- async listLogicalDatabaseDatabase(databaseId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LogicalDatabaseResponseList>> {
36857
- const localVarAxiosArgs = await localVarAxiosParamCreator.listLogicalDatabaseDatabase(databaseId, options);
36858
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36859
- },
36860
- }
36861
- };
36862
-
36863
- /**
36864
- * LogicalDatabaseApi - factory interface
36865
- * @export
36866
- */
36867
- export const LogicalDatabaseApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
36868
- const localVarFp = LogicalDatabaseApiFp(configuration)
36869
- return {
36870
- /**
36871
- * If you don\'t specify credentials, Qovery will autogenerate them.
36872
- * @summary Create a logical database on the database
36873
- * @param {string} databaseId Database ID
36874
- * @param {LogicalDatabaseRequest} [logicalDatabaseRequest]
36875
- * @param {*} [options] Override http request option.
36876
- * @throws {RequiredError}
36877
- */
36878
- createLogicalDatabaseOnDatabase(databaseId: string, logicalDatabaseRequest?: LogicalDatabaseRequest, options?: any): AxiosPromise<LogicalDatabase> {
36879
- return localVarFp.createLogicalDatabaseOnDatabase(databaseId, logicalDatabaseRequest, options).then((request) => request(axios, basePath));
36880
- },
36881
- /**
36882
- * To delete a logical database you must have the project user permission
36883
- * @summary Delete a Logical database
36884
- * @param {string} logicalDatabaseId Logical Database ID
36885
- * @param {*} [options] Override http request option.
36886
- * @throws {RequiredError}
36887
- */
36888
- deleteLogicalDatabase(logicalDatabaseId: string, options?: any): AxiosPromise<void> {
36889
- return localVarFp.deleteLogicalDatabase(logicalDatabaseId, options).then((request) => request(axios, basePath));
36890
- },
36891
- /**
36892
- *
36893
- * @summary Edit a logical database
36894
- * @param {string} logicalDatabaseId Logical Database ID
36895
- * @param {LogicalDatabaseRequest} [logicalDatabaseRequest]
36896
- * @param {*} [options] Override http request option.
36897
- * @throws {RequiredError}
36898
- */
36899
- editLogicalDatabase(logicalDatabaseId: string, logicalDatabaseRequest?: LogicalDatabaseRequest, options?: any): AxiosPromise<LogicalDatabase> {
36900
- return localVarFp.editLogicalDatabase(logicalDatabaseId, logicalDatabaseRequest, options).then((request) => request(axios, basePath));
36901
- },
36902
- /**
36903
- *
36904
- * @summary Edit logical database credentials
36905
- * @param {string} logicalDatabaseId Logical Database ID
36906
- * @param {CredentialsRequest} [credentialsRequest]
36907
- * @param {*} [options] Override http request option.
36908
- * @throws {RequiredError}
36909
- */
36910
- editLogicalDatabaseCredentials(logicalDatabaseId: string, credentialsRequest?: CredentialsRequest, options?: any): AxiosPromise<Credentials> {
36911
- return localVarFp.editLogicalDatabaseCredentials(logicalDatabaseId, credentialsRequest, options).then((request) => request(axios, basePath));
36912
- },
36913
- /**
36914
- * A logical database exists inside a database. The database is a service that exists within an environment, that you can deploy, and that has allocated resources. A database can have several logical databases
36915
- * @summary Get logical database by ID
36916
- * @param {string} logicalDatabaseId Logical Database ID
36917
- * @param {*} [options] Override http request option.
36918
- * @throws {RequiredError}
36919
- */
36920
- getLogicalDatabase(logicalDatabaseId: string, options?: any): AxiosPromise<LogicalDatabase> {
36921
- return localVarFp.getLogicalDatabase(logicalDatabaseId, options).then((request) => request(axios, basePath));
36922
- },
36923
- /**
36924
- *
36925
- * @summary Get credentials of the logical database
36926
- * @param {string} logicalDatabaseId Logical Database ID
36927
- * @param {*} [options] Override http request option.
36928
- * @throws {RequiredError}
36929
- */
36930
- getLogicalDatabaseCredentials(logicalDatabaseId: string, options?: any): AxiosPromise<Credentials> {
36931
- return localVarFp.getLogicalDatabaseCredentials(logicalDatabaseId, options).then((request) => request(axios, basePath));
36932
- },
36933
- /**
36934
- *
36935
- * @summary List linked applications
36936
- * @param {string} logicalDatabaseId Logical Database ID
36937
- * @param {*} [options] Override http request option.
36938
- * @throws {RequiredError}
36939
- */
36940
- listLogicalDatabaseApplication(logicalDatabaseId: string, options?: any): AxiosPromise<ApplicationResponseList> {
36941
- return localVarFp.listLogicalDatabaseApplication(logicalDatabaseId, options).then((request) => request(axios, basePath));
36942
- },
36943
- /**
36944
- *
36945
- * @summary List linked containers
36946
- * @param {string} logicalDatabaseId Logical Database ID
36947
- * @param {*} [options] Override http request option.
36948
- * @throws {RequiredError}
36949
- */
36950
- listLogicalDatabaseContainer(logicalDatabaseId: string, options?: any): AxiosPromise<ContainerResponseList> {
36951
- return localVarFp.listLogicalDatabaseContainer(logicalDatabaseId, options).then((request) => request(axios, basePath));
36952
- },
36953
- /**
36954
- * A logical database exists inside a database. The database is a service that exists within an environment, that you can deploy, and that has allocated resources. A database can have several logical databases
36955
- * @summary List logical databases of a database
36956
- * @param {string} databaseId Database ID
36957
- * @param {*} [options] Override http request option.
36958
- * @throws {RequiredError}
36959
- */
36960
- listLogicalDatabaseDatabase(databaseId: string, options?: any): AxiosPromise<LogicalDatabaseResponseList> {
36961
- return localVarFp.listLogicalDatabaseDatabase(databaseId, options).then((request) => request(axios, basePath));
36962
- },
36963
- };
36964
- };
36965
-
36966
- /**
36967
- * LogicalDatabaseApi - object-oriented interface
36968
- * @export
36969
- * @class LogicalDatabaseApi
36970
- * @extends {BaseAPI}
36971
- */
36972
- export class LogicalDatabaseApi extends BaseAPI {
36973
- /**
36974
- * If you don\'t specify credentials, Qovery will autogenerate them.
36975
- * @summary Create a logical database on the database
36976
- * @param {string} databaseId Database ID
36977
- * @param {LogicalDatabaseRequest} [logicalDatabaseRequest]
36978
- * @param {*} [options] Override http request option.
36979
- * @throws {RequiredError}
36980
- * @memberof LogicalDatabaseApi
36981
- */
36982
- public createLogicalDatabaseOnDatabase(databaseId: string, logicalDatabaseRequest?: LogicalDatabaseRequest, options?: AxiosRequestConfig) {
36983
- return LogicalDatabaseApiFp(this.configuration).createLogicalDatabaseOnDatabase(databaseId, logicalDatabaseRequest, options).then((request) => request(this.axios, this.basePath));
36984
- }
36985
-
36986
- /**
36987
- * To delete a logical database you must have the project user permission
36988
- * @summary Delete a Logical database
36989
- * @param {string} logicalDatabaseId Logical Database ID
36990
- * @param {*} [options] Override http request option.
36991
- * @throws {RequiredError}
36992
- * @memberof LogicalDatabaseApi
36993
- */
36994
- public deleteLogicalDatabase(logicalDatabaseId: string, options?: AxiosRequestConfig) {
36995
- return LogicalDatabaseApiFp(this.configuration).deleteLogicalDatabase(logicalDatabaseId, options).then((request) => request(this.axios, this.basePath));
36996
- }
36997
-
36998
- /**
36999
- *
37000
- * @summary Edit a logical database
37001
- * @param {string} logicalDatabaseId Logical Database ID
37002
- * @param {LogicalDatabaseRequest} [logicalDatabaseRequest]
37003
- * @param {*} [options] Override http request option.
37004
- * @throws {RequiredError}
37005
- * @memberof LogicalDatabaseApi
37006
- */
37007
- public editLogicalDatabase(logicalDatabaseId: string, logicalDatabaseRequest?: LogicalDatabaseRequest, options?: AxiosRequestConfig) {
37008
- return LogicalDatabaseApiFp(this.configuration).editLogicalDatabase(logicalDatabaseId, logicalDatabaseRequest, options).then((request) => request(this.axios, this.basePath));
37009
- }
37010
-
37011
- /**
37012
- *
37013
- * @summary Edit logical database credentials
37014
- * @param {string} logicalDatabaseId Logical Database ID
37015
- * @param {CredentialsRequest} [credentialsRequest]
37016
- * @param {*} [options] Override http request option.
37017
- * @throws {RequiredError}
37018
- * @memberof LogicalDatabaseApi
37019
- */
37020
- public editLogicalDatabaseCredentials(logicalDatabaseId: string, credentialsRequest?: CredentialsRequest, options?: AxiosRequestConfig) {
37021
- return LogicalDatabaseApiFp(this.configuration).editLogicalDatabaseCredentials(logicalDatabaseId, credentialsRequest, options).then((request) => request(this.axios, this.basePath));
37022
- }
37023
-
37024
- /**
37025
- * A logical database exists inside a database. The database is a service that exists within an environment, that you can deploy, and that has allocated resources. A database can have several logical databases
37026
- * @summary Get logical database by ID
37027
- * @param {string} logicalDatabaseId Logical Database ID
37028
- * @param {*} [options] Override http request option.
37029
- * @throws {RequiredError}
37030
- * @memberof LogicalDatabaseApi
37031
- */
37032
- public getLogicalDatabase(logicalDatabaseId: string, options?: AxiosRequestConfig) {
37033
- return LogicalDatabaseApiFp(this.configuration).getLogicalDatabase(logicalDatabaseId, options).then((request) => request(this.axios, this.basePath));
37034
- }
37035
-
37036
- /**
37037
- *
37038
- * @summary Get credentials of the logical database
37039
- * @param {string} logicalDatabaseId Logical Database ID
37040
- * @param {*} [options] Override http request option.
37041
- * @throws {RequiredError}
37042
- * @memberof LogicalDatabaseApi
37043
- */
37044
- public getLogicalDatabaseCredentials(logicalDatabaseId: string, options?: AxiosRequestConfig) {
37045
- return LogicalDatabaseApiFp(this.configuration).getLogicalDatabaseCredentials(logicalDatabaseId, options).then((request) => request(this.axios, this.basePath));
37046
- }
37047
-
37048
- /**
37049
- *
37050
- * @summary List linked applications
37051
- * @param {string} logicalDatabaseId Logical Database ID
37052
- * @param {*} [options] Override http request option.
37053
- * @throws {RequiredError}
37054
- * @memberof LogicalDatabaseApi
37055
- */
37056
- public listLogicalDatabaseApplication(logicalDatabaseId: string, options?: AxiosRequestConfig) {
37057
- return LogicalDatabaseApiFp(this.configuration).listLogicalDatabaseApplication(logicalDatabaseId, options).then((request) => request(this.axios, this.basePath));
37058
- }
37059
-
37060
- /**
37061
- *
37062
- * @summary List linked containers
37063
- * @param {string} logicalDatabaseId Logical Database ID
37064
- * @param {*} [options] Override http request option.
37065
- * @throws {RequiredError}
37066
- * @memberof LogicalDatabaseApi
37067
- */
37068
- public listLogicalDatabaseContainer(logicalDatabaseId: string, options?: AxiosRequestConfig) {
37069
- return LogicalDatabaseApiFp(this.configuration).listLogicalDatabaseContainer(logicalDatabaseId, options).then((request) => request(this.axios, this.basePath));
37070
- }
37071
-
37072
- /**
37073
- * A logical database exists inside a database. The database is a service that exists within an environment, that you can deploy, and that has allocated resources. A database can have several logical databases
37074
- * @summary List logical databases of a database
37075
- * @param {string} databaseId Database ID
37076
- * @param {*} [options] Override http request option.
37077
- * @throws {RequiredError}
37078
- * @memberof LogicalDatabaseApi
37079
- */
37080
- public listLogicalDatabaseDatabase(databaseId: string, options?: AxiosRequestConfig) {
37081
- return LogicalDatabaseApiFp(this.configuration).listLogicalDatabaseDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
37082
- }
37083
- }
37084
-
37085
-
37086
36312
  /**
37087
36313
  * MembersApi - axios parameter creator
37088
36314
  * @export