@@ -32,13 +32,13 @@ export interface AccountCreateRequest {
3232 * @type {string}
3333 * @memberof AccountCreateRequest
3434 */
35- 'account_subtype_name '?: string;
35+ 'account_subtype '?: string;
3636 /**
3737 *
38- * @type {number }
38+ * @type {string }
3939 * @memberof AccountCreateRequest
4040 */
41- 'account_type': number ;
41+ 'account_type': string ;
4242 /**
4343 *
4444 * @type {number}
@@ -141,18 +141,12 @@ export interface AccountCreateRequest {
141141 * @memberof AccountCreateRequest
142142 */
143143 'original_balance'?: number;
144- /**
145- *
146- * @type {number}
147- * @memberof AccountCreateRequest
148- */
149- 'property_type'?: number;
150144 /**
151145 *
152146 * @type {string}
153147 * @memberof AccountCreateRequest
154148 */
155- 'property_type_name '?: string;
149+ 'property_type '?: string;
156150 /**
157151 *
158152 * @type {boolean}
@@ -639,18 +633,12 @@ export interface AccountResponse {
639633 * @memberof AccountResponse
640634 */
641635 'premium_amount'?: number | null;
642- /**
643- *
644- * @type {number}
645- * @memberof AccountResponse
646- */
647- 'property_type'?: number | null;
648636 /**
649637 *
650638 * @type {string}
651639 * @memberof AccountResponse
652640 */
653- 'property_type_name '?: string | null;
641+ 'property_type '?: string | null;
654642 /**
655643 *
656644 * @type {string}
@@ -731,12 +719,132 @@ export interface AccountResponseBody {
731719 * @interface AccountUpdateRequest
732720 */
733721export interface AccountUpdateRequest {
722+ /**
723+ *
724+ * @type {string}
725+ * @memberof AccountUpdateRequest
726+ */
727+ 'account_subtype'?: string;
728+ /**
729+ *
730+ * @type {string}
731+ * @memberof AccountUpdateRequest
732+ */
733+ 'account_type'?: string;
734+ /**
735+ *
736+ * @type {number}
737+ * @memberof AccountUpdateRequest
738+ */
739+ 'apr'?: number;
740+ /**
741+ *
742+ * @type {number}
743+ * @memberof AccountUpdateRequest
744+ */
745+ 'apy'?: number;
746+ /**
747+ *
748+ * @type {number}
749+ * @memberof AccountUpdateRequest
750+ */
751+ 'available_balance'?: number;
752+ /**
753+ *
754+ * @type {number}
755+ * @memberof AccountUpdateRequest
756+ */
757+ 'balance'?: number;
758+ /**
759+ *
760+ * @type {number}
761+ * @memberof AccountUpdateRequest
762+ */
763+ 'cash_surrender_value'?: number;
764+ /**
765+ *
766+ * @type {number}
767+ * @memberof AccountUpdateRequest
768+ */
769+ 'credit_limit'?: number;
770+ /**
771+ *
772+ * @type {string}
773+ * @memberof AccountUpdateRequest
774+ */
775+ 'currency_code'?: string;
776+ /**
777+ *
778+ * @type {number}
779+ * @memberof AccountUpdateRequest
780+ */
781+ 'death_benefit'?: number;
782+ /**
783+ *
784+ * @type {number}
785+ * @memberof AccountUpdateRequest
786+ */
787+ 'interest_rate'?: number;
788+ /**
789+ *
790+ * @type {boolean}
791+ * @memberof AccountUpdateRequest
792+ */
793+ 'is_business'?: boolean;
794+ /**
795+ *
796+ * @type {boolean}
797+ * @memberof AccountUpdateRequest
798+ */
799+ 'is_closed'?: boolean;
734800 /**
735801 *
736802 * @type {boolean}
737803 * @memberof AccountUpdateRequest
738804 */
739805 'is_hidden'?: boolean;
806+ /**
807+ *
808+ * @type {number}
809+ * @memberof AccountUpdateRequest
810+ */
811+ 'loan_amount'?: number;
812+ /**
813+ *
814+ * @type {string}
815+ * @memberof AccountUpdateRequest
816+ */
817+ 'metadata'?: string;
818+ /**
819+ *
820+ * @type {string}
821+ * @memberof AccountUpdateRequest
822+ */
823+ 'name'?: string;
824+ /**
825+ *
826+ * @type {string}
827+ * @memberof AccountUpdateRequest
828+ */
829+ 'nickname'?: string;
830+ /**
831+ *
832+ * @type {number}
833+ * @memberof AccountUpdateRequest
834+ */
835+ 'original_balance'?: number;
836+ /**
837+ *
838+ * @type {string}
839+ * @memberof AccountUpdateRequest
840+ */
841+ 'property_type'?: string;
842+ /**
843+ *
844+ * @type {boolean}
845+ * @memberof AccountUpdateRequest
846+ */
847+ 'skip_webhook'?: boolean;
740848}
741849/**
742850 *
@@ -7341,11 +7449,12 @@ export const MxPlatformApiAxiosParamCreator = function (configuration?: Configur
73417449 * @param {string} userGuid The unique id for a `user`.
73427450 * @param {boolean} [memberIsManagedByUser] List only accounts whose member is managed by the user.
73437451 * @param {number} [page] Specify current page.
7452+ * @param {boolean} [isManual] List only accounts that were manually created.
73447453 * @param {number} [recordsPerPage] Specify records per page.
73457454 * @param {*} [options] Override http request option.
73467455 * @throws {RequiredError}
73477456 */
7348- listUserAccounts: async (userGuid: string, memberIsManagedByUser?: boolean, page?: number, recordsPerPage?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
7457+ listUserAccounts: async (userGuid: string, memberIsManagedByUser?: boolean, page?: number, isManual?: boolean, recordsPerPage?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
73497458 // verify required parameter 'userGuid' is not null or undefined
73507459 assertParamExists('listUserAccounts', 'userGuid', userGuid)
73517460 const localVarPath = `/users/{user_guid}/accounts`
@@ -7373,6 +7482,10 @@ export const MxPlatformApiAxiosParamCreator = function (configuration?: Configur
73737482 localVarQueryParameter['page'] = page;
73747483 }
73757484
7485+ if (isManual !== undefined) {
7486+ localVarQueryParameter['is_manual'] = isManual;
7487+ }
7488+
73767489 if (recordsPerPage !== undefined) {
73777490 localVarQueryParameter['records_per_page'] = recordsPerPage;
73787491 }
@@ -9917,12 +10030,13 @@ export const MxPlatformApiFp = function(configuration?: Configuration) {
991710030 * @param {string} userGuid The unique id for a `user`.
991810031 * @param {boolean} [memberIsManagedByUser] List only accounts whose member is managed by the user.
991910032 * @param {number} [page] Specify current page.
10033+ * @param {boolean} [isManual] List only accounts that were manually created.
992010034 * @param {number} [recordsPerPage] Specify records per page.
992110035 * @param {*} [options] Override http request option.
992210036 * @throws {RequiredError}
992310037 */
9924- async listUserAccounts(userGuid: string, memberIsManagedByUser?: boolean, page?: number, recordsPerPage?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountsResponseBody>> {
9925- const localVarAxiosArgs = await localVarAxiosParamCreator.listUserAccounts(userGuid, memberIsManagedByUser, page, recordsPerPage, options);
10038+ async listUserAccounts(userGuid: string, memberIsManagedByUser?: boolean, page?: number, isManual?: boolean, recordsPerPage?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountsResponseBody>> {
10039+ const localVarAxiosArgs = await localVarAxiosParamCreator.listUserAccounts(userGuid, memberIsManagedByUser, page, isManual, recordsPerPage, options);
992610040 return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
992710041 },
992810042 /**
@@ -11145,12 +11259,13 @@ export const MxPlatformApiFactory = function (configuration?: Configuration, bas
1114511259 * @param {string} userGuid The unique id for a `user`.
1114611260 * @param {boolean} [memberIsManagedByUser] List only accounts whose member is managed by the user.
1114711261 * @param {number} [page] Specify current page.
11262+ * @param {boolean} [isManual] List only accounts that were manually created.
1114811263 * @param {number} [recordsPerPage] Specify records per page.
1114911264 * @param {*} [options] Override http request option.
1115011265 * @throws {RequiredError}
1115111266 */
11152- listUserAccounts(userGuid: string, memberIsManagedByUser?: boolean, page?: number, recordsPerPage?: number, options?: any): AxiosPromise<AccountsResponseBody> {
11153- return localVarFp.listUserAccounts(userGuid, memberIsManagedByUser, page, recordsPerPage, options).then((request) => request(axios, basePath));
11267+ listUserAccounts(userGuid: string, memberIsManagedByUser?: boolean, page?: number, isManual?: boolean, recordsPerPage?: number, options?: any): AxiosPromise<AccountsResponseBody> {
11268+ return localVarFp.listUserAccounts(userGuid, memberIsManagedByUser, page, isManual, recordsPerPage, options).then((request) => request(axios, basePath));
1115411269 },
1115511270 /**
1115611271 * Use this endpoint to list every user you\'ve created in the MX Platform API.
@@ -12454,13 +12569,14 @@ export class MxPlatformApi extends BaseAPI {
1245412569 * @param {string} userGuid The unique id for a `user`.
1245512570 * @param {boolean} [memberIsManagedByUser] List only accounts whose member is managed by the user.
1245612571 * @param {number} [page] Specify current page.
12572+ * @param {boolean} [isManual] List only accounts that were manually created.
1245712573 * @param {number} [recordsPerPage] Specify records per page.
1245812574 * @param {*} [options] Override http request option.
1245912575 * @throws {RequiredError}
1246012576 * @memberof MxPlatformApi
1246112577 */
12462- public listUserAccounts(userGuid: string, memberIsManagedByUser?: boolean, page?: number, recordsPerPage?: number, options?: AxiosRequestConfig) {
12463- return MxPlatformApiFp(this.configuration).listUserAccounts(userGuid, memberIsManagedByUser, page, recordsPerPage, options).then((request) => request(this.axios, this.basePath));
12578+ public listUserAccounts(userGuid: string, memberIsManagedByUser?: boolean, page?: number, isManual?: boolean, recordsPerPage?: number, options?: AxiosRequestConfig) {
12579+ return MxPlatformApiFp(this.configuration).listUserAccounts(userGuid, memberIsManagedByUser, page, isManual, recordsPerPage, options).then((request) => request(this.axios, this.basePath));
1246412580 }
1246512581
1246612582 /**
0 commit comments