Skip to content

Commit

Permalink
Regenerate API SDKs
Browse files Browse the repository at this point in the history
  • Loading branch information
itsbalamurali committed Mar 5, 2023
1 parent d340ed1 commit 675f45e
Show file tree
Hide file tree
Showing 21 changed files with 462 additions and 639 deletions.
13 changes: 7 additions & 6 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ models/document-receiver.ts
models/document-sub-category-type.ts
models/document-type.ts
models/equity-transaction.ts
models/equity-transactions-type.ts
models/equity.ts
models/fhir-bundleany.ts
models/financial-account-category-type.ts
Expand All @@ -64,6 +65,8 @@ models/financial-account-transaction-mutual-fund-transaction.ts
models/financial-account-transaction-period.ts
models/financial-account-transaction-sip-transaction-all-of.ts
models/financial-account-transaction-sip-transaction.ts
models/financial-account-transaction-term-deposit-transaction-all-of.ts
models/financial-account-transaction-term-deposit-transaction.ts
models/financial-account-transaction.ts
models/financial-account.ts
models/holder.ts
Expand All @@ -82,12 +85,6 @@ models/key-value-pair.ts
models/life.ts
models/medical-record-field.ts
models/model-error.ts
models/mutual-fund-fund-type.ts
models/mutual-fund-holding-mode.ts
models/mutual-fund-scheme-category.ts
models/mutual-fund-scheme-option.ts
models/mutual-fund-scheme-plan.ts
models/mutual-fund-scheme-type.ts
models/mutual-fund-transaction-type.ts
models/mutual-fund-transaction.ts
models/mutual-fund.ts
Expand All @@ -109,11 +106,15 @@ models/push-uri-response.ts
models/selected-financial-account-type.ts
models/sip-investment-information.ts
models/sip-plan-information.ts
models/sip-transaction-type.ts
models/sip-transaction.ts
models/sip.ts
models/supported-document-type.ts
models/supported-entity-type.ts
models/supported-identifier.ts
models/term-deposit-transaction-mode.ts
models/term-deposit-transaction-type.ts
models/term-deposit-transaction.ts
models/upload-document-response.ts
models/uri-details.ts
package.json
Expand Down
34 changes: 15 additions & 19 deletions api/individuals-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -538,15 +538,14 @@ export const IndividualsApiAxiosParamCreator = function (configuration?: Configu
* @summary Get individual consented financial account transactions.
* @param {string} consentId
* @param {string} accountId
* @param {string} [filters]
* @param {string} [fromDateTime]
* @param {string} [toDateTime]
* @param {number} [pageNo]
* @param {number} [pageSize]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
v1IndividualsConsentsConsentIdFinancialAccountsAccountIdTransactionsGet: async (consentId: string, accountId: string, filters?: string, fromDateTime?: string, toDateTime?: string, pageNo?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
v1IndividualsConsentsConsentIdFinancialAccountsAccountIdTransactionsGet: async (consentId: string, accountId: string, fromDateTime?: string, toDateTime?: string, pageNo?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'consentId' is not null or undefined
assertParamExists('v1IndividualsConsentsConsentIdFinancialAccountsAccountIdTransactionsGet', 'consentId', consentId)
// verify required parameter 'accountId' is not null or undefined
Expand All @@ -569,24 +568,24 @@ export const IndividualsApiAxiosParamCreator = function (configuration?: Configu
// oauth required
await setOAuthToObject(localVarHeaderParameter, "OAuth2ClientCredentials", ["Individuals:Consents:Read"], configuration)

if (filters !== undefined) {
localVarQueryParameter['_filters'] = filters;
}

if (fromDateTime !== undefined) {
localVarQueryParameter['_from_date_time'] = fromDateTime;
localVarQueryParameter['from_date_time'] = (fromDateTime as any instanceof Date) ?
(fromDateTime as any).toISOString() :
fromDateTime;
}

if (toDateTime !== undefined) {
localVarQueryParameter['_to_date_time'] = toDateTime;
localVarQueryParameter['to_date_time'] = (toDateTime as any instanceof Date) ?
(toDateTime as any).toISOString() :
toDateTime;
}

if (pageNo !== undefined) {
localVarQueryParameter['_page_no'] = pageNo;
localVarQueryParameter['page_no'] = pageNo;
}

if (pageSize !== undefined) {
localVarQueryParameter['_page_size'] = pageSize;
localVarQueryParameter['page_size'] = pageSize;
}


Expand Down Expand Up @@ -1157,16 +1156,15 @@ export const IndividualsApiFp = function(configuration?: Configuration) {
* @summary Get individual consented financial account transactions.
* @param {string} consentId
* @param {string} accountId
* @param {string} [filters]
* @param {string} [fromDateTime]
* @param {string} [toDateTime]
* @param {number} [pageNo]
* @param {number} [pageSize]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async v1IndividualsConsentsConsentIdFinancialAccountsAccountIdTransactionsGet(consentId: string, accountId: string, filters?: string, fromDateTime?: string, toDateTime?: string, pageNo?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedListOfFinancialAccountTransactions>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.v1IndividualsConsentsConsentIdFinancialAccountsAccountIdTransactionsGet(consentId, accountId, filters, fromDateTime, toDateTime, pageNo, pageSize, options);
async v1IndividualsConsentsConsentIdFinancialAccountsAccountIdTransactionsGet(consentId: string, accountId: string, fromDateTime?: string, toDateTime?: string, pageNo?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedListOfFinancialAccountTransactions>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.v1IndividualsConsentsConsentIdFinancialAccountsAccountIdTransactionsGet(consentId, accountId, fromDateTime, toDateTime, pageNo, pageSize, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
/**
Expand Down Expand Up @@ -1411,16 +1409,15 @@ export const IndividualsApiFactory = function (configuration?: Configuration, ba
* @summary Get individual consented financial account transactions.
* @param {string} consentId
* @param {string} accountId
* @param {string} [filters]
* @param {string} [fromDateTime]
* @param {string} [toDateTime]
* @param {number} [pageNo]
* @param {number} [pageSize]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
v1IndividualsConsentsConsentIdFinancialAccountsAccountIdTransactionsGet(consentId: string, accountId: string, filters?: string, fromDateTime?: string, toDateTime?: string, pageNo?: number, pageSize?: number, options?: any): AxiosPromise<PaginatedListOfFinancialAccountTransactions> {
return localVarFp.v1IndividualsConsentsConsentIdFinancialAccountsAccountIdTransactionsGet(consentId, accountId, filters, fromDateTime, toDateTime, pageNo, pageSize, options).then((request) => request(axios, basePath));
v1IndividualsConsentsConsentIdFinancialAccountsAccountIdTransactionsGet(consentId: string, accountId: string, fromDateTime?: string, toDateTime?: string, pageNo?: number, pageSize?: number, options?: any): AxiosPromise<PaginatedListOfFinancialAccountTransactions> {
return localVarFp.v1IndividualsConsentsConsentIdFinancialAccountsAccountIdTransactionsGet(consentId, accountId, fromDateTime, toDateTime, pageNo, pageSize, options).then((request) => request(axios, basePath));
},
/**
*
Expand Down Expand Up @@ -1677,7 +1674,6 @@ export class IndividualsApi extends BaseAPI {
* @summary Get individual consented financial account transactions.
* @param {string} consentId
* @param {string} accountId
* @param {string} [filters]
* @param {string} [fromDateTime]
* @param {string} [toDateTime]
* @param {number} [pageNo]
Expand All @@ -1686,8 +1682,8 @@ export class IndividualsApi extends BaseAPI {
* @throws {RequiredError}
* @memberof IndividualsApi
*/
public v1IndividualsConsentsConsentIdFinancialAccountsAccountIdTransactionsGet(consentId: string, accountId: string, filters?: string, fromDateTime?: string, toDateTime?: string, pageNo?: number, pageSize?: number, options?: AxiosRequestConfig) {
return IndividualsApiFp(this.configuration).v1IndividualsConsentsConsentIdFinancialAccountsAccountIdTransactionsGet(consentId, accountId, filters, fromDateTime, toDateTime, pageNo, pageSize, options).then((request) => request(this.axios, this.basePath));
public v1IndividualsConsentsConsentIdFinancialAccountsAccountIdTransactionsGet(consentId: string, accountId: string, fromDateTime?: string, toDateTime?: string, pageNo?: number, pageSize?: number, options?: AxiosRequestConfig) {
return IndividualsApiFp(this.configuration).v1IndividualsConsentsConsentIdFinancialAccountsAccountIdTransactionsGet(consentId, accountId, fromDateTime, toDateTime, pageNo, pageSize, options).then((request) => request(this.axios, this.basePath));
}

/**
Expand Down
34 changes: 15 additions & 19 deletions api/organizations-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -492,15 +492,14 @@ export const OrganizationsApiAxiosParamCreator = function (configuration?: Confi
* @summary Get organization consented financial account transactions.
* @param {string} consentId
* @param {string} accountId
* @param {string} [filters]
* @param {string} [fromDateTime]
* @param {string} [toDateTime]
* @param {number} [pageNo]
* @param {number} [pageSize]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
v1OrganizationsConsentsConsentIdFinancialAccountsAccountIdTransactionsGet: async (consentId: string, accountId: string, filters?: string, fromDateTime?: string, toDateTime?: string, pageNo?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
v1OrganizationsConsentsConsentIdFinancialAccountsAccountIdTransactionsGet: async (consentId: string, accountId: string, fromDateTime?: string, toDateTime?: string, pageNo?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'consentId' is not null or undefined
assertParamExists('v1OrganizationsConsentsConsentIdFinancialAccountsAccountIdTransactionsGet', 'consentId', consentId)
// verify required parameter 'accountId' is not null or undefined
Expand All @@ -523,24 +522,24 @@ export const OrganizationsApiAxiosParamCreator = function (configuration?: Confi
// oauth required
await setOAuthToObject(localVarHeaderParameter, "OAuth2ClientCredentials", ["Organizations:Consents:Read"], configuration)

if (filters !== undefined) {
localVarQueryParameter['_filters'] = filters;
}

if (fromDateTime !== undefined) {
localVarQueryParameter['_from_date_time'] = fromDateTime;
localVarQueryParameter['from_date_time'] = (fromDateTime as any instanceof Date) ?
(fromDateTime as any).toISOString() :
fromDateTime;
}

if (toDateTime !== undefined) {
localVarQueryParameter['_to_date_time'] = toDateTime;
localVarQueryParameter['to_date_time'] = (toDateTime as any instanceof Date) ?
(toDateTime as any).toISOString() :
toDateTime;
}

if (pageNo !== undefined) {
localVarQueryParameter['_page_no'] = pageNo;
localVarQueryParameter['page_no'] = pageNo;
}

if (pageSize !== undefined) {
localVarQueryParameter['_page_size'] = pageSize;
localVarQueryParameter['page_size'] = pageSize;
}


Expand Down Expand Up @@ -1062,16 +1061,15 @@ export const OrganizationsApiFp = function(configuration?: Configuration) {
* @summary Get organization consented financial account transactions.
* @param {string} consentId
* @param {string} accountId
* @param {string} [filters]
* @param {string} [fromDateTime]
* @param {string} [toDateTime]
* @param {number} [pageNo]
* @param {number} [pageSize]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async v1OrganizationsConsentsConsentIdFinancialAccountsAccountIdTransactionsGet(consentId: string, accountId: string, filters?: string, fromDateTime?: string, toDateTime?: string, pageNo?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedListOfFinancialAccountTransactions>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.v1OrganizationsConsentsConsentIdFinancialAccountsAccountIdTransactionsGet(consentId, accountId, filters, fromDateTime, toDateTime, pageNo, pageSize, options);
async v1OrganizationsConsentsConsentIdFinancialAccountsAccountIdTransactionsGet(consentId: string, accountId: string, fromDateTime?: string, toDateTime?: string, pageNo?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedListOfFinancialAccountTransactions>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.v1OrganizationsConsentsConsentIdFinancialAccountsAccountIdTransactionsGet(consentId, accountId, fromDateTime, toDateTime, pageNo, pageSize, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
/**
Expand Down Expand Up @@ -1295,16 +1293,15 @@ export const OrganizationsApiFactory = function (configuration?: Configuration,
* @summary Get organization consented financial account transactions.
* @param {string} consentId
* @param {string} accountId
* @param {string} [filters]
* @param {string} [fromDateTime]
* @param {string} [toDateTime]
* @param {number} [pageNo]
* @param {number} [pageSize]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
v1OrganizationsConsentsConsentIdFinancialAccountsAccountIdTransactionsGet(consentId: string, accountId: string, filters?: string, fromDateTime?: string, toDateTime?: string, pageNo?: number, pageSize?: number, options?: any): AxiosPromise<PaginatedListOfFinancialAccountTransactions> {
return localVarFp.v1OrganizationsConsentsConsentIdFinancialAccountsAccountIdTransactionsGet(consentId, accountId, filters, fromDateTime, toDateTime, pageNo, pageSize, options).then((request) => request(axios, basePath));
v1OrganizationsConsentsConsentIdFinancialAccountsAccountIdTransactionsGet(consentId: string, accountId: string, fromDateTime?: string, toDateTime?: string, pageNo?: number, pageSize?: number, options?: any): AxiosPromise<PaginatedListOfFinancialAccountTransactions> {
return localVarFp.v1OrganizationsConsentsConsentIdFinancialAccountsAccountIdTransactionsGet(consentId, accountId, fromDateTime, toDateTime, pageNo, pageSize, options).then((request) => request(axios, basePath));
},
/**
*
Expand Down Expand Up @@ -1539,7 +1536,6 @@ export class OrganizationsApi extends BaseAPI {
* @summary Get organization consented financial account transactions.
* @param {string} consentId
* @param {string} accountId
* @param {string} [filters]
* @param {string} [fromDateTime]
* @param {string} [toDateTime]
* @param {number} [pageNo]
Expand All @@ -1548,8 +1544,8 @@ export class OrganizationsApi extends BaseAPI {
* @throws {RequiredError}
* @memberof OrganizationsApi
*/
public v1OrganizationsConsentsConsentIdFinancialAccountsAccountIdTransactionsGet(consentId: string, accountId: string, filters?: string, fromDateTime?: string, toDateTime?: string, pageNo?: number, pageSize?: number, options?: AxiosRequestConfig) {
return OrganizationsApiFp(this.configuration).v1OrganizationsConsentsConsentIdFinancialAccountsAccountIdTransactionsGet(consentId, accountId, filters, fromDateTime, toDateTime, pageNo, pageSize, options).then((request) => request(this.axios, this.basePath));
public v1OrganizationsConsentsConsentIdFinancialAccountsAccountIdTransactionsGet(consentId: string, accountId: string, fromDateTime?: string, toDateTime?: string, pageNo?: number, pageSize?: number, options?: AxiosRequestConfig) {
return OrganizationsApiFp(this.configuration).v1OrganizationsConsentsConsentIdFinancialAccountsAccountIdTransactionsGet(consentId, accountId, fromDateTime, toDateTime, pageNo, pageSize, options).then((request) => request(this.axios, this.basePath));
}

/**
Expand Down
33 changes: 33 additions & 0 deletions models/equity-transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
*/


// May contain unused imports in some cases
// @ts-ignore
import { EquityTransactionsType } from './equity-transactions-type';

/**
*
Expand All @@ -26,5 +29,35 @@ export interface EquityTransaction {
* @memberof EquityTransaction
*/
'id': string;
/**
*
* @type {string}
* @memberof EquityTransaction
*/
'amount': string;
/**
*
* @type {string}
* @memberof EquityTransaction
*/
'currency_code': string;
/**
*
* @type {EquityTransactionsType}
* @memberof EquityTransaction
*/
'txn_type': EquityTransactionsType;
/**
*
* @type {string}
* @memberof EquityTransaction
*/
'units': string;
/**
*
* @type {string}
* @memberof EquityTransaction
*/
'transacted_at_utc': string;
}

Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,17 @@
* @enum {string}
*/

export const MutualFundHoldingMode = {
Demat: 'Demat',
Physical: 'Physical'
export const EquityTransactionsType = {
Buy: 'Buy',
Sell: 'Sell',
Bonus: 'Bonus',
Split: 'Split',
Dividend: 'Dividend',
Rights: 'Rights',
Others: 'Others'
} as const;

export type MutualFundHoldingMode = typeof MutualFundHoldingMode[keyof typeof MutualFundHoldingMode];
export type EquityTransactionsType = typeof EquityTransactionsType[keyof typeof EquityTransactionsType];



3 changes: 3 additions & 0 deletions models/financial-account-transaction-equity-transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
*/


// May contain unused imports in some cases
// @ts-ignore
import { EquityTransactionsType } from './equity-transactions-type';

/**
* @type FinancialAccountTransactionEquityTransaction
Expand Down
18 changes: 0 additions & 18 deletions models/financial-account-transaction-mutual-fund-transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,6 @@
*/


// May contain unused imports in some cases
// @ts-ignore
import { MutualFundFundType } from './mutual-fund-fund-type';
// May contain unused imports in some cases
// @ts-ignore
import { MutualFundHoldingMode } from './mutual-fund-holding-mode';
// May contain unused imports in some cases
// @ts-ignore
import { MutualFundSchemeCategory } from './mutual-fund-scheme-category';
// May contain unused imports in some cases
// @ts-ignore
import { MutualFundSchemeOption } from './mutual-fund-scheme-option';
// May contain unused imports in some cases
// @ts-ignore
import { MutualFundSchemePlan } from './mutual-fund-scheme-plan';
// May contain unused imports in some cases
// @ts-ignore
import { MutualFundSchemeType } from './mutual-fund-scheme-type';
// May contain unused imports in some cases
// @ts-ignore
import { MutualFundTransactionType } from './mutual-fund-transaction-type';
Expand Down
3 changes: 3 additions & 0 deletions models/financial-account-transaction-sip-transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
*/


// May contain unused imports in some cases
// @ts-ignore
import { SipTransactionType } from './sip-transaction-type';

/**
* @type FinancialAccountTransactionSipTransaction
Expand Down
Loading

0 comments on commit 675f45e

Please sign in to comment.