Skip to content

Commit 792f1d2

Browse files
author
devexperience
committed
Generated version 1.6.0
This commit was automatically created by a GitHub Action to generate version 1.6.0 of this library.
1 parent 83b3aae commit 792f1d2

File tree

3 files changed

+29
-13
lines changed

3 files changed

+29
-13
lines changed

api.ts

Lines changed: 27 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,16 +1009,16 @@ export interface AccountResponse {
10091009
'payoff_balance_set_by'?: number | null;
10101010
/**
10111011
*
1012-
* @type {string}
1012+
* @type {number}
10131013
* @memberof AccountResponse
10141014
*/
1015-
'premium_amount'?: string | null;
1015+
'premium_amount'?: number | null;
10161016
/**
10171017
*
1018-
* @type {number}
1018+
* @type {string}
10191019
* @memberof AccountResponse
10201020
*/
1021-
'property_type'?: number | null;
1021+
'property_type'?: string | null;
10221022
/**
10231023
*
10241024
* @type {string}
@@ -9675,10 +9675,12 @@ export const MxPlatformApiAxiosParamCreator = function (configuration?: Configur
96759675
* @summary Aggregate member
96769676
* @param {string} memberGuid The unique id for a `member`.
96779677
* @param {string} userGuid The unique id for a `user`.
9678+
* @param {boolean} [includeHoldings] When set to `false`, the aggregation will not gather holdings data. Defaults to `true`.
9679+
* @param {boolean} [includeTransactions] When set to `false`, the aggregation will not gather transactions data. Defaults to `true`.
96789680
* @param {*} [options] Override http request option.
96799681
* @throws {RequiredError}
96809682
*/
9681-
aggregateMember: async (memberGuid: string, userGuid: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9683+
aggregateMember: async (memberGuid: string, userGuid: string, includeHoldings?: boolean, includeTransactions?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
96829684
// verify required parameter 'memberGuid' is not null or undefined
96839685
assertParamExists('aggregateMember', 'memberGuid', memberGuid)
96849686
// verify required parameter 'userGuid' is not null or undefined
@@ -9701,6 +9703,14 @@ export const MxPlatformApiAxiosParamCreator = function (configuration?: Configur
97019703
// http basic authentication required
97029704
setBasicAuthToObject(localVarRequestOptions, configuration)
97039705

9706+
if (includeHoldings !== undefined) {
9707+
localVarQueryParameter['include_holdings'] = includeHoldings;
9708+
}
9709+
9710+
if (includeTransactions !== undefined) {
9711+
localVarQueryParameter['include_transactions'] = includeTransactions;
9712+
}
9713+
97049714

97059715

97069716
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -14698,11 +14708,13 @@ export const MxPlatformApiFp = function(configuration?: Configuration) {
1469814708
* @summary Aggregate member
1469914709
* @param {string} memberGuid The unique id for a &#x60;member&#x60;.
1470014710
* @param {string} userGuid The unique id for a &#x60;user&#x60;.
14711+
* @param {boolean} [includeHoldings] When set to &#x60;false&#x60;, the aggregation will not gather holdings data. Defaults to &#x60;true&#x60;.
14712+
* @param {boolean} [includeTransactions] When set to &#x60;false&#x60;, the aggregation will not gather transactions data. Defaults to &#x60;true&#x60;.
1470114713
* @param {*} [options] Override http request option.
1470214714
* @throws {RequiredError}
1470314715
*/
14704-
async aggregateMember(memberGuid: string, userGuid: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MemberResponseBody>> {
14705-
const localVarAxiosArgs = await localVarAxiosParamCreator.aggregateMember(memberGuid, userGuid, options);
14716+
async aggregateMember(memberGuid: string, userGuid: string, includeHoldings?: boolean, includeTransactions?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MemberResponseBody>> {
14717+
const localVarAxiosArgs = await localVarAxiosParamCreator.aggregateMember(memberGuid, userGuid, includeHoldings, includeTransactions, options);
1470614718
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1470714719
},
1470814720
/**
@@ -16084,11 +16096,13 @@ export const MxPlatformApiFactory = function (configuration?: Configuration, bas
1608416096
* @summary Aggregate member
1608516097
* @param {string} memberGuid The unique id for a &#x60;member&#x60;.
1608616098
* @param {string} userGuid The unique id for a &#x60;user&#x60;.
16099+
* @param {boolean} [includeHoldings] When set to &#x60;false&#x60;, the aggregation will not gather holdings data. Defaults to &#x60;true&#x60;.
16100+
* @param {boolean} [includeTransactions] When set to &#x60;false&#x60;, the aggregation will not gather transactions data. Defaults to &#x60;true&#x60;.
1608716101
* @param {*} [options] Override http request option.
1608816102
* @throws {RequiredError}
1608916103
*/
16090-
aggregateMember(memberGuid: string, userGuid: string, options?: any): AxiosPromise<MemberResponseBody> {
16091-
return localVarFp.aggregateMember(memberGuid, userGuid, options).then((request) => request(axios, basePath));
16104+
aggregateMember(memberGuid: string, userGuid: string, includeHoldings?: boolean, includeTransactions?: boolean, options?: any): AxiosPromise<MemberResponseBody> {
16105+
return localVarFp.aggregateMember(memberGuid, userGuid, includeHoldings, includeTransactions, options).then((request) => request(axios, basePath));
1609216106
},
1609316107
/**
1609416108
* This endpoint operates much like the aggregate member endpoint except that it gathers only account balance information; it does not gather any transaction data.
@@ -17363,12 +17377,14 @@ export class MxPlatformApi extends BaseAPI {
1736317377
* @summary Aggregate member
1736417378
* @param {string} memberGuid The unique id for a &#x60;member&#x60;.
1736517379
* @param {string} userGuid The unique id for a &#x60;user&#x60;.
17380+
* @param {boolean} [includeHoldings] When set to &#x60;false&#x60;, the aggregation will not gather holdings data. Defaults to &#x60;true&#x60;.
17381+
* @param {boolean} [includeTransactions] When set to &#x60;false&#x60;, the aggregation will not gather transactions data. Defaults to &#x60;true&#x60;.
1736617382
* @param {*} [options] Override http request option.
1736717383
* @throws {RequiredError}
1736817384
* @memberof MxPlatformApi
1736917385
*/
17370-
public aggregateMember(memberGuid: string, userGuid: string, options?: AxiosRequestConfig) {
17371-
return MxPlatformApiFp(this.configuration).aggregateMember(memberGuid, userGuid, options).then((request) => request(this.axios, this.basePath));
17386+
public aggregateMember(memberGuid: string, userGuid: string, includeHoldings?: boolean, includeTransactions?: boolean, options?: AxiosRequestConfig) {
17387+
return MxPlatformApiFp(this.configuration).aggregateMember(memberGuid, userGuid, includeHoldings, includeTransactions, options).then((request) => request(this.axios, this.basePath));
1737217388
}
1737317389

1737417390
/**

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

0 commit comments

Comments
 (0)