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