qovery-typescript-axios 1.1.839 → 1.1.841

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/dist/api.d.ts CHANGED
@@ -1821,6 +1821,110 @@ export interface ApplicationResponseList {
1821
1821
  */
1822
1822
  'results'?: Array<Application>;
1823
1823
  }
1824
+ /**
1825
+ *
1826
+ * @export
1827
+ * @interface ArgoCdConnectionCheckResponse
1828
+ */
1829
+ export interface ArgoCdConnectionCheckResponse {
1830
+ /**
1831
+ * Connection result
1832
+ * @type {string}
1833
+ * @memberof ArgoCdConnectionCheckResponse
1834
+ */
1835
+ 'status': ArgoCdConnectionCheckResponseStatusEnum;
1836
+ /**
1837
+ * Number of ArgoCD applications visible with the provided token. Present only when status is \"connected\".
1838
+ * @type {number}
1839
+ * @memberof ArgoCdConnectionCheckResponse
1840
+ */
1841
+ 'app_count'?: number;
1842
+ /**
1843
+ * Failure reason. Present only when status is \"error\".
1844
+ * @type {string}
1845
+ * @memberof ArgoCdConnectionCheckResponse
1846
+ */
1847
+ 'reason'?: ArgoCdConnectionCheckResponseReasonEnum;
1848
+ }
1849
+ export declare const ArgoCdConnectionCheckResponseStatusEnum: {
1850
+ readonly CONNECTED: "connected";
1851
+ readonly ERROR: "error";
1852
+ };
1853
+ export type ArgoCdConnectionCheckResponseStatusEnum = typeof ArgoCdConnectionCheckResponseStatusEnum[keyof typeof ArgoCdConnectionCheckResponseStatusEnum];
1854
+ export declare const ArgoCdConnectionCheckResponseReasonEnum: {
1855
+ readonly AUTHENTICATION_FAILED: "authentication_failed";
1856
+ readonly UNREACHABLE: "unreachable";
1857
+ readonly INSUFFICIENT_PERMISSIONS: "insufficient_permissions";
1858
+ };
1859
+ export type ArgoCdConnectionCheckResponseReasonEnum = typeof ArgoCdConnectionCheckResponseReasonEnum[keyof typeof ArgoCdConnectionCheckResponseReasonEnum];
1860
+ /**
1861
+ *
1862
+ * @export
1863
+ * @interface ArgoCdCredentialsRequest
1864
+ */
1865
+ export interface ArgoCdCredentialsRequest {
1866
+ /**
1867
+ * The URL of the ArgoCD instance (e.g. https://argocd.example.com)
1868
+ * @type {string}
1869
+ * @memberof ArgoCdCredentialsRequest
1870
+ */
1871
+ 'argocd_url': string;
1872
+ /**
1873
+ * ArgoCD API authentication token
1874
+ * @type {string}
1875
+ * @memberof ArgoCdCredentialsRequest
1876
+ */
1877
+ 'argocd_token': string;
1878
+ }
1879
+ /**
1880
+ *
1881
+ * @export
1882
+ * @interface ArgoCdCredentialsResponse
1883
+ */
1884
+ export interface ArgoCdCredentialsResponse {
1885
+ /**
1886
+ *
1887
+ * @type {string}
1888
+ * @memberof ArgoCdCredentialsResponse
1889
+ */
1890
+ 'id': string;
1891
+ /**
1892
+ *
1893
+ * @type {string}
1894
+ * @memberof ArgoCdCredentialsResponse
1895
+ */
1896
+ 'cluster_id': string;
1897
+ /**
1898
+ *
1899
+ * @type {string}
1900
+ * @memberof ArgoCdCredentialsResponse
1901
+ */
1902
+ 'argocd_url': string;
1903
+ /**
1904
+ * Always returned as REDACTED
1905
+ * @type {string}
1906
+ * @memberof ArgoCdCredentialsResponse
1907
+ */
1908
+ 'argocd_token': string;
1909
+ /**
1910
+ *
1911
+ * @type {string}
1912
+ * @memberof ArgoCdCredentialsResponse
1913
+ */
1914
+ 'last_checked_at'?: string | null;
1915
+ /**
1916
+ *
1917
+ * @type {string}
1918
+ * @memberof ArgoCdCredentialsResponse
1919
+ */
1920
+ 'created_at': string;
1921
+ /**
1922
+ *
1923
+ * @type {string}
1924
+ * @memberof ArgoCdCredentialsResponse
1925
+ */
1926
+ 'updated_at': string;
1927
+ }
1824
1928
  /**
1825
1929
  *
1826
1930
  * @export
@@ -6939,7 +7043,7 @@ export interface DatabaseEditRequest {
6939
7043
  * @type {string}
6940
7044
  * @memberof DatabaseEditRequest
6941
7045
  */
6942
- 'disk_type'?: DatabaseEditRequestDiskTypeEnum;
7046
+ 'disk_type'?: DatabaseEditRequestDiskTypeEnum | null;
6943
7047
  }
