@finverse/sdk-typescript 0.0.67 → 0.0.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.d.ts +59 -15
- package/dist/api.js +35 -21
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -664,6 +664,12 @@ export interface CreateMandateRequest {
|
|
|
664
664
|
* @memberof CreateMandateRequest
|
|
665
665
|
*/
|
|
666
666
|
mandate_details: MandateDetails;
|
|
667
|
+
/**
|
|
668
|
+
* Sender details which will be used for fraud checking.
|
|
669
|
+
* @type {Array<SenderDetail>}
|
|
670
|
+
* @memberof CreateMandateRequest
|
|
671
|
+
*/
|
|
672
|
+
sender_details: Array<SenderDetail>;
|
|
667
673
|
}
|
|
668
674
|
/**
|
|
669
675
|
*
|
|
@@ -1415,6 +1421,12 @@ export interface GetMandateResponse {
|
|
|
1415
1421
|
* @memberof GetMandateResponse
|
|
1416
1422
|
*/
|
|
1417
1423
|
mandate_details: MandateDetails;
|
|
1424
|
+
/**
|
|
1425
|
+
* Sender details which will be used for fraud checking.
|
|
1426
|
+
* @type {Array<SenderDetail>}
|
|
1427
|
+
* @memberof GetMandateResponse
|
|
1428
|
+
*/
|
|
1429
|
+
sender_details?: Array<SenderDetail>;
|
|
1418
1430
|
/**
|
|
1419
1431
|
*
|
|
1420
1432
|
* @type {FvErrorModel}
|
|
@@ -3659,6 +3671,33 @@ export interface RelinkRequest {
|
|
|
3659
3671
|
*/
|
|
3660
3672
|
consent?: boolean | null;
|
|
3661
3673
|
}
|
|
3674
|
+
/**
|
|
3675
|
+
*
|
|
3676
|
+
* @export
|
|
3677
|
+
* @interface SenderDetail
|
|
3678
|
+
*/
|
|
3679
|
+
export interface SenderDetail {
|
|
3680
|
+
/**
|
|
3681
|
+
* The type of the details. For e.g. HK_ID, PASSPORT, ACCOUNTHOLDER_NAME etc
|
|
3682
|
+
* @type {string}
|
|
3683
|
+
* @memberof SenderDetail
|
|
3684
|
+
*/
|
|
3685
|
+
details_type?: SenderDetailDetailsTypeEnum;
|
|
3686
|
+
/**
|
|
3687
|
+
* The possible values of the detail. For e.g. \"John Wick Adams\" for ACCOUNTHOLDER_NAME or A123456 for HK_ID
|
|
3688
|
+
* @type {Array<string>}
|
|
3689
|
+
* @memberof SenderDetail
|
|
3690
|
+
*/
|
|
3691
|
+
values?: Array<string>;
|
|
3692
|
+
}
|
|
3693
|
+
export declare const SenderDetailDetailsTypeEnum: {
|
|
3694
|
+
readonly HkId: "HK_ID";
|
|
3695
|
+
readonly Passport: "PASSPORT";
|
|
3696
|
+
readonly HkBusinessRegistration: "HK_BUSINESS_REGISTRATION";
|
|
3697
|
+
readonly HkCertificateOfIncorporation: "HK_CERTIFICATE_OF_INCORPORATION";
|
|
3698
|
+
readonly AccountholderName: "ACCOUNTHOLDER_NAME";
|
|
3699
|
+
};
|
|
3700
|
+
export declare type SenderDetailDetailsTypeEnum = typeof SenderDetailDetailsTypeEnum[keyof typeof SenderDetailDetailsTypeEnum];
|
|
3662
3701
|
/**
|
|
3663
3702
|
*
|
|
3664
3703
|
* @export
|
|
@@ -5335,19 +5374,20 @@ export declare const LoginIdentityApiAxiosParamCreator: (configuration?: Configu
|
|
|
5335
5374
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
5336
5375
|
* @param {number} [offset] default is 0
|
|
5337
5376
|
* @param {number} [limit] default is 500, max is 1000
|
|
5377
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
5338
5378
|
* @param {*} [options] Override http request option.
|
|
5339
5379
|
* @throws {RequiredError}
|
|
5340
5380
|
*/
|
|
5341
|
-
listTransactionsByAccountId: (accountId: string, offset?: number, limit?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5381
|
+
listTransactionsByAccountId: (accountId: string, offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5342
5382
|
/**
|
|
5343
5383
|
* Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
5344
5384
|
* @param {number} [offset] default is 0
|
|
5345
5385
|
* @param {number} [limit] default is 500, max is 1000
|
|
5346
|
-
* @param {boolean} [
|
|
5386
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
5347
5387
|
* @param {*} [options] Override http request option.
|
|
5348
5388
|
* @throws {RequiredError}
|
|
5349
5389
|
*/
|
|
5350
|
-
listTransactionsByLoginIdentityId: (offset?: number, limit?: number,
|
|
5390
|
+
listTransactionsByLoginIdentityId: (offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5351
5391
|
/**
|
|
5352
5392
|
* Create a refresh job for a login identity
|
|
5353
5393
|
* @param {*} [options] Override http request option.
|
|
@@ -5445,19 +5485,20 @@ export declare const LoginIdentityApiFp: (configuration?: Configuration) => {
|
|
|
5445
5485
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
5446
5486
|
* @param {number} [offset] default is 0
|
|
5447
5487
|
* @param {number} [limit] default is 500, max is 1000
|
|
5488
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
5448
5489
|
* @param {*} [options] Override http request option.
|
|
5449
5490
|
* @throws {RequiredError}
|
|
5450
5491
|
*/
|
|
5451
|
-
listTransactionsByAccountId(accountId: string, offset?: number, limit?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTransactionsResponse>>;
|
|
5492
|
+
listTransactionsByAccountId(accountId: string, offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTransactionsResponse>>;
|
|
5452
5493
|
/**
|
|
5453
5494
|
* Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
5454
5495
|
* @param {number} [offset] default is 0
|
|
5455
5496
|
* @param {number} [limit] default is 500, max is 1000
|
|
5456
|
-
* @param {boolean} [
|
|
5497
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
5457
5498
|
* @param {*} [options] Override http request option.
|
|
5458
5499
|
* @throws {RequiredError}
|
|
5459
5500
|
*/
|
|
5460
|
-
listTransactionsByLoginIdentityId(offset?: number, limit?: number,
|
|
5501
|
+
listTransactionsByLoginIdentityId(offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTransactionsResponse>>;
|
|
5461
5502
|
/**
|
|
5462
5503
|
* Create a refresh job for a login identity
|
|
5463
5504
|
* @param {*} [options] Override http request option.
|
|
@@ -5555,19 +5596,20 @@ export declare const LoginIdentityApiFactory: (configuration?: Configuration, ba
|
|
|
5555
5596
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
5556
5597
|
* @param {number} [offset] default is 0
|
|
5557
5598
|
* @param {number} [limit] default is 500, max is 1000
|
|
5599
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
5558
5600
|
* @param {*} [options] Override http request option.
|
|
5559
5601
|
* @throws {RequiredError}
|
|
5560
5602
|
*/
|
|
5561
|
-
listTransactionsByAccountId(accountId: string, offset?: number, limit?: number, options?: any): AxiosPromise<ListTransactionsResponse>;
|
|
5603
|
+
listTransactionsByAccountId(accountId: string, offset?: number, limit?: number, enrichments?: boolean, options?: any): AxiosPromise<ListTransactionsResponse>;
|
|
5562
5604
|
/**
|
|
5563
5605
|
* Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
5564
5606
|
* @param {number} [offset] default is 0
|
|
5565
5607
|
* @param {number} [limit] default is 500, max is 1000
|
|
5566
|
-
* @param {boolean} [
|
|
5608
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
5567
5609
|
* @param {*} [options] Override http request option.
|
|
5568
5610
|
* @throws {RequiredError}
|
|
5569
5611
|
*/
|
|
5570
|
-
listTransactionsByLoginIdentityId(offset?: number, limit?: number,
|
|
5612
|
+
listTransactionsByLoginIdentityId(offset?: number, limit?: number, enrichments?: boolean, options?: any): AxiosPromise<ListTransactionsResponse>;
|
|
5571
5613
|
/**
|
|
5572
5614
|
* Create a refresh job for a login identity
|
|
5573
5615
|
* @param {*} [options] Override http request option.
|
|
@@ -5678,21 +5720,22 @@ export interface LoginIdentityApiInterface {
|
|
|
5678
5720
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
5679
5721
|
* @param {number} [offset] default is 0
|
|
5680
5722
|
* @param {number} [limit] default is 500, max is 1000
|
|
5723
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
5681
5724
|
* @param {*} [options] Override http request option.
|
|
5682
5725
|
* @throws {RequiredError}
|
|
5683
5726
|
* @memberof LoginIdentityApiInterface
|
|
5684
5727
|
*/
|
|
5685
|
-
listTransactionsByAccountId(accountId: string, offset?: number, limit?: number, options?: AxiosRequestConfig): AxiosPromise<ListTransactionsResponse>;
|
|
5728
|
+
listTransactionsByAccountId(accountId: string, offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig): AxiosPromise<ListTransactionsResponse>;
|
|
5686
5729
|
/**
|
|
5687
5730
|
* Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
5688
5731
|
* @param {number} [offset] default is 0
|
|
5689
5732
|
* @param {number} [limit] default is 500, max is 1000
|
|
5690
|
-
* @param {boolean} [
|
|
5733
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
5691
5734
|
* @param {*} [options] Override http request option.
|
|
5692
5735
|
* @throws {RequiredError}
|
|
5693
5736
|
* @memberof LoginIdentityApiInterface
|
|
5694
5737
|
*/
|
|
5695
|
-
listTransactionsByLoginIdentityId(offset?: number, limit?: number,
|
|
5738
|
+
listTransactionsByLoginIdentityId(offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig): AxiosPromise<ListTransactionsResponse>;
|
|
5696
5739
|
/**
|
|
5697
5740
|
* Create a refresh job for a login identity
|
|
5698
5741
|
* @param {*} [options] Override http request option.
|
|
@@ -5805,21 +5848,22 @@ export declare class LoginIdentityApi extends BaseAPI implements LoginIdentityAp
|
|
|
5805
5848
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
5806
5849
|
* @param {number} [offset] default is 0
|
|
5807
5850
|
* @param {number} [limit] default is 500, max is 1000
|
|
5851
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
5808
5852
|
* @param {*} [options] Override http request option.
|
|
5809
5853
|
* @throws {RequiredError}
|
|
5810
5854
|
* @memberof LoginIdentityApi
|
|
5811
5855
|
*/
|
|
5812
|
-
listTransactionsByAccountId(accountId: string, offset?: number, limit?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTransactionsResponse>>;
|
|
5856
|
+
listTransactionsByAccountId(accountId: string, offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTransactionsResponse>>;
|
|
5813
5857
|
/**
|
|
5814
5858
|
* Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
5815
5859
|
* @param {number} [offset] default is 0
|
|
5816
5860
|
* @param {number} [limit] default is 500, max is 1000
|
|
5817
|
-
* @param {boolean} [
|
|
5861
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
5818
5862
|
* @param {*} [options] Override http request option.
|
|
5819
5863
|
* @throws {RequiredError}
|
|
5820
5864
|
* @memberof LoginIdentityApi
|
|
5821
5865
|
*/
|
|
5822
|
-
listTransactionsByLoginIdentityId(offset?: number, limit?: number,
|
|
5866
|
+
listTransactionsByLoginIdentityId(offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTransactionsResponse>>;
|
|
5823
5867
|
/**
|
|
5824
5868
|
* Create a refresh job for a login identity
|
|
5825
5869
|
* @param {*} [options] Override http request option.
|
package/dist/api.js
CHANGED
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentResponseStatusEnum = exports.PaymentResponseTypeEnum = exports.PaymentInstructionTypeEnum = exports.MandateDetailsSenderTypeEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.LoginMethodStatusEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.InstitutionStatusEnum = exports.InstitutionUserTypeEnum = exports.InstitutionProductsSupportedEnum = exports.InstitutionInstitutionTypeEnum = exports.InstitutionTagsEnum = exports.GetMandateResponseMandateStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FvErrorModelTypeEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreatePaymentRequestTypeEnum = exports.CreateMandateResponseMandateStatusEnum = exports.BadRequestModelV2ErrorTypeEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = exports.AccountTypeSubtypeEnum = exports.AccountTypeTypeEnum = void 0;
|
|
25
|
+
exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SenderDetailDetailsTypeEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentResponseStatusEnum = exports.PaymentResponseTypeEnum = exports.PaymentInstructionTypeEnum = exports.MandateDetailsSenderTypeEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.LoginMethodStatusEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.InstitutionStatusEnum = exports.InstitutionUserTypeEnum = exports.InstitutionProductsSupportedEnum = exports.InstitutionInstitutionTypeEnum = exports.InstitutionTagsEnum = exports.GetMandateResponseMandateStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FvErrorModelTypeEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreatePaymentRequestTypeEnum = exports.CreateMandateResponseMandateStatusEnum = exports.BadRequestModelV2ErrorTypeEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = exports.AccountTypeSubtypeEnum = exports.AccountTypeTypeEnum = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -196,6 +196,13 @@ exports.PaymentScheduleFrequencyEnum = {
|
|
|
196
196
|
Quarterly: 'QUARTERLY',
|
|
197
197
|
Yearly: 'YEARLY',
|
|
198
198
|
};
|
|
199
|
+
exports.SenderDetailDetailsTypeEnum = {
|
|
200
|
+
HkId: 'HK_ID',
|
|
201
|
+
Passport: 'PASSPORT',
|
|
202
|
+
HkBusinessRegistration: 'HK_BUSINESS_REGISTRATION',
|
|
203
|
+
HkCertificateOfIncorporation: 'HK_CERTIFICATE_OF_INCORPORATION',
|
|
204
|
+
AccountholderName: 'ACCOUNTHOLDER_NAME',
|
|
205
|
+
};
|
|
199
206
|
exports.SubmitAuthChecklistResponseMandateStatusEnum = {
|
|
200
207
|
Created: 'CREATED',
|
|
201
208
|
Processing: 'PROCESSING',
|
|
@@ -2361,10 +2368,11 @@ exports.LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
2361
2368
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
2362
2369
|
* @param {number} [offset] default is 0
|
|
2363
2370
|
* @param {number} [limit] default is 500, max is 1000
|
|
2371
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
2364
2372
|
* @param {*} [options] Override http request option.
|
|
2365
2373
|
* @throws {RequiredError}
|
|
2366
2374
|
*/
|
|
2367
|
-
listTransactionsByAccountId: (accountId, offset, limit, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2375
|
+
listTransactionsByAccountId: (accountId, offset, limit, enrichments, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2368
2376
|
// verify required parameter 'accountId' is not null or undefined
|
|
2369
2377
|
common_1.assertParamExists('listTransactionsByAccountId', 'accountId', accountId);
|
|
2370
2378
|
const localVarPath = `/transactions/{accountId}`.replace(`{${'accountId'}}`, encodeURIComponent(String(accountId)));
|
|
@@ -2386,6 +2394,9 @@ exports.LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
2386
2394
|
if (limit !== undefined) {
|
|
2387
2395
|
localVarQueryParameter['limit'] = limit;
|
|
2388
2396
|
}
|
|
2397
|
+
if (enrichments !== undefined) {
|
|
2398
|
+
localVarQueryParameter['enrichments'] = enrichments;
|
|
2399
|
+
}
|
|
2389
2400
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2390
2401
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2391
2402
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2398,11 +2409,11 @@ exports.LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
2398
2409
|
* Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
2399
2410
|
* @param {number} [offset] default is 0
|
|
2400
2411
|
* @param {number} [limit] default is 500, max is 1000
|
|
2401
|
-
* @param {boolean} [
|
|
2412
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
2402
2413
|
* @param {*} [options] Override http request option.
|
|
2403
2414
|
* @throws {RequiredError}
|
|
2404
2415
|
*/
|
|
2405
|
-
listTransactionsByLoginIdentityId: (offset, limit,
|
|
2416
|
+
listTransactionsByLoginIdentityId: (offset, limit, enrichments, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2406
2417
|
const localVarPath = `/transactions`;
|
|
2407
2418
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2408
2419
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -2422,8 +2433,8 @@ exports.LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
2422
2433
|
if (limit !== undefined) {
|
|
2423
2434
|
localVarQueryParameter['limit'] = limit;
|
|
2424
2435
|
}
|
|
2425
|
-
if (
|
|
2426
|
-
localVarQueryParameter['
|
|
2436
|
+
if (enrichments !== undefined) {
|
|
2437
|
+
localVarQueryParameter['enrichments'] = enrichments;
|
|
2427
2438
|
}
|
|
2428
2439
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2429
2440
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -2614,12 +2625,13 @@ exports.LoginIdentityApiFp = function (configuration) {
|
|
|
2614
2625
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
2615
2626
|
* @param {number} [offset] default is 0
|
|
2616
2627
|
* @param {number} [limit] default is 500, max is 1000
|
|
2628
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
2617
2629
|
* @param {*} [options] Override http request option.
|
|
2618
2630
|
* @throws {RequiredError}
|
|
2619
2631
|
*/
|
|
2620
|
-
listTransactionsByAccountId(accountId, offset, limit, options) {
|
|
2632
|
+
listTransactionsByAccountId(accountId, offset, limit, enrichments, options) {
|
|
2621
2633
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2622
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactionsByAccountId(accountId, offset, limit, options);
|
|
2634
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactionsByAccountId(accountId, offset, limit, enrichments, options);
|
|
2623
2635
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2624
2636
|
});
|
|
2625
2637
|
},
|
|
@@ -2627,13 +2639,13 @@ exports.LoginIdentityApiFp = function (configuration) {
|
|
|
2627
2639
|
* Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
2628
2640
|
* @param {number} [offset] default is 0
|
|
2629
2641
|
* @param {number} [limit] default is 500, max is 1000
|
|
2630
|
-
* @param {boolean} [
|
|
2642
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
2631
2643
|
* @param {*} [options] Override http request option.
|
|
2632
2644
|
* @throws {RequiredError}
|
|
2633
2645
|
*/
|
|
2634
|
-
listTransactionsByLoginIdentityId(offset, limit,
|
|
2646
|
+
listTransactionsByLoginIdentityId(offset, limit, enrichments, options) {
|
|
2635
2647
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2636
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactionsByLoginIdentityId(offset, limit,
|
|
2648
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactionsByLoginIdentityId(offset, limit, enrichments, options);
|
|
2637
2649
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2638
2650
|
});
|
|
2639
2651
|
},
|
|
@@ -2766,25 +2778,26 @@ exports.LoginIdentityApiFactory = function (configuration, basePath, axios) {
|
|
|
2766
2778
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
2767
2779
|
* @param {number} [offset] default is 0
|
|
2768
2780
|
* @param {number} [limit] default is 500, max is 1000
|
|
2781
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
2769
2782
|
* @param {*} [options] Override http request option.
|
|
2770
2783
|
* @throws {RequiredError}
|
|
2771
2784
|
*/
|
|
2772
|
-
listTransactionsByAccountId(accountId, offset, limit, options) {
|
|
2785
|
+
listTransactionsByAccountId(accountId, offset, limit, enrichments, options) {
|
|
2773
2786
|
return localVarFp
|
|
2774
|
-
.listTransactionsByAccountId(accountId, offset, limit, options)
|
|
2787
|
+
.listTransactionsByAccountId(accountId, offset, limit, enrichments, options)
|
|
2775
2788
|
.then((request) => request(axios, basePath));
|
|
2776
2789
|
},
|
|
2777
2790
|
/**
|
|
2778
2791
|
* Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
2779
2792
|
* @param {number} [offset] default is 0
|
|
2780
2793
|
* @param {number} [limit] default is 500, max is 1000
|
|
2781
|
-
* @param {boolean} [
|
|
2794
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
2782
2795
|
* @param {*} [options] Override http request option.
|
|
2783
2796
|
* @throws {RequiredError}
|
|
2784
2797
|
*/
|
|
2785
|
-
listTransactionsByLoginIdentityId(offset, limit,
|
|
2798
|
+
listTransactionsByLoginIdentityId(offset, limit, enrichments, options) {
|
|
2786
2799
|
return localVarFp
|
|
2787
|
-
.listTransactionsByLoginIdentityId(offset, limit,
|
|
2800
|
+
.listTransactionsByLoginIdentityId(offset, limit, enrichments, options)
|
|
2788
2801
|
.then((request) => request(axios, basePath));
|
|
2789
2802
|
},
|
|
2790
2803
|
/**
|
|
@@ -2949,27 +2962,28 @@ class LoginIdentityApi extends base_1.BaseAPI {
|
|
|
2949
2962
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
2950
2963
|
* @param {number} [offset] default is 0
|
|
2951
2964
|
* @param {number} [limit] default is 500, max is 1000
|
|
2965
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
2952
2966
|
* @param {*} [options] Override http request option.
|
|
2953
2967
|
* @throws {RequiredError}
|
|
2954
2968
|
* @memberof LoginIdentityApi
|
|
2955
2969
|
*/
|
|
2956
|
-
listTransactionsByAccountId(accountId, offset, limit, options) {
|
|
2970
|
+
listTransactionsByAccountId(accountId, offset, limit, enrichments, options) {
|
|
2957
2971
|
return exports.LoginIdentityApiFp(this.configuration)
|
|
2958
|
-
.listTransactionsByAccountId(accountId, offset, limit, options)
|
|
2972
|
+
.listTransactionsByAccountId(accountId, offset, limit, enrichments, options)
|
|
2959
2973
|
.then((request) => request(this.axios, this.basePath));
|
|
2960
2974
|
}
|
|
2961
2975
|
/**
|
|
2962
2976
|
* Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
2963
2977
|
* @param {number} [offset] default is 0
|
|
2964
2978
|
* @param {number} [limit] default is 500, max is 1000
|
|
2965
|
-
* @param {boolean} [
|
|
2979
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
2966
2980
|
* @param {*} [options] Override http request option.
|
|
2967
2981
|
* @throws {RequiredError}
|
|
2968
2982
|
* @memberof LoginIdentityApi
|
|
2969
2983
|
*/
|
|
2970
|
-
listTransactionsByLoginIdentityId(offset, limit,
|
|
2984
|
+
listTransactionsByLoginIdentityId(offset, limit, enrichments, options) {
|
|
2971
2985
|
return exports.LoginIdentityApiFp(this.configuration)
|
|
2972
|
-
.listTransactionsByLoginIdentityId(offset, limit,
|
|
2986
|
+
.listTransactionsByLoginIdentityId(offset, limit, enrichments, options)
|
|
2973
2987
|
.then((request) => request(this.axios, this.basePath));
|
|
2974
2988
|
}
|
|
2975
2989
|
/**
|