@@ -10479,6 +10479,27 @@ export interface HelmVersionResponseList {
10479
10479
*/
10480
10480
'results'?: Array<HelmVersionResponse>;
10481
10481
}
10482
+ /**
10483
+ *
10484
+ * @export
10485
+ * @interface IngressDeploymentStatusResponse
10486
+ */
10487
+ export interface IngressDeploymentStatusResponse {
10488
+ /**
10489
+ *
10490
+ * @type {string}
10491
+ * @memberof IngressDeploymentStatusResponse
10492
+ */
10493
+ 'routerId'?: string;
10494
+ /**
10495
+ *
10496
+ * @type {StateEnum}
10497
+ * @memberof IngressDeploymentStatusResponse
10498
+ */
10499
+ 'status'?: StateEnum;
10500
+ }
10501
+
10502
+
10482
10503
/**
10483
10504
*
10484
10505
* @export
@@ -55360,6 +55381,137 @@ export class ReferralRewardsApi extends BaseAPI {
55360
55381
55361
55382
55362
55383
55384
+ /**
55385
+ * ServiceStatusApi - axios parameter creator
55386
+ * @export
55387
+ */
55388
+ export const ServiceStatusApiAxiosParamCreator = function (configuration?: Configuration) {
55389
+ return {
55390
+ /**
55391
+ *
55392
+ * @summary Get Ingress Deployment Status By Service
55393
+ * @param {GetIngressDeploymentStatusServiceTypeEnum} serviceType
55394
+ * @param {string} serviceId
55395
+ * @param {*} [options] Override http request option.
55396
+ * @throws {RequiredError}
55397
+ */
55398
+ getIngressDeploymentStatus: async (serviceType: GetIngressDeploymentStatusServiceTypeEnum, serviceId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
55399
+ // verify required parameter 'serviceType' is not null or undefined
55400
+ assertParamExists('getIngressDeploymentStatus', 'serviceType', serviceType)
55401
+ // verify required parameter 'serviceId' is not null or undefined
55402
+ assertParamExists('getIngressDeploymentStatus', 'serviceId', serviceId)
55403
+ const localVarPath = `/{serviceType}/{serviceId}/ingressDeploymentStatus`
55404
+ .replace(`{${"serviceType"}}`, encodeURIComponent(String(serviceType)))
55405
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
55406
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
55407
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
55408
+ let baseOptions;
55409
+ if (configuration) {
55410
+ baseOptions = configuration.baseOptions;
55411
+ }
55412
+
55413
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
55414
+ const localVarHeaderParameter = {} as any;
55415
+ const localVarQueryParameter = {} as any;
55416
+
55417
+ // authentication ApiKeyAuth required
55418
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
55419
+
55420
+ // authentication bearerAuth required
55421
+ // http bearer authentication required
55422
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
55423
+
55424
+
55425
+
55426
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
55427
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
55428
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
55429
+
55430
+ return {
55431
+ url: toPathString(localVarUrlObj),
55432
+ options: localVarRequestOptions,
55433
+ };
55434
+ },
55435
+ }
55436
+ };
55437
+
55438
+ /**
55439
+ * ServiceStatusApi - functional programming interface
55440
+ * @export
55441
+ */
55442
+ export const ServiceStatusApiFp = function(configuration?: Configuration) {
55443
+ const localVarAxiosParamCreator = ServiceStatusApiAxiosParamCreator(configuration)
55444
+ return {
55445
+ /**
55446
+ *
55447
+ * @summary Get Ingress Deployment Status By Service
55448
+ * @param {GetIngressDeploymentStatusServiceTypeEnum} serviceType
55449
+ * @param {string} serviceId
55450
+ * @param {*} [options] Override http request option.
55451
+ * @throws {RequiredError}
55452
+ */
55453
+ async getIngressDeploymentStatus(serviceType: GetIngressDeploymentStatusServiceTypeEnum, serviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IngressDeploymentStatusResponse>> {
55454
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getIngressDeploymentStatus(serviceType, serviceId, options);
55455
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
55456
+ const localVarOperationServerBasePath = operationServerMap['ServiceStatusApi.getIngressDeploymentStatus']?.[localVarOperationServerIndex]?.url;
55457
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
55458
+ },
55459
+ }
55460
+ };
55461
+
55462
+ /**
55463
+ * ServiceStatusApi - factory interface
55464
+ * @export
55465
+ */
55466
+ export const ServiceStatusApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
55467
+ const localVarFp = ServiceStatusApiFp(configuration)
55468
+ return {
55469
+ /**
55470
+ *
55471
+ * @summary Get Ingress Deployment Status By Service
55472
+ * @param {GetIngressDeploymentStatusServiceTypeEnum} serviceType
55473
+ * @param {string} serviceId
55474
+ * @param {*} [options] Override http request option.
55475
+ * @throws {RequiredError}
55476
+ */
55477
+ getIngressDeploymentStatus(serviceType: GetIngressDeploymentStatusServiceTypeEnum, serviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<IngressDeploymentStatusResponse> {
55478
+ return localVarFp.getIngressDeploymentStatus(serviceType, serviceId, options).then((request) => request(axios, basePath));
55479
+ },
55480
+ };
55481
+ };
55482
+
55483
+ /**
55484
+ * ServiceStatusApi - object-oriented interface
55485
+ * @export
55486
+ * @class ServiceStatusApi
55487
+ * @extends {BaseAPI}
55488
+ */
55489
+ export class ServiceStatusApi extends BaseAPI {
55490
+ /**
55491
+ *
55492
+ * @summary Get Ingress Deployment Status By Service
55493
+ * @param {GetIngressDeploymentStatusServiceTypeEnum} serviceType
55494
+ * @param {string} serviceId
55495
+ * @param {*} [options] Override http request option.
55496
+ * @throws {RequiredError}
55497
+ * @memberof ServiceStatusApi
55498
+ */
55499
+ public getIngressDeploymentStatus(serviceType: GetIngressDeploymentStatusServiceTypeEnum, serviceId: string, options?: RawAxiosRequestConfig) {
55500
+ return ServiceStatusApiFp(this.configuration).getIngressDeploymentStatus(serviceType, serviceId, options).then((request) => request(this.axios, this.basePath));
55501
+ }
55502
+ }
55503
+
55504
+ /**
55505
+ * @export
55506
+ */
55507
+ export const GetIngressDeploymentStatusServiceTypeEnum = {
55508
+ CONTAINER: 'container',
55509
+ APPLICATION: 'application',
55510
+ HELM: 'helm'
55511
+ } as const;
55512
+ export type GetIngressDeploymentStatusServiceTypeEnum = typeof GetIngressDeploymentStatusServiceTypeEnum[keyof typeof GetIngressDeploymentStatusServiceTypeEnum];
55513
+
55514
+
55363
55515
/**
55364
55516
* UserSignUpApi - axios parameter creator
55365
55517
* @export
0 commit comments