@@ -1019,7 +1019,7 @@ export interface SolutionViewModel {
10191019 * @type {string }
10201020 * @memberof SolutionViewModel
10211021 */
1022- githubUrl : string ;
1022+ githubUrl ? : string ;
10231023 /**
10241024 *
10251025 * @type {string }
@@ -1738,6 +1738,41 @@ export const AccountApiFetchParamCreator = function (configuration?: Configurati
17381738 const needsSerialization = ( < any > "RegisterViewModel" !== "string" ) || localVarRequestOptions . headers [ 'Content-Type' ] === 'application/json' ;
17391739 localVarRequestOptions . body = needsSerialization ? JSON . stringify ( model || { } ) : ( model || "" ) ;
17401740
1741+ return {
1742+ url : url . format ( localVarUrlObj ) ,
1743+ options : localVarRequestOptions ,
1744+ } ;
1745+ } ,
1746+ /**
1747+ *
1748+ * @param {string } [email]
1749+ * @param {* } [options] Override http request option.
1750+ * @throws {RequiredError }
1751+ */
1752+ apiAccountResetPasswordPost ( email ?: string , options : any = { } ) : FetchArgs {
1753+ const localVarPath = `/api/Account/resetPassword` ;
1754+ const localVarUrlObj = url . parse ( localVarPath , true ) ;
1755+ const localVarRequestOptions = Object . assign ( { method : 'POST' } , options ) ;
1756+ const localVarHeaderParameter = { } as any ;
1757+ const localVarQueryParameter = { } as any ;
1758+
1759+ // authentication Bearer required
1760+ if ( configuration && configuration . apiKey ) {
1761+ const localVarApiKeyValue = typeof configuration . apiKey === 'function'
1762+ ? configuration . apiKey ( "Authorization" )
1763+ : configuration . apiKey ;
1764+ localVarHeaderParameter [ "Authorization" ] = localVarApiKeyValue ;
1765+ }
1766+
1767+ localVarHeaderParameter [ 'Content-Type' ] = 'application/json-patch+json' ;
1768+
1769+ localVarUrlObj . query = Object . assign ( { } , localVarUrlObj . query , localVarQueryParameter , options . query ) ;
1770+ // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
1771+ delete localVarUrlObj . search ;
1772+ localVarRequestOptions . headers = Object . assign ( { } , localVarHeaderParameter , options . headers ) ;
1773+ const needsSerialization = ( < any > "string" !== "string" ) || localVarRequestOptions . headers [ 'Content-Type' ] === 'application/json' ;
1774+ localVarRequestOptions . body = needsSerialization ? JSON . stringify ( email || { } ) : ( email || "" ) ;
1775+
17411776 return {
17421777 url : url . format ( localVarUrlObj ) ,
17431778 options : localVarRequestOptions ,
@@ -1912,6 +1947,24 @@ export const AccountApiFp = function(configuration?: Configuration) {
19121947 } ) ;
19131948 } ;
19141949 } ,
1950+ /**
1951+ *
1952+ * @param {string } [email]
1953+ * @param {* } [options] Override http request option.
1954+ * @throws {RequiredError }
1955+ */
1956+ apiAccountResetPasswordPost ( email ?: string , options ?: any ) : ( fetch ?: FetchAPI , basePath ?: string ) => Promise < string > {
1957+ const localVarFetchArgs = AccountApiFetchParamCreator ( configuration ) . apiAccountResetPasswordPost ( email , options ) ;
1958+ return ( fetch : FetchAPI = portableFetch , basePath : string = BASE_PATH ) => {
1959+ return fetch ( basePath + localVarFetchArgs . url , localVarFetchArgs . options ) . then ( ( response ) => {
1960+ if ( response . status >= 200 && response . status < 300 ) {
1961+ return response . json ( ) ;
1962+ } else {
1963+ throw response ;
1964+ }
1965+ } ) ;
1966+ } ;
1967+ } ,
19151968 }
19161969} ;
19171970
@@ -2000,6 +2053,15 @@ export const AccountApiFactory = function (configuration?: Configuration, fetch?
20002053 apiAccountRegisterPost ( model ?: RegisterViewModel , options ?: any ) {
20012054 return AccountApiFp ( configuration ) . apiAccountRegisterPost ( model , options ) ( fetch , basePath ) ;
20022055 } ,
2056+ /**
2057+ *
2058+ * @param {string } [email]
2059+ * @param {* } [options] Override http request option.
2060+ * @throws {RequiredError }
2061+ */
2062+ apiAccountResetPasswordPost ( email ?: string , options ?: any ) {
2063+ return AccountApiFp ( configuration ) . apiAccountResetPasswordPost ( email , options ) ( fetch , basePath ) ;
2064+ } ,
20032065 } ;
20042066} ;
20052067
@@ -2107,6 +2169,17 @@ export class AccountApi extends BaseAPI {
21072169 return AccountApiFp ( this . configuration ) . apiAccountRegisterPost ( model , options ) ( this . fetch , this . basePath ) ;
21082170 }
21092171
2172+ /**
2173+ *
2174+ * @param {string } [email]
2175+ * @param {* } [options] Override http request option.
2176+ * @throws {RequiredError }
2177+ * @memberof AccountApi
2178+ */
2179+ public apiAccountResetPasswordPost ( email ?: string , options ?: any ) {
2180+ return AccountApiFp ( this . configuration ) . apiAccountResetPasswordPost ( email , options ) ( this . fetch , this . basePath ) ;
2181+ }
2182+
21102183}
21112184
21122185/**
0 commit comments