From ee61c93062d270906adc0492163c430f22fb85cb Mon Sep 17 00:00:00 2001 From: devexperience Date: Thu, 16 Mar 2023 20:51:48 +0000 Subject: [PATCH] Generated version 0.12.0 This pull request was automatically generated by a GitHub Action to generate version 0.12.0 of this library. --- api.ts | 313 ++++++++++++++++++++++++++++++++++++++++++--- openapi/config.yml | 2 +- package.json | 2 +- 3 files changed, 295 insertions(+), 22 deletions(-) diff --git a/api.ts b/api.ts index 4f091d3..4be9d5c 100644 --- a/api.ts +++ b/api.ts @@ -57,6 +57,12 @@ export interface AccountNumberResponse { * @memberof AccountNumberResponse */ 'member_guid'?: string | null; + /** + * + * @type {boolean} + * @memberof AccountNumberResponse + */ + 'passed_validation'?: boolean | null; /** * * @type {string} @@ -131,12 +137,24 @@ export interface AccountOwnerResponse { * @memberof AccountOwnerResponse */ 'email'?: string | null; + /** + * + * @type {string} + * @memberof AccountOwnerResponse + */ + 'first_name'?: string | null; /** * * @type {string} * @memberof AccountOwnerResponse */ 'guid'?: string | null; + /** + * + * @type {string} + * @memberof AccountOwnerResponse + */ + 'last_name'?: string | null; /** * * @type {string} @@ -795,12 +813,24 @@ export interface ConnectWidgetRequest { * @memberof ConnectWidgetRequest */ 'current_member_guid'?: string; + /** + * + * @type {boolean} + * @memberof ConnectWidgetRequest + */ + 'disable_background_agg'?: boolean; /** * * @type {boolean} * @memberof ConnectWidgetRequest */ 'disable_institution_search'?: boolean; + /** + * + * @type {boolean} + * @memberof ConnectWidgetRequest + */ + 'include_identity'?: boolean; /** * * @type {boolean} @@ -819,6 +849,12 @@ export interface ConnectWidgetRequest { * @memberof ConnectWidgetRequest */ 'mode'?: string; + /** + * + * @type {string} + * @memberof ConnectWidgetRequest + */ + 'oauth_referral_source'?: string; /** * * @type {number} @@ -2253,12 +2289,6 @@ export interface MemberCreateRequest { * @memberof MemberCreateRequest */ 'background_aggregation_is_disabled'?: boolean; - /** - * - * @type {string} - * @memberof MemberCreateRequest - */ - 'client_redirect_url'?: string; /** * * @type {Array} @@ -2302,6 +2332,12 @@ export interface MemberCreateRequest { * @interface MemberCreateRequestBody */ export interface MemberCreateRequestBody { + /** + * + * @type {string} + * @memberof MemberCreateRequestBody + */ + 'client_redirect_url'?: string; /** * * @type {MemberCreateRequest} @@ -2333,6 +2369,12 @@ export interface MemberResponse { * @memberof MemberResponse */ 'aggregated_at'?: string | null; + /** + * + * @type {boolean} + * @memberof MemberResponse + */ + 'background_aggregation_is_disabled'?: boolean; /** * * @type {string} @@ -3845,6 +3887,12 @@ export interface WidgetRequest { * @memberof WidgetRequest */ 'disable_institution_search'?: boolean; + /** + * + * @type {boolean} + * @memberof WidgetRequest + */ + 'include_identity'?: boolean; /** * * @type {boolean} @@ -3863,6 +3911,12 @@ export interface WidgetRequest { * @memberof WidgetRequest */ 'mode'?: string; + /** + * + * @type {string} + * @memberof WidgetRequest + */ + 'oauth_referral_source'?: string; /** * * @type {number} @@ -5862,6 +5916,63 @@ export const MxPlatformApiAxiosParamCreator = function (configuration?: Configur + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * This endpoint returns a list of all the accounts associated with the specified `member`. + * @summary List accounts by member + * @param {string} userGuid The unique id for a `user`. + * @param {string} memberGuid The unique id for a `member`. + * @param {boolean} [memberIsManagedByUser] List only accounts whose member is managed by the user. + * @param {number} [page] Specify current page. + * @param {number} [recordsPerPage] Specify records per page. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listMemberAccounts: async (userGuid: string, memberGuid: string, memberIsManagedByUser?: boolean, page?: number, recordsPerPage?: number, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'userGuid' is not null or undefined + assertParamExists('listMemberAccounts', 'userGuid', userGuid) + // verify required parameter 'memberGuid' is not null or undefined + assertParamExists('listMemberAccounts', 'memberGuid', memberGuid) + const localVarPath = `/users/{user_guid}/members/{member_guid}/accounts` + .replace(`{${"user_guid"}}`, encodeURIComponent(String(userGuid))) + .replace(`{${"member_guid"}}`, encodeURIComponent(String(memberGuid))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication basicAuth required + // http basic authentication required + setBasicAuthToObject(localVarRequestOptions, configuration) + + if (memberIsManagedByUser !== undefined) { + localVarQueryParameter['member_is_managed_by_user'] = memberIsManagedByUser; + } + + if (page !== undefined) { + localVarQueryParameter['page'] = page; + } + + if (recordsPerPage !== undefined) { + localVarQueryParameter['records_per_page'] = recordsPerPage; + } + + + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -6511,12 +6622,13 @@ export const MxPlatformApiAxiosParamCreator = function (configuration?: Configur * This endpoint returns a list of all the accounts associated with the specified `user`. * @summary List accounts * @param {string} userGuid The unique id for a `user`. + * @param {boolean} [memberIsManagedByUser] List only accounts whose member is managed by the user. * @param {number} [page] Specify current page. * @param {number} [recordsPerPage] Specify records per page. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - listUserAccounts: async (userGuid: string, page?: number, recordsPerPage?: number, options: AxiosRequestConfig = {}): Promise => { + listUserAccounts: async (userGuid: string, memberIsManagedByUser?: boolean, page?: number, recordsPerPage?: number, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'userGuid' is not null or undefined assertParamExists('listUserAccounts', 'userGuid', userGuid) const localVarPath = `/users/{user_guid}/accounts` @@ -6536,6 +6648,10 @@ export const MxPlatformApiAxiosParamCreator = function (configuration?: Configur // http basic authentication required setBasicAuthToObject(localVarRequestOptions, configuration) + if (memberIsManagedByUser !== undefined) { + localVarQueryParameter['member_is_managed_by_user'] = memberIsManagedByUser; + } + if (page !== undefined) { localVarQueryParameter['page'] = page; } @@ -6560,10 +6676,13 @@ export const MxPlatformApiAxiosParamCreator = function (configuration?: Configur * @summary List users * @param {number} [page] Specify current page. * @param {number} [recordsPerPage] Specify records per page. + * @param {string} [id] The user `id` to search for. + * @param {string} [email] The user `email` to search for. + * @param {boolean} [isDisabled] Search for users that are diabled. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - listUsers: async (page?: number, recordsPerPage?: number, options: AxiosRequestConfig = {}): Promise => { + listUsers: async (page?: number, recordsPerPage?: number, id?: string, email?: string, isDisabled?: boolean, options: AxiosRequestConfig = {}): Promise => { const localVarPath = `/users`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -6588,6 +6707,18 @@ export const MxPlatformApiAxiosParamCreator = function (configuration?: Configur localVarQueryParameter['records_per_page'] = recordsPerPage; } + if (id !== undefined) { + localVarQueryParameter['id'] = id; + } + + if (email !== undefined) { + localVarQueryParameter['email'] = email; + } + + if (isDisabled !== undefined) { + localVarQueryParameter['is_disabled'] = isDisabled; + } + setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -6632,6 +6763,52 @@ export const MxPlatformApiAxiosParamCreator = function (configuration?: Configur + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * This endpoint allows you to read the attributes of an `account` resource. + * @summary Read account by member + * @param {string} accountGuid The unique id for an `account`. + * @param {string} memberGuid The unique id for a `member`. + * @param {string} userGuid The unique id for a `user`. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + readAccountByMember: async (accountGuid: string, memberGuid: string, userGuid: string, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'accountGuid' is not null or undefined + assertParamExists('readAccountByMember', 'accountGuid', accountGuid) + // verify required parameter 'memberGuid' is not null or undefined + assertParamExists('readAccountByMember', 'memberGuid', memberGuid) + // verify required parameter 'userGuid' is not null or undefined + assertParamExists('readAccountByMember', 'userGuid', userGuid) + const localVarPath = `/users/{user_guid}/members/{member_guid}/accounts/{account_guid}` + .replace(`{${"account_guid"}}`, encodeURIComponent(String(accountGuid))) + .replace(`{${"member_guid"}}`, encodeURIComponent(String(memberGuid))) + .replace(`{${"user_guid"}}`, encodeURIComponent(String(userGuid))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication basicAuth required + // http basic authentication required + setBasicAuthToObject(localVarRequestOptions, configuration) + + + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -8673,6 +8850,21 @@ export const MxPlatformApiFp = function(configuration?: Configuration) { const localVarAxiosArgs = await localVarAxiosParamCreator.listManagedTransactions(accountGuid, memberGuid, userGuid, page, recordsPerPage, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, + /** + * This endpoint returns a list of all the accounts associated with the specified `member`. + * @summary List accounts by member + * @param {string} userGuid The unique id for a `user`. + * @param {string} memberGuid The unique id for a `member`. + * @param {boolean} [memberIsManagedByUser] List only accounts whose member is managed by the user. + * @param {number} [page] Specify current page. + * @param {number} [recordsPerPage] Specify records per page. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async listMemberAccounts(userGuid: string, memberGuid: string, memberIsManagedByUser?: boolean, page?: number, recordsPerPage?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.listMemberAccounts(userGuid, memberGuid, memberIsManagedByUser, page, recordsPerPage, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, /** * Use this endpoint for information on what multi-factor authentication challenges need to be answered in order to aggregate a member. If the aggregation is not challenged, i.e., the member does not have a connection status of `CHALLENGED`, then code `204 No Content` will be returned. If the aggregation has been challenged, i.e., the member does have a connection status of `CHALLENGED`, then code `200 OK` will be returned - along with the corresponding credentials. * @summary List member challenges @@ -8846,13 +9038,14 @@ export const MxPlatformApiFp = function(configuration?: Configuration) { * This endpoint returns a list of all the accounts associated with the specified `user`. * @summary List accounts * @param {string} userGuid The unique id for a `user`. + * @param {boolean} [memberIsManagedByUser] List only accounts whose member is managed by the user. * @param {number} [page] Specify current page. * @param {number} [recordsPerPage] Specify records per page. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async listUserAccounts(userGuid: string, page?: number, recordsPerPage?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.listUserAccounts(userGuid, page, recordsPerPage, options); + async listUserAccounts(userGuid: string, memberIsManagedByUser?: boolean, page?: number, recordsPerPage?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.listUserAccounts(userGuid, memberIsManagedByUser, page, recordsPerPage, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -8860,11 +9053,14 @@ export const MxPlatformApiFp = function(configuration?: Configuration) { * @summary List users * @param {number} [page] Specify current page. * @param {number} [recordsPerPage] Specify records per page. + * @param {string} [id] The user `id` to search for. + * @param {string} [email] The user `email` to search for. + * @param {boolean} [isDisabled] Search for users that are diabled. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async listUsers(page?: number, recordsPerPage?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.listUsers(page, recordsPerPage, options); + async listUsers(page?: number, recordsPerPage?: number, id?: string, email?: string, isDisabled?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.listUsers(page, recordsPerPage, id, email, isDisabled, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -8879,6 +9075,19 @@ export const MxPlatformApiFp = function(configuration?: Configuration) { const localVarAxiosArgs = await localVarAxiosParamCreator.readAccount(accountGuid, userGuid, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, + /** + * This endpoint allows you to read the attributes of an `account` resource. + * @summary Read account by member + * @param {string} accountGuid The unique id for an `account`. + * @param {string} memberGuid The unique id for a `member`. + * @param {string} userGuid The unique id for a `user`. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async readAccountByMember(accountGuid: string, memberGuid: string, userGuid: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.readAccountByMember(accountGuid, memberGuid, userGuid, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, /** * Use this endpoint to read the attributes of either a default category or a custom category. * @summary Read a custom category @@ -9790,6 +9999,20 @@ export const MxPlatformApiFactory = function (configuration?: Configuration, bas listManagedTransactions(accountGuid: string, memberGuid: string, userGuid: string, page?: number, recordsPerPage?: number, options?: any): AxiosPromise { return localVarFp.listManagedTransactions(accountGuid, memberGuid, userGuid, page, recordsPerPage, options).then((request) => request(axios, basePath)); }, + /** + * This endpoint returns a list of all the accounts associated with the specified `member`. + * @summary List accounts by member + * @param {string} userGuid The unique id for a `user`. + * @param {string} memberGuid The unique id for a `member`. + * @param {boolean} [memberIsManagedByUser] List only accounts whose member is managed by the user. + * @param {number} [page] Specify current page. + * @param {number} [recordsPerPage] Specify records per page. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + listMemberAccounts(userGuid: string, memberGuid: string, memberIsManagedByUser?: boolean, page?: number, recordsPerPage?: number, options?: any): AxiosPromise { + return localVarFp.listMemberAccounts(userGuid, memberGuid, memberIsManagedByUser, page, recordsPerPage, options).then((request) => request(axios, basePath)); + }, /** * Use this endpoint for information on what multi-factor authentication challenges need to be answered in order to aggregate a member. If the aggregation is not challenged, i.e., the member does not have a connection status of `CHALLENGED`, then code `204 No Content` will be returned. If the aggregation has been challenged, i.e., the member does have a connection status of `CHALLENGED`, then code `200 OK` will be returned - along with the corresponding credentials. * @summary List member challenges @@ -9951,24 +10174,28 @@ export const MxPlatformApiFactory = function (configuration?: Configuration, bas * This endpoint returns a list of all the accounts associated with the specified `user`. * @summary List accounts * @param {string} userGuid The unique id for a `user`. + * @param {boolean} [memberIsManagedByUser] List only accounts whose member is managed by the user. * @param {number} [page] Specify current page. * @param {number} [recordsPerPage] Specify records per page. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - listUserAccounts(userGuid: string, page?: number, recordsPerPage?: number, options?: any): AxiosPromise { - return localVarFp.listUserAccounts(userGuid, page, recordsPerPage, options).then((request) => request(axios, basePath)); + listUserAccounts(userGuid: string, memberIsManagedByUser?: boolean, page?: number, recordsPerPage?: number, options?: any): AxiosPromise { + return localVarFp.listUserAccounts(userGuid, memberIsManagedByUser, page, recordsPerPage, options).then((request) => request(axios, basePath)); }, /** * Use this endpoint to list every user you\'ve created in the MX Platform API. * @summary List users * @param {number} [page] Specify current page. * @param {number} [recordsPerPage] Specify records per page. + * @param {string} [id] The user `id` to search for. + * @param {string} [email] The user `email` to search for. + * @param {boolean} [isDisabled] Search for users that are diabled. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - listUsers(page?: number, recordsPerPage?: number, options?: any): AxiosPromise { - return localVarFp.listUsers(page, recordsPerPage, options).then((request) => request(axios, basePath)); + listUsers(page?: number, recordsPerPage?: number, id?: string, email?: string, isDisabled?: boolean, options?: any): AxiosPromise { + return localVarFp.listUsers(page, recordsPerPage, id, email, isDisabled, options).then((request) => request(axios, basePath)); }, /** * This endpoint returns the specified `account` resource. @@ -9981,6 +10208,18 @@ export const MxPlatformApiFactory = function (configuration?: Configuration, bas readAccount(accountGuid: string, userGuid: string, options?: any): AxiosPromise { return localVarFp.readAccount(accountGuid, userGuid, options).then((request) => request(axios, basePath)); }, + /** + * This endpoint allows you to read the attributes of an `account` resource. + * @summary Read account by member + * @param {string} accountGuid The unique id for an `account`. + * @param {string} memberGuid The unique id for a `member`. + * @param {string} userGuid The unique id for a `user`. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + readAccountByMember(accountGuid: string, memberGuid: string, userGuid: string, options?: any): AxiosPromise { + return localVarFp.readAccountByMember(accountGuid, memberGuid, userGuid, options).then((request) => request(axios, basePath)); + }, /** * Use this endpoint to read the attributes of either a default category or a custom category. * @summary Read a custom category @@ -10941,6 +11180,22 @@ export class MxPlatformApi extends BaseAPI { return MxPlatformApiFp(this.configuration).listManagedTransactions(accountGuid, memberGuid, userGuid, page, recordsPerPage, options).then((request) => request(this.axios, this.basePath)); } + /** + * This endpoint returns a list of all the accounts associated with the specified `member`. + * @summary List accounts by member + * @param {string} userGuid The unique id for a `user`. + * @param {string} memberGuid The unique id for a `member`. + * @param {boolean} [memberIsManagedByUser] List only accounts whose member is managed by the user. + * @param {number} [page] Specify current page. + * @param {number} [recordsPerPage] Specify records per page. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof MxPlatformApi + */ + public listMemberAccounts(userGuid: string, memberGuid: string, memberIsManagedByUser?: boolean, page?: number, recordsPerPage?: number, options?: AxiosRequestConfig) { + return MxPlatformApiFp(this.configuration).listMemberAccounts(userGuid, memberGuid, memberIsManagedByUser, page, recordsPerPage, options).then((request) => request(this.axios, this.basePath)); + } + /** * Use this endpoint for information on what multi-factor authentication challenges need to be answered in order to aggregate a member. If the aggregation is not challenged, i.e., the member does not have a connection status of `CHALLENGED`, then code `204 No Content` will be returned. If the aggregation has been challenged, i.e., the member does have a connection status of `CHALLENGED`, then code `200 OK` will be returned - along with the corresponding credentials. * @summary List member challenges @@ -11126,14 +11381,15 @@ export class MxPlatformApi extends BaseAPI { * This endpoint returns a list of all the accounts associated with the specified `user`. * @summary List accounts * @param {string} userGuid The unique id for a `user`. + * @param {boolean} [memberIsManagedByUser] List only accounts whose member is managed by the user. * @param {number} [page] Specify current page. * @param {number} [recordsPerPage] Specify records per page. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof MxPlatformApi */ - public listUserAccounts(userGuid: string, page?: number, recordsPerPage?: number, options?: AxiosRequestConfig) { - return MxPlatformApiFp(this.configuration).listUserAccounts(userGuid, page, recordsPerPage, options).then((request) => request(this.axios, this.basePath)); + public listUserAccounts(userGuid: string, memberIsManagedByUser?: boolean, page?: number, recordsPerPage?: number, options?: AxiosRequestConfig) { + return MxPlatformApiFp(this.configuration).listUserAccounts(userGuid, memberIsManagedByUser, page, recordsPerPage, options).then((request) => request(this.axios, this.basePath)); } /** @@ -11141,12 +11397,15 @@ export class MxPlatformApi extends BaseAPI { * @summary List users * @param {number} [page] Specify current page. * @param {number} [recordsPerPage] Specify records per page. + * @param {string} [id] The user `id` to search for. + * @param {string} [email] The user `email` to search for. + * @param {boolean} [isDisabled] Search for users that are diabled. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof MxPlatformApi */ - public listUsers(page?: number, recordsPerPage?: number, options?: AxiosRequestConfig) { - return MxPlatformApiFp(this.configuration).listUsers(page, recordsPerPage, options).then((request) => request(this.axios, this.basePath)); + public listUsers(page?: number, recordsPerPage?: number, id?: string, email?: string, isDisabled?: boolean, options?: AxiosRequestConfig) { + return MxPlatformApiFp(this.configuration).listUsers(page, recordsPerPage, id, email, isDisabled, options).then((request) => request(this.axios, this.basePath)); } /** @@ -11162,6 +11421,20 @@ export class MxPlatformApi extends BaseAPI { return MxPlatformApiFp(this.configuration).readAccount(accountGuid, userGuid, options).then((request) => request(this.axios, this.basePath)); } + /** + * This endpoint allows you to read the attributes of an `account` resource. + * @summary Read account by member + * @param {string} accountGuid The unique id for an `account`. + * @param {string} memberGuid The unique id for a `member`. + * @param {string} userGuid The unique id for a `user`. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof MxPlatformApi + */ + public readAccountByMember(accountGuid: string, memberGuid: string, userGuid: string, options?: AxiosRequestConfig) { + return MxPlatformApiFp(this.configuration).readAccountByMember(accountGuid, memberGuid, userGuid, options).then((request) => request(this.axios, this.basePath)); + } + /** * Use this endpoint to read the attributes of either a default category or a custom category. * @summary Read a custom category diff --git a/openapi/config.yml b/openapi/config.yml index f8021f0..7aa8df9 100644 --- a/openapi/config.yml +++ b/openapi/config.yml @@ -1,4 +1,4 @@ --- npmName: mx-platform-node -npmVersion: 0.11.2 +npmVersion: 0.12.0 supportsES6: true diff --git a/package.json b/package.json index 7cd0960..2b9986a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mx-platform-node", - "version": "0.11.2", + "version": "0.12.0", "description": "A Node library for the MX Platform API.", "author": "MX", "keywords": [