@halo-dev/api-client 2.11.0 → 2.12.0
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/index.cjs +350 -53
- package/dist/index.d.ts +428 -69
- package/dist/index.mjs +346 -54
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1844,7 +1844,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
1844
1844
|
options: localVarRequestOptions
|
|
1845
1845
|
};
|
|
1846
1846
|
},
|
|
1847
|
-
listPosts: async (
|
|
1847
|
+
listPosts: async (fieldSelector, keyword, labelSelector, page, publishPhase, size, sort, options = {}) => {
|
|
1848
1848
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
1849
1849
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1850
1850
|
let baseOptions;
|
|
@@ -1860,12 +1860,6 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
1860
1860
|
const localVarQueryParameter = {};
|
|
1861
1861
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1862
1862
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1863
|
-
if (category) {
|
|
1864
|
-
localVarQueryParameter["category"] = Array.from(category);
|
|
1865
|
-
}
|
|
1866
|
-
if (contributor) {
|
|
1867
|
-
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
1868
|
-
}
|
|
1869
1863
|
if (fieldSelector) {
|
|
1870
1864
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1871
1865
|
}
|
|
@@ -1887,12 +1881,6 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
1887
1881
|
if (sort) {
|
|
1888
1882
|
localVarQueryParameter["sort"] = Array.from(sort);
|
|
1889
1883
|
}
|
|
1890
|
-
if (tag) {
|
|
1891
|
-
localVarQueryParameter["tag"] = Array.from(tag);
|
|
1892
|
-
}
|
|
1893
|
-
if (visible !== void 0) {
|
|
1894
|
-
localVarQueryParameter["visible"] = visible;
|
|
1895
|
-
}
|
|
1896
1884
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1897
1885
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1898
1886
|
localVarRequestOptions.headers = {
|
|
@@ -2117,10 +2105,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
2117
2105
|
configuration
|
|
2118
2106
|
);
|
|
2119
2107
|
},
|
|
2120
|
-
async listPosts(
|
|
2108
|
+
async listPosts(fieldSelector, keyword, labelSelector, page, publishPhase, size, sort, options) {
|
|
2121
2109
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(
|
|
2122
|
-
category,
|
|
2123
|
-
contributor,
|
|
2124
2110
|
fieldSelector,
|
|
2125
2111
|
keyword,
|
|
2126
2112
|
labelSelector,
|
|
@@ -2128,8 +2114,6 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
2128
2114
|
publishPhase,
|
|
2129
2115
|
size,
|
|
2130
2116
|
sort,
|
|
2131
|
-
tag,
|
|
2132
|
-
visible,
|
|
2133
2117
|
options
|
|
2134
2118
|
);
|
|
2135
2119
|
return createRequestFunction(
|
|
@@ -2218,8 +2202,6 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
|
|
|
2218
2202
|
},
|
|
2219
2203
|
listPosts(requestParameters = {}, options) {
|
|
2220
2204
|
return localVarFp.listPosts(
|
|
2221
|
-
requestParameters.category,
|
|
2222
|
-
requestParameters.contributor,
|
|
2223
2205
|
requestParameters.fieldSelector,
|
|
2224
2206
|
requestParameters.keyword,
|
|
2225
2207
|
requestParameters.labelSelector,
|
|
@@ -2227,8 +2209,6 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
|
|
|
2227
2209
|
requestParameters.publishPhase,
|
|
2228
2210
|
requestParameters.size,
|
|
2229
2211
|
requestParameters.sort,
|
|
2230
|
-
requestParameters.tag,
|
|
2231
|
-
requestParameters.visible,
|
|
2232
2212
|
options
|
|
2233
2213
|
).then((request) => request(axios, basePath));
|
|
2234
2214
|
},
|
|
@@ -2273,8 +2253,6 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
2273
2253
|
}
|
|
2274
2254
|
listPosts(requestParameters = {}, options) {
|
|
2275
2255
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(
|
|
2276
|
-
requestParameters.category,
|
|
2277
|
-
requestParameters.contributor,
|
|
2278
2256
|
requestParameters.fieldSelector,
|
|
2279
2257
|
requestParameters.keyword,
|
|
2280
2258
|
requestParameters.labelSelector,
|
|
@@ -2282,8 +2260,6 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
2282
2260
|
requestParameters.publishPhase,
|
|
2283
2261
|
requestParameters.size,
|
|
2284
2262
|
requestParameters.sort,
|
|
2285
|
-
requestParameters.tag,
|
|
2286
|
-
requestParameters.visible,
|
|
2287
2263
|
options
|
|
2288
2264
|
).then((request) => request(this.axios, this.basePath));
|
|
2289
2265
|
}
|
|
@@ -7016,6 +6992,335 @@ class ApiPluginHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
7016
6992
|
}
|
|
7017
6993
|
}
|
|
7018
6994
|
|
|
6995
|
+
const ApiSecurityHaloRunV1alpha1AuthenticationTwoFactorApiAxiosParamCreator = function(configuration) {
|
|
6996
|
+
return {
|
|
6997
|
+
configurerTotp: async (totpRequest, options = {}) => {
|
|
6998
|
+
const localVarPath = `/apis/api.security.halo.run/v1alpha1/authentications/two-factor/totp`;
|
|
6999
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7000
|
+
let baseOptions;
|
|
7001
|
+
if (configuration) {
|
|
7002
|
+
baseOptions = configuration.baseOptions;
|
|
7003
|
+
}
|
|
7004
|
+
const localVarRequestOptions = {
|
|
7005
|
+
method: "POST",
|
|
7006
|
+
...baseOptions,
|
|
7007
|
+
...options
|
|
7008
|
+
};
|
|
7009
|
+
const localVarHeaderParameter = {};
|
|
7010
|
+
const localVarQueryParameter = {};
|
|
7011
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
7012
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7013
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
7014
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7015
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7016
|
+
localVarRequestOptions.headers = {
|
|
7017
|
+
...localVarHeaderParameter,
|
|
7018
|
+
...headersFromBaseOptions,
|
|
7019
|
+
...options.headers
|
|
7020
|
+
};
|
|
7021
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
7022
|
+
totpRequest,
|
|
7023
|
+
localVarRequestOptions,
|
|
7024
|
+
configuration
|
|
7025
|
+
);
|
|
7026
|
+
return {
|
|
7027
|
+
url: toPathString(localVarUrlObj),
|
|
7028
|
+
options: localVarRequestOptions
|
|
7029
|
+
};
|
|
7030
|
+
},
|
|
7031
|
+
deleteTotp: async (passwordRequest, options = {}) => {
|
|
7032
|
+
const localVarPath = `/apis/api.security.halo.run/v1alpha1/authentications/two-factor/totp/-`;
|
|
7033
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7034
|
+
let baseOptions;
|
|
7035
|
+
if (configuration) {
|
|
7036
|
+
baseOptions = configuration.baseOptions;
|
|
7037
|
+
}
|
|
7038
|
+
const localVarRequestOptions = {
|
|
7039
|
+
method: "DELETE",
|
|
7040
|
+
...baseOptions,
|
|
7041
|
+
...options
|
|
7042
|
+
};
|
|
7043
|
+
const localVarHeaderParameter = {};
|
|
7044
|
+
const localVarQueryParameter = {};
|
|
7045
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
7046
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7047
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
7048
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7049
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7050
|
+
localVarRequestOptions.headers = {
|
|
7051
|
+
...localVarHeaderParameter,
|
|
7052
|
+
...headersFromBaseOptions,
|
|
7053
|
+
...options.headers
|
|
7054
|
+
};
|
|
7055
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
7056
|
+
passwordRequest,
|
|
7057
|
+
localVarRequestOptions,
|
|
7058
|
+
configuration
|
|
7059
|
+
);
|
|
7060
|
+
return {
|
|
7061
|
+
url: toPathString(localVarUrlObj),
|
|
7062
|
+
options: localVarRequestOptions
|
|
7063
|
+
};
|
|
7064
|
+
},
|
|
7065
|
+
disableTwoFactor: async (passwordRequest, options = {}) => {
|
|
7066
|
+
const localVarPath = `/apis/api.security.halo.run/v1alpha1/authentications/two-factor/settings/disabled`;
|
|
7067
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7068
|
+
let baseOptions;
|
|
7069
|
+
if (configuration) {
|
|
7070
|
+
baseOptions = configuration.baseOptions;
|
|
7071
|
+
}
|
|
7072
|
+
const localVarRequestOptions = {
|
|
7073
|
+
method: "PUT",
|
|
7074
|
+
...baseOptions,
|
|
7075
|
+
...options
|
|
7076
|
+
};
|
|
7077
|
+
const localVarHeaderParameter = {};
|
|
7078
|
+
const localVarQueryParameter = {};
|
|
7079
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
7080
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7081
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
7082
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7083
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7084
|
+
localVarRequestOptions.headers = {
|
|
7085
|
+
...localVarHeaderParameter,
|
|
7086
|
+
...headersFromBaseOptions,
|
|
7087
|
+
...options.headers
|
|
7088
|
+
};
|
|
7089
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
7090
|
+
passwordRequest,
|
|
7091
|
+
localVarRequestOptions,
|
|
7092
|
+
configuration
|
|
7093
|
+
);
|
|
7094
|
+
return {
|
|
7095
|
+
url: toPathString(localVarUrlObj),
|
|
7096
|
+
options: localVarRequestOptions
|
|
7097
|
+
};
|
|
7098
|
+
},
|
|
7099
|
+
enableTwoFactor: async (passwordRequest, options = {}) => {
|
|
7100
|
+
const localVarPath = `/apis/api.security.halo.run/v1alpha1/authentications/two-factor/settings/enabled`;
|
|
7101
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7102
|
+
let baseOptions;
|
|
7103
|
+
if (configuration) {
|
|
7104
|
+
baseOptions = configuration.baseOptions;
|
|
7105
|
+
}
|
|
7106
|
+
const localVarRequestOptions = {
|
|
7107
|
+
method: "PUT",
|
|
7108
|
+
...baseOptions,
|
|
7109
|
+
...options
|
|
7110
|
+
};
|
|
7111
|
+
const localVarHeaderParameter = {};
|
|
7112
|
+
const localVarQueryParameter = {};
|
|
7113
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
7114
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7115
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
7116
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7117
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7118
|
+
localVarRequestOptions.headers = {
|
|
7119
|
+
...localVarHeaderParameter,
|
|
7120
|
+
...headersFromBaseOptions,
|
|
7121
|
+
...options.headers
|
|
7122
|
+
};
|
|
7123
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
7124
|
+
passwordRequest,
|
|
7125
|
+
localVarRequestOptions,
|
|
7126
|
+
configuration
|
|
7127
|
+
);
|
|
7128
|
+
return {
|
|
7129
|
+
url: toPathString(localVarUrlObj),
|
|
7130
|
+
options: localVarRequestOptions
|
|
7131
|
+
};
|
|
7132
|
+
},
|
|
7133
|
+
getTotpAuthLink: async (options = {}) => {
|
|
7134
|
+
const localVarPath = `/apis/api.security.halo.run/v1alpha1/authentications/two-factor/totp/auth-link`;
|
|
7135
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7136
|
+
let baseOptions;
|
|
7137
|
+
if (configuration) {
|
|
7138
|
+
baseOptions = configuration.baseOptions;
|
|
7139
|
+
}
|
|
7140
|
+
const localVarRequestOptions = {
|
|
7141
|
+
method: "GET",
|
|
7142
|
+
...baseOptions,
|
|
7143
|
+
...options
|
|
7144
|
+
};
|
|
7145
|
+
const localVarHeaderParameter = {};
|
|
7146
|
+
const localVarQueryParameter = {};
|
|
7147
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
7148
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7149
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7150
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7151
|
+
localVarRequestOptions.headers = {
|
|
7152
|
+
...localVarHeaderParameter,
|
|
7153
|
+
...headersFromBaseOptions,
|
|
7154
|
+
...options.headers
|
|
7155
|
+
};
|
|
7156
|
+
return {
|
|
7157
|
+
url: toPathString(localVarUrlObj),
|
|
7158
|
+
options: localVarRequestOptions
|
|
7159
|
+
};
|
|
7160
|
+
},
|
|
7161
|
+
getTwoFactorAuthenticationSettings: async (options = {}) => {
|
|
7162
|
+
const localVarPath = `/apis/api.security.halo.run/v1alpha1/authentications/two-factor/settings`;
|
|
7163
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7164
|
+
let baseOptions;
|
|
7165
|
+
if (configuration) {
|
|
7166
|
+
baseOptions = configuration.baseOptions;
|
|
7167
|
+
}
|
|
7168
|
+
const localVarRequestOptions = {
|
|
7169
|
+
method: "GET",
|
|
7170
|
+
...baseOptions,
|
|
7171
|
+
...options
|
|
7172
|
+
};
|
|
7173
|
+
const localVarHeaderParameter = {};
|
|
7174
|
+
const localVarQueryParameter = {};
|
|
7175
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
7176
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7177
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7178
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7179
|
+
localVarRequestOptions.headers = {
|
|
7180
|
+
...localVarHeaderParameter,
|
|
7181
|
+
...headersFromBaseOptions,
|
|
7182
|
+
...options.headers
|
|
7183
|
+
};
|
|
7184
|
+
return {
|
|
7185
|
+
url: toPathString(localVarUrlObj),
|
|
7186
|
+
options: localVarRequestOptions
|
|
7187
|
+
};
|
|
7188
|
+
}
|
|
7189
|
+
};
|
|
7190
|
+
};
|
|
7191
|
+
const ApiSecurityHaloRunV1alpha1AuthenticationTwoFactorApiFp = function(configuration) {
|
|
7192
|
+
const localVarAxiosParamCreator = ApiSecurityHaloRunV1alpha1AuthenticationTwoFactorApiAxiosParamCreator(
|
|
7193
|
+
configuration
|
|
7194
|
+
);
|
|
7195
|
+
return {
|
|
7196
|
+
async configurerTotp(totpRequest, options) {
|
|
7197
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.configurerTotp(
|
|
7198
|
+
totpRequest,
|
|
7199
|
+
options
|
|
7200
|
+
);
|
|
7201
|
+
return createRequestFunction(
|
|
7202
|
+
localVarAxiosArgs,
|
|
7203
|
+
globalAxios__default,
|
|
7204
|
+
BASE_PATH,
|
|
7205
|
+
configuration
|
|
7206
|
+
);
|
|
7207
|
+
},
|
|
7208
|
+
async deleteTotp(passwordRequest, options) {
|
|
7209
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTotp(
|
|
7210
|
+
passwordRequest,
|
|
7211
|
+
options
|
|
7212
|
+
);
|
|
7213
|
+
return createRequestFunction(
|
|
7214
|
+
localVarAxiosArgs,
|
|
7215
|
+
globalAxios__default,
|
|
7216
|
+
BASE_PATH,
|
|
7217
|
+
configuration
|
|
7218
|
+
);
|
|
7219
|
+
},
|
|
7220
|
+
async disableTwoFactor(passwordRequest, options) {
|
|
7221
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.disableTwoFactor(
|
|
7222
|
+
passwordRequest,
|
|
7223
|
+
options
|
|
7224
|
+
);
|
|
7225
|
+
return createRequestFunction(
|
|
7226
|
+
localVarAxiosArgs,
|
|
7227
|
+
globalAxios__default,
|
|
7228
|
+
BASE_PATH,
|
|
7229
|
+
configuration
|
|
7230
|
+
);
|
|
7231
|
+
},
|
|
7232
|
+
async enableTwoFactor(passwordRequest, options) {
|
|
7233
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.enableTwoFactor(
|
|
7234
|
+
passwordRequest,
|
|
7235
|
+
options
|
|
7236
|
+
);
|
|
7237
|
+
return createRequestFunction(
|
|
7238
|
+
localVarAxiosArgs,
|
|
7239
|
+
globalAxios__default,
|
|
7240
|
+
BASE_PATH,
|
|
7241
|
+
configuration
|
|
7242
|
+
);
|
|
7243
|
+
},
|
|
7244
|
+
async getTotpAuthLink(options) {
|
|
7245
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getTotpAuthLink(
|
|
7246
|
+
options
|
|
7247
|
+
);
|
|
7248
|
+
return createRequestFunction(
|
|
7249
|
+
localVarAxiosArgs,
|
|
7250
|
+
globalAxios__default,
|
|
7251
|
+
BASE_PATH,
|
|
7252
|
+
configuration
|
|
7253
|
+
);
|
|
7254
|
+
},
|
|
7255
|
+
async getTwoFactorAuthenticationSettings(options) {
|
|
7256
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getTwoFactorAuthenticationSettings(
|
|
7257
|
+
options
|
|
7258
|
+
);
|
|
7259
|
+
return createRequestFunction(
|
|
7260
|
+
localVarAxiosArgs,
|
|
7261
|
+
globalAxios__default,
|
|
7262
|
+
BASE_PATH,
|
|
7263
|
+
configuration
|
|
7264
|
+
);
|
|
7265
|
+
}
|
|
7266
|
+
};
|
|
7267
|
+
};
|
|
7268
|
+
const ApiSecurityHaloRunV1alpha1AuthenticationTwoFactorApiFactory = function(configuration, basePath, axios) {
|
|
7269
|
+
const localVarFp = ApiSecurityHaloRunV1alpha1AuthenticationTwoFactorApiFp(configuration);
|
|
7270
|
+
return {
|
|
7271
|
+
configurerTotp(requestParameters = {}, options) {
|
|
7272
|
+
return localVarFp.configurerTotp(requestParameters.totpRequest, options).then((request) => request(axios, basePath));
|
|
7273
|
+
},
|
|
7274
|
+
deleteTotp(requestParameters = {}, options) {
|
|
7275
|
+
return localVarFp.deleteTotp(requestParameters.passwordRequest, options).then((request) => request(axios, basePath));
|
|
7276
|
+
},
|
|
7277
|
+
disableTwoFactor(requestParameters = {}, options) {
|
|
7278
|
+
return localVarFp.disableTwoFactor(requestParameters.passwordRequest, options).then((request) => request(axios, basePath));
|
|
7279
|
+
},
|
|
7280
|
+
enableTwoFactor(requestParameters = {}, options) {
|
|
7281
|
+
return localVarFp.enableTwoFactor(requestParameters.passwordRequest, options).then((request) => request(axios, basePath));
|
|
7282
|
+
},
|
|
7283
|
+
getTotpAuthLink(options) {
|
|
7284
|
+
return localVarFp.getTotpAuthLink(options).then((request) => request(axios, basePath));
|
|
7285
|
+
},
|
|
7286
|
+
getTwoFactorAuthenticationSettings(options) {
|
|
7287
|
+
return localVarFp.getTwoFactorAuthenticationSettings(options).then((request) => request(axios, basePath));
|
|
7288
|
+
}
|
|
7289
|
+
};
|
|
7290
|
+
};
|
|
7291
|
+
class ApiSecurityHaloRunV1alpha1AuthenticationTwoFactorApi extends BaseAPI {
|
|
7292
|
+
configurerTotp(requestParameters = {}, options) {
|
|
7293
|
+
return ApiSecurityHaloRunV1alpha1AuthenticationTwoFactorApiFp(
|
|
7294
|
+
this.configuration
|
|
7295
|
+
).configurerTotp(requestParameters.totpRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7296
|
+
}
|
|
7297
|
+
deleteTotp(requestParameters = {}, options) {
|
|
7298
|
+
return ApiSecurityHaloRunV1alpha1AuthenticationTwoFactorApiFp(
|
|
7299
|
+
this.configuration
|
|
7300
|
+
).deleteTotp(requestParameters.passwordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7301
|
+
}
|
|
7302
|
+
disableTwoFactor(requestParameters = {}, options) {
|
|
7303
|
+
return ApiSecurityHaloRunV1alpha1AuthenticationTwoFactorApiFp(
|
|
7304
|
+
this.configuration
|
|
7305
|
+
).disableTwoFactor(requestParameters.passwordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7306
|
+
}
|
|
7307
|
+
enableTwoFactor(requestParameters = {}, options) {
|
|
7308
|
+
return ApiSecurityHaloRunV1alpha1AuthenticationTwoFactorApiFp(
|
|
7309
|
+
this.configuration
|
|
7310
|
+
).enableTwoFactor(requestParameters.passwordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7311
|
+
}
|
|
7312
|
+
getTotpAuthLink(options) {
|
|
7313
|
+
return ApiSecurityHaloRunV1alpha1AuthenticationTwoFactorApiFp(
|
|
7314
|
+
this.configuration
|
|
7315
|
+
).getTotpAuthLink(options).then((request) => request(this.axios, this.basePath));
|
|
7316
|
+
}
|
|
7317
|
+
getTwoFactorAuthenticationSettings(options) {
|
|
7318
|
+
return ApiSecurityHaloRunV1alpha1AuthenticationTwoFactorApiFp(
|
|
7319
|
+
this.configuration
|
|
7320
|
+
).getTwoFactorAuthenticationSettings(options).then((request) => request(this.axios, this.basePath));
|
|
7321
|
+
}
|
|
7322
|
+
}
|
|
7323
|
+
|
|
7019
7324
|
const ApiSecurityHaloRunV1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration) {
|
|
7020
7325
|
return {
|
|
7021
7326
|
deletePat: async (name, options = {}) => {
|
|
@@ -16766,7 +17071,7 @@ const UcApiContentHaloRunV1alpha1PostApiAxiosParamCreator = function(configurati
|
|
|
16766
17071
|
options: localVarRequestOptions
|
|
16767
17072
|
};
|
|
16768
17073
|
},
|
|
16769
|
-
listMyPosts: async (
|
|
17074
|
+
listMyPosts: async (fieldSelector, keyword, labelSelector, page, publishPhase, size, sort, options = {}) => {
|
|
16770
17075
|
const localVarPath = `/apis/uc.api.content.halo.run/v1alpha1/posts`;
|
|
16771
17076
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16772
17077
|
let baseOptions;
|
|
@@ -16782,12 +17087,6 @@ const UcApiContentHaloRunV1alpha1PostApiAxiosParamCreator = function(configurati
|
|
|
16782
17087
|
const localVarQueryParameter = {};
|
|
16783
17088
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
16784
17089
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
16785
|
-
if (category) {
|
|
16786
|
-
localVarQueryParameter["category"] = Array.from(category);
|
|
16787
|
-
}
|
|
16788
|
-
if (contributor) {
|
|
16789
|
-
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
16790
|
-
}
|
|
16791
17090
|
if (fieldSelector) {
|
|
16792
17091
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
16793
17092
|
}
|
|
@@ -16809,12 +17108,6 @@ const UcApiContentHaloRunV1alpha1PostApiAxiosParamCreator = function(configurati
|
|
|
16809
17108
|
if (sort) {
|
|
16810
17109
|
localVarQueryParameter["sort"] = Array.from(sort);
|
|
16811
17110
|
}
|
|
16812
|
-
if (tag) {
|
|
16813
|
-
localVarQueryParameter["tag"] = Array.from(tag);
|
|
16814
|
-
}
|
|
16815
|
-
if (visible !== void 0) {
|
|
16816
|
-
localVarQueryParameter["visible"] = visible;
|
|
16817
|
-
}
|
|
16818
17111
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16819
17112
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16820
17113
|
localVarRequestOptions.headers = {
|
|
@@ -17009,10 +17302,8 @@ const UcApiContentHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
17009
17302
|
configuration
|
|
17010
17303
|
);
|
|
17011
17304
|
},
|
|
17012
|
-
async listMyPosts(
|
|
17305
|
+
async listMyPosts(fieldSelector, keyword, labelSelector, page, publishPhase, size, sort, options) {
|
|
17013
17306
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listMyPosts(
|
|
17014
|
-
category,
|
|
17015
|
-
contributor,
|
|
17016
17307
|
fieldSelector,
|
|
17017
17308
|
keyword,
|
|
17018
17309
|
labelSelector,
|
|
@@ -17020,8 +17311,6 @@ const UcApiContentHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
17020
17311
|
publishPhase,
|
|
17021
17312
|
size,
|
|
17022
17313
|
sort,
|
|
17023
|
-
tag,
|
|
17024
|
-
visible,
|
|
17025
17314
|
options
|
|
17026
17315
|
);
|
|
17027
17316
|
return createRequestFunction(
|
|
@@ -17101,8 +17390,6 @@ const UcApiContentHaloRunV1alpha1PostApiFactory = function(configuration, basePa
|
|
|
17101
17390
|
},
|
|
17102
17391
|
listMyPosts(requestParameters = {}, options) {
|
|
17103
17392
|
return localVarFp.listMyPosts(
|
|
17104
|
-
requestParameters.category,
|
|
17105
|
-
requestParameters.contributor,
|
|
17106
17393
|
requestParameters.fieldSelector,
|
|
17107
17394
|
requestParameters.keyword,
|
|
17108
17395
|
requestParameters.labelSelector,
|
|
@@ -17110,8 +17397,6 @@ const UcApiContentHaloRunV1alpha1PostApiFactory = function(configuration, basePa
|
|
|
17110
17397
|
requestParameters.publishPhase,
|
|
17111
17398
|
requestParameters.size,
|
|
17112
17399
|
requestParameters.sort,
|
|
17113
|
-
requestParameters.tag,
|
|
17114
|
-
requestParameters.visible,
|
|
17115
17400
|
options
|
|
17116
17401
|
).then((request) => request(axios, basePath));
|
|
17117
17402
|
},
|
|
@@ -17149,8 +17434,6 @@ class UcApiContentHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
17149
17434
|
}
|
|
17150
17435
|
listMyPosts(requestParameters = {}, options) {
|
|
17151
17436
|
return UcApiContentHaloRunV1alpha1PostApiFp(this.configuration).listMyPosts(
|
|
17152
|
-
requestParameters.category,
|
|
17153
|
-
requestParameters.contributor,
|
|
17154
17437
|
requestParameters.fieldSelector,
|
|
17155
17438
|
requestParameters.keyword,
|
|
17156
17439
|
requestParameters.labelSelector,
|
|
@@ -17158,8 +17441,6 @@ class UcApiContentHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
17158
17441
|
requestParameters.publishPhase,
|
|
17159
17442
|
requestParameters.size,
|
|
17160
17443
|
requestParameters.sort,
|
|
17161
|
-
requestParameters.tag,
|
|
17162
|
-
requestParameters.visible,
|
|
17163
17444
|
options
|
|
17164
17445
|
).then((request) => request(this.axios, this.basePath));
|
|
17165
17446
|
}
|
|
@@ -20138,7 +20419,7 @@ const MenuItemSpecTargetEnum = {
|
|
|
20138
20419
|
Top: "_top"
|
|
20139
20420
|
};
|
|
20140
20421
|
|
|
20141
|
-
const
|
|
20422
|
+
const PluginStatusLastProbeStateEnum = {
|
|
20142
20423
|
Created: "CREATED",
|
|
20143
20424
|
Disabled: "DISABLED",
|
|
20144
20425
|
Resolved: "RESOLVED",
|
|
@@ -20146,6 +20427,17 @@ const PluginStatusPhaseEnum = {
|
|
|
20146
20427
|
Stopped: "STOPPED",
|
|
20147
20428
|
Failed: "FAILED"
|
|
20148
20429
|
};
|
|
20430
|
+
const PluginStatusPhaseEnum = {
|
|
20431
|
+
Pending: "PENDING",
|
|
20432
|
+
Starting: "STARTING",
|
|
20433
|
+
Created: "CREATED",
|
|
20434
|
+
Disabled: "DISABLED",
|
|
20435
|
+
Resolved: "RESOLVED",
|
|
20436
|
+
Started: "STARTED",
|
|
20437
|
+
Stopped: "STOPPED",
|
|
20438
|
+
Failed: "FAILED",
|
|
20439
|
+
Unknown: "UNKNOWN"
|
|
20440
|
+
};
|
|
20149
20441
|
|
|
20150
20442
|
const PostSpecVisibleEnum = {
|
|
20151
20443
|
Public: "PUBLIC",
|
|
@@ -20277,6 +20569,10 @@ exports.ApiPluginHaloRunV1alpha1PluginApi = ApiPluginHaloRunV1alpha1PluginApi;
|
|
|
20277
20569
|
exports.ApiPluginHaloRunV1alpha1PluginApiAxiosParamCreator = ApiPluginHaloRunV1alpha1PluginApiAxiosParamCreator;
|
|
20278
20570
|
exports.ApiPluginHaloRunV1alpha1PluginApiFactory = ApiPluginHaloRunV1alpha1PluginApiFactory;
|
|
20279
20571
|
exports.ApiPluginHaloRunV1alpha1PluginApiFp = ApiPluginHaloRunV1alpha1PluginApiFp;
|
|
20572
|
+
exports.ApiSecurityHaloRunV1alpha1AuthenticationTwoFactorApi = ApiSecurityHaloRunV1alpha1AuthenticationTwoFactorApi;
|
|
20573
|
+
exports.ApiSecurityHaloRunV1alpha1AuthenticationTwoFactorApiAxiosParamCreator = ApiSecurityHaloRunV1alpha1AuthenticationTwoFactorApiAxiosParamCreator;
|
|
20574
|
+
exports.ApiSecurityHaloRunV1alpha1AuthenticationTwoFactorApiFactory = ApiSecurityHaloRunV1alpha1AuthenticationTwoFactorApiFactory;
|
|
20575
|
+
exports.ApiSecurityHaloRunV1alpha1AuthenticationTwoFactorApiFp = ApiSecurityHaloRunV1alpha1AuthenticationTwoFactorApiFp;
|
|
20280
20576
|
exports.ApiSecurityHaloRunV1alpha1PersonalAccessTokenApi = ApiSecurityHaloRunV1alpha1PersonalAccessTokenApi;
|
|
20281
20577
|
exports.ApiSecurityHaloRunV1alpha1PersonalAccessTokenApiAxiosParamCreator = ApiSecurityHaloRunV1alpha1PersonalAccessTokenApiAxiosParamCreator;
|
|
20282
20578
|
exports.ApiSecurityHaloRunV1alpha1PersonalAccessTokenApiFactory = ApiSecurityHaloRunV1alpha1PersonalAccessTokenApiFactory;
|
|
@@ -20378,6 +20674,7 @@ exports.PluginHaloRunV1alpha1SearchEngineApi = PluginHaloRunV1alpha1SearchEngine
|
|
|
20378
20674
|
exports.PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator = PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator;
|
|
20379
20675
|
exports.PluginHaloRunV1alpha1SearchEngineApiFactory = PluginHaloRunV1alpha1SearchEngineApiFactory;
|
|
20380
20676
|
exports.PluginHaloRunV1alpha1SearchEngineApiFp = PluginHaloRunV1alpha1SearchEngineApiFp;
|
|
20677
|
+
exports.PluginStatusLastProbeStateEnum = PluginStatusLastProbeStateEnum;
|
|
20381
20678
|
exports.PluginStatusPhaseEnum = PluginStatusPhaseEnum;
|
|
20382
20679
|
exports.PostSpecVisibleEnum = PostSpecVisibleEnum;
|
|
20383
20680
|
exports.SecurityHaloRunV1alpha1PersonalAccessTokenApi = SecurityHaloRunV1alpha1PersonalAccessTokenApi;
|