Skip to content

Commit

Permalink
Generated version 0.19.0
Browse files Browse the repository at this point in the history
This commit was automatically created by a GitHub Action to generate version 0.19.0 of this library.
  • Loading branch information
devexperience committed Aug 17, 2023
1 parent eabe812 commit b95e7b1
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 9 deletions.
28 changes: 21 additions & 7 deletions api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2728,6 +2728,12 @@ export interface MemberCreateRequestBody {
* @memberof MemberCreateRequestBody
*/
'client_redirect_url'?: string;
/**
*
* @type {boolean}
* @memberof MemberCreateRequestBody
*/
'enable_app2app'?: boolean;
/**
*
* @type {MemberCreateRequest}
Expand Down Expand Up @@ -8494,13 +8500,14 @@ export const MxPlatformApiAxiosParamCreator = function (configuration?: Configur
* @param {string} memberGuid The unique id for a `member`.
* @param {string} userGuid The unique id for a `user`.
* @param {string} [clientRedirectUrl] A URL that MX will redirect to at the end of OAuth with additional query parameters. Only available with `referral_source=APP`.
* @param {string} [enableApp2app] This indicates whether OAuth app2app behavior is enabled for institutions that support it. Defaults to `true`. This setting is not persistent.
* @param {string} [referralSource] Must be either `BROWSER` or `APP` depending on the implementation. Defaults to `BROWSER`.
* @param {boolean} [skipAggregation] Setting this parameter to `true` will prevent the member from automatically aggregating after being redirected from the authorization page.
* @param {string} [uiMessageWebviewUrlScheme] A scheme for routing the user back to the application state they were previously in. Only available with `referral_source=APP`.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
requestOAuthWindowURI: async (memberGuid: string, userGuid: string, clientRedirectUrl?: string, referralSource?: string, skipAggregation?: boolean, uiMessageWebviewUrlScheme?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
requestOAuthWindowURI: async (memberGuid: string, userGuid: string, clientRedirectUrl?: string, enableApp2app?: string, referralSource?: string, skipAggregation?: boolean, uiMessageWebviewUrlScheme?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'memberGuid' is not null or undefined
assertParamExists('requestOAuthWindowURI', 'memberGuid', memberGuid)
// verify required parameter 'userGuid' is not null or undefined
Expand All @@ -8527,6 +8534,10 @@ export const MxPlatformApiAxiosParamCreator = function (configuration?: Configur
localVarQueryParameter['client_redirect_url'] = clientRedirectUrl;
}

if (enableApp2app !== undefined) {
localVarQueryParameter['enable_app2app'] = enableApp2app;
}

if (referralSource !== undefined) {
localVarQueryParameter['referral_source'] = referralSource;
}
Expand Down Expand Up @@ -10324,14 +10335,15 @@ export const MxPlatformApiFp = function(configuration?: Configuration) {
* @param {string} memberGuid The unique id for a &#x60;member&#x60;.
* @param {string} userGuid The unique id for a &#x60;user&#x60;.
* @param {string} [clientRedirectUrl] A URL that MX will redirect to at the end of OAuth with additional query parameters. Only available with &#x60;referral_source&#x3D;APP&#x60;.
* @param {string} [enableApp2app] This indicates whether OAuth app2app behavior is enabled for institutions that support it. Defaults to &#x60;true&#x60;. This setting is not persistent.
* @param {string} [referralSource] Must be either &#x60;BROWSER&#x60; or &#x60;APP&#x60; depending on the implementation. Defaults to &#x60;BROWSER&#x60;.
* @param {boolean} [skipAggregation] Setting this parameter to &#x60;true&#x60; will prevent the member from automatically aggregating after being redirected from the authorization page.
* @param {string} [uiMessageWebviewUrlScheme] A scheme for routing the user back to the application state they were previously in. Only available with &#x60;referral_source&#x3D;APP&#x60;.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async requestOAuthWindowURI(memberGuid: string, userGuid: string, clientRedirectUrl?: string, referralSource?: string, skipAggregation?: boolean, uiMessageWebviewUrlScheme?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OAuthWindowResponseBody>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.requestOAuthWindowURI(memberGuid, userGuid, clientRedirectUrl, referralSource, skipAggregation, uiMessageWebviewUrlScheme, options);
async requestOAuthWindowURI(memberGuid: string, userGuid: string, clientRedirectUrl?: string, enableApp2app?: string, referralSource?: string, skipAggregation?: boolean, uiMessageWebviewUrlScheme?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OAuthWindowResponseBody>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.requestOAuthWindowURI(memberGuid, userGuid, clientRedirectUrl, enableApp2app, referralSource, skipAggregation, uiMessageWebviewUrlScheme, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
/**
Expand Down Expand Up @@ -11529,14 +11541,15 @@ export const MxPlatformApiFactory = function (configuration?: Configuration, bas
* @param {string} memberGuid The unique id for a &#x60;member&#x60;.
* @param {string} userGuid The unique id for a &#x60;user&#x60;.
* @param {string} [clientRedirectUrl] A URL that MX will redirect to at the end of OAuth with additional query parameters. Only available with &#x60;referral_source&#x3D;APP&#x60;.
* @param {string} [enableApp2app] This indicates whether OAuth app2app behavior is enabled for institutions that support it. Defaults to &#x60;true&#x60;. This setting is not persistent.
* @param {string} [referralSource] Must be either &#x60;BROWSER&#x60; or &#x60;APP&#x60; depending on the implementation. Defaults to &#x60;BROWSER&#x60;.
* @param {boolean} [skipAggregation] Setting this parameter to &#x60;true&#x60; will prevent the member from automatically aggregating after being redirected from the authorization page.
* @param {string} [uiMessageWebviewUrlScheme] A scheme for routing the user back to the application state they were previously in. Only available with &#x60;referral_source&#x3D;APP&#x60;.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
requestOAuthWindowURI(memberGuid: string, userGuid: string, clientRedirectUrl?: string, referralSource?: string, skipAggregation?: boolean, uiMessageWebviewUrlScheme?: string, options?: any): AxiosPromise<OAuthWindowResponseBody> {
return localVarFp.requestOAuthWindowURI(memberGuid, userGuid, clientRedirectUrl, referralSource, skipAggregation, uiMessageWebviewUrlScheme, options).then((request) => request(axios, basePath));
requestOAuthWindowURI(memberGuid: string, userGuid: string, clientRedirectUrl?: string, enableApp2app?: string, referralSource?: string, skipAggregation?: boolean, uiMessageWebviewUrlScheme?: string, options?: any): AxiosPromise<OAuthWindowResponseBody> {
return localVarFp.requestOAuthWindowURI(memberGuid, userGuid, clientRedirectUrl, enableApp2app, referralSource, skipAggregation, uiMessageWebviewUrlScheme, options).then((request) => request(axios, basePath));
},
/**
* This endpoint allows partners to get a URL by passing the `widget_type` in the request body, as well as configuring it in several different ways. In the case of Connect, that means setting the `widget_type` to `connect_widget`. Partners may also pass an optional `Accept-Language` header as well as a number of configuration options. Note that this is a `POST` request.
Expand Down Expand Up @@ -12887,15 +12900,16 @@ export class MxPlatformApi extends BaseAPI {
* @param {string} memberGuid The unique id for a &#x60;member&#x60;.
* @param {string} userGuid The unique id for a &#x60;user&#x60;.
* @param {string} [clientRedirectUrl] A URL that MX will redirect to at the end of OAuth with additional query parameters. Only available with &#x60;referral_source&#x3D;APP&#x60;.
* @param {string} [enableApp2app] This indicates whether OAuth app2app behavior is enabled for institutions that support it. Defaults to &#x60;true&#x60;. This setting is not persistent.
* @param {string} [referralSource] Must be either &#x60;BROWSER&#x60; or &#x60;APP&#x60; depending on the implementation. Defaults to &#x60;BROWSER&#x60;.
* @param {boolean} [skipAggregation] Setting this parameter to &#x60;true&#x60; will prevent the member from automatically aggregating after being redirected from the authorization page.
* @param {string} [uiMessageWebviewUrlScheme] A scheme for routing the user back to the application state they were previously in. Only available with &#x60;referral_source&#x3D;APP&#x60;.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof MxPlatformApi
*/
public requestOAuthWindowURI(memberGuid: string, userGuid: string, clientRedirectUrl?: string, referralSource?: string, skipAggregation?: boolean, uiMessageWebviewUrlScheme?: string, options?: AxiosRequestConfig) {
return MxPlatformApiFp(this.configuration).requestOAuthWindowURI(memberGuid, userGuid, clientRedirectUrl, referralSource, skipAggregation, uiMessageWebviewUrlScheme, options).then((request) => request(this.axios, this.basePath));
public requestOAuthWindowURI(memberGuid: string, userGuid: string, clientRedirectUrl?: string, enableApp2app?: string, referralSource?: string, skipAggregation?: boolean, uiMessageWebviewUrlScheme?: string, options?: AxiosRequestConfig) {
return MxPlatformApiFp(this.configuration).requestOAuthWindowURI(memberGuid, userGuid, clientRedirectUrl, enableApp2app, referralSource, skipAggregation, uiMessageWebviewUrlScheme, options).then((request) => request(this.axios, this.basePath));
}

/**
Expand Down
2 changes: 1 addition & 1 deletion openapi/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
npmName: mx-platform-node
npmVersion: 0.18.0
npmVersion: 0.19.0
supportsES6: true
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mx-platform-node",
"version": "0.18.0",
"version": "0.19.0",
"description": "A Node library for the MX Platform API.",
"author": "MX",
"keywords": [
Expand Down

0 comments on commit b95e7b1

Please sign in to comment.