Skip to content

Commit 6c4d643

Browse files
authored
Merge pull request #36 from mxenabled/openapi-generator-0.11.2
Generated version 0.11.2
2 parents b2e7484 + 40457b7 commit 6c4d643

3 files changed

Lines changed: 45 additions & 25 deletions

File tree

api.ts

Lines changed: 43 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,12 @@ export interface ChallengesResponseBody {
771771
* @interface ConnectWidgetRequest
772772
*/
773773
export interface ConnectWidgetRequest {
774+
/**
775+
*
776+
* @type {string}
777+
* @memberof ConnectWidgetRequest
778+
*/
779+
'client_redirect_url'?: string;
774780
/**
775781
*
776782
* @type {string}
@@ -831,12 +837,6 @@ export interface ConnectWidgetRequest {
831837
* @memberof ConnectWidgetRequest
832838
*/
833839
'update_credentials'?: boolean;
834-
/**
835-
*
836-
* @type {boolean}
837-
* @memberof ConnectWidgetRequest
838-
*/
839-
'wait_for_full_aggregation'?: boolean;
840840
}
841841
/**
842842
*
@@ -1244,6 +1244,12 @@ export interface HoldingResponse {
12441244
* @memberof HoldingResponse
12451245
*/
12461246
'holding_type'?: string | null;
1247+
/**
1248+
*
1249+
* @type {number}
1250+
* @memberof HoldingResponse
1251+
*/
1252+
'holding_type_id'?: number | null;
12471253
/**
12481254
*
12491255
* @type {string}
@@ -2247,6 +2253,12 @@ export interface MemberCreateRequest {
22472253
* @memberof MemberCreateRequest
22482254
*/
22492255
'background_aggregation_is_disabled'?: boolean;
2256+
/**
2257+
*
2258+
* @type {string}
2259+
* @memberof MemberCreateRequest
2260+
*/
2261+
'client_redirect_url'?: string;
22502262
/**
22512263
*
22522264
* @type {Array<CredentialRequest>}
@@ -3797,6 +3809,12 @@ export interface UsersResponseBody {
37973809
* @interface WidgetRequest
37983810
*/
37993811
export interface WidgetRequest {
3812+
/**
3813+
*
3814+
* @type {string}
3815+
* @memberof WidgetRequest
3816+
*/
3817+
'client_redirect_url'?: string;
38003818
/**
38013819
*
38023820
* @type {string}
@@ -3863,12 +3881,6 @@ export interface WidgetRequest {
38633881
* @memberof WidgetRequest
38643882
*/
38653883
'update_credentials'?: boolean;
3866-
/**
3867-
*
3868-
* @type {boolean}
3869-
* @memberof WidgetRequest
3870-
*/
3871-
'wait_for_full_aggregation'?: boolean;
38723884
/**
38733885
*
38743886
* @type {string}
@@ -7388,13 +7400,14 @@ export const MxPlatformApiAxiosParamCreator = function (configuration?: Configur
73887400
* @summary Request oauth window uri
73897401
* @param {string} memberGuid The unique id for a &#x60;member&#x60;.
73907402
* @param {string} userGuid The unique id for a &#x60;user&#x60;.
7403+
* @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;.
73917404
* @param {string} [referralSource] Must be either &#x60;BROWSER&#x60; or &#x60;APP&#x60; depending on the implementation. Defaults to &#x60;BROWSER&#x60;.
73927405
* @param {boolean} [skipAggregation] Setting this parameter to &#x60;true&#x60; will prevent the member from automatically aggregating after being redirected from the authorization page.
7393-
* @param {string} [uiMessageWebviewUrlScheme] A scheme for routing the user back to the application state they were previously in.
7406+
* @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;.
73947407
* @param {*} [options] Override http request option.
73957408
* @throws {RequiredError}
73967409
*/
7397-
requestOAuthWindowURI: async (memberGuid: string, userGuid: string, referralSource?: string, skipAggregation?: boolean, uiMessageWebviewUrlScheme?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
7410+
requestOAuthWindowURI: async (memberGuid: string, userGuid: string, clientRedirectUrl?: string, referralSource?: string, skipAggregation?: boolean, uiMessageWebviewUrlScheme?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
73987411
// verify required parameter 'memberGuid' is not null or undefined
73997412
assertParamExists('requestOAuthWindowURI', 'memberGuid', memberGuid)
74007413
// verify required parameter 'userGuid' is not null or undefined
@@ -7417,6 +7430,10 @@ export const MxPlatformApiAxiosParamCreator = function (configuration?: Configur
74177430
// http basic authentication required
74187431
setBasicAuthToObject(localVarRequestOptions, configuration)
74197432

7433+
if (clientRedirectUrl !== undefined) {
7434+
localVarQueryParameter['client_redirect_url'] = clientRedirectUrl;
7435+
}
7436+
74207437
if (referralSource !== undefined) {
74217438
localVarQueryParameter['referral_source'] = referralSource;
74227439
}
@@ -9082,14 +9099,15 @@ export const MxPlatformApiFp = function(configuration?: Configuration) {
90829099
* @summary Request oauth window uri
90839100
* @param {string} memberGuid The unique id for a &#x60;member&#x60;.
90849101
* @param {string} userGuid The unique id for a &#x60;user&#x60;.
9102+
* @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;.
90859103
* @param {string} [referralSource] Must be either &#x60;BROWSER&#x60; or &#x60;APP&#x60; depending on the implementation. Defaults to &#x60;BROWSER&#x60;.
90869104
* @param {boolean} [skipAggregation] Setting this parameter to &#x60;true&#x60; will prevent the member from automatically aggregating after being redirected from the authorization page.
9087-
* @param {string} [uiMessageWebviewUrlScheme] A scheme for routing the user back to the application state they were previously in.
9105+
* @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;.
90889106
* @param {*} [options] Override http request option.
90899107
* @throws {RequiredError}
90909108
*/
9091-
async requestOAuthWindowURI(memberGuid: string, userGuid: string, referralSource?: string, skipAggregation?: boolean, uiMessageWebviewUrlScheme?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OAuthWindowResponseBody>> {
9092-
const localVarAxiosArgs = await localVarAxiosParamCreator.requestOAuthWindowURI(memberGuid, userGuid, referralSource, skipAggregation, uiMessageWebviewUrlScheme, options);
9109+
async requestOAuthWindowURI(memberGuid: string, userGuid: string, clientRedirectUrl?: string, referralSource?: string, skipAggregation?: boolean, uiMessageWebviewUrlScheme?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OAuthWindowResponseBody>> {
9110+
const localVarAxiosArgs = await localVarAxiosParamCreator.requestOAuthWindowURI(memberGuid, userGuid, clientRedirectUrl, referralSource, skipAggregation, uiMessageWebviewUrlScheme, options);
90939111
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
90949112
},
90959113
/**
@@ -10165,14 +10183,15 @@ export const MxPlatformApiFactory = function (configuration?: Configuration, bas
1016510183
* @summary Request oauth window uri
1016610184
* @param {string} memberGuid The unique id for a &#x60;member&#x60;.
1016710185
* @param {string} userGuid The unique id for a &#x60;user&#x60;.
10186+
* @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;.
1016810187
* @param {string} [referralSource] Must be either &#x60;BROWSER&#x60; or &#x60;APP&#x60; depending on the implementation. Defaults to &#x60;BROWSER&#x60;.
1016910188
* @param {boolean} [skipAggregation] Setting this parameter to &#x60;true&#x60; will prevent the member from automatically aggregating after being redirected from the authorization page.
10170-
* @param {string} [uiMessageWebviewUrlScheme] A scheme for routing the user back to the application state they were previously in.
10189+
* @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;.
1017110190
* @param {*} [options] Override http request option.
1017210191
* @throws {RequiredError}
1017310192
*/
10174-
requestOAuthWindowURI(memberGuid: string, userGuid: string, referralSource?: string, skipAggregation?: boolean, uiMessageWebviewUrlScheme?: string, options?: any): AxiosPromise<OAuthWindowResponseBody> {
10175-
return localVarFp.requestOAuthWindowURI(memberGuid, userGuid, referralSource, skipAggregation, uiMessageWebviewUrlScheme, options).then((request) => request(axios, basePath));
10193+
requestOAuthWindowURI(memberGuid: string, userGuid: string, clientRedirectUrl?: string, referralSource?: string, skipAggregation?: boolean, uiMessageWebviewUrlScheme?: string, options?: any): AxiosPromise<OAuthWindowResponseBody> {
10194+
return localVarFp.requestOAuthWindowURI(memberGuid, userGuid, clientRedirectUrl, referralSource, skipAggregation, uiMessageWebviewUrlScheme, options).then((request) => request(axios, basePath));
1017610195
},
1017710196
/**
1017810197
* 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.
@@ -11381,15 +11400,16 @@ export class MxPlatformApi extends BaseAPI {
1138111400
* @summary Request oauth window uri
1138211401
* @param {string} memberGuid The unique id for a &#x60;member&#x60;.
1138311402
* @param {string} userGuid The unique id for a &#x60;user&#x60;.
11403+
* @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;.
1138411404
* @param {string} [referralSource] Must be either &#x60;BROWSER&#x60; or &#x60;APP&#x60; depending on the implementation. Defaults to &#x60;BROWSER&#x60;.
1138511405
* @param {boolean} [skipAggregation] Setting this parameter to &#x60;true&#x60; will prevent the member from automatically aggregating after being redirected from the authorization page.
11386-
* @param {string} [uiMessageWebviewUrlScheme] A scheme for routing the user back to the application state they were previously in.
11406+
* @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;.
1138711407
* @param {*} [options] Override http request option.
1138811408
* @throws {RequiredError}
1138911409
* @memberof MxPlatformApi
1139011410
*/
11391-
public requestOAuthWindowURI(memberGuid: string, userGuid: string, referralSource?: string, skipAggregation?: boolean, uiMessageWebviewUrlScheme?: string, options?: AxiosRequestConfig) {
11392-
return MxPlatformApiFp(this.configuration).requestOAuthWindowURI(memberGuid, userGuid, referralSource, skipAggregation, uiMessageWebviewUrlScheme, options).then((request) => request(this.axios, this.basePath));
11411+
public requestOAuthWindowURI(memberGuid: string, userGuid: string, clientRedirectUrl?: string, referralSource?: string, skipAggregation?: boolean, uiMessageWebviewUrlScheme?: string, options?: AxiosRequestConfig) {
11412+
return MxPlatformApiFp(this.configuration).requestOAuthWindowURI(memberGuid, userGuid, clientRedirectUrl, referralSource, skipAggregation, uiMessageWebviewUrlScheme, options).then((request) => request(this.axios, this.basePath));
1139311413
}
1139411414

1139511415
/**

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.11.1
3+
npmVersion: 0.11.2
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.11.1",
3+
"version": "0.11.2",
44
"description": "A Node library for the MX Platform API.",
55
"author": "MX",
66
"keywords": [

0 commit comments

Comments
 (0)