6944
7048
  export declare const DatabaseEditRequestDiskTypeEnum: {
6945
7049
  readonly GP2: "gp2";
@@ -23411,6 +23515,172 @@ export declare class ApplicationsApi extends BaseAPI {
23411
23515
  */
23412
23516
  listApplication(environmentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApplicationResponseList, any, {}>>;
23413
23517
  }
23518
+ /**
23519
+ * ArgoCDApi - axios parameter creator
23520
+ * @export
23521
+ */
23522
+ export declare const ArgoCDApiAxiosParamCreator: (configuration?: Configuration) => {
23523
+ /**
23524
+ * Test an ArgoCD URL and token before saving. The cluster agent attempts to connect to ArgoCD and returns the connection result. Always returns HTTP 200 — check the `status` field for the connection outcome. Requires ADMIN role.
23525
+ * @summary Check ArgoCD connection
23526
+ * @param {string} clusterId Cluster ID
23527
+ * @param {ArgoCdCredentialsRequest} argoCdCredentialsRequest
23528
+ * @param {*} [options] Override http request option.
23529
+ * @throws {RequiredError}
23530
+ */
23531
+ checkArgoCdConnection: (clusterId: string, argoCdCredentialsRequest: ArgoCdCredentialsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
23532
+ /**
23533
+ * Remove the stored ArgoCD configuration for a cluster. Requires ADMIN role.
23534
+ * @summary Delete ArgoCD credentials for a cluster
23535
+ * @param {string} clusterId Cluster ID
23536
+ * @param {*} [options] Override http request option.
23537
+ * @throws {RequiredError}
23538
+ */
23539
+ deleteArgoCdCredentials: (clusterId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
23540
+ /**
23541
+ * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
23542
+ * @summary Get ArgoCD credentials for a cluster
23543
+ * @param {string} clusterId Cluster ID
23544
+ * @param {*} [options] Override http request option.
23545
+ * @throws {RequiredError}
23546
+ */
23547
+ getArgoCdCredentials: (clusterId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
23548
+ /**
23549
+ * Save or update the ArgoCD URL and authentication token for a cluster. Requires ADMIN role.
23550
+ * @summary Save ArgoCD credentials for a cluster
23551
+ * @param {string} clusterId Cluster ID
23552
+ * @param {ArgoCdCredentialsRequest} argoCdCredentialsRequest
23553
+ * @param {*} [options] Override http request option.
23554
+ * @throws {RequiredError}
23555
+ */
23556
+ saveArgoCdCredentials: (clusterId: string, argoCdCredentialsRequest: ArgoCdCredentialsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
23557
+ };
23558
+ /**
23559
+ * ArgoCDApi - functional programming interface
23560
+ * @export
23561
+ */
23562
+ export declare const ArgoCDApiFp: (configuration?: Configuration) => {
23563
+ /**
23564
+ * Test an ArgoCD URL and token before saving. The cluster agent attempts to connect to ArgoCD and returns the connection result. Always returns HTTP 200 — check the `status` field for the connection outcome. Requires ADMIN role.
23565
+ * @summary Check ArgoCD connection
23566
+ * @param {string} clusterId Cluster ID
23567
+ * @param {ArgoCdCredentialsRequest} argoCdCredentialsRequest
23568
+ * @param {*} [options] Override http request option.
23569
+ * @throws {RequiredError}
23570
+ */
23571
+ checkArgoCdConnection(clusterId: string, argoCdCredentialsRequest: ArgoCdCredentialsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArgoCdConnectionCheckResponse>>;
23572
+ /**
23573
+ * Remove the stored ArgoCD configuration for a cluster. Requires ADMIN role.
23574
+ * @summary Delete ArgoCD credentials for a cluster
23575
+ * @param {string} clusterId Cluster ID
23576
+ * @param {*} [options] Override http request option.
23577
+ * @throws {RequiredError}
23578
+ */
23579
+ deleteArgoCdCredentials(clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
23580
+ /**
23581
+ * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
23582
+ * @summary Get ArgoCD credentials for a cluster
23583
+ * @param {string} clusterId Cluster ID
23584
+ * @param {*} [options] Override http request option.
23585
+ * @throws {RequiredError}
23586
+ */
23587
+ getArgoCdCredentials(clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArgoCdCredentialsResponse>>;
23588
+ /**
23589
+ * Save or update the ArgoCD URL and authentication token for a cluster. Requires ADMIN role.
23590
+ * @summary Save ArgoCD credentials for a cluster
23591
+ * @param {string} clusterId Cluster ID
23592
+ * @param {ArgoCdCredentialsRequest} argoCdCredentialsRequest
23593
+ * @param {*} [options] Override http request option.
23594
+ * @throws {RequiredError}
23595
+ */
23596
+ saveArgoCdCredentials(clusterId: string, argoCdCredentialsRequest: ArgoCdCredentialsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArgoCdCredentialsResponse>>;
23597
+ };
23598
+ /**
23599
+ * ArgoCDApi - factory interface
23600
+ * @export
23601
+ */
23602
+ export declare const ArgoCDApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
23603
+ /**
23604
+ * Test an ArgoCD URL and token before saving. The cluster agent attempts to connect to ArgoCD and returns the connection result. Always returns HTTP 200 — check the `status` field for the connection outcome. Requires ADMIN role.
23605
+ * @summary Check ArgoCD connection
23606
+ * @param {string} clusterId Cluster ID
23607
+ * @param {ArgoCdCredentialsRequest} argoCdCredentialsRequest
23608
+ * @param {*} [options] Override http request option.
23609
+ * @throws {RequiredError}
23610
+ */
23611
+ checkArgoCdConnection(clusterId: string, argoCdCredentialsRequest: ArgoCdCredentialsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ArgoCdConnectionCheckResponse>;
23612
+ /**
23613
+ * Remove the stored ArgoCD configuration for a cluster. Requires ADMIN role.
23614
+ * @summary Delete ArgoCD credentials for a cluster
23615
+ * @param {string} clusterId Cluster ID
23616
+ * @param {*} [options] Override http request option.
23617
+ * @throws {RequiredError}
23618
+ */
23619
+ deleteArgoCdCredentials(clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
23620
+ /**
23621
+ * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
23622
+ * @summary Get ArgoCD credentials for a cluster
23623
+ * @param {string} clusterId Cluster ID
23624
+ * @param {*} [options] Override http request option.
23625
+ * @throws {RequiredError}
23626
+ */
23627
+ getArgoCdCredentials(clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<ArgoCdCredentialsResponse>;
23628
+ /**
23629
+ * Save or update the ArgoCD URL and authentication token for a cluster. Requires ADMIN role.
23630
+ * @summary Save ArgoCD credentials for a cluster
23631
+ * @param {string} clusterId Cluster ID
23632
+ * @param {ArgoCdCredentialsRequest} argoCdCredentialsRequest
23633
+ * @param {*} [options] Override http request option.
23634
+ * @throws {RequiredError}
23635
+ */
23636
+ saveArgoCdCredentials(clusterId: string, argoCdCredentialsRequest: ArgoCdCredentialsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ArgoCdCredentialsResponse>;
23637
+ };
23638
+ /**
23639
+ * ArgoCDApi - object-oriented interface
23640
+ * @export
23641
+ * @class ArgoCDApi
23642
+ * @extends {BaseAPI}
23643
+ */
23644
+ export declare class ArgoCDApi extends BaseAPI {
23645
+ /**
23646
+ * Test an ArgoCD URL and token before saving. The cluster agent attempts to connect to ArgoCD and returns the connection result. Always returns HTTP 200 — check the `status` field for the connection outcome. Requires ADMIN role.
23647
+ * @summary Check ArgoCD connection
23648
+ * @param {string} clusterId Cluster ID
23649
+ * @param {ArgoCdCredentialsRequest} argoCdCredentialsRequest
23650
+ * @param {*} [options] Override http request option.
23651
+ * @throws {RequiredError}
23652
+ * @memberof ArgoCDApi
23653
+ */
23654
+ checkArgoCdConnection(clusterId: string, argoCdCredentialsRequest: ArgoCdCredentialsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ArgoCdConnectionCheckResponse, any, {}>>;
23655
+ /**
23656
+ * Remove the stored ArgoCD configuration for a cluster. Requires ADMIN role.
23657
+ * @summary Delete ArgoCD credentials for a cluster
23658
+ * @param {string} clusterId Cluster ID
23659
+ * @param {*} [options] Override http request option.
23660
+ * @throws {RequiredError}
23661
+ * @memberof ArgoCDApi
23662
+ */
23663
+ deleteArgoCdCredentials(clusterId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
23664
+ /**
23665
+ * Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
23666
+ * @summary Get ArgoCD credentials for a cluster
23667
+ * @param {string} clusterId Cluster ID
23668
+ * @param {*} [options] Override http request option.
23669
+ * @throws {RequiredError}
23670
+ * @memberof ArgoCDApi
23671
+ */
23672
+ getArgoCdCredentials(clusterId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ArgoCdCredentialsResponse, any, {}>>;
23673
+ /**
23674
+ * Save or update the ArgoCD URL and authentication token for a cluster. Requires ADMIN role.
23675
+ * @summary Save ArgoCD credentials for a cluster
23676
+ * @param {string} clusterId Cluster ID
23677
+ * @param {ArgoCdCredentialsRequest} argoCdCredentialsRequest
23678
+ * @param {*} [options] Override http request option.
23679
+ * @throws {RequiredError}
23680
+ * @memberof ArgoCDApi
23681
+ */
23682
+ saveArgoCdCredentials(clusterId: string, argoCdCredentialsRequest: ArgoCdCredentialsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ArgoCdCredentialsResponse, any, {}>>;
23683
+ }
23414
23684
  /**
23415
23685
  * BackupsApi - axios parameter creator
23416
23686
  * @export