Skip to content

Commit b95e7b1

Browse files
author
devexperience
committed
Generated version 0.19.0
This commit was automatically created by a GitHub Action to generate version 0.19.0 of this library.
1 parent eabe812 commit b95e7b1

3 files changed

Lines changed: 23 additions & 9 deletions

File tree

api.ts

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2728,6 +2728,12 @@ export interface MemberCreateRequestBody {
27282728
* @memberof MemberCreateRequestBody
27292729
*/
27302730
'client_redirect_url'?: string;
2731+
/**
2732+
*
2733+
* @type {boolean}
2734+
* @memberof MemberCreateRequestBody
2735+
*/
2736+
'enable_app2app'?: boolean;
27312737
/**
27322738
*
27332739
* @type {MemberCreateRequest}
@@ -8494,13 +8500,14 @@ export const MxPlatformApiAxiosParamCreator = function (configuration?: Configur
84948500
* @param {string} memberGuid The unique id for a `member`.
84958501
* @param {string} userGuid The unique id for a `user`.
84968502
* @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`.
8503+
* @param {string} [enableApp2app] This indicates whether OAuth app2app behavior is enabled for institutions that support it. Defaults to `true`. This setting is not persistent.
84978504
* @param {string} [referralSource] Must be either `BROWSER` or `APP` depending on the implementation. Defaults to `BROWSER`.
84988505
* @param {boolean} [skipAggregation] Setting this parameter to `true` will prevent the member from automatically aggregating after being redirected from the authorization page.
84998506
* @param {string} [uiMessageWebviewUrlScheme] A scheme for routing the user back to the application state they were previously in. Only available with `referral_source=APP`.
85008507
* @param {*} [options] Override http request option.
85018508
* @throws {RequiredError}
85028509
*/
8503-
requestOAuthWindowURI: async (memberGuid: string, userGuid: string, clientRedirectUrl?: string, referralSource?: string, skipAggregation?: boolean, uiMessageWebviewUrlScheme?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8510+
requestOAuthWindowURI: async (memberGuid: string, userGuid: string, clientRedirectUrl?: string, enableApp2app?: string, referralSource?: string, skipAggregation?: boolean, uiMessageWebviewUrlScheme?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
85048511
// verify required parameter 'memberGuid' is not null or undefined
85058512
assertParamExists('requestOAuthWindowURI', 'memberGuid', memberGuid)
85068513
// verify required parameter 'userGuid' is not null or undefined
@@ -8527,6 +8534,10 @@ export const MxPlatformApiAxiosParamCreator = function (configuration?: Configur
85278534
localVarQueryParameter['client_redirect_url'] = clientRedirectUrl;
85288535
}
85298536

8537+
if (enableApp2app !== undefined) {
8538+
localVarQueryParameter['enable_app2app'] = enableApp2app;
8539+
}
8540+
85308541
if (referralSource !== undefined) {
85318542
localVarQueryParameter['referral_source'] = referralSource;
85328543
}
@@ -10324,14 +10335,15 @@ export const MxPlatformApiFp = function(configuration?: Configuration) {
1032410335
* @param {string} memberGuid The unique id for a &#x60;member&#x60;.
1032510336
* @param {string} userGuid The unique id for a &#x60;user&#x60;.
1032610337
* @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;.
10338+
* @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.
1032710339
* @param {string} [referralSource] Must be either &#x60;BROWSER&#x60; or &#x60;APP&#x60; depending on the implementation. Defaults to &#x60;BROWSER&#x60;.
1032810340
* @param {boolean} [skipAggregation] Setting this parameter to &#x60;true&#x60; will prevent the member from automatically aggregating after being redirected from the authorization page.
1032910341
* @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;.
1033010342
* @param {*} [options] Override http request option.
1033110343
* @throws {RequiredError}
1033210344
*/
10333-
async requestOAuthWindowURI(memberGuid: string, userGuid: string, clientRedirectUrl?: string, referralSource?: string, skipAggregation?: boolean, uiMessageWebviewUrlScheme?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OAuthWindowResponseBody>> {
10334-
const localVarAxiosArgs = await localVarAxiosParamCreator.requestOAuthWindowURI(memberGuid, userGuid, clientRedirectUrl, referralSource, skipAggregation, uiMessageWebviewUrlScheme, options);
10345+
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>> {
10346+
const localVarAxiosArgs = await localVarAxiosParamCreator.requestOAuthWindowURI(memberGuid, userGuid, clientRedirectUrl, enableApp2app, referralSource, skipAggregation, uiMessageWebviewUrlScheme, options);
1033510347
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1033610348
},
1033710349
/**
@@ -11529,14 +11541,15 @@ export const MxPlatformApiFactory = function (configuration?: Configuration, bas
1152911541
* @param {string} memberGuid The unique id for a &#x60;member&#x60;.
1153011542
* @param {string} userGuid The unique id for a &#x60;user&#x60;.
1153111543
* @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;.
11544+
* @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.
1153211545
* @param {string} [referralSource] Must be either &#x60;BROWSER&#x60; or &#x60;APP&#x60; depending on the implementation. Defaults to &#x60;BROWSER&#x60;.
1153311546
* @param {boolean} [skipAggregation] Setting this parameter to &#x60;true&#x60; will prevent the member from automatically aggregating after being redirected from the authorization page.
1153411547
* @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;.
1153511548
* @param {*} [options] Override http request option.
1153611549
* @throws {RequiredError}
1153711550
*/
11538-
requestOAuthWindowURI(memberGuid: string, userGuid: string, clientRedirectUrl?: string, referralSource?: string, skipAggregation?: boolean, uiMessageWebviewUrlScheme?: string, options?: any): AxiosPromise<OAuthWindowResponseBody> {
11539-
return localVarFp.requestOAuthWindowURI(memberGuid, userGuid, clientRedirectUrl, referralSource, skipAggregation, uiMessageWebviewUrlScheme, options).then((request) => request(axios, basePath));
11551+
requestOAuthWindowURI(memberGuid: string, userGuid: string, clientRedirectUrl?: string, enableApp2app?: string, referralSource?: string, skipAggregation?: boolean, uiMessageWebviewUrlScheme?: string, options?: any): AxiosPromise<OAuthWindowResponseBody> {
11552+
return localVarFp.requestOAuthWindowURI(memberGuid, userGuid, clientRedirectUrl, enableApp2app, referralSource, skipAggregation, uiMessageWebviewUrlScheme, options).then((request) => request(axios, basePath));
1154011553
},
1154111554
/**
1154211555
* 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.
@@ -12887,15 +12900,16 @@ export class MxPlatformApi extends BaseAPI {
1288712900
* @param {string} memberGuid The unique id for a &#x60;member&#x60;.
1288812901
* @param {string} userGuid The unique id for a &#x60;user&#x60;.
1288912902
* @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;.
12903+
* @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.
1289012904
* @param {string} [referralSource] Must be either &#x60;BROWSER&#x60; or &#x60;APP&#x60; depending on the implementation. Defaults to &#x60;BROWSER&#x60;.
1289112905
* @param {boolean} [skipAggregation] Setting this parameter to &#x60;true&#x60; will prevent the member from automatically aggregating after being redirected from the authorization page.
1289212906
* @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;.
1289312907
* @param {*} [options] Override http request option.
1289412908
* @throws {RequiredError}
1289512909
* @memberof MxPlatformApi
1289612910
*/
12897-
public requestOAuthWindowURI(memberGuid: string, userGuid: string, clientRedirectUrl?: string, referralSource?: string, skipAggregation?: boolean, uiMessageWebviewUrlScheme?: string, options?: AxiosRequestConfig) {
12898-
return MxPlatformApiFp(this.configuration).requestOAuthWindowURI(memberGuid, userGuid, clientRedirectUrl, referralSource, skipAggregation, uiMessageWebviewUrlScheme, options).then((request) => request(this.axios, this.basePath));
12911+
public requestOAuthWindowURI(memberGuid: string, userGuid: string, clientRedirectUrl?: string, enableApp2app?: string, referralSource?: string, skipAggregation?: boolean, uiMessageWebviewUrlScheme?: string, options?: AxiosRequestConfig) {
12912+
return MxPlatformApiFp(this.configuration).requestOAuthWindowURI(memberGuid, userGuid, clientRedirectUrl, enableApp2app, referralSource, skipAggregation, uiMessageWebviewUrlScheme, options).then((request) => request(this.axios, this.basePath));
1289912913
}
1290012914

1290112915
/**

openapi/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
npmName: mx-platform-node
3-
npmVersion: 0.18.0
3+
npmVersion: 0.19.0
44
supportsES6: true

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mx-platform-node",
3-
"version": "0.18.0",
3+
"version": "0.19.0",
44
"description": "A Node library for the MX Platform API.",
55
"author": "MX",
66
"keywords": [

0 commit comments

Comments
 (0)