@@ -1408,12 +1408,6 @@ export interface IdentifierVerifyFinishReq {
14081408 * @memberof IdentifierVerifyFinishReq
14091409 */
14101410 'verificationType' : VerificationMethod ;
1411- /**
1412- *
1413- * @type {boolean }
1414- * @memberof IdentifierVerifyFinishReq
1415- */
1416- 'isNewDevice' : boolean ;
14171411}
14181412
14191413
@@ -2248,6 +2242,25 @@ export interface ProcessCommon {
22482242 */
22492243 'environment' : string ;
22502244}
2245+ /**
2246+ *
2247+ * @export
2248+ * @interface ProcessConfigRsp
2249+ */
2250+ export interface ProcessConfigRsp {
2251+ /**
2252+ *
2253+ * @type {boolean }
2254+ * @memberof ProcessConfigRsp
2255+ */
2256+ 'useServerSideProcessId' : boolean ;
2257+ /**
2258+ *
2259+ * @type {string }
2260+ * @memberof ProcessConfigRsp
2261+ */
2262+ 'frontendApiUrl' : string ;
2263+ }
22512264/**
22522265 * tbd.
22532266 * @export
@@ -4206,6 +4219,43 @@ export class AuthApi extends BaseAPI {
42064219 */
42074220export const ConfigsApiAxiosParamCreator = function ( configuration ?: Configuration ) {
42084221 return {
4222+ /**
4223+ * Retrieves the process configuration settings.
4224+ * @summary Retrieve process configuration
4225+ * @param {* } [options] Override http request option.
4226+ * @throws {RequiredError }
4227+ */
4228+ getProcessConfig : async ( options : AxiosRequestConfig = { } ) : Promise < RequestArgs > => {
4229+ const localVarPath = `/v2/process-config` ;
4230+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4231+ const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ;
4232+ let baseOptions ;
4233+ if ( configuration ) {
4234+ baseOptions = configuration . baseOptions ;
4235+ }
4236+
4237+ const localVarRequestOptions = { method : 'GET' , ...baseOptions , ...options } ;
4238+ const localVarHeaderParameter = { } as any ;
4239+ const localVarQueryParameter = { } as any ;
4240+
4241+ // authentication bearerAuth required
4242+ // http bearer authentication required
4243+ await setBearerAuthToObject ( localVarHeaderParameter , configuration )
4244+
4245+ // authentication projectID required
4246+ await setApiKeyToObject ( localVarHeaderParameter , "X-Corbado-ProjectID" , configuration )
4247+
4248+
4249+
4250+ setSearchParams ( localVarUrlObj , localVarQueryParameter ) ;
4251+ let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ;
4252+ localVarRequestOptions . headers = { ...localVarHeaderParameter , ...headersFromBaseOptions , ...options . headers } ;
4253+
4254+ return {
4255+ url : toPathString ( localVarUrlObj ) ,
4256+ options : localVarRequestOptions ,
4257+ } ;
4258+ } ,
42094259 /**
42104260 * Retrieves the session configuration settings.
42114261 * @summary Retrieve session configuration
@@ -4290,6 +4340,16 @@ export const ConfigsApiAxiosParamCreator = function (configuration?: Configurati
42904340export const ConfigsApiFp = function ( configuration ?: Configuration ) {
42914341 const localVarAxiosParamCreator = ConfigsApiAxiosParamCreator ( configuration )
42924342 return {
4343+ /**
4344+ * Retrieves the process configuration settings.
4345+ * @summary Retrieve process configuration
4346+ * @param {* } [options] Override http request option.
4347+ * @throws {RequiredError }
4348+ */
4349+ async getProcessConfig ( options ?: AxiosRequestConfig ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < ProcessConfigRsp > > {
4350+ const localVarAxiosArgs = await localVarAxiosParamCreator . getProcessConfig ( options ) ;
4351+ return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ;
4352+ } ,
42934353 /**
42944354 * Retrieves the session configuration settings.
42954355 * @summary Retrieve session configuration
@@ -4320,6 +4380,15 @@ export const ConfigsApiFp = function(configuration?: Configuration) {
43204380export const ConfigsApiFactory = function ( configuration ?: Configuration , basePath ?: string , axios ?: AxiosInstance ) {
43214381 const localVarFp = ConfigsApiFp ( configuration )
43224382 return {
4383+ /**
4384+ * Retrieves the process configuration settings.
4385+ * @summary Retrieve process configuration
4386+ * @param {* } [options] Override http request option.
4387+ * @throws {RequiredError }
4388+ */
4389+ getProcessConfig ( options ?: any ) : AxiosPromise < ProcessConfigRsp > {
4390+ return localVarFp . getProcessConfig ( options ) . then ( ( request ) => request ( axios , basePath ) ) ;
4391+ } ,
43234392 /**
43244393 * Retrieves the session configuration settings.
43254394 * @summary Retrieve session configuration
@@ -4348,6 +4417,17 @@ export const ConfigsApiFactory = function (configuration?: Configuration, basePa
43484417 * @extends {BaseAPI }
43494418 */
43504419export class ConfigsApi extends BaseAPI {
4420+ /**
4421+ * Retrieves the process configuration settings.
4422+ * @summary Retrieve process configuration
4423+ * @param {* } [options] Override http request option.
4424+ * @throws {RequiredError }
4425+ * @memberof ConfigsApi
4426+ */
4427+ public getProcessConfig ( options ?: AxiosRequestConfig ) {
4428+ return ConfigsApiFp ( this . configuration ) . getProcessConfig ( options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
4429+ }
4430+
43514431 /**
43524432 * Retrieves the session configuration settings.
43534433 * @summary Retrieve session configuration
0 commit comments