@finverse/sdk-typescript 0.0.363 → 0.0.365

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.
Files changed (3) hide show
  1. package/dist/api.d.ts +0 -131
  2. package/dist/api.js +0 -232
  3. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -11917,13 +11917,6 @@ export declare const LinkApiAxiosParamCreator: (configuration?: Configuration) =
11917
11917
  * @throws {RequiredError}
11918
11918
  */
11919
11919
  createLink: (apiLinkRequest: ApiLinkRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11920
- /**
11921
- * Creates a new link
11922
- * @param {LinkRequest} linkRequest Request body for starting a new Link
11923
- * @param {*} [options] Override http request option.
11924
- * @throws {RequiredError}
11925
- */
11926
- createLinkWoauth: (linkRequest: LinkRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11927
11920
  /**
11928
11921
  * Post the user action value
11929
11922
  * @param {string} loginIdentityId The login identity id
@@ -11946,13 +11939,6 @@ export declare const LinkApiAxiosParamCreator: (configuration?: Configuration) =
11946
11939
  * @throws {RequiredError}
11947
11940
  */
11948
11941
  linkStatusNonSensitive: (loginIdentityId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11949
- /**
11950
- * Update an existing link
11951
- * @param {RelinkRequest} relinkRequest Request body for updating Link
11952
- * @param {*} [options] Override http request option.
11953
- * @throws {RequiredError}
11954
- */
11955
- relink: (relinkRequest: RelinkRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11956
11942
  /**
11957
11943
  * Create a new link using an existing LIID
11958
11944
  * @param {string} loginIdentityId The login identity id
@@ -11984,13 +11970,6 @@ export declare const LinkApiFp: (configuration?: Configuration) => {
11984
11970
  * @throws {RequiredError}
11985
11971
  */
11986
11972
  createLink(apiLinkRequest: ApiLinkRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLoginIdentityByIdResponse>>;
11987
- /**
11988
- * Creates a new link
11989
- * @param {LinkRequest} linkRequest Request body for starting a new Link
11990
- * @param {*} [options] Override http request option.
11991
- * @throws {RequiredError}
11992
- */
11993
- createLinkWoauth(linkRequest: LinkRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkResponse>>;
11994
11973
  /**
11995
11974
  * Post the user action value
11996
11975
  * @param {string} loginIdentityId The login identity id
@@ -12013,13 +11992,6 @@ export declare const LinkApiFp: (configuration?: Configuration) => {
12013
11992
  * @throws {RequiredError}
12014
11993
  */
12015
11994
  linkStatusNonSensitive(loginIdentityId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NonSensitiveLinkStatusResponse>>;
12016
- /**
12017
- * Update an existing link
12018
- * @param {RelinkRequest} relinkRequest Request body for updating Link
12019
- * @param {*} [options] Override http request option.
12020
- * @throws {RequiredError}
12021
- */
12022
- relink(relinkRequest: RelinkRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkResponse>>;
12023
11995
  /**
12024
11996
  * Create a new link using an existing LIID
12025
11997
  * @param {string} loginIdentityId The login identity id
@@ -12051,13 +12023,6 @@ export declare const LinkApiFactory: (configuration?: Configuration, basePath?:
12051
12023
  * @throws {RequiredError}
12052
12024
  */
12053
12025
  createLink(apiLinkRequest: ApiLinkRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetLoginIdentityByIdResponse>;
12054
- /**
12055
- * Creates a new link
12056
- * @param {LinkRequest} linkRequest Request body for starting a new Link
12057
- * @param {*} [options] Override http request option.
12058
- * @throws {RequiredError}
12059
- */
12060
- createLinkWoauth(linkRequest: LinkRequest, options?: RawAxiosRequestConfig): AxiosPromise<LinkResponse>;
12061
12026
  /**
12062
12027
  * Post the user action value
12063
12028
  * @param {string} loginIdentityId The login identity id
@@ -12080,13 +12045,6 @@ export declare const LinkApiFactory: (configuration?: Configuration, basePath?:
12080
12045
  * @throws {RequiredError}
12081
12046
  */
12082
12047
  linkStatusNonSensitive(loginIdentityId: string, options?: RawAxiosRequestConfig): AxiosPromise<NonSensitiveLinkStatusResponse>;
12083
- /**
12084
- * Update an existing link
12085
- * @param {RelinkRequest} relinkRequest Request body for updating Link
12086
- * @param {*} [options] Override http request option.
12087
- * @throws {RequiredError}
12088
- */
12089
- relink(relinkRequest: RelinkRequest, options?: RawAxiosRequestConfig): AxiosPromise<LinkResponse>;
12090
12048
  /**
12091
12049
  * Create a new link using an existing LIID
12092
12050
  * @param {string} loginIdentityId The login identity id
@@ -12120,14 +12078,6 @@ export interface LinkApiInterface {
12120
12078
  * @memberof LinkApiInterface
12121
12079
  */
12122
12080
  createLink(apiLinkRequest: ApiLinkRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetLoginIdentityByIdResponse>;
12123
- /**
12124
- * Creates a new link
12125
- * @param {LinkRequest} linkRequest Request body for starting a new Link
12126
- * @param {*} [options] Override http request option.
12127
- * @throws {RequiredError}
12128
- * @memberof LinkApiInterface
12129
- */
12130
- createLinkWoauth(linkRequest: LinkRequest, options?: RawAxiosRequestConfig): AxiosPromise<LinkResponse>;
12131
12081
  /**
12132
12082
  * Post the user action value
12133
12083
  * @param {string} loginIdentityId The login identity id
@@ -12153,14 +12103,6 @@ export interface LinkApiInterface {
12153
12103
  * @memberof LinkApiInterface
12154
12104
  */
12155
12105
  linkStatusNonSensitive(loginIdentityId: string, options?: RawAxiosRequestConfig): AxiosPromise<NonSensitiveLinkStatusResponse>;
12156
- /**
12157
- * Update an existing link
12158
- * @param {RelinkRequest} relinkRequest Request body for updating Link
12159
- * @param {*} [options] Override http request option.
12160
- * @throws {RequiredError}
12161
- * @memberof LinkApiInterface
12162
- */
12163
- relink(relinkRequest: RelinkRequest, options?: RawAxiosRequestConfig): AxiosPromise<LinkResponse>;
12164
12106
  /**
12165
12107
  * Create a new link using an existing LIID
12166
12108
  * @param {string} loginIdentityId The login identity id
@@ -12197,14 +12139,6 @@ export declare class LinkApi extends BaseAPI implements LinkApiInterface {
12197
12139
  * @memberof LinkApi
12198
12140
  */
12199
12141
  createLink(apiLinkRequest: ApiLinkRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetLoginIdentityByIdResponse, any, {}>>;
12200
- /**
12201
- * Creates a new link
12202
- * @param {LinkRequest} linkRequest Request body for starting a new Link
12203
- * @param {*} [options] Override http request option.
12204
- * @throws {RequiredError}
12205
- * @memberof LinkApi
12206
- */
12207
- createLinkWoauth(linkRequest: LinkRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkResponse, any, {}>>;
12208
12142
  /**
12209
12143
  * Post the user action value
12210
12144
  * @param {string} loginIdentityId The login identity id
@@ -12230,14 +12164,6 @@ export declare class LinkApi extends BaseAPI implements LinkApiInterface {
12230
12164
  * @memberof LinkApi
12231
12165
  */
12232
12166
  linkStatusNonSensitive(loginIdentityId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<NonSensitiveLinkStatusResponse, any, {}>>;
12233
- /**
12234
- * Update an existing link
12235
- * @param {RelinkRequest} relinkRequest Request body for updating Link
12236
- * @param {*} [options] Override http request option.
12237
- * @throws {RequiredError}
12238
- * @memberof LinkApi
12239
- */
12240
- relink(relinkRequest: RelinkRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkResponse, any, {}>>;
12241
12167
  /**
12242
12168
  * Create a new link using an existing LIID
12243
12169
  * @param {string} loginIdentityId The login identity id
@@ -12904,17 +12830,6 @@ export type GetBalanceHistorySourceEnum = (typeof GetBalanceHistorySourceEnum)[k
12904
12830
  * @export
12905
12831
  */
12906
12832
  export declare const PublicApiAxiosParamCreator: (configuration?: Configuration) => {
12907
- /**
12908
- * Callback url to get the oauth authorization token
12909
- * @param {string} state The state of the client when oauth was initialized
12910
- * @param {string} [code] The authorization code generated by the Oauth provider
12911
- * @param {string} [error] error
12912
- * @param {string} [errorDescription] error description
12913
- * @param {string} [errorDetails] error details
12914
- * @param {*} [options] Override http request option.
12915
- * @throws {RequiredError}
12916
- */
12917
- authCallback: (state: string, code?: string, error?: string, errorDescription?: string, errorDetails?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12918
12833
  /**
12919
12834
  * generate an access_token
12920
12835
  * @param {TokenRequest} [tokenRequest] token request
@@ -12940,17 +12855,6 @@ export declare const PublicApiAxiosParamCreator: (configuration?: Configuration)
12940
12855
  * @export
12941
12856
  */
12942
12857
  export declare const PublicApiFp: (configuration?: Configuration) => {
12943
- /**
12944
- * Callback url to get the oauth authorization token
12945
- * @param {string} state The state of the client when oauth was initialized
12946
- * @param {string} [code] The authorization code generated by the Oauth provider
12947
- * @param {string} [error] error
12948
- * @param {string} [errorDescription] error description
12949
- * @param {string} [errorDetails] error details
12950
- * @param {*} [options] Override http request option.
12951
- * @throws {RequiredError}
12952
- */
12953
- authCallback(state: string, code?: string, error?: string, errorDescription?: string, errorDetails?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedirectUriResponse>>;
12954
12858
  /**
12955
12859
  * generate an access_token
12956
12860
  * @param {TokenRequest} [tokenRequest] token request
@@ -12976,17 +12880,6 @@ export declare const PublicApiFp: (configuration?: Configuration) => {
12976
12880
  * @export
12977
12881
  */
12978
12882
  export declare const PublicApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
12979
- /**
12980
- * Callback url to get the oauth authorization token
12981
- * @param {string} state The state of the client when oauth was initialized
12982
- * @param {string} [code] The authorization code generated by the Oauth provider
12983
- * @param {string} [error] error
12984
- * @param {string} [errorDescription] error description
12985
- * @param {string} [errorDetails] error details
12986
- * @param {*} [options] Override http request option.
12987
- * @throws {RequiredError}
12988
- */
12989
- authCallback(state: string, code?: string, error?: string, errorDescription?: string, errorDetails?: string, options?: RawAxiosRequestConfig): AxiosPromise<RedirectUriResponse>;
12990
12883
  /**
12991
12884
  * generate an access_token
12992
12885
  * @param {TokenRequest} [tokenRequest] token request
@@ -13013,18 +12906,6 @@ export declare const PublicApiFactory: (configuration?: Configuration, basePath?
13013
12906
  * @interface PublicApi
13014
12907
  */
13015
12908
  export interface PublicApiInterface {
13016
- /**
13017
- * Callback url to get the oauth authorization token
13018
- * @param {string} state The state of the client when oauth was initialized
13019
- * @param {string} [code] The authorization code generated by the Oauth provider
13020
- * @param {string} [error] error
13021
- * @param {string} [errorDescription] error description
13022
- * @param {string} [errorDetails] error details
13023
- * @param {*} [options] Override http request option.
13024
- * @throws {RequiredError}
13025
- * @memberof PublicApiInterface
13026
- */
13027
- authCallback(state: string, code?: string, error?: string, errorDescription?: string, errorDetails?: string, options?: RawAxiosRequestConfig): AxiosPromise<RedirectUriResponse>;
13028
12909
  /**
13029
12910
  * generate an access_token
13030
12911
  * @param {TokenRequest} [tokenRequest] token request
@@ -13055,18 +12936,6 @@ export interface PublicApiInterface {
13055
12936
  * @extends {BaseAPI}
13056
12937
  */
13057
12938
  export declare class PublicApi extends BaseAPI implements PublicApiInterface {
13058
- /**
13059
- * Callback url to get the oauth authorization token
13060
- * @param {string} state The state of the client when oauth was initialized
13061
- * @param {string} [code] The authorization code generated by the Oauth provider
13062
- * @param {string} [error] error
13063
- * @param {string} [errorDescription] error description
13064
- * @param {string} [errorDetails] error details
13065
- * @param {*} [options] Override http request option.
13066
- * @throws {RequiredError}
13067
- * @memberof PublicApi
13068
- */
13069
- authCallback(state: string, code?: string, error?: string, errorDescription?: string, errorDetails?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RedirectUriResponse, any, {}>>;
13070
12939
  /**
13071
12940
  * generate an access_token
13072
12941
  * @param {TokenRequest} [tokenRequest] token request
package/dist/api.js CHANGED
@@ -4978,38 +4978,6 @@ const LinkApiAxiosParamCreator = function (configuration) {
4978
4978
  options: localVarRequestOptions,
4979
4979
  };
4980
4980
  }),
4981
- /**
4982
- * Creates a new link
4983
- * @param {LinkRequest} linkRequest Request body for starting a new Link
4984
- * @param {*} [options] Override http request option.
4985
- * @throws {RequiredError}
4986
- */
4987
- createLinkWoauth: (linkRequest_1, ...args_1) => __awaiter(this, [linkRequest_1, ...args_1], void 0, function* (linkRequest, options = {}) {
4988
- // verify required parameter 'linkRequest' is not null or undefined
4989
- (0, common_1.assertParamExists)('createLinkWoauth', 'linkRequest', linkRequest);
4990
- const localVarPath = `/link/woauth`;
4991
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
4992
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4993
- let baseOptions;
4994
- if (configuration) {
4995
- baseOptions = configuration.baseOptions;
4996
- }
4997
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
4998
- const localVarHeaderParameter = {};
4999
- const localVarQueryParameter = {};
5000
- // authentication Oauth2 required
5001
- // oauth required
5002
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', ['link'], configuration);
5003
- localVarHeaderParameter['Content-Type'] = 'application/json';
5004
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5005
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5006
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5007
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(linkRequest, localVarRequestOptions, configuration);
5008
- return {
5009
- url: (0, common_1.toPathString)(localVarUrlObj),
5010
- options: localVarRequestOptions,
5011
- };
5012
- }),
5013
4981
  /**
5014
4982
  * Post the user action value
5015
4983
  * @param {string} loginIdentityId The login identity id
@@ -5105,38 +5073,6 @@ const LinkApiAxiosParamCreator = function (configuration) {
5105
5073
  options: localVarRequestOptions,
5106
5074
  };
5107
5075
  }),
5108
- /**
5109
- * Update an existing link
5110
- * @param {RelinkRequest} relinkRequest Request body for updating Link
5111
- * @param {*} [options] Override http request option.
5112
- * @throws {RequiredError}
5113
- */
5114
- relink: (relinkRequest_1, ...args_1) => __awaiter(this, [relinkRequest_1, ...args_1], void 0, function* (relinkRequest, options = {}) {
5115
- // verify required parameter 'relinkRequest' is not null or undefined
5116
- (0, common_1.assertParamExists)('relink', 'relinkRequest', relinkRequest);
5117
- const localVarPath = `/link/relink`;
5118
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
5119
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
5120
- let baseOptions;
5121
- if (configuration) {
5122
- baseOptions = configuration.baseOptions;
5123
- }
5124
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
5125
- const localVarHeaderParameter = {};
5126
- const localVarQueryParameter = {};
5127
- // authentication Oauth2 required
5128
- // oauth required
5129
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
5130
- localVarHeaderParameter['Content-Type'] = 'application/json';
5131
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5132
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5133
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5134
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(relinkRequest, localVarRequestOptions, configuration);
5135
- return {
5136
- url: (0, common_1.toPathString)(localVarUrlObj),
5137
- options: localVarRequestOptions,
5138
- };
5139
- }),
5140
5076
  /**
5141
5077
  * Create a new link using an existing LIID
5142
5078
  * @param {string} loginIdentityId The login identity id
@@ -5251,21 +5187,6 @@ const LinkApiFp = function (configuration) {
5251
5187
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5252
5188
  });
5253
5189
  },
5254
- /**
5255
- * Creates a new link
5256
- * @param {LinkRequest} linkRequest Request body for starting a new Link
5257
- * @param {*} [options] Override http request option.
5258
- * @throws {RequiredError}
5259
- */
5260
- createLinkWoauth(linkRequest, options) {
5261
- return __awaiter(this, void 0, void 0, function* () {
5262
- var _a, _b, _c;
5263
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createLinkWoauth(linkRequest, options);
5264
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5265
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['LinkApi.createLinkWoauth']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5266
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5267
- });
5268
- },
5269
5190
  /**
5270
5191
  * Post the user action value
5271
5192
  * @param {string} loginIdentityId The login identity id
@@ -5312,21 +5233,6 @@ const LinkApiFp = function (configuration) {
5312
5233
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5313
5234
  });
5314
5235
  },
5315
- /**
5316
- * Update an existing link
5317
- * @param {RelinkRequest} relinkRequest Request body for updating Link
5318
- * @param {*} [options] Override http request option.
5319
- * @throws {RequiredError}
5320
- */
5321
- relink(relinkRequest, options) {
5322
- return __awaiter(this, void 0, void 0, function* () {
5323
- var _a, _b, _c;
5324
- const localVarAxiosArgs = yield localVarAxiosParamCreator.relink(relinkRequest, options);
5325
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5326
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['LinkApi.relink']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5327
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5328
- });
5329
- },
5330
5236
  /**
5331
5237
  * Create a new link using an existing LIID
5332
5238
  * @param {string} loginIdentityId The login identity id
@@ -5380,15 +5286,6 @@ const LinkApiFactory = function (configuration, basePath, axios) {
5380
5286
  createLink(apiLinkRequest, options) {
5381
5287
  return localVarFp.createLink(apiLinkRequest, options).then((request) => request(axios, basePath));
5382
5288
  },
5383
- /**
5384
- * Creates a new link
5385
- * @param {LinkRequest} linkRequest Request body for starting a new Link
5386
- * @param {*} [options] Override http request option.
5387
- * @throws {RequiredError}
5388
- */
5389
- createLinkWoauth(linkRequest, options) {
5390
- return localVarFp.createLinkWoauth(linkRequest, options).then((request) => request(axios, basePath));
5391
- },
5392
5289
  /**
5393
5290
  * Post the user action value
5394
5291
  * @param {string} loginIdentityId The login identity id
@@ -5417,15 +5314,6 @@ const LinkApiFactory = function (configuration, basePath, axios) {
5417
5314
  linkStatusNonSensitive(loginIdentityId, options) {
5418
5315
  return localVarFp.linkStatusNonSensitive(loginIdentityId, options).then((request) => request(axios, basePath));
5419
5316
  },
5420
- /**
5421
- * Update an existing link
5422
- * @param {RelinkRequest} relinkRequest Request body for updating Link
5423
- * @param {*} [options] Override http request option.
5424
- * @throws {RequiredError}
5425
- */
5426
- relink(relinkRequest, options) {
5427
- return localVarFp.relink(relinkRequest, options).then((request) => request(axios, basePath));
5428
- },
5429
5317
  /**
5430
5318
  * Create a new link using an existing LIID
5431
5319
  * @param {string} loginIdentityId The login identity id
@@ -5474,18 +5362,6 @@ class LinkApi extends base_1.BaseAPI {
5474
5362
  .createLink(apiLinkRequest, options)
5475
5363
  .then((request) => request(this.axios, this.basePath));
5476
5364
  }
5477
- /**
5478
- * Creates a new link
5479
- * @param {LinkRequest} linkRequest Request body for starting a new Link
5480
- * @param {*} [options] Override http request option.
5481
- * @throws {RequiredError}
5482
- * @memberof LinkApi
5483
- */
5484
- createLinkWoauth(linkRequest, options) {
5485
- return (0, exports.LinkApiFp)(this.configuration)
5486
- .createLinkWoauth(linkRequest, options)
5487
- .then((request) => request(this.axios, this.basePath));
5488
- }
5489
5365
  /**
5490
5366
  * Post the user action value
5491
5367
  * @param {string} loginIdentityId The login identity id
@@ -5523,18 +5399,6 @@ class LinkApi extends base_1.BaseAPI {
5523
5399
  .linkStatusNonSensitive(loginIdentityId, options)
5524
5400
  .then((request) => request(this.axios, this.basePath));
5525
5401
  }
5526
- /**
5527
- * Update an existing link
5528
- * @param {RelinkRequest} relinkRequest Request body for updating Link
5529
- * @param {*} [options] Override http request option.
5530
- * @throws {RequiredError}
5531
- * @memberof LinkApi
5532
- */
5533
- relink(relinkRequest, options) {
5534
- return (0, exports.LinkApiFp)(this.configuration)
5535
- .relink(relinkRequest, options)
5536
- .then((request) => request(this.axios, this.basePath));
5537
- }
5538
5402
  /**
5539
5403
  * Create a new link using an existing LIID
5540
5404
  * @param {string} loginIdentityId The login identity id
@@ -6695,52 +6559,6 @@ exports.GetBalanceHistorySourceEnum = {
6695
6559
  */
6696
6560
  const PublicApiAxiosParamCreator = function (configuration) {
6697
6561
  return {
6698
- /**
6699
- * Callback url to get the oauth authorization token
6700
- * @param {string} state The state of the client when oauth was initialized
6701
- * @param {string} [code] The authorization code generated by the Oauth provider
6702
- * @param {string} [error] error
6703
- * @param {string} [errorDescription] error description
6704
- * @param {string} [errorDetails] error details
6705
- * @param {*} [options] Override http request option.
6706
- * @throws {RequiredError}
6707
- */
6708
- authCallback: (state_1, code_1, error_1, errorDescription_1, errorDetails_1, ...args_1) => __awaiter(this, [state_1, code_1, error_1, errorDescription_1, errorDetails_1, ...args_1], void 0, function* (state, code, error, errorDescription, errorDetails, options = {}) {
6709
- // verify required parameter 'state' is not null or undefined
6710
- (0, common_1.assertParamExists)('authCallback', 'state', state);
6711
- const localVarPath = `/auth/callback`;
6712
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
6713
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6714
- let baseOptions;
6715
- if (configuration) {
6716
- baseOptions = configuration.baseOptions;
6717
- }
6718
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6719
- const localVarHeaderParameter = {};
6720
- const localVarQueryParameter = {};
6721
- if (state !== undefined) {
6722
- localVarQueryParameter['state'] = state;
6723
- }
6724
- if (code !== undefined) {
6725
- localVarQueryParameter['code'] = code;
6726
- }
6727
- if (error !== undefined) {
6728
- localVarQueryParameter['error'] = error;
6729
- }
6730
- if (errorDescription !== undefined) {
6731
- localVarQueryParameter['error_description'] = errorDescription;
6732
- }
6733
- if (errorDetails !== undefined) {
6734
- localVarQueryParameter['error_details'] = errorDetails;
6735
- }
6736
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6737
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6738
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6739
- return {
6740
- url: (0, common_1.toPathString)(localVarUrlObj),
6741
- options: localVarRequestOptions,
6742
- };
6743
- }),
6744
6562
  /**
6745
6563
  * generate an access_token
6746
6564
  * @param {TokenRequest} [tokenRequest] token request
@@ -6826,25 +6644,6 @@ exports.PublicApiAxiosParamCreator = PublicApiAxiosParamCreator;
6826
6644
  const PublicApiFp = function (configuration) {
6827
6645
  const localVarAxiosParamCreator = (0, exports.PublicApiAxiosParamCreator)(configuration);
6828
6646
  return {
6829
- /**
6830
- * Callback url to get the oauth authorization token
6831
- * @param {string} state The state of the client when oauth was initialized
6832
- * @param {string} [code] The authorization code generated by the Oauth provider
6833
- * @param {string} [error] error
6834
- * @param {string} [errorDescription] error description
6835
- * @param {string} [errorDetails] error details
6836
- * @param {*} [options] Override http request option.
6837
- * @throws {RequiredError}
6838
- */
6839
- authCallback(state, code, error, errorDescription, errorDetails, options) {
6840
- return __awaiter(this, void 0, void 0, function* () {
6841
- var _a, _b, _c;
6842
- const localVarAxiosArgs = yield localVarAxiosParamCreator.authCallback(state, code, error, errorDescription, errorDetails, options);
6843
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6844
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PublicApi.authCallback']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6845
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6846
- });
6847
- },
6848
6647
  /**
6849
6648
  * generate an access_token
6850
6649
  * @param {TokenRequest} [tokenRequest] token request
@@ -6898,21 +6697,6 @@ exports.PublicApiFp = PublicApiFp;
6898
6697
  const PublicApiFactory = function (configuration, basePath, axios) {
6899
6698
  const localVarFp = (0, exports.PublicApiFp)(configuration);
6900
6699
  return {
6901
- /**
6902
- * Callback url to get the oauth authorization token
6903
- * @param {string} state The state of the client when oauth was initialized
6904
- * @param {string} [code] The authorization code generated by the Oauth provider
6905
- * @param {string} [error] error
6906
- * @param {string} [errorDescription] error description
6907
- * @param {string} [errorDetails] error details
6908
- * @param {*} [options] Override http request option.
6909
- * @throws {RequiredError}
6910
- */
6911
- authCallback(state, code, error, errorDescription, errorDetails, options) {
6912
- return localVarFp
6913
- .authCallback(state, code, error, errorDescription, errorDetails, options)
6914
- .then((request) => request(axios, basePath));
6915
- },
6916
6700
  /**
6917
6701
  * generate an access_token
6918
6702
  * @param {TokenRequest} [tokenRequest] token request
@@ -6948,22 +6732,6 @@ exports.PublicApiFactory = PublicApiFactory;
6948
6732
  * @extends {BaseAPI}
6949
6733
  */
6950
6734
  class PublicApi extends base_1.BaseAPI {
6951
- /**
6952
- * Callback url to get the oauth authorization token
6953
- * @param {string} state The state of the client when oauth was initialized
6954
- * @param {string} [code] The authorization code generated by the Oauth provider
6955
- * @param {string} [error] error
6956
- * @param {string} [errorDescription] error description
6957
- * @param {string} [errorDetails] error details
6958
- * @param {*} [options] Override http request option.
6959
- * @throws {RequiredError}
6960
- * @memberof PublicApi
6961
- */
6962
- authCallback(state, code, error, errorDescription, errorDetails, options) {
6963
- return (0, exports.PublicApiFp)(this.configuration)
6964
- .authCallback(state, code, error, errorDescription, errorDetails, options)
6965
- .then((request) => request(this.axios, this.basePath));
6966
- }
6967
6735
  /**
6968
6736
  * generate an access_token
6969
6737
  * @param {TokenRequest} [tokenRequest] token request
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.363",
3
+ "version": "0.0.365",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {